/* PunchClash — night ring, comic ink, no external fonts */
:root {
  /* Small palette: 2 backgrounds, 3 text, 1 primary (two shades), 2 accents.
     Keep hex literals in this block only; everywhere else use these tokens. */
  --ink: #0b0a12;
  --panel: #1a1528;
  --cream: #f4ead3;
  --mist: #c9c0d8;
  --dim: #8f86a0;
  --gold: #e4c56a;
  --gold-2: #f3e1a4;
  --crimson: #d63b3b;
  --rope: #9a2c2c;
  --ink-2: var(--panel);
  --line: color-mix(in srgb, var(--cream) 14%, var(--panel));
  --shadow: 0 18px 50px rgb(0 0 0 / 0.45);
  --font-display: 'Oswald', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --line-strong: color-mix(in srgb, var(--cream) 28%, var(--panel));
  --ink-rgb: 11, 10, 18;
  --gold-rgb: 228, 197, 106;
  --gold-2-rgb: 243, 225, 164;
  --crimson-rgb: 214, 59, 59;
  --cream-rgb: 244, 234, 211;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--ink); color: var(--cream); scroll-padding-top: 6.5rem; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  min-height: 100vh;
  background:
    radial-gradient(900px 500px at 8% -10%, rgba(var(--gold-rgb), 0.16), transparent 60%),
    radial-gradient(800px 480px at 96% 0%, rgba(var(--crimson-rgb), 0.18), transparent 58%),
    linear-gradient(180deg, var(--panel) 0%, var(--ink) 40%, var(--ink) 100%);
  color: var(--cream);
}
img { max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration-thickness: 1px; }
a:hover { color: var(--gold-2); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 0.8rem;
  top: -3rem;
  background: var(--gold);
  color: var(--ink);
  padding: 0.4rem 0.7rem;
  z-index: 20;
}
.skip:focus { top: 0.8rem; }

.shell {
  width: min(1040px, calc(100% - 2rem));
  margin-inline: auto;
}
.shell.tight { width: min(920px, calc(100% - 2rem)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 8;
  background: rgba(var(--ink-rgb), 0.88);
  border-bottom: 2px solid var(--gold);
  backdrop-filter: blur(8px);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--cream);
  text-decoration: none;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}
.brand-mark {
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 1.1rem;
  box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--rope);
}
.brand-name { font-size: 1.35rem; }
.nav-toggle {
  display: none;
  background: var(--panel);
  color: var(--cream);
  border: 2px solid var(--gold);
  padding: 0.45rem 0.8rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.site-nav { display: flex; gap: 0.3rem 1.1rem; flex-wrap: wrap; }
.site-nav a {
  color: var(--mist);
  text-decoration: none;
  font-weight: 650;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--gold-2);
  border-bottom-color: var(--crimson);
}

.hero-arena {
  position: relative;
  min-height: min(86vh, 760px);


  display: grid;
  place-items: center;
  padding: 2.5rem 1rem 3rem;
  overflow: hidden;
}
.lights, .lights:before, .lights:after {
  position: absolute;
  pointer-events: none;
}
.lights {
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(var(--gold-2-rgb), 0.28), transparent 34%),
    radial-gradient(circle at 80% 0%, rgba(var(--crimson-rgb), 0.22), transparent 36%),
    radial-gradient(circle at 50% 100%, rgba(var(--gold-rgb), 0.08), transparent 40%);
}
.lights:before, .lights:after {
  content: "";
  width: 42vw;
  height: 70vh;
  top: -8%;
  background: linear-gradient(to bottom, rgba(var(--gold-2-rgb), 0.16), transparent 70%);
  clip-path: polygon(45% 0, 55% 0, 90% 100%, 10% 100%);
  opacity: 0.7;
}
.lights:before { left: 4%; transform: rotate(-11deg); }
.lights:after { right: 4%; transform: rotate(11deg); background: linear-gradient(to bottom, rgba(var(--crimson-rgb), 0.18), transparent 70%); }

.ring {
  position: relative;
  width: min(880px, 100%);
  padding: 2.4rem 1.4rem 2rem;
  background:
    repeating-radial-gradient(circle at 20% 15%, rgba(var(--cream-rgb), 0.04) 0 1px, transparent 1px 8px),
    var(--ink-2);
  border: 4px solid var(--gold);
  box-shadow:
    0 0 0 6px var(--ink),
    0 0 0 10px var(--rope),
    var(--shadow);
  text-align: center;
}
.ring:before, .ring:after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--rope) 0 16px, var(--cream) 16px 22px);
  opacity: 0.85;
}
.ring:before { top: 0.55rem; }
.ring:after { bottom: 0.55rem; }

.kicker {
  margin: 1.2rem 0 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
}
.hero-arena h1,
.kind-page h1,
.kind-legal h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 0.95;
  margin: 0.2rem 0 0.8rem;
  font-size: clamp(3rem, 10vw, 6.2rem);
  text-shadow:
    3px 3px 0 var(--ink),
    -1px 0 0 var(--crimson);
  color: var(--cream);
}
.kind-legal h1, .prose h1 { font-size: clamp(2rem, 6vw, 3.2rem); text-shadow: 2px 2px 0 var(--ink); }
.stamp { margin: 0.4rem 0 1rem; }
.stamp span {
  display: inline-block;
  transform: rotate(-7deg);
  border: 3px solid var(--crimson);
  color: var(--crimson);
  font-family: var(--font-display);
  letter-spacing: 0.12em;

  text-transform: uppercase;
  font-size: clamp(1.4rem, 4vw, 2.1rem);
  padding: 0.25rem 0.7rem;
  background: rgba(var(--ink-rgb), 0.8);
  box-shadow: 4px 4px 0 var(--ink);
}
.lede {
  font-size: 1.15rem;
  color: var(--mist);
  max-width: 38rem;
  margin: 0 auto 1rem;
}
.not-playable {
  margin: 0 auto 0.4rem;
  max-width: 36rem;
  color: var(--gold-2);
  font-weight: 650;
}

.block { margin: 3rem 0; }
.block h2, .prose h2 {


  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  letter-spacing: 0.03em;
  margin: 0 0 0.8rem;
  color: var(--gold-2);
  border-left: 6px solid var(--crimson);
  padding-left: 0.7rem;
  line-height: 1.15;
}
.block h3, .prose h3 { color: var(--gold); margin: 1.1rem 0 0.4rem; }
.block p, .prose p { margin: 0 0 1.05rem; color: var(--cream); max-width: 66ch; line-height: 1.68; }
.rule-list, .card-ink ul, .prose ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}
.rule-list li, .card-ink li, .prose li { margin: 0.35rem 0; }
.fact-table, .prose table { width: 100%; border-collapse: collapse; margin: 0.4rem 0 1rem; }
.fact-table th, .fact-table td, .prose th, .prose td {
  text-align: left; vertical-align: top; padding: 0.62rem 0.75rem;
  border-bottom: 1px solid var(--line);
}
.fact-table th, .prose th { color: var(--gold-2); font-weight: 700; }
.fact-table th { width: 8.75rem; font-weight: 600; letter-spacing: 0.01em; }
.prose td, .fact-table td { color: var(--cream); }
.fact-table tbody tr:nth-child(even) { background: rgba(var(--cream-rgb), 0.035); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.card-ink, .notice, .faq-item {
  background: var(--panel);
  border: 2px solid var(--line);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 1rem 1.1rem;
}
.notice { border-color: var(--gold); }
.notice p:last-child, .card-ink p:last-child { margin-bottom: 0; }

.engage { margin: 2rem 0 2.5rem; }
.engage-actions, .form-actions, .stage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}
.stage-actions { justify-content: flex-end; }
.stage-actions .btn-ink {
  width: auto;
  min-height: 2.15rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.82rem;
  background: transparent;
  border-color: var(--line);
  color: var(--mist);
}
.stage-actions .btn-ink:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-gold, .btn-ink, .btn-quiet, .play-btn {
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  padding: 0.55rem 0.95rem;
  min-height: 2.75rem;
}
.btn-gold, .play-btn {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.btn-gold:hover, .play-btn:hover { background: var(--gold-2); }
.btn-ink {
  background: var(--panel);
  color: var(--cream);
  border-color: var(--gold);
}
.btn-ink[data-gf-liked], .btn-ink[aria-pressed="true"] {
  background: var(--rope);
  border-color: var(--cream);
  color: var(--cream);
}
.btn-quiet {
  background: transparent;
  color: var(--mist);
  border-color: var(--line);
}
.comment-form, .comments { margin-top: 1rem; }
.form-actions { margin-top: 0.4rem; }
.form-actions .btn-gold { min-height: 2.75rem; padding: 0.62rem 1.3rem; border-radius: 0.35rem; }
.field { display: block; margin-bottom: 0.8rem; }
.field span { display: block; font-weight: 700; margin-bottom: 0.25rem; }
input, textarea {
  width: 100%;
  max-width: 100%;
  background: color-mix(in srgb, var(--ink) 55%, var(--panel));
  color: var(--cream);
  border: 2px solid var(--line-strong);
  border-radius: 0.4rem;
  padding: 0.65rem 0.8rem;
  font: inherit;
}
.comments[data-gf-empty]:before {
  content: "No comments yet. What do you want to see when PunchClash launches?";
  display: block;
  color: var(--dim);
  margin-bottom: 0.8rem;
}
.comments[data-gf-off]:before { content: "Comments are closed on this page."; }

.comment {
  border-top: 1px solid var(--line);
  padding: 0.8rem 0;
}
.comment[data-gf-owner] { background: rgba(var(--gold-rgb), 0.08); padding: 0.8rem; }
.comment-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 0.8rem; color: var(--dim); }
.owner-tag {
  background: var(--gold);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.05rem 0.4rem;
}
.form-msg, .share-msg { color: var(--gold-2); }


.comment-count-line { color: var(--dim); margin: 0.8rem 0 0; }

.faq-item { margin: 0.7rem 0; }
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--gold-2);
}
.faq-item p { margin: 0.6rem 0 0; }

.prose { padding: 2rem 0 3rem; }
.legal-updated { color: var(--dim); }
.attribution { color: var(--mist); font-size: 0.95rem; }
.stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 4px var(--ink), 0 0 0 7px var(--rope);
  overflow: hidden;
  margin: 1rem 0;
}
.cover, .loader, .cover-fallback, .stage iframe, .stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cover { display: grid; place-items: end center; align-content: end; padding: 1.2rem; background: var(--ink); }
.cover img, .cover-fallback { object-fit: cover; }
.cover-fallback {
  background:
    radial-gradient(circle at 50% 30%, rgba(var(--gold-rgb), 0.25), transparent 50%),
    var(--panel);
}
.play-btn {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  background: var(--crimson);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.play-btn:hover { background: var(--rope); color: #fff; }
.cover-hint {
  display: block;
  position: relative;
  z-index: 1;
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--gold-2);
  text-shadow: 1px 1px 0 var(--ink);
}
.loader {
  display: none;
  place-items: center;
  background: var(--ink);
  color: var(--gold-2);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
[data-gf-state="loading"] .loader { display: grid; }
[data-gf-state="loading"] .cover,
[data-gf-state="playing"] .cover,
[data-gf-state="playing"] .loader { display: none; }
.pulse {
  display: block;
  width: 4rem;
  height: 4rem;
  margin-top: 1rem;
  border: 4px solid var(--line);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.site-footer {
  margin-top: 2rem;
  border-top: 2px solid var(--gold);
  background: var(--ink);
  padding: 2rem 0 2.4rem;
}
.footer-grid { display: grid; gap: 1rem; }
.footer-brand { font-family: var(--font-display); font-size: 1.6rem; margin: 0 0 0.4rem; }
.footer-note, .footer-copy { color: var(--dim); margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.7rem 1.1rem; }

@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 0.4rem 0 0.6rem;
  }
  .site-nav[data-open="true"] { display: flex; background: var(--ink); }
  .split { grid-template-columns: 1fr; }

  .hero-arena { min-height: auto; padding-top: 1.4rem; }
  .ring { padding: 2rem 1rem 1.5rem; }
  body { font-size: 1.0625rem; }
  .btn-gold, .btn-ink, .play-btn { width: 100%; }
  .engage-actions .share-msg { width: 100%; }
}


body.embed-frame {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--ink);
}
.embed-shell {
  min-height: 100vh;
  width: 100%;
}
.embed-shell [data-gf-tool] { min-height: 100vh; }
.stamp-alpha span {
  color: var(--gold-2);


  border-color: var(--gold);
  transform: rotate(-6deg);
}
.alpha-note {
  margin: 0.8rem auto 0;
  max-width: 40rem;
  color: var(--mist);
  font-weight: 650;
  text-align: center;
}
.hero-arena.playable {
  min-height: auto;
  padding: 0.35rem 0 0.8rem;
  display: block;
}
.hero-arena.playable h1 {
  text-align: start;
  font-size: clamp(1.2rem, 1vw + 0.9rem, 1.65rem);
  line-height: 1.15;
  text-wrap: balance;
  max-width: 54ch;
  letter-spacing: 0.02em;
  margin: 0 0 0.25rem;
  text-shadow: 2px 2px 0 var(--ink), -1px 0 0 var(--crimson);
}
.hero-arena.playable .kicker,
.hero-arena.playable .stamp { text-align: start; }
.hero-arena.playable .kicker { margin: 0.15rem 0 0.1rem; }
.hero-arena.playable .lede {
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0.55rem 0 0;
  max-width: none;
  text-align: start;
}
.hero-arena.playable .stage { margin: 0.35rem auto; }
.stage-original {
  aspect-ratio: 16 / 10.5;
  min-height: 0;
  width: min(100%, calc((100dvh - 11.5rem) * 16 / 10.5));
  max-height: calc(100dvh - 11.5rem);
}
@media (max-width: 720px) {
  .stage-original {
    width: 100%;
    min-height: 0;
    max-height: none;
    height: auto;
  }
  /* Preload/cover only: size the box to the poster + Play button so overflow:hidden
     cannot clip the control. Playing/loading keep the 16/10 game frame. */
  .stage-original:not([data-gf-state="loading"]):not([data-gf-state="playing"]) {
    aspect-ratio: auto;
  }
  .stage-original:not([data-gf-state="loading"]):not([data-gf-state="playing"]) .cover {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    padding: 0.7rem 0.7rem 0.85rem;
  }
  .stage-original:not([data-gf-state="loading"]):not([data-gf-state="playing"]) .cover img,
  .stage-original:not([data-gf-state="loading"]):not([data-gf-state="playing"]) .cover-fallback {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 675;
    object-fit: cover;
    display: block;
  }
  /* Make the pre-play cover take most of the first screen on phones, with the
     Play button still inside the visible box. Older browsers without dvh keep
     the previous poster-sized cover. */
  .stage-original:not([data-gf-state="loading"]):not([data-gf-state="playing"]) .cover img {
    aspect-ratio: auto;
    height: min(54dvh, 28rem);
    object-fit: cover;
    object-position: center 35%;
  }
  .stage-original:not([data-gf-state="loading"]):not([data-gf-state="playing"]) .play-btn {
    flex-shrink: 0;
    width: 100%;
    margin-top: 0.65rem;
  }
  .stage-original[data-gf-state="loading"],
  .stage-original[data-gf-state="playing"] {
    aspect-ratio: 16 / 10;
    height: auto;
    max-height: none;
  }
}
html[data-gf-playing] .stage-actions { display: none; }
html[data-gf-playing] .pc-play-shell .more-games-actions { display: flex; }
[data-gf-like-count][hidden] { display: none; }
@media (orientation: landscape) and (max-height: 700px) and (min-width: 721px) {
  .site-header .bar { padding: 0.25rem 0; }
  .hero-arena.playable { padding: 0.15rem 0 0.4rem; }
  .hero-arena.playable .kicker { display: none; }
  .hero-arena.playable h1 {
    font-size: clamp(1.05rem, 3vh, 1.45rem);
    margin: 0.05rem 0 0.2rem;
  }
  .hero-arena.playable .lede {
    font-size: 0.85rem;
    margin: 0.35rem 0 0;
    max-width: 42rem;
  }
  .stage-original {
    aspect-ratio: 16 / 10.5;
    height: auto;
    min-height: 0;
    width: min(100%, calc((100dvh - 8rem) * 16 / 10.5));
    max-height: calc(100dvh - 8rem);
  }
}



/* t92: namespaced play-row + compact right recs. Do not restyle global h2. */
.pc-play-shell {
  width: min(1040px, calc(100% - 2rem));
  margin-inline: auto;
  min-width: 0;
  overflow-x: clip;
}
.pc-play-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 12.5rem;
  gap: 0.65rem 0.75rem;
  align-items: start;
  min-width: 0;
}
.pc-play-primary,
.pc-play-recs {
  min-width: 0;
  max-width: 100%;
}
.pc-play-recs {
  background: rgba(var(--ink-rgb), 0.5);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.55rem;
}
.pc-play-recs__label {
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.3;
}
.pc-play-recs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}
.pc-play-recs .more-game-card {
  container-type: inline-size;
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  column-gap: 0.4rem;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0.28rem;
  text-align: start;
  color: var(--cream);
  background: rgba(var(--cream-rgb), 0.045);
  border: 1px solid transparent;
  border-radius: 0.35rem;
  cursor: pointer;
  min-width: 0;
}
.pc-play-recs .more-game-card img {
  grid-row: 1 / span 2;
  width: 100%;
  height: auto;
  aspect-ratio: 512 / 384;
  object-fit: cover;
  border-radius: 0.2rem;
  display: block;
}
.pc-play-recs .more-game-title {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1.25;
  overflow-wrap: break-word;
  min-width: 0;
}
.pc-play-recs .more-game-note {
  display: block;
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  margin-top: 0.12rem;
  font-size: 0.65rem;
  line-height: 1.3;
  color: var(--mist);
  overflow-wrap: break-word;
  min-width: 0;
}
.pc-play-recs .more-game-card[aria-pressed="true"] {
  border-color: var(--gold);
  background: rgba(var(--gold-rgb), 0.1);
  box-shadow: inset 3px 0 0 var(--gold), 0 0 0 1px var(--gold);
}
.pc-play-shell .stage-original {
  width: 100%;
  max-width: 100%;
  max-height: none;
  height: auto;
  margin: 0.35rem 0 0;
}
@media (min-width: 721px) {
  .pc-play-shell .stage-original[data-ratio="16/10.5"] { aspect-ratio: 16 / 10.5; }
  .pc-play-shell .stage-original[data-ratio="4/3"] { aspect-ratio: 4 / 3; }
  .pc-play-shell .stage-original[data-ratio="8/5"] { aspect-ratio: 8 / 5; }
  .pc-play-shell .stage-original .cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
@media (max-width: 720px) {
  .pc-play-shell .stage-original[data-ratio="4/3"]:not([data-gf-state="loading"]):not([data-gf-state="playing"]) .cover img {
    aspect-ratio: 4 / 3;
  }
  .pc-play-shell .stage-original[data-ratio="8/5"]:not([data-gf-state="loading"]):not([data-gf-state="playing"]) .cover img {
    aspect-ratio: 8 / 5;
  }
  .pc-play-shell .stage-original[data-ratio="4/3"][data-gf-state="loading"],
  .pc-play-shell .stage-original[data-ratio="4/3"][data-gf-state="playing"] { aspect-ratio: 4 / 3; }
  .pc-play-shell .stage-original[data-ratio="8/5"][data-gf-state="loading"],
  .pc-play-shell .stage-original[data-ratio="8/5"][data-gf-state="playing"] { aspect-ratio: 8 / 5; }
  .pc-play-shell .stage-original[data-ratio="16/10.5"][data-gf-state="loading"],
  .pc-play-shell .stage-original[data-ratio="16/10.5"][data-gf-state="playing"] { aspect-ratio: 16 / 10.5; }
}
.pc-play-note {
  margin: 0.8rem 0 0;
  color: var(--mist);
  font-size: 0.92rem;
  line-height: 1.45;
}

@media (max-width: 800px) {
  .pc-play-layout { grid-template-columns: minmax(0, 1fr); }
  .pc-play-recs { width: 100%; }
  .pc-play-recs .more-game-card {
    grid-template-columns: 3.25rem minmax(0, 1fr);
  }
}


/* ---- polish pass: forms, reading width, rail hover, phone type ---- */
.comment-form input, .comment-form textarea, form input[type="text"], form textarea {
  background: color-mix(in srgb, var(--cream) 8%, var(--panel));
  border: 2px solid var(--line-strong);
  border-radius: 0.45rem;
  padding: 0.7rem 0.85rem;
}
.comment-form input:focus, .comment-form textarea:focus {
  border-color: var(--gold);
  outline: none;
}
.form-actions { margin-top: 0.5rem; }
.form-actions .btn-gold, .form-actions button, .comment-form button {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 0.35rem;
  font-weight: 700;
  min-height: 2.75rem;
  padding: 0.62rem 1.35rem;
  transition: background 160ms ease, color 160ms ease;
}
.form-actions .btn-gold:hover, .form-actions button:hover, .comment-form button:hover {
  background: var(--gold);
  color: var(--ink);
}
main p, .block p, .prose p, .intro p { max-width: 66ch; }
.fact-table th { color: var(--gold-2); }
.fact-table th, .fact-table td { line-height: 1.55; }
.pc-play-recs .more-game-card {
  transition: background 180ms ease, border-color 180ms ease;
}
.pc-play-recs .more-game-card:hover {
  background: rgba(var(--cream-rgb), 0.07);
  border-color: var(--line-strong);
}
.pc-play-recs .more-game-card img {
  border-radius: 0.55rem;
}
.pc-play-recs .more-game-card[aria-pressed="true"] {
  background: rgba(var(--gold-rgb), 0.12);
}
nav a, .site-nav a, .nav a { font-weight: 500; color: var(--cream); }
nav a[aria-current], .site-nav a[aria-current], nav a.is-active { font-weight: 700; color: var(--gold); }
@media (max-width: 720px) {
  h1, .hero h1, .home-hero h1, .stage-hero h1 { font-size: clamp(1.35rem, 6.4vw, 1.6rem); line-height: 1.2; }
  .cover .play-btn, .play-btn { margin-top: 0.5rem; }
}


/* more-games grid under the player (cards also switch the main frame) */
.more-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.75rem;
  margin: 0.8rem 0 0;
}
.more-games .more-game-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0.55rem;
  text-align: center;
  color: var(--cream);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  cursor: pointer;
}
.more-games .more-game-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 512 / 384;
  object-fit: cover;
  border-radius: 0.25rem;
  display: block;
}
.more-games .more-game-title {
  margin-top: 0.45rem;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.25;
}
.more-games .more-game-note {
  margin-top: 0.25rem;
  font-size: 0.72rem;
  line-height: 1.3;
  color: var(--mist);
}
.more-games .more-game-card[aria-pressed="true"] {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}
@media (max-width: 800px) {
  /* The 4-card rail stacks under the player on phones; the grid in
     #more-games already shows the same games, so hide the rail there. */
  .pc-play-recs { display: none; }
  .more-games-grid { grid-template-columns: repeat(2, 1fr); }
}
