/* Self-hosted (OFL, see /fonts/OFL-*.txt): no third-party request before first paint. */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo.e3a28eade2.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

@font-face {
  font-family: "Silkscreen";
  src: url("/fonts/silkscreen-700.5741b7f01a.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --r-s: 10px;
  --r-m: 14px;
  --r-l: 20px;
  --wine: #430c13;
  --red: #d42a20;
  --red-deep: #9e1a12;
  --ink: #13232f;
  --reel: #f7f1e6;
  /* One dark theme (redesign step 5, 15 Oct 2026): the warm black of the home hero, the dark scheme's contrast. */
  --paper: #100b0e;
  --text: #f5eef0;
  --muted: #baaeb3;
  --line: #35292f;
  --live: #3ccf7f;
  --accent: #ff7a6e; /* red for small text on the dark paper */
  --footer: #0b0406;
  --band: #0b0406;
  --cut: 18px;
  --dot: 4px;
  /* Ordered (Bayer 2x2) dither, 75% then 50% then 25%: how pixel art fades one colour into the next. */
  --fade-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2 6' shape-rendering='crispEdges'%3E%3Cpath d='M0 0h2v1H0zM1 1h1v1H1zM0 2h1v1H0zM1 3h1v1H1zM0 4h1v1H0z'/%3E%3C/svg%3E");
  --fade-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2 6' shape-rendering='crispEdges'%3E%3Cpath d='M0 5h2v1H0zM1 4h1v1H1zM0 3h1v1H0zM1 2h1v1H1zM0 1h1v1H0z'/%3E%3C/svg%3E");
  --pixel: "Silkscreen", ui-monospace, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1.0625rem/1.55 "Archivo", system-ui, sans-serif;
  font-stretch: 100%;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

a:focus-visible, button:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

.wrap { width: min(1240px, 100% - 64px); margin-inline: auto; }

.skip-link { position: absolute; z-index: 100; top: 12px; left: 16px; padding: 12px 18px; background: #fff; color: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

/* The R monogram's bowl is cut at 45°; tiles, buttons and the cabinet take the same cut on the right. */
.cut {
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%, 0 100%);
}

/* Hero */

.hero { position: relative; background: color-mix(in srgb, var(--hero, var(--wine)) 18%, #100b0e); color: #fff; padding-bottom: clamp(40px, 5vw, 72px); }

/* Dithered edges: a coloured block fades into the next one in whole pixels instead of a straight line.
   Real elements, not pseudo-elements, so contrast checkers can still read the text around them. */
.edge {
  position: absolute;
  left: 0;
  right: 0;
  height: calc(var(--dot) * 6);
  background: inherit;
  -webkit-mask: var(--fade-down) 0 0 / calc(var(--dot) * 2) 100% repeat-x;
  mask: var(--fade-down) 0 0 / calc(var(--dot) * 2) 100% repeat-x;
  pointer-events: none;
}

.edge { top: 100%; }

.edge-up { top: auto; bottom: 100%; -webkit-mask-image: var(--fade-up); mask-image: var(--fade-up); }

.bar { position: relative; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 88px; padding-block: 20px; }

/* 133 px: the wordmark's letters at 18.9 px, the bar's height unchanged since the v2 wordmark (148 px). */
.logo { display: block; width: 133px; color: #fff; -webkit-user-select: none; user-select: none; }

.logo svg { width: 100%; height: auto; }

/* The home page's wordmark draws itself in once, after the kit's Red Edge splash (StudioSplashEdge.svelte): the R as a
   red-hot outline, its fill, the leg cut in along its 45-degree line under a red slash, EDAGE rising one letter after
   another, a red line under the word. Transform and opacity only; the red layers end invisible, so the last frame is
   the static wordmark. Reduced motion: the static wordmark. */
.red-edge .rd-hot, .red-edge .rd-slash, .red-edge .rd-line { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .red-edge svg path, .red-edge svg rect, .red-edge svg g { transform-box: fill-box; }
  .red-edge .rd-hot { animation: rd-hot .62s .04s both; }
  .red-edge .rd-r { animation: rd-fill .16s .38s both; }
  .red-edge .rd-leg { animation: rd-leg .28s .52s cubic-bezier(.2, .8, .2, 1) both; }
  .red-edge .rd-slash { transform-origin: left center; animation: rd-slash .5s .52s both; }
  .red-edge .rd-e1, .red-edge .rd-d, .red-edge .rd-a, .red-edge .rd-g, .red-edge .rd-e2 { animation: rd-rise .42s .7s cubic-bezier(.2, .8, .2, 1) both; }
  .red-edge .rd-d { animation-delay: .8s; }
  .red-edge .rd-a { animation-delay: .9s; }
  .red-edge .rd-g { animation-delay: 1s; }
  .red-edge .rd-e2 { animation-delay: 1.1s; }
  .red-edge .rd-line { transform-origin: left center; animation: rd-line .96s .88s both; }
}

@keyframes rd-hot { 0% { opacity: 0; } 25%, 70% { opacity: 1; } 100% { opacity: 0; } }
@keyframes rd-fill { from { opacity: 0; } }
@keyframes rd-leg { from { opacity: 0; transform: translate(42px, 42px); } }
@keyframes rd-slash { 0% { opacity: 1; transform: scaleX(0); } 40% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }
@keyframes rd-rise { from { opacity: 0; transform: translateY(64px); } }
@keyframes rd-line { 0% { opacity: 1; transform: scaleX(0); } 40% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }

.nav-links { display: flex; flex-wrap: wrap; gap: 4px clamp(12px, 3vw, 32px); font-size: 0.9375rem; font-weight: 600; }

.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 6px; border-bottom: 2px solid transparent; text-decoration: none; }

.nav-toggle { display: none; align-items: center; gap: 14px; min-height: 44px; padding: 8px 12px; border: 1px solid rgb(255 255 255 / 0.2); border-radius: var(--r-s); background: transparent; color: #fff; font: 600 0.875rem "Archivo", sans-serif; cursor: pointer; }
.nav-toggle[hidden] { display: none; }
.nav-toggle span { font-size: 1.5rem; line-height: 1; }
.nav-toggle[aria-expanded="true"] span { rotate: 45deg; }

.nav-links a:hover { border-bottom-color: currentColor; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  padding-top: clamp(32px, 6vw, 72px);
}

.hero h1 {
  max-width: 13ch;
  margin: 0 0 20px;
  font-size: clamp(2.5rem, 5.4vw, 4.5rem);
  font-weight: 850;
  font-stretch: 125%;
  line-height: 1.02;
}

.intro { max-width: 44ch; margin: 0 0 32px; color: #f6dcd9; font-size: 1.125rem; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Home hero: the featured game's key art across the whole header (studio.featured), dark on the copy's side, as the
   strong studio sites lead with a game (site/README.md "Design references"). */
.hero:has(.feature-art) { display: flex; flex-direction: column; min-height: min(88svh, 760px); overflow: hidden; isolation: isolate; background: #14060a; }
.feature-art { position: absolute; inset: 0 0 0 auto; z-index: -2; width: 76%; height: 100%; object-fit: cover; object-position: 50% 30%; image-rendering: pixelated; }
.feature-art.hd { image-rendering: auto; }
/* Living key art (design review S7, 28 Oct 2026): an HD featured game's background drifts in over 32 s while its hero
   breathes from the bottom edge it is cut at, so no edge ever opens; transform only, still under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .feature-art.hd:not(.feature-hero) { transform-origin: 70% 40%; animation: feature-drift 32s ease-in-out infinite alternate; }
  .feature-hero { transform-origin: 72% 100%; animation: feature-breathe 6s ease-in-out infinite; }
}
@keyframes feature-drift { to { scale: 1.04; } }
@keyframes feature-breathe { 50% { scale: 1.006 1.014; } }
.hero:has(.feature-art)::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgb(16 11 14) 0%, rgb(16 11 14) 24%, rgb(16 11 14 / 0.55) 36%, rgb(16 11 14 / 0) 54%),
              linear-gradient(0deg, rgb(16 11 14 / 0.85) 0%, rgb(16 11 14 / 0) 28%),
              linear-gradient(180deg, rgb(16 11 14 / 0.7) 0%, rgb(16 11 14 / 0) 22%);
}
.feature { display: flex; flex: 1; align-items: center; }
/* The shipped game waits for the hero script (site.py HERO_SCRIPT) to put in this visit's one; if no script runs, it
   shows after .8 s (no JavaScript: at once, from the page's noscript). */
.feature[data-rotating] { visibility: hidden; animation: feature-reveal 0s .8s forwards; }
@keyframes feature-reveal { to { visibility: visible; } }
.feature-copy { max-width: 540px; padding-block: clamp(32px, 6vh, 72px); }
.eyebrow { margin: 0 0 18px; color: #ffb4aa; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.feature .game-logo { margin-bottom: 20px; }
.feature .intro { max-width: 32ch; font-size: 1.25rem; line-height: 1.5; color: #e5dce2; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--live); }

/* One quiet studio introduction, then straight into the games. */
.studio-line { padding-bottom: 28px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.studio-line h1 { margin: 0; color: var(--muted); font-size: clamp(1.125rem, 1.8vw, 1.5rem); font-weight: 500; line-height: 1.4; }
.feature .actions { align-items: center; column-gap: 24px; }
.feature .feature-browse { color: #e5dce2; font-size: .9375rem; text-decoration: underline; text-underline-offset: 5px; }
.reel-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; margin-top: 80px; padding: 48px clamp(24px, 5vw, 64px); border: 1px solid var(--line); border-radius: var(--r-l); background: #171015; }
.reel-copy { max-width: 28rem; }
.reel-copy h2 { max-width: 12ch; margin-bottom: 20px; }
.reel-copy > p:not(.eyebrow) { max-width: 34ch; margin-bottom: 28px; color: var(--muted); }
.reel-machine { min-width: 0; }
.reel-band .machine { margin-top: 0; }
.reel-band .cabinet { --scale: 2; }
.text-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; font-weight: 650; text-decoration: none; }
.text-link:hover { color: var(--accent); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading h2 { margin: 0; }

@media (min-width: 701px) and (max-width: 1100px) {
  .feature-copy { max-width: 44%; }
  .feature-art { object-position: 35% 30%; }
  .feature .intro { font-size: 1.125rem; }
}

@media (max-width: 700px) {
  .hero:has(.feature-art) { min-height: 0; }
  .feature-art { inset: 64px 0 auto; width: 100%; height: 86vw; object-position: 50% 40%; }
  .hero:has(.feature-art)::before { background: linear-gradient(180deg, rgb(16 11 14) 64px, rgb(16 11 14 / 0.1) calc(64px + 12vw), rgb(16 11 14 / 0) calc(64px + 48vw), rgb(16 11 14) calc(64px + 86vw)); }
  .feature-copy { padding-top: 66vw; }
}


/* The studio reel */

/* The machine: the cabinet, and above it a window the games' leads rise into from behind it. */
.machine { position: relative; max-width: 100%; padding-top: 150px; margin-top: -48px; }

.cameo { position: absolute; top: 0; left: 0; right: 0; height: 150px; overflow: hidden; pointer-events: none; }

.cameo .actor { left: calc(50% - var(--fw) * var(--s) * 0.5px); left: round(down, 50% - var(--fw) * var(--s) * 0.5px, 1px); bottom: 0; translate: 0 101%; }

.cameo .actor.on { translate: 0 0; }

.cabinet {
  --native: 32px;
  --scale: 3;
  --cell: calc(var(--native) * var(--scale));
  --cut: 22px;
  width: max-content;
  max-width: 100%;
  padding: 16px 18px 20px;
  background: var(--red);
  color: #fff;
}

.marquee { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 14px; font: 700 1rem/1 var(--pixel); letter-spacing: 0.08em; }

.lamps { display: flex; gap: 6px; }

.lamps i { width: 8px; height: 8px; background: #6e120c; }

.spinning .lamps i { animation: chase 480ms steps(1) infinite; }
.lamps i:nth-child(2) { animation-delay: 120ms; }
.lamps i:nth-child(3) { animation-delay: 240ms; }
.lamps i:nth-child(4) { animation-delay: 360ms; }

.won .lamps i { animation: blink 300ms steps(1) 4; }
.jackpot .lamps i { animation: blink 160ms steps(1) 14; }

@keyframes chase { 0% { background: #ffe680; } 25% { background: #6e120c; } }
@keyframes blink { 0% { background: #ffe680; } 50% { background: #6e120c; } }

.window {
  position: relative;
  display: grid;
  width: max-content;
  margin-inline: auto;
  grid-template-columns: repeat(3, var(--cell));
  gap: 4px;
  padding: 4px;
  background: var(--ink);
}

.reel { position: relative; height: calc(var(--cell) * 3); overflow: hidden; background: var(--reel); }

/* Cylinder shading: the reel turns away at the top and bottom. */
.reel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgb(19 35 47 / 0.42), rgb(19 35 47 / 0) 26%, rgb(19 35 47 / 0) 74%, rgb(19 35 47 / 0.42));
  pointer-events: none;
}

.strip { will-change: transform; }

.sym {
  display: block;
  width: var(--cell);
  height: var(--cell);
  background-image: var(--sheet);
  background-size: calc(var(--count) * var(--cell)) var(--cell);
  background-position: calc(var(--i) * var(--cell) * -1) 0;
  image-rendering: pixelated;
}

.payline { position: absolute; top: 50%; width: 0; height: 0; border-block: 9px solid transparent; translate: 0 -50%; }
.payline-left { left: -12px; border-left: 10px solid #fff; }
.payline-right { right: -12px; border-right: 10px solid #fff; }

.won .sym:nth-child(2), .jackpot .sym:nth-child(2) { animation: pay 700ms steps(2) 3; }

@keyframes pay { 50% { background-color: #ffe680; } }

.result { min-height: 3.1em; max-width: calc(var(--cell) * 3 + 8px); margin: 14px 0 12px; font-size: 0.9375rem; font-weight: 600; line-height: 1.55; }

.result a { font-weight: 800; }

.controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.spin {
  --cut: 12px;
  min-width: 140px;
  min-height: 52px;
  padding: 0 28px 0 24px;
  border: 0;
  background: #fff;
  color: var(--red-deep);
  font: 700 1.25rem/1 var(--pixel);
  letter-spacing: 0.06em;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%, 0 100%);
}

.spin:hover { background: #ffe9e6; }
.spin:active { translate: 0 2px; }
.spin[aria-disabled="true"] { background: #f3c6c1; cursor: progress; }
.spin:focus-visible { outline-offset: -7px; }

.sound { padding: 8px 0; border: 0; background: none; color: #fff; font: 600 0.875rem/1 "Archivo", sans-serif; font-stretch: 112%; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Buttons */

.button {
  --cut: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 28px 12px 22px;
  border: 0;
  font: inherit;
  font-weight: 700;
  font-stretch: 112%;
  line-height: 1.2;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%, 0 100%);
}

.button:focus-visible { outline-offset: -7px; }

.button-light { background: #fff; color: var(--ink); }
.button-light:hover { background: #ffe1dd; }

.button-glass { background: rgb(255 255 255 / 0.17); color: #fff; }
.button-glass:hover { background: rgb(255 255 255 / 0.26); }

.button-red { background: var(--red); color: #fff; }
.button-red:hover { background: var(--red-deep); }

/* The other half of a choice: as easy to press as the red one, quieter to look at. */
.button-quiet { background: var(--line); color: var(--text); }
.button-quiet:hover { text-decoration: underline; text-underline-offset: 3px; }

button.button { cursor: pointer; }

/* Games */

main { padding-top: clamp(40px, 6vw, 80px); }

h2 {
  margin: 0 0 32px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.12;
}

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(28px, 3vw, 40px); }

.grid-games { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.grid-related { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 920px; }

/* The lobby look (redesign step 3): live and coming as two rows of uniform rounded tiles, like Stake's lobby. */
.games h2 .count { color: var(--muted); font-weight: 600; font-stretch: 100%; }
.grid-games + h2 { margin-top: clamp(48px, 6vw, 72px); }
.tile-art { clip-path: none; border-radius: var(--r-m); }

.card-compact .tile > h3 { padding: 14px; font-size: clamp(1rem, 1.55vw, 1.25rem); font-stretch: 108%; line-height: 1.1; }
.card-compact .card-body { gap: 0; padding-top: 6px; }
.card-compact .button, .card-compact .follow { min-height: 44px; padding: 8px 0; background: none; clip-path: none; color: var(--muted); font-size: 0.875rem; font-weight: 600; font-stretch: 100%; text-decoration: none; }
.card-compact .button:hover, .card-compact .follow:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.card-compact .button:focus-visible { outline-offset: 2px; }

.card { display: flex; flex-direction: column; min-width: 0; scroll-margin-top: 24px; }

.tile { position: relative; display: grid; min-width: 0; }

.tile > .tile-art, .tile > h3 { grid-area: 1 / 1; }

.tile-art { container-type: inline-size; position: relative; display: grid; overflow: hidden; aspect-ratio: 3 / 4; background: var(--ink); }

/* The title scrim lives inside the clipped art, so the title itself needs no clip-path
   (a clip on the title would also clip the tile-wide link area and its focus ring). */
.tile-art::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(to top, rgb(19 35 47 / 0.88), rgb(19 35 47 / 0));
  pointer-events: none;
}

.tile-art img, .page-art img, .press-art img {
  position: absolute;
  left: 50%;
  left: round(down, 50%, 1px);
  top: 50%;
  top: round(down, 50%, 1px);
  width: max(calc(var(--art-w) * 1px), round(down, 100cqi, calc(var(--art-w) * 1px)));
  max-width: none;
  height: auto;
  translate: -50% -50%;
  image-rendering: pixelated;
}

/* Native canvases grow in whole steps; the frame crops a canvas too large for a narrow column.
   Parallax also moves in whole pixels, with no zoom that would stretch the art between steps. */
.tile-bg { transform: translate(round(nearest, calc(var(--px, 0) * 10px), 1px), round(nearest, calc(var(--py, 0) * 8px), 1px)); }

.tile-fg { transform: translate(round(nearest, calc(var(--px, 0) * -22px), 1px), round(nearest, calc(var(--py, 0) * -14px + var(--lift, 0px)), 1px)); }

/* Catalog artwork fills the frame; pixel illustrations keep nearest-neighbour rendering.
   In-game symbols and logos retain their separate whole-number scaling rules. */
.tile-art img { width: calc(100% + 48px); }

/* A real gameplay preview loads only after intent; the original cover remains its fallback. */
.tile-preview { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; }
.preview-playing .tile-preview { opacity: 1; }
.tile-art:has(.tile-preview)::after { z-index: 2; }
.card-body:has(.preview-toggle) { flex-direction: row; align-items: center; justify-content: space-between; gap: 6px; }
.preview-toggle { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 8px 9px; border: 1px solid var(--line); border-radius: var(--r-s); background: #1e141b; color: #fff; cursor: pointer; font: 650 .75rem "Archivo", sans-serif; }
.preview-toggle[hidden] { display: none; }
.preview-toggle:hover { background: #35202ee8; border-color: #ffffff80; }
.preview-icon { width: 12px; text-align: center; font-size: .625rem; }
@media (max-width: 380px) { .preview-label { display: none; } .preview-toggle { width: 44px; padding: 0; } .card-body:has(.preview-toggle) .button { font-size: .75rem; } }
@media (prefers-reduced-motion: no-preference) { .tile-preview { transition: opacity .14s; } }

/* A pointed or focused tile lifts; no glint (round 3 A5). */
@media (prefers-reduced-motion: no-preference) {
  .tile:is(:hover, :focus-within) { --lift: -10px; }
}

.tile > h3 {
  isolation: isolate; /* paints above the art without becoming the link's containing block */
  align-self: end;
  min-width: 0;
  overflow-wrap: anywhere;
  margin: 0;
  padding: 0 20px 20px;
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.125rem);
  font-weight: 900;
  font-stretch: 125%;
  line-height: 1;
  text-shadow: 0 2px 8px rgb(0 0 0 / 0.8);
}

.tile > h3 a { text-decoration: none; }

/* The title link covers the whole tile. */
.tile > h3 a::before { content: ""; position: absolute; inset: 0; }

.tile > h3 a:focus-visible { outline: none; }

.tile > h3 a:focus-visible::before { outline: 3px solid var(--text); outline-offset: 4px; }

.card-body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding-top: 18px; }

.status { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 0.9375rem; font-weight: 650; font-stretch: 112%; }

.status::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; }

.status-live::before { background: var(--live); }

.status-soon { color: var(--muted); }

.status-soon::before { box-shadow: inset 0 0 0 2px currentColor; }

.blurb { margin: 0; }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin: 4px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }

.facts dt { color: var(--muted); font-size: 0.8125rem; }

.facts dd { margin: 0; font-weight: 650; }

.card .button, .card .follow { align-self: flex-start; margin-top: auto; }

.follow { padding-block: 10px; font-weight: 650; font-stretch: 112%; text-underline-offset: 3px; }

/* A brief studio note introduces the longer stories in the devlog. */
.studio { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px 64px; padding-top: 56px; border-top: 1px solid var(--line); }
.studio h2 { margin: 0; }
.studio-copy { max-width: 52ch; }
.studio-copy p { margin: 0 0 16px; color: var(--muted); }
.playground-reel { margin-top: 0; }
.playground-cast { margin-top: 64px; }

.more-link { margin: 32px 0 0; font-weight: 650; font-stretch: 112%; }

.more-link a { text-underline-offset: 3px; }

/* The cast: a dark band where each game's lead stands on a stage of its own game's backdrop */

.band { position: relative; margin-top: clamp(96px, 12vw, 152px); padding-block: clamp(56px, 7vw, 88px); background: var(--band); color: #dce4ea; }

.band h2 { color: #fff; }

.band-intro { max-width: 52ch; margin: -16px 0 40px; color: #b9c7d2; font-size: 1.125rem; }

.cast-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.cast-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-l); background: #151015; }
.cast-card .stage { align-self: center; border-radius: var(--r-m); clip-path: none; }
.cast-card .cast-bio { color: var(--muted); font-size: 1rem; }

.cast-name { margin: 12px 0 0; color: #fff; font-size: 1.5rem; font-weight: 850; font-stretch: 125%; line-height: 1.1; }

.cast-game { margin: 0 0 4px; color: #9fb1bf; font-size: 0.9375rem; }

.cast-game a { color: #fff; font-weight: 650; text-underline-offset: 3px; }

.cast-bio { max-width: 60ch; margin: 0 0 12px; }

.band .act { margin-top: auto; }

/* A stage shows its scene at one whole-number scale (--k, doubled on game pages by --z); a column narrower
   than the scene crops its sides. The strip moves one frame per step, so every art pixel stays square. */
.stage {
  --z: 1;
  --s: calc(var(--k) * var(--z));
  --cut: 14px;
  position: relative;
  flex: none;
  width: 100%;
  max-width: calc(320px * var(--z));
  height: calc(220px * var(--z));
  overflow: hidden;
  background: var(--ink);
}

.scene { position: absolute; bottom: 0; left: calc(50% - 160px * var(--z)); left: round(down, 50% - 160px * var(--z), 1px); width: calc(320px * var(--z)); height: 100%; }

.backdrop { width: 100%; height: 100%; image-rendering: pixelated; }

.actor {
  position: absolute;
  left: calc(var(--x) * var(--s) * 1px);
  bottom: calc(var(--y) * var(--s) * 1px);
  width: calc(var(--fw) * var(--s) * 1px);
  height: calc(var(--fh) * var(--s) * 1px);
  overflow: hidden;
}

.actor img { width: calc(var(--fw) * var(--n) * var(--s) * 1px); max-width: none; height: 100%; image-rendering: pixelated; }

@media (prefers-reduced-motion: no-preference) {
  .actor img { animation: var(--life) steps(1, end) infinite; }
  /* The move plays only when asked for (its button, or a reel landing on its game), never on hover. */
  .acting .actor img, .actor.acting img { animation: var(--act) steps(1, end) infinite; }
  .cameo .actor { transition: translate 300ms steps(5); }
}

/* Reduced motion: the first frame stands still, and an action shows its key frame instead. */
@media (prefers-reduced-motion: reduce) {
  .acting .actor img, .actor.acting img { transform: translateX(calc(var(--key) / var(--n) * -100%)); }
}

.lead { margin-top: clamp(80px, 10vw, 120px); }

.lead-grid { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 64px); align-items: center; }

.lead .stage { --z: 2; }

.lead h2 { margin-bottom: 16px; }

.lead-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; font-size: 1.125rem; }

/* Full-resolution (HD) games (class hd): smooth art at any size, no pixelated rendering and no whole-number
   steps. Pixel games keep every rule above. Covers and tiles fill their frame, with room for the parallax. */
.tile-art.hd img, .page-art.hd img, .press-art.hd img { width: calc(100% + 32px); image-rendering: auto; }

.page-art.hd, .press-art.hd { height: auto; aspect-ratio: 16 / 9; }

.game-logo.hd img { width: min(100%, 420px); image-rendering: auto; }

.symbol-art.hd img { width: min(96px, 76%); image-rendering: auto; }

.sym-hd {
  background-image: var(--sheet-hd);
  background-size: calc(var(--count-hd) * var(--cell)) var(--cell);
  background-position: calc(var(--j) * var(--cell) * -1) 0;
  image-rendering: auto;
}

.stage.hd .backdrop { image-rendering: auto; }

/* An HD lead is one still picture; its move is a squash-and-stretch stomp from the feet, only when asked for. */
.actor.hd { overflow: visible; }

.actor.hd img { image-rendering: auto; transform-origin: 50% 100%; }

@media (prefers-reduced-motion: no-preference) {
  .actor.hd img { animation: none; }
  .acting .actor.hd img, .actor.hd.acting img { animation: var(--act) 2 both; }
  .cameo .actor.hd { transition: translate 300ms cubic-bezier(0.2, 0.8, 0.3, 1); }
}

/* Reduced motion: the stomp's key pose, the squash on contact, held while the move would play. */
@media (prefers-reduced-motion: reduce) {
  .acting .actor.hd img, .actor.hd.acting img { transform: scale(1.2, 0.78); }
}

/* Crouch, leap stretched, land squashed, rebound, settle. */
@keyframes stomp-hd {
  0% { transform: none; animation-timing-function: ease-in-out; }
  12% { transform: scale(1.1, 0.88); animation-timing-function: cubic-bezier(0.2, 0.7, 0.4, 1); }
  36% { transform: translateY(-20%) scale(0.94, 1.08); animation-timing-function: cubic-bezier(0.6, 0, 0.9, 0.5); }
  54% { transform: scale(1.2, 0.78); animation-timing-function: cubic-bezier(0.2, 0.8, 0.4, 1); }
  70% { transform: scale(0.96, 1.05); animation-timing-function: ease-in-out; }
  100% { transform: none; }
}

/* Game and press pages */

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(20px, 4vw, 48px);
}

.page-copy:only-child { grid-column: 1 / -1; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 28px; padding: 0; list-style: none; color: #f2dad7; font-size: 0.9375rem; }

.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.6; }

.crumbs a { text-underline-offset: 3px; }

.hero .game-logo { container-type: inline-size; max-width: none; margin-bottom: 24px; }

/* The wordmark takes the largest whole scale that fits its column, never a fluid max-width clamp. */
.game-logo img { width: min(calc(var(--w) * 4px), max(calc(var(--w) * 1px), round(down, 100cqi, calc(var(--w) * 1px)))); max-width: none; height: auto; image-rendering: pixelated; }

.page-hero .status { margin-bottom: 14px; color: #fff; }

.page-art { container-type: inline-size; position: relative; display: grid; justify-self: center; width: 100%; max-width: calc(var(--art-w) * 1px); height: calc(var(--art-h) * 1px); overflow: hidden; margin: 0; background: var(--ink); }

.glance .facts-wide { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 0; }

.facts-wide dd { font-size: 1.125rem; }

.page-section { padding-top: clamp(56px, 8vw, 96px); }

main > .page-section:last-child { padding-bottom: clamp(72px, 10vw, 120px); }

.symbols { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 28px 20px; margin: 0; padding: 0; list-style: none; }

.symbol { display: grid; min-width: 0; gap: 2px; }

.symbol-art { --cut: 14px; container-type: inline-size; display: grid; place-items: center; aspect-ratio: 1; margin-bottom: 10px; background: var(--reel); }

.symbol-art img { width: min(calc(var(--w) * 2px), max(calc(var(--w) * 1px), round(down, 100cqi, calc(var(--w) * 1px)))); max-width: none; height: auto; image-rendering: pixelated; }

.symbol-name { overflow-wrap: anywhere; font-weight: 700; font-stretch: 112%; line-height: 1.3; }

.symbol-role { color: var(--muted); font-size: 0.875rem; }

.modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(24px, 3vw, 40px); margin: 0; padding: 0; list-style: none; }

.modes li { padding-top: 18px; border-top: 3px solid var(--text); }

.mode-cost { margin: 0 0 10px; color: var(--accent); font-size: 1.25rem; font-weight: 850; font-stretch: 125%; line-height: 1; }

.modes h3 { margin: 0 0 8px; font-size: 1.25rem; font-weight: 800; font-stretch: 118%; line-height: 1.2; }

.modes p:last-child { margin: 0; }

.rules { display: grid; gap: 14px; max-width: 72ch; margin: 0; padding: 0; list-style: none; }

.rules li { position: relative; padding-left: 24px; }

.rules li::before { content: ""; position: absolute; top: 0.62em; left: 0; width: 8px; height: 8px; background: var(--accent); }

.note { max-width: 72ch; margin: 28px 0 0; color: var(--muted); font-size: 0.9375rem; }

.press-about { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 72px); align-items: start; }

.boilerplate h3 { margin: 0 0 8px; color: var(--muted); font-size: 0.9375rem; font-weight: 650; font-stretch: 112%; }

.boilerplate p { max-width: 64ch; margin: 0 0 6px; font-size: 1.125rem; }

.boilerplate .copy + h3 { margin-top: 28px; }

.copy { padding: 8px 0; border: 0; background: none; color: inherit; font: 650 0.9375rem/1 "Archivo", sans-serif; font-stretch: 112%; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.facts-sheet { grid-template-columns: minmax(0, 1fr); margin: 0; }

.assets { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px 24px; margin: 0; padding: 0; list-style: none; }

.asset { display: grid; align-content: start; gap: 2px; }

/* The preview box has a fixed shape; any file, whatever its own size, is fitted inside it. */
.asset-preview { position: relative; display: block; aspect-ratio: 16 / 10; margin-bottom: 10px; background: #fff; border: 1px solid var(--line); }

.asset-white .asset-preview, .asset-wide .asset-preview, .asset-icon .asset-preview { background: var(--ink); border-color: var(--ink); }

.asset-preview img { position: absolute; inset: 16%; width: 68%; height: 68%; object-fit: contain; }

.asset-wide .asset-preview img { inset: 0; width: 100%; height: 100%; }

.asset-icon .asset-preview img { inset: 10%; width: 80%; height: 80%; }

.asset-name { font-weight: 700; font-stretch: 112%; }

.asset-meta { color: var(--muted); font-size: 0.875rem; }

.asset-links { display: flex; gap: 18px; margin-top: 4px; font-weight: 650; }

.press-games { display: grid; gap: 48px; }

.press-game { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 24px clamp(24px, 4vw, 48px); align-items: start; scroll-margin-top: 24px; }

.press-art { container-type: inline-size; position: relative; display: grid; width: 100%; max-width: calc(var(--art-w) * 1px); height: calc(var(--art-h) * 1px); overflow: hidden; margin: 0; background: var(--ink); }

.press-game h3 { margin: 0 0 8px; font-size: 1.5rem; font-weight: 850; font-stretch: 125%; }

.press-game h3 a { text-decoration: none; }

.press-game h3 a:hover { text-decoration: underline; }

.press-game p { max-width: 60ch; margin: 0 0 12px; }

.downloads { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }

.downloads a { font-weight: 700; }

.downloads span { color: var(--muted); font-size: 0.875rem; }

.press-shot { margin: 24px 0 0; }

.press-shot img { width: auto; height: auto; max-width: 100%; max-height: 360px; }

.press-shot figcaption { margin-top: 8px; color: var(--muted); font-size: 0.9375rem; }

.feed-note { margin: 24px 0 0; font-size: 0.9375rem; overflow-wrap: anywhere; }

/* Devlog */

.hero .post-title { max-width: 22ch; font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.05; }

.post-meta { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: -14px 0 0; color: #f2dad7; font-size: 0.9375rem; }

.listing { padding-bottom: clamp(72px, 10vw, 120px); }

.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px clamp(24px, 3vw, 40px); margin: 0; padding: 0; list-style: none; }

.post { min-width: 0; padding: 12px 12px 24px; border: 1px solid var(--line); border-radius: var(--r-l); background: #1a1217; }
.post-cover { overflow: hidden; aspect-ratio: 1200 / 630; margin-bottom: 20px; border: 1px solid var(--line); border-radius: var(--r-m); background: #171015; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post > p:last-child { color: var(--muted); font-size: 1rem; }
.feed-details { max-width: 36rem; color: var(--muted); font-size: 0.9375rem; }
.feed-details summary { width: fit-content; padding-block: 8px; cursor: pointer; }
.feed-content { padding-top: 16px; }

.post-date { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 12px; color: var(--muted); font: 600 .8125rem/1.5 Archivo, sans-serif; }
.post-date time { color: #ffb4aa; }
.post > :not(.post-cover) { margin-inline: 8px; }
.devlog-page .listing { padding-top: 16px; }
.devlog-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: 16px; border: 1px solid #503440; border-radius: var(--r-l); background: #2c1925; }
.devlog-feature-cover { display: block; min-width: 0; overflow: hidden; border-radius: var(--r-m); }
.devlog-feature-cover img { width: 100%; height: auto; }
.devlog-feature-copy { padding: 20px 24px 20px 0; }
.devlog-feature-copy h2 { margin: 0 0 16px; font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.12; letter-spacing: -.025em; }
.devlog-feature-copy h2 a { text-decoration: none; }
.devlog-feature-copy > p:not(.eyebrow, .post-date) { margin: 0 0 24px; color: #cbbcc5; }
.devlog-archive-heading { margin-block: 64px 28px; }
.devlog-archive-heading h2 { margin: 0; }

.post h2, .post h3 { margin: 0 0 8px; font-size: 1.375rem; font-weight: 800; font-stretch: 118%; line-height: 1.2; }

.post h2 a, .post h3 a { text-decoration: none; }

.post h2 a:hover, .post h3 a:hover { text-decoration: underline; }

.post p:last-child { margin-block: 0; }

.prose { max-width: 680px; font-size: 1.125rem; }

.prose > :first-child { margin-top: 0; }

.prose h2 { margin: 56px 0 16px; font-size: clamp(1.625rem, 3vw, 2rem); }

.prose h3 { margin: 36px 0 10px; font-size: 1.25rem; font-weight: 800; font-stretch: 118%; line-height: 1.25; }

.prose p, .prose ul, .prose ol, .prose blockquote { margin: 0 0 20px; }

.prose ul, .prose ol { padding-left: 1.4em; }

.prose li + li { margin-top: 8px; }

.prose a { text-underline-offset: 3px; }

.prose code { padding: 0.1em 0.35em; background: var(--line); font: 0.875em/1 ui-monospace, "Cascadia Mono", Consolas, monospace; overflow-wrap: anywhere; }

.prose blockquote { padding-left: 20px; border-left: 3px solid var(--accent); }

.prose blockquote p:last-child { margin: 0; }

.prose .note { margin-top: 40px; }

.shot { margin: 32px 0; }

/* Sprites ship at native size and grow by one whole number, so each art pixel stays square. */
.sprites { container-type: inline-size; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 16px; padding: 24px 16px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--reel); overflow-x: auto; }

.sprites img { flex: none; width: min(calc(var(--w) * var(--k) * 1px), max(calc(var(--w) * 1px), round(down, 100cqi, calc(var(--w) * 1px)))); max-width: none; height: auto; image-rendering: pixelated; }

.sprites.hd img { max-width: 100%; width: min(calc(var(--w) * 1px), 200px); image-rendering: auto; } /* never past its own pixels */
.shot .art { width: 100%; height: auto; border-radius: var(--r-m); background: var(--ink); }

.shot figcaption { margin-top: 10px; color: var(--muted); font-size: 0.9375rem; }

/* Footer */

.footer { position: relative; background: var(--footer, var(--ink)); color: #dce4ea; }

.footer-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px; padding-block: 72px 48px; }

.footer-cta h2 { margin-bottom: 12px; color: #fff; font-size: clamp(1.75rem, 3.4vw, 2.5rem); }

.footer-cta p { max-width: 52ch; margin: 0 0 28px; font-size: 1.125rem; }

.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 24px 32px; border-top: 1px solid var(--line); font-size: 0.9375rem; }

.footer-row p { margin: 0; }

.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Jack sits on the footer; every stomp stokes his flame. */
.jack-spot { display: grid; justify-items: center; gap: 6px; margin-left: auto; color: #ffd27a; }

.jack { padding: 0; border: 0; background: none; cursor: pointer; }

.jack img { width: calc(var(--w) * 2px); max-width: none; height: auto; image-rendering: pixelated; transform-origin: 50% 100%; }

.jack-spot .flame { min-height: 1.2em; font: 700 0.875rem/1.2 var(--pixel); white-space: nowrap; }

.jack-spot.blazing .flame { color: #fff1b8; text-shadow: 0 0 10px #ff8a1f; }

.jack-spot:has(.jack:is(:hover, :focus-visible)) .flame:empty::before { content: "stomp?"; color: #8fa3b3; }

/* Rampage */

.mogu { position: fixed; left: 50%; bottom: 0; z-index: 50; display: grid; justify-items: center; translate: -50% 0; pointer-events: none; }

.mogu img { width: 400px; max-width: none; height: auto; image-rendering: pixelated; }

.mogu span { --cut: 10px; margin-bottom: -8px; padding: 10px 18px 8px 14px; background: var(--red); color: #fff; font: 700 1.5rem/1 var(--pixel); clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }

@media (prefers-reduced-motion: no-preference) {
  .mogu { animation: surface 3200ms cubic-bezier(0.3, 0.8, 0.3, 1) both; }
  .mogu span { animation: shout 3200ms steps(1) both; }
}

@keyframes surface {
  0% { transform: translateY(100%); }
  22%, 78% { transform: translateY(0); }
  30%, 46%, 62% { transform: translateY(3%); }
  38%, 54%, 70% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

@keyframes shout { 0%, 20% { opacity: 0; } 22%, 78% { opacity: 1; } 80% { opacity: 0; } }

/* A site-only vignette, using Mimic Munch's original layered character art. */
.mimic { margin-block: clamp(48px, 6vw, 72px) 64px; }
.mimic-more { margin: 14px 0 0; text-align: right; color: var(--muted); font-size: .875rem; }
.mimic-card {
  position: relative; isolation: isolate; overflow: hidden; border: 1px solid #514033; border-radius: var(--r-l);
  display: grid; grid-template-columns: 1fr 1.08fr; grid-template-areas: "copy stage" "controls stage";
  padding: clamp(24px, 4vw, 52px); column-gap: 20px;
  background: linear-gradient(90deg, #17131cf5 0%, #17131ce8 42%, #17131c40 100%), var(--mimic-vault) center 44% / cover;
}
.mimic-copy { grid-area: copy; position: relative; z-index: 1; }
.mimic-copy .eyebrow { color: #eac589; font-size: .75rem; letter-spacing: .11em; }
.mimic-copy h2 { margin: 20px 0; font-size: clamp(2rem, 4.1vw, 3.75rem); line-height: 1.04; letter-spacing: -.045em; }
.mimic-copy > p:not(.eyebrow) { color: #d2c1bd; margin-bottom: 20px; }
.mimic-copy .text-link { color: #f3d7a8; }
.mimic-stage { grid-area: stage; position: relative; align-self: center; width: 100%; aspect-ratio: 1; min-width: 0; }
.mimic-creature { position: absolute; inset: 0; transform-origin: 50% 96%; }
.mimic-layer { position: absolute; max-width: none; height: auto; pointer-events: none; user-select: none; }
.mimic-jaw { position: absolute; inset: 0; transform-origin: 93.3% 42.26%; }
.mimic-tongue { transform-origin: 25% 8%; }
.mimic-face-greedy, .mimic-face-delighted, .mimic-face-blink { opacity: 0; }
.mimic[data-mood="greedy"] .mimic-face-greedy, .mimic[data-mood="delighted"] .mimic-face-delighted { opacity: 1; }
.mimic-ground { position: absolute; left: 10%; right: 4%; bottom: 1%; height: 13%; border-radius: 50%; background: none; }
.mimic-mouth { position: absolute; left: 46%; top: 44%; width: 1px; height: 1px; }
.mimic-controls { grid-area: controls; position: relative; z-index: 1; align-self: end; padding-top: 28px; }
.mimic-prompt { margin: 0 0 12px; font-size: .875rem; color: #d2c1bd; }
.mimic-menu { display: flex; gap: 10px; }
.mimic-snack { cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; padding: 7px 14px 7px 7px; border: 1px solid #8d755861; border-radius: var(--r-m); background: #251f27e6; color: #f4e3c8; font: inherit; font-size: .875rem; }
.mimic-snack img { width: 40px; height: 40px; object-fit: contain; }
.mimic-snack:hover, .mimic-snack:focus-visible { border-color: #e7bb78; background: #483329; }
.mimic-snack[aria-disabled="true"] { cursor: wait; }
.mimic-response { color: #eac589; font-size: .8125rem; line-height: 1.5; min-height: 3em; max-width: 38ch; margin: 12px 0 0; }
.mimic-flight { position: absolute; z-index: 3; left: 0; top: 0; width: 64px; height: 64px; max-width: none; object-fit: contain; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .mimic.in-view:not(.feeding) .mimic-creature { animation: mimic-breathe 5s ease-in-out infinite; }
  .mimic.in-view:not(.feeding):not([data-mood]) .mimic-face-blink { animation: mimic-blink 6.4s steps(1) infinite; }
  .mimic.feeding .mimic-creature { animation: mimic-bite-body 1100ms both; }
  .mimic.feeding .mimic-jaw { animation: mimic-bite-jaw 1100ms both; }
  .mimic.feeding .mimic-tongue { animation: mimic-bite-tongue 1100ms both; }
  .mimic-snack { transition: background .15s, border-color .15s; }
}
@keyframes mimic-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.008, .992); } }
@keyframes mimic-blink { 0%, 94%, 98%, 100% { opacity: 0; } 95%, 97% { opacity: 1; } }
@keyframes mimic-bite-body { 0%, 100% { transform: none; } 20% { transform: scale(.98, 1.02); } 49% { transform: scale(1.035, .96); } 63% { transform: scale(.99, 1.025); } 79% { transform: scale(1.015, .99); } }
@keyframes mimic-bite-jaw { 0%, 100% { transform: none; } 22% { transform: rotate(3deg) translateY(-20px); } 45%, 51% { transform: rotate(-4deg); } 67% { transform: rotate(1deg); } 80% { transform: rotate(-2deg); } }
@keyframes mimic-bite-tongue { 0%, 100% { transform: none; opacity: 1; } 28% { transform: scaleY(.8); opacity: 1; } 43%, 59% { transform: scaleY(.4); opacity: 0; } 78% { transform: scaleY(.75); opacity: 1; } }
@media (max-width: 1100px) and (min-width: 761px) {
  .mimic-card { grid-template-columns: 1fr 1fr; padding: 28px; gap: 12px; }
  .mimic-snack { flex-direction: column; padding: 8px 12px; gap: 0; }
}
@media (max-width: 760px) {
  .mimic { margin-block: 48px; }
  .mimic-card { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "stage" "controls"; padding: 24px; border-radius: var(--r-l); background: linear-gradient(#17131ce8, #17131c70 58%, #17131cf5), var(--mimic-vault) center / cover; }
  .mimic-copy h2 { font-size: clamp(2rem, 7vw, 3rem); margin-block: 12px; }
  .mimic-copy > p:not(.eyebrow) { font-size: .9375rem; margin-bottom: 12px; }
  .mimic-stage { max-width: 380px; justify-self: center; margin-top: 8px; }
  .mimic-controls { padding-top: 8px; }
  .mimic-snack { flex: 1; flex-direction: column; gap: 0; padding: 8px 4px; }
  .mimic-copy .eyebrow { font-size: .625rem; }
  .mimic-more { text-align: left; font-size: .8125rem; }
}

/* 404 */

.lost { display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; min-height: 100dvh; padding: clamp(64px, 12vh, 140px) 0 0; overflow: hidden; }


.coins { position: fixed; inset: 0; z-index: 60; width: 100%; height: 100%; pointer-events: none; image-rendering: pixelated; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile-art img, .page-art img { transition: none; }
  /* A steady light instead of blinking. */
  .won .lamps i, .jackpot .lamps i { animation: none; background: #ffe680; }
  .won .sym:nth-child(2), .jackpot .sym:nth-child(2) { animation: none; background-color: #ffe680; }
}

@media (max-width: 1100px) {
  .grid-games { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lead-grid { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); }
  .lead .stage { --z: 1; }
}

@media (max-width: 860px) {
  .hero-grid, .page-hero, .press-about, .press-game { grid-template-columns: minmax(0, 1fr); }
  .machine { justify-self: center; margin-top: 0; }
  .modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel-band { grid-template-columns: minmax(0, 1fr); }
  .reel-machine { justify-self: center; }
  .cast-card { padding: 16px; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .bar { min-height: 72px; padding-block: 12px; }
  .bar .logo { width: 120px; }
  .nav-toggle { display: inline-flex; }
  /* Collapsed from the first paint, not when app.js runs: the phone page moved 80px after load (review M4, CLS 0.08);
     without JavaScript layout.html's noscript style shows the links. */
  .bar .nav-links { display: none; width: 100%; gap: 0; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-m); background: #1d1118; }
  .bar.enhanced:has(.nav-toggle[aria-expanded="true"]) .nav-links { display: grid; grid-template-columns: 1fr 1fr; }
  .nav-links a { padding-inline: 12px; }
  .feature .intro { font-size: 1.0625rem; max-width: 31ch; margin-bottom: 24px; }
  .feature .game-logo { margin-bottom: 16px; }
  .feature-copy .button { font-size: 0.875rem; }
  .feature .actions { gap: 8px 16px; }
  .feature .feature-browse { font-size: .875rem; }
  .feature-copy .eyebrow { font-size: 0.75rem; margin-bottom: 14px; }
  .feature-copy { padding-bottom: 20px; }
  .studio-line { padding-bottom: 24px; margin-bottom: 32px; }
  .grid-games, .grid-related { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .card-compact .tile > h3 { font-size: 1rem; padding: 12px; }
  .lead-grid { grid-template-columns: minmax(0, 1fr); }
  .reel-band { padding: 28px 20px; margin-top: 48px; gap: 8px; }
  .cast-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(82vw, 320px); overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 16px; scrollbar-width: thin; scrollbar-color: #5c3d49 transparent; }
  .cast-card { scroll-snap-align: start; }
  .band { margin-top: 64px; padding-block: 48px; }
  .studio { grid-template-columns: minmax(0, 1fr); padding-top: 40px; }
  .playground-reel { margin-top: 0; }
  .hero h1:not(.game-logo) { font-size: clamp(2.25rem, 9vw, 3.5rem); }
  .hero .post-title { font-size: clamp(2rem, 8vw, 3rem); }
  :root { --dot: 3px; }
}

@media (max-width: 560px) {
  .cabinet { --scale: 2; padding: 14px 14px 16px; }
  .modes { grid-template-columns: minmax(0, 1fr); }
  .game-logo img { width: min(calc(var(--w) * 2px), max(calc(var(--w) * 1px), round(down, 100cqi, calc(var(--w) * 1px)))); }
  .game-logo.hd img { width: min(100%, 320px); }
  .sprites img { width: min(calc(var(--w) * var(--k-phone) * 1px), max(calc(var(--w) * 1px), round(down, 100cqi, calc(var(--w) * 1px)))); }
  .symbols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 12px; }
  .symbol-name { font-size: 0.9375rem; }
  .footer-top { align-items: center; }
}

@media (max-width: 432px) {
  .mogu img { width: 200px; }
}

/* Galaxy Fold and other very narrow screens. */
@media (max-width: 380px) {
  .reel-band { padding-inline: 0; border: 0; background: none; }
  .reel-copy { padding-inline: 16px; }
  .symbols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 315px) {
  .cabinet { padding-inline: 4px; }
  .window { gap: 0; padding: 0; }
  .payline-left { left: 0; }
  .payline-right { right: 0; }
  .controls { gap: 8px; }
  .spin { min-width: 112px; }
}

/* Home, October 2026: use the desktop canvas and give every world its own introduction. */
@media (min-width: 1101px) {
  .home-page .wrap { width: min(1760px, 100% - clamp(64px, 6vw, 128px)); }
}
@media (min-width: 1280px) {
  .home-page .mimic-card { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); padding: 40px 48px; }
}
.home-page .hero:has(.feature-art) { padding-bottom: 28px; }
.world-thumb { position: relative; display: block; overflow: hidden; min-width: 0; background: #20131a; }
.world-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; image-rendering: pixelated; }
.world-thumb.hd img { image-rendering: auto; }
.home-page .studio-line { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px 80px; padding-block: 6px 42px; margin-bottom: 48px; }
.home-page .studio-line .eyebrow { margin-bottom: 15px; font-size: .75rem; color: var(--accent); }
.home-page .studio-line h1 { max-width: 14ch; color: var(--text); font-size: clamp(2.5rem, 4vw, 4.5rem); font-weight: 850; font-stretch: 115%; line-height: 1.02; letter-spacing: -.035em; }
.studio-intro { max-width: 43ch; }
.studio-intro > p { margin: 0 0 12px; font-size: clamp(1rem, 1.25vw, 1.25rem); color: #d1c3cb; line-height: 1.65; }
.home-page .section-heading { margin-bottom: 24px; }
.home-page .section-heading .eyebrow { margin-bottom: 10px; font-size: .6875rem; color: var(--accent); }
.section-note { margin: 0 0 3px; color: var(--muted); font-size: .9375rem; line-height: 1.55; }
.home-page .card-compact { padding: 12px; border: 1px solid #3d2c35; border-radius: var(--r-l); background: #1a1217; }
.home-page .card-compact .tile { grid-template-rows: auto auto; }
.home-page .card-compact .tile > .tile-art { grid-area: 1 / 1; border-radius: var(--r-m); aspect-ratio: 3 / 4; }
.home-page .card-compact .tile > h3 { grid-area: 2 / 1; z-index: 3; padding: 18px 4px 0; font-size: clamp(1.125rem, 1.45vw, 1.625rem); font-stretch: 105%; line-height: 1.18; text-shadow: none; }
.home-page .card-compact .tile-art::after { height: 12%; background: linear-gradient(0deg, #1a121766, transparent); }
.home-page .card-compact .tile-art img { width: calc(100% + 16px); }
.home-page .tile-preview { object-fit: contain; background: #100b0e; }
.catalog-copy { padding: 0 4px; }
.catalog-kind { margin: 9px 0 8px; color: #cfb3bf; font-size: .6875rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; line-height: 1.5; }
.catalog-copy > p:not(.catalog-kind) { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; min-block-size: 3lh; margin: 0; color: #c2b3bc; font-size: .9375rem; line-height: 1.55; }
.home-page .card-compact .card-body { flex: none; flex-wrap: wrap; padding: 18px 4px 2px; margin-top: auto; gap: 6px; }
.home-page .card-compact .card-body > a { color: #f5eef0; font-size: .8125rem; }
.home-page .card-compact .preview-toggle { background: #2a1b24; border-color: #503440; }
.home-page .card-compact:focus-within { border-color: #db968c; }
.home-page .preview-playing .tile-art::after { opacity: 0; }
@media (min-width: 1001px) {
  .home-page .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.film-play { position: absolute; z-index: 1; display: grid; place-items: center; left: 50%; top: 50%; translate: -50% -50%; width: 64px; height: 64px; padding-left: 3px; border-radius: 50%; background: #f5eef0; color: #24131c; font-size: 1.25rem; }
.home-page .mimic { margin-block: 64px; }
.home-page .studio { margin-top: 72px; }
.film-dialog { width: min(840px, 100% - 32px); max-height: calc(100dvh - 32px); padding: 18px; border: 1px solid #79535f; border-radius: var(--r-l); background: #1a1017; color: var(--text); }
html:has(.film-dialog[open]) { overflow: hidden; }
.film-dialog:not([open]) { display: none; }
.film-dialog::backdrop { background: rgb(4 1 3 / .88); }
.film-dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 14px; }
.film-dialog h2 { margin: 0; font-size: 1.125rem; line-height: 1.3; }
.film-close { display: inline-flex; flex: none; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border: 1px solid #79535f; border-radius: var(--r-s); background: #30212b; color: #fff; font: 650 .875rem Archivo, sans-serif; cursor: pointer; }
.film-close span { font-size: 1.5rem; line-height: 1; }
.studio-film-video { display: block; width: 100%; max-height: calc(100dvh - 180px); aspect-ratio: 1; background: #100b0e; object-fit: contain; }
.film-dialog-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 20px; font-size: .8125rem; }
.film-status { flex: 1 1 180px; margin: 12px 0 0; color: #d9c6d0; }
.film-dialog-bottom a { display: inline-flex; align-items: center; min-height: 44px; }

/* Mimic Munch premiere. All layout changes stay on this game's page. */
:is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) { --munch-gold: #efc98c; --munch-soft: #c4b7b0; }
:is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .hero { overflow: hidden; isolation: isolate; padding-bottom: 0; background: #161216; }
:is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .bar, .munch-hero { width: min(1480px, 100% - 96px); }
.munch-hero { position: relative; display: flex; align-items: center; min-height: 650px; }
.munch-hero-copy { position: relative; z-index: 2; width: 50%; padding-block: 36px 64px; }
.munch-hero .crumbs ol { margin-bottom: 36px; color: #d6c9c5; font-size: .8125rem; }
:is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .eyebrow { color: var(--munch-gold); font-size: .75rem; letter-spacing: .13em; }
.munch-hero .game-logo { margin: 0 0 28px; }
.munch-hero .game-logo img { width: min(100%, 340px); }
.munch-hook { margin: 0 0 24px; font-size: clamp(3.5rem, 5.7vw, 5.5rem); font-weight: 850; line-height: .99; letter-spacing: -.03em; word-spacing: .06em; }
.munch-hero .intro { max-width: 32ch; color: #e3d3c8; font-size: 1.0625rem; }
.munch-hero .button { display: inline-flex; gap: 32px; background: #f1d3a5; color: #23170f; }
.munch-hero .text-link { color: #f2daba; font-size: .9375rem; }
.munch-hero-art.page-art { position: absolute; z-index: -1; inset: 0 -100px 0 auto; width: 90%; max-width: none; height: 100%; aspect-ratio: auto; background: transparent; overflow: visible; }
.munch-hero-art.page-art img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.munch-hero-art::after { content: ""; position: absolute; inset: -1px; background: linear-gradient(90deg, #161216 0%, #161216e8 8%, #16121650 32%, transparent 55%), linear-gradient(0deg, #161216, transparent 18%, transparent 86%, #16121666); pointer-events: none; }
.munch-hero-art.page-art {
  --hero-edge-x: clamp(16px, 3vw, 80px);
  --hero-edge-y: clamp(24px, 4vw, 64px);
  mask-image:
    linear-gradient(90deg, transparent, #000 var(--hero-edge-x), #000 calc(100% - var(--hero-edge-x)), transparent),
    linear-gradient(180deg, transparent, #000 var(--hero-edge-y), #000 calc(100% - var(--hero-edge-y)), transparent);
  mask-composite: intersect;
}
:is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) main { padding-top: 0; }
.munch-nav { display: flex; flex-wrap: wrap; gap: 8px 32px; padding-block: 14px; border-bottom: 1px solid #534033; font-size: .8125rem; color: #dbc8b7; }
.munch-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.munch-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.munch-gameplay { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(32px, 7vw, 100px); align-items: center; padding-top: clamp(48px, 7vw, 88px); scroll-margin-top: 24px; }
.munch-gameplay h2 { margin-bottom: 24px; font-size: clamp(2.5rem, 4vw, 4rem); line-height: 1.04; letter-spacing: -.04em; }
.munch-gameplay-copy > p:not(.eyebrow) { max-width: 43ch; color: var(--munch-soft); }
.munch-gameplay-copy .munch-deck { color: #f1e5d9 !important; font-size: 1.25rem; line-height: 1.5; }
.munch-details { display: grid; gap: 0; padding: 0; margin: 28px 0; list-style: none; }
.munch-details li { display: flex; align-items: baseline; gap: 18px; padding-block: 14px; border-bottom: 1px solid #3e3030; font-size: .9375rem; }
.munch-details li span { color: var(--munch-gold); font-size: .75rem; font-variant-numeric: tabular-nums; }
.munch-caption { font-size: .8125rem; }
.munch-player { width: 100%; max-width: 480px; margin: 0; justify-self: center; }
.munch-player-screen { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid #75583d; border-radius: var(--r-l); background: #161216; box-shadow: 0 24px 72px #0005; }
.munch-video { display: block; width: 100%; height: 100%; object-fit: contain; }
.munch-video[hidden], .munch-play[hidden] { display: none; }
.munch-play { position: absolute; inset: 0; display: block; text-decoration: none; }
.munch-play > img { width: 100%; height: 100%; object-fit: contain; }
.munch-play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, #110b0ce6); }
.munch-play-label { position: absolute; z-index: 1; inset: auto 24px 24px; display: flex; align-items: center; gap: 16px; font-size: 1.125rem; font-weight: 750; }
.munch-play-label small { display: block; margin-top: 3px; font-size: .75rem; font-weight: 450; color: #dfcbb8; }
.munch-play-icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: #f1d3a5; color: #23170f; padding-left: 3px; font-size: 1rem; }
.munch-play:hover .munch-play-icon { background: #fff0db; }
.munch-play:focus-visible { outline-offset: -7px; }
.munch-player figcaption { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 10px; color: var(--munch-soft); font-size: .75rem; }
.munch-player figcaption a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; text-underline-offset: 4px; }
.munch-video-status { min-height: 1.5em; margin: 0; font-size: .8125rem; color: var(--munch-gold); }
.munch-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.munch-section-heading h2 { max-width: 19ch; margin-bottom: 0; font-size: clamp(2rem, 3.5vw, 3.25rem); letter-spacing: -.035em; }
.munch-section-heading > p { margin: 0; color: var(--munch-soft); font-size: .9375rem; }
.munch-story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.munch-story-grid li { overflow: hidden; border: 1px solid #483830; border-radius: var(--r-m); background: #1b1517; }
.munch-story-art { position: relative; aspect-ratio: 1; }
.munch-story-art img { width: 100%; height: 100%; object-fit: cover; }
.munch-story-art > span { position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #f1d3a566; border-radius: 50%; background: #201511e8; color: #f1d3a5; font-size: .75rem; }
.munch-story-copy { padding: 24px; }
.munch-story-copy h3 { margin: 0 0 12px; font-size: 1.375rem; line-height: 1.2; letter-spacing: -.025em; }
.munch-story-copy p { margin: 0; color: var(--munch-soft); font-size: .9375rem; line-height: 1.65; }
.munch-story-note { color: var(--munch-soft); margin-top: 20px; font-size: .8125rem; }
.munch-facts .facts-wide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 0; padding: 28px; border: 1px solid #483830; border-radius: var(--r-m); background: #1b1517; }
.munch-facts .facts dd { font-size: 1.0625rem; }
:is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .symbols { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px 16px; }
:is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .symbol-art { clip-path: none; border-radius: var(--r-m); background: #252026; }
:is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .symbol-name { font-size: .875rem; }
:is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .modes { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
:is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .modes li { padding: 24px; border: 1px solid #483830; border-radius: var(--r-m); background: #1b1517; }
:is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .mode-cost { color: var(--munch-gold); font-size: 1.0625rem; }
:is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .modes p:last-child { color: var(--munch-soft); font-size: .9375rem; }
:is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .rules { max-width: 82ch; color: #cebec0; font-size: 1rem; }
:is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .rules li::before { background: var(--munch-gold); }
.munch-rules { border-block: 1px solid #534033; }
.munch-rules summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; cursor: pointer; list-style: none; font-weight: 650; }
.munch-rules summary::-webkit-details-marker { display: none; }
.munch-rules summary:focus-visible { outline: 3px solid var(--munch-gold); outline-offset: 5px; }
.munch-rules summary span { color: var(--munch-gold); font-size: 1.5rem; line-height: 1; }
.munch-rules[open] summary span { rotate: 45deg; }
.munch-rules > div { padding-block: 4px 28px; }
.munch-outro { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px 40px; margin-top: 64px; padding: 36px; border: 1px solid #6e513b; border-radius: var(--r-l); background: #3c2821; }
.munch-outro h2 { margin-bottom: 12px; }
.munch-outro p:last-child { color: #d2beb0; margin: 0; }
@media (max-width: 1000px) {
  :is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .bar, .munch-hero { width: calc(100% - 64px); }
  .munch-hero { min-height: 600px; }
  .munch-hero-art.page-art { right: -140px; width: 110%; }
  .munch-hero-copy { width: 58%; }
  .munch-gameplay { grid-template-columns: minmax(0, 1fr) minmax(0, 40%); gap: 32px; }
  :is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .symbols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .munch-hero { min-height: 0; display: flex; flex-direction: column; align-items: stretch; }
  .munch-hero-art.page-art { position: relative; z-index: 0; inset: auto; order: -1; align-self: center; width: calc(100% + 64px); height: auto; aspect-ratio: 16 / 9; }
  .munch-hero-art.page-art img { object-position: center; }
  .munch-hero-art::after { background: linear-gradient(0deg, #161216, transparent 40%); }
  .munch-hero-copy { width: 100%; padding-block: 0 40px; }
  .munch-hero .crumbs ol { margin-bottom: 24px; }
  .munch-hero .game-logo { margin-bottom: 20px; }
  .munch-hero .game-logo img { width: min(100%, 280px); }
  .munch-hook { font-size: clamp(3.5rem, 10vw, 5rem); }
  .munch-gameplay { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .munch-gameplay-copy > p:not(.eyebrow) { max-width: 50ch; }
  .munch-details { margin-bottom: 16px; }
  .munch-section-heading { display: block; }
  .munch-section-heading > p { margin-top: 20px; }
  .munch-story-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .munch-story-grid li { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); align-items: center; }
  .munch-story-copy { padding: 20px; }
  .munch-story-copy h3 { font-size: 1.25rem; }
  .munch-story-copy p { font-size: .875rem; }
  .munch-facts .facts-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  :is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .bar, .munch-hero { width: calc(100% - 32px); }
  .munch-nav { gap: 0 20px; font-size: .75rem; }
  .munch-hero-art.page-art { width: calc(100% + 32px); }
  .munch-gameplay h2 { font-size: 2.5rem; }
  .munch-story-grid li { display: block; }
  .munch-story-art { aspect-ratio: 6 / 5; overflow: hidden; }
  .munch-story-copy { padding: 24px; }
  .munch-story-copy h3 { font-size: 1.5rem; }
  .munch-story-copy p { font-size: .9375rem; }
  .munch-section-heading h2 { font-size: 2.25rem; }
  .munch-facts .facts-wide { padding: 20px; gap: 24px 16px; }
  :is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .symbols { gap: 24px 12px; }
  :is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .symbol-name { font-size: .75rem; }
  :is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .symbol-role { font-size: .6875rem; }
  .munch-outro { margin-top: 48px; padding: 24px; }
  .munch-outro .actions { align-items: stretch; }
  .munch-outro .button { width: 100%; text-align: center; font-size: .875rem; }
  .munch-play-label { inset: auto 16px 16px; gap: 12px; font-size: 1rem; }
  .munch-play-icon { width: 48px; height: 48px; }
}
@media (max-width: 900px) {
  .home-page .studio-line { gap: 32px; }
  .section-note { max-width: 26ch; }
}
@media (max-width: 640px) {
  .home-page .hero:has(.feature-art) { padding-bottom: 20px; }
  .home-page .studio-line { grid-template-columns: minmax(0, 1fr); padding-bottom: 30px; margin-bottom: 32px; gap: 22px; }
  .home-page .studio-line h1 { font-size: clamp(2.5rem, 11vw, 3.5rem); }
  .studio-intro > p { font-size: 1rem; line-height: 1.6; }
  .home-page .section-heading { gap: 12px; }
  .section-note { display: none; }
  .home-page .card-compact { padding: 9px; }
  .home-page .card-compact { border-radius: var(--r-m); }
  .home-page .card-compact .tile > .tile-art { aspect-ratio: 3 / 4; border-radius: var(--r-s); }
  .home-page .card-compact .tile > h3 { padding: 13px 1px 0; font-size: 1.0625rem; }
  .catalog-copy { padding-inline: 1px; }
  .catalog-kind { font-size: .625rem; letter-spacing: .01em; }
  .catalog-copy > p:not(.catalog-kind) { font-size: .8125rem; }
  .home-page .card-compact .card-body { padding-inline: 1px; padding-top: 12px; }
  .home-page .card-compact .card-body > a { font-size: .75rem; }
  .film-play { width: 48px; height: 48px; font-size: 1rem; }
  .home-page .mimic { margin-block: 40px; }
  .film-dialog { padding: 12px; }
  .film-dialog-top { align-items: flex-start; gap: 12px; }
  .film-dialog h2 { font-size: 1rem; }
  .film-close { gap: 6px; padding-inline: 8px; }
}

/* Stompkin keeps the premiere structure, with a moonlit world and its own flame story. */
.stompkin-page { --munch-gold: #ffbd77; --munch-soft: #c8bce1; }
.stompkin-page .hero { background: #120b25; }
.stompkin-page .munch-hero-art::after { background: linear-gradient(90deg, #120b25 0%, #120b25e8 8%, #120b2550 32%, transparent 55%), linear-gradient(0deg, #120b25, transparent 22%, transparent 86%, #120b2566); }
.stompkin-page .munch-hero .game-logo img { width: min(100%, 420px); }
.stompkin-page .munch-hero .intro { color: #ded1f0; }
.stompkin-page .munch-hero .button, .stompkin-page .munch-play-icon { background: #ffc477; color: #28120e; }
.stompkin-page .munch-hero .text-link { color: #f5d5b2; }
.stompkin-page .munch-nav { border-color: #483759; color: #d1bfe8; }
.stompkin-page .munch-gameplay { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); }
.stompkin-page .munch-gameplay-copy { order: 2; }
.stompkin-page .munch-player { order: 1; }
.stompkin-page .munch-player-screen { border-color: #70588c; background: #120b25; box-shadow: 0 24px 72px #12032a88; }
.stompkin-page .munch-details li { border-color: #3e2f4c; }
.stompkin-page .munch-gameplay-copy .munch-deck { color: #eee3fa !important; }
.stompkin-page .munch-story-grid li, .stompkin-page .munch-facts .facts-wide, .stompkin-page .modes li { background: #1b1427; border-color: #483759; }
.stompkin-page .munch-story-art > span { background: #1b112be8; border-color: #e4b4ff66; color: #f3dbff; }
.stompkin-page .symbol-art { background: #241a33; }
.stompkin-page .munch-rules { border-color: #483759; }
.stompkin-page .rules { color: #cec1de; }
.stompkin-page .munch-outro { border-color: #765084; background: #352049; }
.stompkin-page .munch-outro p:last-child { color: #d6c4e8; }
.stompkin-page .lead { width: min(1240px, 100% - 64px); margin-inline: auto; padding: 40px; border: 1px solid #483759; border-radius: var(--r-l); background: #1b1427; }
.stompkin-page .lead .wrap { width: 100%; }
.stompkin-page .lead .edge { display: none; }
.stompkin-page .lead-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.stompkin-page .lead .stage { max-width: 100%; }
.stompkin-page .lead-copy { color: #d6c4e8; }
.stompkin-page .lead-copy h2 { color: #fff; }
.flame-ladder-panel { padding: 32px; margin-bottom: 32px; border: 1px solid #684769; border-radius: var(--r-l); background: #2d1838; }
.flame-ladder-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.flame-ladder-heading h3 { margin: 0; font-size: 1.25rem; }
.flame-ladder-heading > span { color: #c8bce1; font-size: .75rem; }
.flame-ladder { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.flame-ladder li { display: flex; flex-direction: column; gap: 8px; padding: 14px 8px; border: 1px solid #755047; border-radius: var(--r-s); background: #3b222a; text-align: center; }
.flame-step-number { font-size: .625rem; color: #dfb5a2; font-variant-numeric: tabular-nums; }
.flame-ladder strong { font-size: 1.25rem; line-height: 1; color: #ffce94; }
.flame-ladder li:nth-child(n+10) { border-color: #496d84; background: #1b2b3d; }
.flame-ladder li:nth-child(n+10) strong { color: #8ae7ff; }
.flame-ladder li:last-child { border-color: #8ae7ff; background: #233b52; }
.flame-ladder-panel > p { max-width: 80ch; margin: 24px 0 0; color: #c8bce1; font-size: .9375rem; }
@media (max-width: 1100px) {
  .stompkin-page .lead-grid { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); }
  .flame-ladder { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .stompkin-page .munch-hero-art::after { background: linear-gradient(0deg, #120b25, transparent 40%); }
  .stompkin-page .munch-hero .game-logo img { width: min(100%, 360px); }
  .stompkin-page .munch-gameplay { grid-template-columns: minmax(0, 1fr); }
  .stompkin-page .munch-gameplay-copy, .stompkin-page .munch-player { order: 0; }
  .stompkin-page .lead { padding: 24px; }
  .stompkin-page .lead-grid { grid-template-columns: minmax(0, 1fr); }
  .stompkin-page .lead .stage { justify-self: center; }
  .flame-ladder-heading { display: block; }
  .flame-ladder-heading > span { display: block; margin-top: 10px; }
  .flame-ladder { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .stompkin-page .lead { width: calc(100% - 32px); padding: 24px 16px; }
  .flame-ladder-panel { padding: 20px; }
  .flame-ladder { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .flame-ladder strong { font-size: 1.125rem; }
}

/* Rust Rook: native pixel art, copper hardware and a cold charge. */
.rook-page { --paper: #0d1719; --munch-gold: #edbd87; --munch-soft: #b5c5c3; }
.rook-page .hero { background: #101d20; }
.rook-page .munch-hero-copy { width: 46%; margin-left: auto; }
.rook-page .munch-hero .intro { color: #c3d4d0; }
.rook-page .munch-hook { font-size: clamp(3rem, 5.5vw, 5rem); }
.rook-page .munch-hero .game-logo img { width: min(calc(var(--w) * 3px), max(calc(var(--w) * 1px), round(down, 100cqi, calc(var(--w) * 1px)))); image-rendering: pixelated; }
.rook-page .munch-hero-art.page-art { inset: 0 auto 0 0; width: 100%; overflow: hidden; }
.rook-page .munch-hero-art.page-art img { left: 0; width: calc(var(--art-w) * 4px); height: calc(var(--art-h) * 4px); translate: 0 -50%; object-fit: fill; image-rendering: pixelated; }
.rook-page .munch-hero-art::after { background: linear-gradient(270deg, #101d20 0%, #101d20f0 28%, #101d2090 44%, transparent 63%), linear-gradient(0deg, #101d20, transparent 22%, transparent 84%, #101d2080); }
.rook-page .munch-hero .button, .rook-page .munch-play-icon { background: #edbd87; color: #172122; }
.rook-page .munch-hero .text-link { color: #bde0d6; }
.rook-page .munch-nav { color: #c4d8d2; border-color: #3d5554; }
.rook-page .munch-player-screen { border-color: #66827a; border-radius: var(--r-m); background: #101d20; box-shadow: 0 24px 72px #030b0b88; }
.rook-page .munch-details li { border-color: #344846; }
.rook-page .munch-gameplay-copy .munch-deck { color: #e5eee7 !important; }
.rook-page .munch-story-grid li, .rook-page .munch-facts .facts-wide, .rook-page .modes li { border-color: #3c5553; border-radius: var(--r-s); background: #152123; }
.rook-page .munch-story-copy h3 { font-size: 1.5rem; }
.rook-page .symbol-art { border-radius: var(--r-s); background: #233438; }
.rook-page .munch-rules { border-color: #3c5553; }
.rook-page .rules { color: #bdcfca; }
.rook-page .munch-outro { border-color: #856749; border-radius: var(--r-m); background: #293433; }
.rook-page .munch-outro p:last-child { color: #c4d8d2; }
.rook-step { margin: 0 0 12px !important; color: #edbd87 !important; font-size: .6875rem !important; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.rook-diagram { min-height: 224px; border-bottom: 1px solid #3c5553; background: #263b3b; }
.rook-diagram img, .rook-magnet-mark img { width: 64px; height: 64px; image-rendering: pixelated; }
.rook-cluster { display: grid; grid-template-columns: repeat(3, 66px); justify-content: center; align-content: center; gap: 8px; }
.rook-cluster > span { position: relative; width: 66px; height: 66px; border: 1px solid #61807866; border-radius: 6px; background: #142326; }
.rook-cluster img { position: absolute; inset: 0; }
.rook-cluster .rook-diagram-magnet { border-color: #e9b37d; background: #3b3029; }
.rook-diagram-magnet b { position: absolute; bottom: -8px; right: -6px; padding: 1px 5px; border-radius: 4px; background: #edbd87; color: #172122; font-size: .75rem; }
.rook-doubling, .rook-night { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px 12px; }
.rook-doubling > strong { color: #a7e0d6; font-size: 2rem; line-height: 1; letter-spacing: -.04em; }
.rook-doubling > strong span { color: #819d99; padding-inline: 6px; font-size: 1.5rem; }
.rook-diagram small { color: #b5c5c3; font-size: .75rem; }
.rook-lanterns { display: flex; }
.rook-lanterns img { width: 64px; height: 64px; }
.rook-shift-label { color: #e4d2a5; font-size: .875rem; font-weight: 750; letter-spacing: .12em; }
.rook-charge-panel { margin-top: 32px; padding: 32px; border: 1px solid #56796f; border-radius: var(--r-m); background: #1a2c2c; }
.rook-charge-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.rook-charge-heading h3 { margin: 0; font-size: 1.5rem; line-height: 1.2; }
.rook-charge-heading .eyebrow { margin-bottom: 10px; }
.rook-charge-heading > div { min-width: 0; }
.rook-magnet-mark { flex: none; width: 64px; }
.rook-charge-ladder { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.rook-charge-ladder li { display: flex; flex-direction: column; gap: 12px; padding: 18px 8px; border: 1px solid #45615c; border-radius: var(--r-s); background: #203634; text-align: center; }
.rook-charge-ladder li > span { color: #9ab8b0; font-size: .625rem; font-variant-numeric: tabular-nums; }
.rook-charge-ladder strong { font-size: 1.5rem; line-height: 1; color: #c2e9d5; }
.rook-charge-ladder li:last-child { background: #354438; border-color: #ddbd7c; }
.rook-charge-ladder li:last-child strong { color: #f7dba3; }
.rook-charge-panel > p { max-width: 80ch; margin: 24px 0 0; color: #b5c5c3; font-size: .9375rem; }
.rook-sum { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; margin-top: 24px; padding: 32px; border: 1px solid #574e3e; border-radius: var(--r-m); background: #242b26; }
.rook-sum h3 { margin: 0 0 12px; font-size: 1.5rem; line-height: 1.2; }
.rook-sum p:not(.eyebrow):not(.rook-equation) { margin: 0; color: #c7cec1; font-size: .9375rem; }
.rook-equation { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 0; color: #b5d9cb; font-size: 2rem; font-weight: 750; letter-spacing: -.035em; }
.rook-equation span { color: #899e91; font-weight: 450; }
.rook-equation strong { color: #f7dba3; }
.rook-diagram-note { margin: 18px 0 0; color: #9cb2ad; font-size: .8125rem; }
@media (max-width: 1000px) {
  .rook-page .munch-hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .rook-page .munch-hero-copy { width: 100%; margin-left: 0; padding-top: 0; }
  .rook-page .munch-hero-art.page-art { position: relative; z-index: 0; inset: auto; order: -1; align-self: center; width: calc(100% + 64px); height: 300px; aspect-ratio: auto; }
  .rook-page .munch-hero-art.page-art img { left: calc(50% - 180px); left: round(nearest, calc(50% - 180px), 1px); width: calc(var(--art-w) * 2px); height: calc(var(--art-h) * 2px); }
  .rook-page .munch-hero-art::after { background: linear-gradient(0deg, #101d20, transparent 36%); }
  .rook-page .munch-hero-art.page-art img.tile-bg { left: 0; }
  .rook-lanterns img { width: 32px; height: 32px; }
  .rook-sum { grid-template-columns: minmax(0, 1fr); }
  .rook-charge-ladder { gap: 8px; }
  .rook-charge-ladder strong { font-size: 1.125rem; }
}
@media (max-width: 760px) {
  .rook-page .munch-hero-copy { width: 100%; margin-left: 0; }
  .rook-page .munch-hero-art.page-art { position: relative; inset: auto; width: calc(100% + 64px); height: 300px; aspect-ratio: auto; }
  .rook-page .munch-hero-art.page-art img { left: calc(50% - 180px); left: round(nearest, calc(50% - 180px), 1px); width: calc(var(--art-w) * 2px); height: calc(var(--art-h) * 2px); }
  .rook-page .munch-hero-art::after { background: linear-gradient(0deg, #101d20, transparent 36%); }
  .rook-page .munch-story-grid li { display: block; }
  .rook-charge-ladder { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .rook-page .munch-hero-art.page-art { width: calc(100% + 32px); height: 270px; }
  .rook-diagram { min-height: 216px; }
  .rook-charge-panel, .rook-sum { padding: 20px; }
  .rook-charge-ladder { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rook-charge-ladder strong { font-size: 1.25rem; }
  .rook-charge-heading h3 { font-size: 1.25rem; }
  .rook-magnet-mark img { width: 32px; height: 32px; }
  .rook-magnet-mark { width: 32px; }
  .rook-equation { font-size: 1.75rem; }
}

/* Neon Eclipse: the original pixel skyline, moonlight and wards beneath the grid. */
.neon-page { --paper: #121020; --munch-gold: #a8f0e7; --munch-soft: #c4bbd8; }
.neon-page .hero { background: #191329; }
.neon-page .munch-hero { min-height: 680px; }
.neon-page .munch-hero-copy { width: 52%; }
.neon-page .munch-hook { font-size: clamp(2.75rem, 4.7vw, 4.5rem); }
.neon-page .munch-hero .intro { color: #dcd2ec; }
.neon-page .munch-hero .game-logo img { width: min(calc(var(--w) * 3px), max(calc(var(--w) * 1px), round(down, 100cqi, calc(var(--w) * 1px)))); image-rendering: pixelated; }
.neon-page .munch-hero-art.page-art { inset: 0 0 0 auto; width: 100%; overflow: hidden; }
.neon-page .munch-hero-art.page-art img { left: auto; right: 0; width: calc(var(--art-w) * 4px); height: calc(var(--art-h) * 4px); translate: 0 -50%; object-fit: fill; image-rendering: pixelated; }
.neon-page .munch-hero-art::after { background: linear-gradient(90deg, #191329 0%, #191329f2 20%, #191329a0 38%, transparent 67%), linear-gradient(0deg, #191329, transparent 28%, transparent 87%, #19132966); }
.neon-page .munch-hero .button, .neon-page .munch-play-icon { background: #a8f0e7; color: #152735; }
.neon-page .munch-hero .text-link { color: #eed4f4; }
.neon-page .munch-nav { border-color: #514466; color: #d7cce7; }
.neon-page .munch-player-screen { border-color: #8f6fbb; border-radius: var(--r-m); background: #191329; box-shadow: 0 24px 80px #09051d99, 0 0 60px #b64ad314; }
.neon-page .munch-details li { border-color: #3d3351; }
.neon-page .munch-gameplay-copy .munch-deck { color: #eee2fa !important; }
.neon-page .munch-play-label small { color: #e0d3ee; }
.neon-page .munch-story-grid li, .neon-page .munch-facts .facts-wide, .neon-page .modes li { border-color: #514466; border-radius: var(--r-m); background: #1d172e; }
.neon-page .munch-story-copy h3 { font-size: 1.5rem; }
.neon-page .symbol-art { background: #29213b; border-radius: var(--r-s); }
.neon-page .symbols { grid-template-columns: repeat(9, minmax(0, 1fr)); }
.neon-page .lead { border-block: 1px solid #514466; background: #211a34; }
.neon-page .lead .eyebrow { color: #b4e8e7; }
.neon-page .munch-rules { border-color: #514466; }
.neon-page .rules { color: #d0c6e0; }
.neon-page .munch-outro { background: #392443; border-color: #976d9f; border-radius: var(--r-m); }
.neon-page .munch-outro p:last-child { color: #d7cce7; }
.neon-step { margin: 0 0 12px !important; color: #a8f0e7 !important; font-size: .6875rem !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.neon-diagram { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 244px; padding: 24px 12px; border-bottom: 1px solid #514466; background: #201b34; }
.neon-diagram > strong { color: #e8dbf6; font-size: 1rem; line-height: 1.2; }
.neon-diagram small { color: #bfb3d3; font-size: .75rem; text-align: center; }
.neon-ward-cell { display: grid; place-items: center; flex: none; width: 76px; height: 76px; border: 1px solid #8fbdbd; border-radius: var(--r-s); color: #b8fff0; background: #15363e; box-shadow: inset 0 0 24px #7eeadd14; font-size: 1.75rem; font-weight: 750; }
.neon-cell-marked { border-style: dashed; border-color: #9783ba; background: #29213c; box-shadow: none; }
.neon-cell-marked i { width: 24px; height: 24px; border: 1px solid #b8a0d7; border-radius: 50%; }
.neon-cell-bright { border-color: #c6a0e7; color: #f0d5ff; background: #443052; }
.neon-grow > div { display: flex; align-items: center; gap: 16px; }
.neon-grow b { font-size: 1.25rem; color: #c5b7da; font-weight: 450; }
.neon-seals { display: flex; justify-content: center; }
.neon-seals img { flex: none; width: 72px; height: 72px; image-rendering: pixelated; }
.neon-keep { background: #201b34; }
.neon-keep > strong { color: #f0c8ea; letter-spacing: .1em; text-transform: uppercase; font-size: .875rem; }
.neon-ward-panel { margin-top: 32px; padding: 32px; border: 1px solid #6c6284; border-radius: var(--r-m); background: #29213e; }
.neon-ward-heading { margin-bottom: 28px; }
.neon-ward-heading .eyebrow { margin-bottom: 10px; }
.neon-ward-heading h3 { margin: 0; font-size: 1.5rem; line-height: 1.2; }
.neon-ward-ladder { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; padding: 0; margin: 0; list-style: none; }
.neon-ward-ladder li { display: flex; flex-direction: column; gap: 12px; padding: 20px 6px; border: 1px solid #5d5879; border-radius: var(--r-s); background: #242b42; text-align: center; }
.neon-ward-ladder li > span { color: #b5b4cd; font-size: .625rem; }
.neon-ward-ladder strong { font-size: 1.5rem; line-height: 1; color: #b8f0e7; }
.neon-ward-ladder .neon-marked { border-style: dashed; background: transparent; }
.neon-ward-ladder .neon-marked strong { font-size: 1rem; line-height: 1.5; color: #d0bee8; }
.neon-ward-ladder li:last-child { border-color: #d2a3ce; background: #49334f; }
.neon-ward-ladder li:last-child strong { color: #f9ceeb; }
.neon-ward-panel > p { max-width: 80ch; margin: 24px 0 0; color: #c4bbd8; font-size: .9375rem; }
.neon-sum { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; margin-top: 24px; padding: 32px; border: 1px solid #526b77; border-radius: var(--r-m); background: #1c2938; }
.neon-sum h3 { margin: 0 0 12px; font-size: 1.5rem; line-height: 1.2; }
.neon-sum p:not(.eyebrow):not(.neon-equation) { margin: 0; color: #c0d0dd; font-size: .9375rem; }
.neon-equation { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 0; color: #d1c7eb; font-size: 2rem; font-weight: 750; letter-spacing: -.035em; }
.neon-equation span { color: #9aa4c1; font-weight: 450; }
.neon-equation strong { color: #a8f0e7; }
.neon-diagram-note { margin: 18px 0 0; color: #aaa0bf; font-size: .8125rem; }
@media (max-width: 1100px) {
  .neon-page .munch-hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .neon-page .munch-hero-copy { width: 100%; padding-top: 0; }
  .neon-page .munch-hero-art.page-art { position: relative; z-index: 0; inset: auto; order: -1; align-self: center; width: calc(100% + 64px); height: 400px; aspect-ratio: auto; }
  .neon-page .munch-hero-art.page-art img { right: auto; left: round(nearest, calc(50% - 990px), 1px); width: calc(var(--art-w) * 3px); height: calc(var(--art-h) * 3px); }
  .neon-page .munch-hero-art::after { background: linear-gradient(0deg, #191329, transparent 40%); }
  .neon-page .symbols { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .neon-seals img { width: 36px; height: 36px; }
  .neon-ward-cell { width: 64px; height: 64px; font-size: 1.5rem; }
  .neon-ward-ladder { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .neon-sum { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .neon-page .munch-hero-art.page-art { height: 320px; }
  .neon-page .munch-hero-art.page-art img { left: round(nearest, calc(50% - 720px), 1px); width: calc(var(--art-w) * 2px); height: calc(var(--art-h) * 2px); }
  .neon-page .munch-story-grid li { display: block; }
  .neon-page .symbols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .neon-seals img { width: 72px; height: 72px; }
  .neon-ward-cell { width: 76px; height: 76px; font-size: 1.75rem; }
}
@media (max-width: 560px) {
  .neon-page .munch-hero-art.page-art { width: calc(100% + 32px); height: 280px; }
  .neon-page .munch-hook { font-size: 2.75rem; }
  .neon-ward-panel, .neon-sum { padding: 20px; }
  .neon-ward-ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .neon-ward-ladder strong { font-size: 1.5rem; }
  .neon-diagram { min-height: 224px; }
  .neon-equation { font-size: 1.75rem; }
}

/* Catalog premieres share the reading rhythm; each game's own art sets the scene. */
.catalog-page { --paper: #0d1c27; --catalog-hero: #102b3b; --catalog-panel: #152e3a; --catalog-border: #3d5965; --munch-gold: #f6c399; --munch-soft: #b7cdd3; }
.catalog-page.amethyst-crown-page { --paper: #181124; --catalog-hero: #22152f; --catalog-panel: #2b1f37; --catalog-border: #6c507b; --munch-gold: #edc87d; --munch-soft: #cfbfdc; }
.catalog-page.kaiju-snack-page { --paper: #181d25; --catalog-hero: #242531; --catalog-panel: #283039; --catalog-border: #596c72; --munch-gold: #ffbe9f; --munch-soft: #c3ced0; }
.catalog-page.domino-slam-page { --paper: #191e19; --catalog-hero: #252c20; --catalog-panel: #283127; --catalog-border: #596750; --munch-gold: #e4d69d; --munch-soft: #c5cfbd; }
.catalog-page.glasswright-page { --paper: #1b1620; --catalog-hero: #2b2030; --catalog-panel: #302536; --catalog-border: #6d536c; --munch-gold: #f3d296; --munch-soft: #d0c0d3; }
.catalog-page.shelf-life-page { --paper: #211a18; --catalog-hero: #30241f; --catalog-panel: #352b25; --catalog-border: #776052; --munch-gold: #f4cf99; --munch-soft: #d8c5b7; }
.catalog-page.velvet-splice-page { --paper: #201524; --catalog-hero: #302039; --catalog-panel: #38263e; --catalog-border: #78547d; --munch-gold: #f5d397; --munch-soft: #d4bfd9; }
.catalog-page .hero { background: var(--catalog-hero); }
.catalog-page .munch-hero { min-height: 690px; }
.catalog-page .munch-hero-copy { width: 52%; }
.catalog-page .munch-hook { font-size: clamp(3rem, 4.8vw, 4.75rem); }
.catalog-page .munch-hero .intro { color: var(--munch-soft); }
.catalog-page .munch-hero .game-logo:not(.hd) img { width: min(calc(var(--w) * 3px), max(calc(var(--w) * 1px), round(down, 100cqi, calc(var(--w) * 1px)))); image-rendering: pixelated; }
.catalog-page .munch-hero .game-logo.hd img { width: min(100%, 360px); max-height: 160px; object-fit: contain; object-position: left center; image-rendering: auto; }
@media (max-width: 1100px) { .catalog-page.amethyst-crown-page .munch-hero .game-logo img { width: min(calc(var(--w) * 2px), max(calc(var(--w) * 1px), round(down, 100cqi, calc(var(--w) * 1px)))); } }
.catalog-page .munch-hero-art.page-art { inset: 0 0 0 auto; width: 100%; overflow: hidden; }
.catalog-page .munch-hero-art.page-art img { left: auto; right: 0; width: calc(var(--art-w) * 4px); height: calc(var(--art-h) * 4px); translate: 0 -50%; object-fit: fill; image-rendering: pixelated; }
.catalog-page .munch-hero-art.page-art.hd img { left: 0; right: auto; width: 100%; height: 100%; object-fit: cover; object-position: right center; image-rendering: auto; }
.catalog-page .munch-hero-art::after { background: linear-gradient(90deg, var(--catalog-hero) 0%, color-mix(in srgb, var(--catalog-hero) 95%, transparent) 18%, color-mix(in srgb, var(--catalog-hero) 65%, transparent) 38%, transparent 70%), linear-gradient(0deg, var(--catalog-hero), transparent 30%); }
.catalog-page .munch-hero .button, .catalog-page .munch-play-icon { background: var(--munch-gold); color: #251b1b; }
.catalog-page .munch-hero .button { gap: 12px; }
.catalog-page .munch-hero .text-link { color: var(--munch-gold); }
.catalog-availability { display: flex; align-items: center; gap: 10px; }
.catalog-availability::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--munch-gold); }
.catalog-availability[data-state="live"]::before { background: var(--live); }
.catalog-page .munch-nav, .catalog-page .munch-details li, .catalog-page .munch-rules { border-color: var(--catalog-border); }
.catalog-page .munch-nav { color: var(--munch-soft); }
.catalog-page .munch-gameplay-copy .munch-deck { color: #f2e9df !important; }
.catalog-page .munch-player-screen { border-radius: var(--r-m); border-color: var(--catalog-border); background: var(--catalog-hero); box-shadow: 0 24px 72px #0006; }
.catalog-page .munch-play-label small { color: #e5d8d7; }
.catalog-page .munch-story-grid li, .catalog-page .munch-facts .facts-wide, .catalog-page .modes li { border-radius: var(--r-m); border-color: var(--catalog-border); background: var(--catalog-panel); }
.catalog-page .munch-story-copy h3 { font-size: 1.5rem; }
.catalog-step { margin-bottom: 12px !important; color: var(--munch-gold) !important; font-size: .6875rem !important; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.catalog-diagram { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; min-height: 260px; padding: 24px 12px; border-bottom: 1px solid var(--catalog-border); background: var(--catalog-panel); }
.catalog-diagram > strong { font-size: 1rem; line-height: 1.3; color: #f2e9df; text-align: center; }
.catalog-diagram > small { color: var(--munch-soft); font-size: .75rem; text-align: center; }
.catalog-diagram-art { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 88px; }
.catalog-diagram-art:has(> img:nth-child(4):last-child) { display: grid; grid-template-columns: repeat(2, max-content); gap: 4px; }
.catalog-diagram img { --icon-scale: 2; flex: none; max-width: none; width: calc(var(--iw) * var(--icon-scale) * 1px); height: calc(var(--ih) * var(--icon-scale) * 1px); image-rendering: pixelated; }
.catalog-diagram img.hd { width: 72px; height: 72px; object-fit: contain; image-rendering: auto; }
.catalog-number { color: var(--munch-gold); font-size: 3rem; line-height: 1; letter-spacing: -.045em; font-weight: 750; }
.catalog-arrow { flex: none; color: var(--munch-soft); font-size: 1.25rem; }
.catalog-deck-stack { display: flex; flex-direction: column; gap: 6px; width: 120px; }
.catalog-deck-stack i { display: block; height: 18px; border: 1px solid var(--munch-gold); border-radius: 3px; background: color-mix(in srgb, var(--munch-gold) 25%, transparent); }
.catalog-rule-panel { margin-top: 28px; padding: 32px; border: 1px solid var(--catalog-border); border-radius: var(--r-m); background: var(--catalog-panel); }
.catalog-rule-panel > .eyebrow { margin-bottom: 10px; }
.catalog-rule-panel h3 { margin: 0 0 24px; font-size: 1.5rem; line-height: 1.25; }
.catalog-rule-panel > p:last-child { max-width: 85ch; margin: 22px 0 0; color: var(--munch-soft); font-size: .9375rem; }
.catalog-ladder { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.catalog-ladder li { display: flex; flex-direction: column; justify-content: center; gap: 12px; min-height: 94px; padding: 16px 6px; text-align: center; border: 1px solid var(--catalog-border); border-radius: var(--r-s); background: var(--catalog-panel); }
.catalog-ladder span { color: var(--munch-soft); font-size: .625rem; }
.catalog-ladder strong { color: var(--munch-gold); font-size: 1.5rem; line-height: 1.1; }
.catalog-ladder li:last-child { border-color: var(--munch-gold); }
.catalog-feature-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.catalog-feature-tiers li { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--catalog-border); border-radius: var(--r-s); padding: 24px; background: var(--catalog-panel); }
.catalog-feature-tiers li > span, .catalog-feature-tiers small { color: var(--munch-soft); font-size: .8125rem; }
.catalog-feature-tiers strong { font-size: 1.25rem; line-height: 1.25; color: var(--munch-gold); }
.catalog-diagram-note { margin-top: 20px; color: var(--munch-soft); font-size: .8125rem; }
.catalog-page .symbol-art { background: var(--catalog-panel); border-radius: var(--r-s); }
.catalog-page .rules { color: var(--munch-soft); }
.catalog-page .lead { background: var(--catalog-panel); border-block: 1px solid var(--catalog-border); }
.catalog-page .munch-outro { border-color: var(--catalog-border); border-radius: var(--r-m); background: var(--catalog-panel); }
.catalog-page .munch-outro p:last-child { color: var(--munch-soft); }
/* Domino Slam's tiles on a patch of the board: the game's pictures, pips and geometry in cells (catalog_premieres.domino) */
.catalog-diagram-art:has(> .catalog-board) { --cell: clamp(44px, 20cqi, 80px); gap: 14px; min-height: calc(2 * var(--cell)); }
.catalog-board { position: relative; display: grid; grid-template-columns: repeat(var(--cols), var(--cell)); grid-auto-rows: var(--cell); flex: none; }
.catalog-cell { display: grid; place-items: center; margin: 2px; border: 1px dashed color-mix(in srgb, var(--munch-soft) 40%, transparent); border-radius: 6px; background: #0000001f; }
.catalog-cell b { color: var(--munch-soft); font-size: 1.125rem; font-weight: 400; }
.catalog-tile { position: absolute; left: calc(var(--x) * var(--cell)); top: calc(var(--y) * var(--cell)); width: calc(var(--w) * var(--cell)); height: calc(var(--h) * var(--cell)); translate: -50% -50%; rotate: var(--turn); filter: drop-shadow(0 0 5px #0009); }
.catalog-diagram .catalog-tile img { display: block; width: 100%; height: 100%; image-rendering: auto; }
.catalog-tile i { position: absolute; width: var(--pw); height: var(--ph); translate: -50% -50%; border-radius: 50%; background: #1a120c; box-shadow: 0 1px 0 .5px #5a4a3a; }
.catalog-tile i::after { content: ""; position: absolute; left: 19%; top: 22%; width: 30%; height: 20%; border-radius: 50%; background: #fff4dc8c; rotate: -29deg; }
.catalog-pane, .catalog-charge-cell { display: grid; place-items: center; flex: none; width: 72px; height: 72px; border: 1px solid var(--munch-gold); border-radius: var(--r-s); background: #b98fe522; font-size: 1.5rem; font-weight: 750; color: var(--munch-gold); }
.catalog-pane-marked { border-style: dashed; background: transparent; color: var(--munch-soft); }
.catalog-light-ray { width: 100px; height: 3px; background: var(--munch-gold); box-shadow: 0 0 16px var(--munch-gold); }
.catalog-charge-cell { width: 52px; height: 52px; font-size: 1.25rem; }
.catalog-formula { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; margin: 0; color: var(--munch-gold); font-size: 3rem; line-height: 1.2; font-weight: 750; }
.catalog-formula span { font-size: 1.5rem; color: var(--munch-soft); }
@media (min-width: 1001px) {
  :is(.kaiju-snack-page, .glasswright-page, .shelf-life-page) .munch-gameplay { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); }
  :is(.kaiju-snack-page, .glasswright-page, .shelf-life-page) .munch-player { order: -1; }
}
@media (max-width: 1100px) {
  .catalog-page .munch-hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .catalog-page .munch-hero-copy { width: 100%; padding-top: 0; }
  .catalog-page .munch-hero-art.page-art { position: relative; z-index: 0; inset: auto; order: -1; align-self: center; width: calc(100% + 64px); height: 400px; aspect-ratio: auto; }
  .catalog-page .munch-hero-art.page-art img { right: auto; left: round(nearest, calc(50% - 1120px), 1px); width: calc(var(--art-w) * 3px); height: calc(var(--art-h) * 3px); }
  .catalog-page .munch-hero-art.page-art.hd img { left: 0; width: 100%; height: 100%; object-position: right center; }
  .catalog-page.glasswright-page .munch-hero-art.page-art img { top: 0; translate: 0 0; }
  .catalog-page .munch-hero-art::after { background: linear-gradient(0deg, var(--catalog-hero), transparent 45%); }
  .catalog-diagram img { --icon-scale: 1; }
  .catalog-diagram img.hd { width: 48px; height: 48px; }
  .catalog-pane { width: 64px; height: 64px; font-size: 1.25rem; }
  .catalog-number { font-size: 2.5rem; }
  .catalog-feature-tiers li { padding: 18px; }
}
@media (max-width: 760px) {
  .catalog-page .munch-hero-art.page-art { height: 320px; }
  .catalog-page .munch-hero-art.page-art img { left: round(nearest, calc(50% - 760px), 1px); width: calc(var(--art-w) * 2px); height: calc(var(--art-h) * 2px); }
  .catalog-page .munch-hero-art.page-art.hd img { left: 0; width: 100%; height: 100%; }
  .catalog-page .munch-story-grid li { display: block; }
  .catalog-feature-tiers { grid-template-columns: minmax(0, 1fr); }
  .catalog-diagram img.hd { width: 64px; height: 64px; }
}
@media (max-width: 560px) {
  .catalog-page .munch-hero-art.page-art { width: calc(100% + 32px); height: 280px; }
  .catalog-page .munch-hero .game-logo.hd img { width: min(100%, 300px); }
  .catalog-page .munch-hook { font-size: clamp(2.5rem, 10.5vw, 3rem); }
  .catalog-page .symbols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-rule-panel { padding: 20px; }
  .catalog-diagram { min-height: 224px; }
  .catalog-number { font-size: 2.75rem; }
}

@media (max-width: 760px) {
  .devlog-feature { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 12px; }
  .devlog-feature-copy { padding: 20px 8px 12px; }
  .devlog-feature { border-radius: var(--r-l); }
  .devlog-feature-cover { border-radius: var(--r-m); }
  .devlog-archive-heading { margin-block: 40px 24px; }
  .post { padding: 9px 9px 20px; border-radius: var(--r-m); }
  .post > :not(.post-cover) { margin-inline: 5px; }
}
@media (max-width: 640px) {
  .home-page .card-compact .tile > h3 { min-block-size: calc(2lh + 13px); }
  .home-page .card-compact .card-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .home-page .card-compact .card-body > a { min-height: 32px; padding-block: 4px; }
  .home-page .card-compact .preview-toggle { width: 100%; min-height: 40px; justify-content: center; }
  .home-page .card-compact .preview-label { display: inline; }
}

/* Editorial polish: let the newest story and the game's own art do the work. */
.devlog-page .hero { padding-bottom: clamp(24px, 3vw, 40px); }
.devlog-page .page-hero { padding-top: 12px; }
.devlog-page .page-copy .crumbs ol { margin-bottom: 20px; }
.devlog-page .page-copy h1 { margin-bottom: 16px; }
.devlog-page .page-copy .intro { margin-bottom: 20px; }
.devlog-page .listing { padding-top: 24px; }
.release-label { position: absolute; z-index: 4; top: 10px; left: 10px; max-width: calc(100% - 20px); padding: 5px 9px; border: 1px solid #f4c7ad; border-radius: 6px; background: #f4d4b5; color: #2a1620; font-size: .625rem; font-weight: 800; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.preview-playing .release-label { opacity: 0; }
@media (min-width: 1001px) {
  .home-page .card-compact .tile > h3 { padding-top: 14px; }
  .home-page .catalog-copy > p:not(.catalog-kind) { -webkit-line-clamp: 2; min-block-size: 2lh; }
  .home-page .catalog-kind { margin-block: 7px 6px; }
  .home-page .card-compact .card-body { padding-top: 12px; }
  .home-page .studio-line { padding-bottom: 32px; margin-bottom: 36px; }
  .home-page .mimic { margin-block: 48px; }
}
@media (max-width: 760px) {
  .release-label { top: 7px; left: 7px; padding: 4px 6px; font-size: .5625rem; }
}

/* Article artwork is also a clearly focused route into its story. */
.post-cover { display: block; }
.post:focus-within { border-color: #db968c; }
.post-cover:hover { border-color: #db968c; }

/* The catalog is a permanent destination for game discovery and breadcrumbs. */
.games-index-page .page-hero { padding-top: 24px; }
.games-index-page .games-upcoming { margin-top: 64px; }
.catalog-reading { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px 72px; margin-top: 64px; padding-block: 48px 16px; border-top: 1px solid var(--line); }
.catalog-reading h2 { margin: 0; }
.catalog-reading p { color: var(--muted); }
.catalog-reading a { color: var(--text); text-underline-offset: 4px; }
@media (max-width: 760px) {
  .catalog-reading { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 40px; padding-top: 32px; }
}

.catalog-worlds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-self: center; padding-block: 20px; }
.catalog-worlds a { min-width: 0; color: var(--text); text-decoration: none; }
.catalog-worlds .world-thumb { aspect-ratio: 3 / 4; border: 1px solid #785261; border-radius: var(--r-m); }
.catalog-world-name { display: block; margin-top: 12px; font-size: .875rem; font-weight: 650; line-height: 1.4; }
.catalog-world-name small { display: block; color: var(--muted); font-size: .75rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.catalog-worlds a:hover .catalog-world-name { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .catalog-worlds { display: none; } }

/* Polish of 21 Oct 2026 (site/audits/2026-10-21-ideal-review/): one section rhythm, closed rows, phone-sized type. */
:root { --section: clamp(56px, 6vw, 104px); }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
/* The nav stays legible over bright featured art. */
.nav-links a { text-shadow: 0 1px 12px rgb(14 6 10 / .7); }
/* A phone crops the wide featured art around its lead (games.json "focal"), never through his face. */
@media (max-width: 700px) { .feature-art { object-position: var(--focal, 50% 40%); } }

/* One gap between home sections; the last link keeps the same air above the footer. */
.home-page .mimic { margin-block: var(--section); }
.home-page .studio { margin-top: var(--section); }
.home-page .page-section > .more-link { margin-bottom: var(--section); }
.catalog-reading p { max-width: 62ch; }

/* Section counts as quiet pills, not stray digits beside the heading. */
.games h2 .count { display: inline-block; margin-left: .25em; padding: .3em .6em; border: 1px solid #4a3540; border-radius: 999px; font-size: .4em; font-stretch: 100%; line-height: 1; letter-spacing: 0; vertical-align: .55em; }

/* Coming soon closes its row: on a wide screen its heading takes the first column of the live grid's tracks. */
@media (min-width: 1101px) {
  .games-upcoming { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 20px; align-items: start; }
  .games-upcoming .section-heading { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 18px; margin: 0; padding-top: 6px; }
  .games-upcoming .section-note { max-width: 24ch; }
  .games-upcoming .grid-games { grid-column: 2 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  /* Phone cards lead with the picture: title, grid and actions; the setting sentence stays on the game page. */
  .home-page .catalog-copy > p:not(.catalog-kind) { display: none; }
  .catalog-kind { font-size: .6875rem; letter-spacing: .03em; }
  .home-page .card-compact .card-body > a { min-height: 44px; font-size: .875rem; }
  .home-page .card-compact .preview-toggle { min-height: 44px; }
  /* Coming soon on a phone: one swipeable row, as a lobby row, instead of a 2 + 1 grid. */
  .games-upcoming .grid-games { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: max(150px, 43%); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .games-upcoming .grid-games > .card { scroll-snap-align: start; }
}
@media (min-width: 381px) and (max-width: 640px) {
  /* Every title fits one line here, so none reserves an empty second one. */
  .home-page .card-compact .tile > h3 { min-block-size: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 1rem; }
}
.release-label { font-size: .6875rem; }

/* Round 1.8.3 (site/audits/2026-10-21-ideal-review/LEDGER.md). */

/* One header width on every page but the game pages (their hero follows in 1.8.4): the logo never jumps (UX F18). */
@media (min-width: 1101px) {
  :is(.devlog-page, .post-page, .press-page, .playground-page, .privacy-page, .not-found) .wrap { width: min(1760px, 100% - clamp(64px, 6vw, 128px)); }
  /* An article is one centred column under the full-width bar. */
  .post-page :is(.hero, main) .wrap:not(.bar) { width: min(1096px, 100% - 64px); }
}
.nav-links a[aria-current] { border-bottom-color: var(--accent); }
/* 44 px hit areas without moving the layout: inline links grow their box, not their line (UX F29). */
.crumbs a, .footer-links a { padding-block: 12px; margin-block: -12px; }
.bar .logo { padding-block: 12px; margin-block: -12px; }
.section-heading .section-link { flex: none; font-size: .9375rem; }

/* The game's logo on its tile's title quarter, as Stake shows the tile (art F1); hidden while the clip plays. */
.card-compact .tile-art img.tile-logo, .home-page .card-compact .tile-art img.tile-logo {
  top: auto; bottom: 5%; z-index: 3; width: 76%; height: auto; max-height: 23%; object-fit: contain; object-position: 50% 100%;
  translate: -50% 0; transform: none; image-rendering: auto; pointer-events: none; transition: opacity .14s; }
.card-compact .tile-art img.tile-logo.pixel, .home-page .card-compact .tile-art img.tile-logo.pixel {
  width: max(min(round(down, 78cqi, calc(var(--lw) * 1px)), round(down, calc(34cqi * var(--lw) / var(--lh)), calc(var(--lw) * 1px))), min(calc(var(--lw) * 1px), 86cqi));
  image-rendering: pixelated; }
.preview-playing .tile-art img.tile-logo { opacity: 0; }
.card-compact .tile-art:has(.tile-logo)::after { height: 40%; background: linear-gradient(0deg, rgb(16 9 13 / .82), rgb(16 9 13 / .45) 45%, rgb(16 9 13 / 0)); }
.tile > h3 { overflow-wrap: break-word; }

/* Devlog: the newest story fills the header's second column; the archive runs five wide on a large screen. */
@media (min-width: 861px) { .devlog-page .page-hero { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); padding-bottom: 8px; } }
.devlog-page .page-hero .devlog-feature { margin: 0; }
.devlog-page .page-hero .devlog-feature-copy h2 { font-size: clamp(1.375rem, 2vw, 2rem); }
.devlog-page .posts { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

/* Articles: the cover under the title, the games beside the text, then rows after it on a phone (UX F19, F20, art F27). */
.post-page .page-hero { grid-template-columns: minmax(0, 1fr); padding-bottom: 8px; }
.post-lead { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-m); aspect-ratio: 1200 / 630; background: var(--ink); }
.post-lead img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-body { display: grid; grid-template-columns: minmax(0, 620px) minmax(240px, 312px); justify-content: space-between; gap: 32px 64px; align-items: start; }
.post-games { position: sticky; top: 24px; margin-top: 32px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-m); background: #1a1217; }
.post-games h2 { margin: 0 0 10px; color: var(--accent); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.post-games ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.post-games a { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 6px 8px 6px 6px; border-radius: var(--r-m); color: var(--text); text-decoration: none; }
.post-games a:hover { background: #2a1b24; }
.post-games .world-thumb { flex: none; width: 48px; aspect-ratio: 3 / 4; border-radius: var(--r-s); }
.post-game-name { display: grid; gap: 2px; font-size: 1rem; font-weight: 750; line-height: 1.25; }
.post-game-name small { color: var(--muted); font-size: .8125rem; font-weight: 500; }
.post-game-arrow { margin-left: auto; color: var(--muted); }
@media (max-width: 1000px) {
  .post-body { grid-template-columns: minmax(0, 1fr); }
  .post-games { position: static; margin-top: 8px; }
}
/* In-article sprites sit on the page's own dark, not on the old reel's cream (art F28). */
.prose .sprites { background: #221720; }
.shot picture { display: block; }

/* The archive follows the header's story without a dead band; legal text reads as one centred column. */
.devlog-page .devlog-archive-heading { margin-top: 24px; }
@media (min-width: 1101px) { .privacy-page :is(.hero, main) .wrap:not(.bar) { width: min(1096px, 100% - 64px); } }
/* The playground's copy and reel stay one pair on a wide screen instead of opposite edges. */
@media (min-width: 1001px) { .playground-page .reel-band { grid-template-columns: minmax(0, 28rem) auto; justify-content: center; column-gap: clamp(64px, 10vw, 200px); } }

/* The catalog's reading block closes on the three guides (art F20). */
.catalog-guides { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 8px; }
/* Four guides: one row on a wide screen, two by two below it (review M2: three columns left one alone). */
@media (max-width: 1100px) { .catalog-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .catalog-guides { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 640px) {
  /* The article's own title follows right under the breadcrumb: say it once (UX F21). */
  .post-page .crumbs li[aria-current] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 640px) {
  /* A section's action drops under its heading rather than squeezing it. */
  .section-heading:has(.section-link) { flex-wrap: wrap; row-gap: 0; }
  .section-heading:has(.section-link) > div { flex: 1 1 auto; min-width: min(100%, 15rem); }
}
@media (max-width: 340px) {
  /* The narrowest phones: one card a row, so names and the badge never break (UX F26). */
  #games .grid-games { grid-template-columns: minmax(0, 1fr); }
  .home-page .card-compact .tile > h3 { min-block-size: 0; }
}

/* Round 1.8.4 (site/audits/2026-10-21-ideal-review/LEDGER.md). */

@media (min-width: 1101px) {
  /* Game pages share the site's one width: bar, hero and sections on one left edge (UX F18, F23). */
  :is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) :is(.bar, .wrap), .munch-hero { width: min(1760px, 100% - clamp(64px, 6vw, 128px)); }
  /* Full-bleed key art: it runs under the bar to the viewport's top and outer edge, so no edge of it shows; it fades
     only toward the text and into the page below (art F17; the owner's hard top and outer edges stay gone). */
  :is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .munch-hero-art.page-art { top: -88px; bottom: 0; right: calc((100% - 100vw) / 2); height: auto;
    mask-image: linear-gradient(90deg, transparent, #000 var(--hero-edge-x)), linear-gradient(180deg, #000 calc(100% - var(--hero-edge-y)), transparent); }
  .rook-page .munch-hero-art.page-art { left: calc((100% - 100vw) / 2); right: auto;
    mask-image: linear-gradient(270deg, transparent, #000 var(--hero-edge-x)), linear-gradient(180deg, #000 calc(100% - var(--hero-edge-y)), transparent); }
  /* The home hero fills the first screen (with a peek of the next section) and never upscales the 1920 px art (art F30). */
  .hero:has(.feature-art) { min-height: min(92svh, 960px); }
  .feature-art { max-width: 1920px; object-position: 85% 30%; }
  .hero:has(.feature-art)::before { background: linear-gradient(90deg, rgb(16 11 14) 0%, rgb(16 11 14) 24%, rgb(16 11 14 / 0.55) 36%, rgb(16 11 14 / 0) 54%),
    linear-gradient(0deg, rgb(16 11 14 / 0.85) 0%, rgb(16 11 14 / 0) 28%), linear-gradient(180deg, rgb(16 11 14 / 0.85) 0%, rgb(16 11 14 / 0) 18%); }
}
@media (min-width: 1101px) {
  /* The nav stays legible over the brightest key art: one dark band under the bar (UX F7). */
  :is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .hero::before { content: ""; position: absolute; inset: 0 0 auto; z-index: 0; height: 180px; background: linear-gradient(180deg, rgb(10 6 9 / .8), rgb(10 6 9 / 0)); pointer-events: none; }
  /* The gameplay section keeps its copy to a reading width beside the clip. */
  :is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .munch-gameplay { grid-template-columns: minmax(0, 760px) minmax(0, 480px); justify-content: space-between; }
}
/* A primary button's arrow keeps its space inside the flex box. */
.button:has(> span[aria-hidden]) { gap: 12px; }
/* Very wide screens read at a larger size (UX F8). */
@media (min-width: 2200px) { html { font-size: 112.5%; } }

/* The Mimic vignette: copy and snacks as one block beside the chest, no dead band (art F6, UX F32). */
@media (min-width: 761px) {
  .mimic-card { grid-template-areas: ". stage" "copy stage" "controls stage" ". stage"; grid-template-rows: 1fr auto auto 1fr; }
  .mimic-controls { align-self: start; padding-top: 24px; }
}

/* One studio line on home: the top one; this block is the three notes (art F7). */
.home-page .studio { display: block; }

/* The devlog archive keeps whole rows: five, four or two a row (UX F17). */
/* The archive keeps whole rows at any count: four, three or two a row, and a short last row's cards share it. Three
   below 1600px since 28 Oct (review S1: four columns at 1280 gave 4-5 line titles in the wide face). */
@media (min-width: 701px) { .devlog-page .listing .posts { --c: clamp(24px, 3vw, 40px); --n: 2; display: flex; flex-wrap: wrap; column-gap: var(--c); }
  .devlog-page .listing .posts > li { flex: 1 1 calc((100% - (var(--n) - 1) * var(--c)) / var(--n) - 1px); } }
@media (min-width: 1240px) { .devlog-page .listing .posts { --n: 3; } }
@media (min-width: 1600px) { .devlog-page .listing .posts { --n: 4; } }
.devlog-page .post h3 { text-wrap: balance; }

/* The studio reel opens in a 16:9 player. */
.studio-film-video { aspect-ratio: 16 / 9; }
.film-dialog { width: min(1200px, 100% - 32px); }

/* Round 1.8.5 (site/audits/2026-10-21-ideal-review/LEDGER.md). */

/* Game pages on a phone: the play dock (app.js) once the hero's button has scrolled away (UX F25). */
.play-dock { display: none; }
@media (max-width: 760px) {
  .play-dock { position: fixed; inset: auto 0 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgb(16 11 14 / .96);
    transform: translateY(110%); visibility: hidden; transition: transform .2s ease, visibility .2s; }
  .play-dock.on { transform: none; visibility: visible; }
  .play-dock-name { min-width: 0; overflow: hidden; font-weight: 750; white-space: nowrap; text-overflow: ellipsis; }
  .play-dock .button { flex: none; min-height: 44px; font-size: .9375rem; }
}
@media (prefers-reduced-motion: reduce) { .play-dock { transition: none; } }
@media (max-width: 640px) { .munch-nav { font-size: .875rem; } }

/* A phone held sideways (UX F27): a lower bar and smaller headlines; game pages put the art behind the copy so the
   title and the play action share the first screen. */
@media (orientation: landscape) and (max-height: 500px) {
  .bar { min-height: 56px; padding-block: 6px; }
  .page-hero { padding-top: 8px; }
  .crumbs ol { margin-bottom: 12px; }
  .page-copy h1 { font-size: clamp(1.75rem, 6vh + 1rem, 2.5rem); }
}
@media (orientation: landscape) and (max-height: 500px) and (max-width: 1100px) {
  :is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .munch-hero { flex-direction: column; justify-content: center; align-items: flex-start; min-height: calc(100svh - 56px); }
  :is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .munch-hero-art.page-art { position: absolute; inset: 0 -32px 0 32%; z-index: -1; order: 0; justify-self: stretch; align-self: stretch; width: auto; height: auto; aspect-ratio: auto; }
  :is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .munch-hero-art::after { background: linear-gradient(90deg, rgb(10 6 9 / .9) 0%, rgb(10 6 9 / 0) 55%), linear-gradient(0deg, rgb(10 6 9 / .9), rgb(10 6 9 / 0) 30%); }
  :is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .munch-hero-copy { width: 62%; margin-left: 0; padding-block: 12px 20px; }
  .munch-hero .intro { display: none; }
  .munch-hook { margin-bottom: 12px; font-size: clamp(1.75rem, 7vh + .5rem, 2.5rem); }
  .munch-hero .eyebrow { margin-bottom: 8px; }
  .munch-hero .game-logo { margin-bottom: 10px; }
  :is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .munch-hero .game-logo.hd img { width: auto; max-width: 100%; max-height: 72px; }
  .munch-hero .game-logo:not(.hd) img { width: calc(var(--w) * 1px); }
}

/* Press: the header shows what the page gives away, every game's logo on its own colour (art F24); the games are a
   list with status chips (UX F34). */
.press-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.press-tile { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 10%; border: 1px solid rgb(255 255 255 / .08); border-radius: var(--r-m); background: color-mix(in srgb, var(--tile, #2b1d2a) 80%, #000); }
.press-tile:hover { border-color: rgb(255 255 255 / .3); }
.press-tile img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.press-tile img.pixel { image-rendering: pixelated; }
.press-tile-studio { background: var(--red); }
.press-tile-studio svg { width: 82%; height: auto; }
.press-game-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin: 6px 0 0; padding: 0; list-style: none; }
.press-game-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.press-game-list a { color: var(--text); }
.operator-games .text-link { flex: none; gap: 8px; white-space: nowrap; }
.chip { flex: none; padding: 3px 8px; border-radius: 999px; font-size: .6875rem; font-weight: 700; letter-spacing: .04em; line-height: 1.3; text-transform: uppercase; }
.chip-live { background: color-mix(in srgb, var(--live) 18%, transparent); color: #8fe5b4; }
.chip-soon { background: rgb(255 255 255 / .08); color: var(--muted); }
@media (max-width: 520px) {
  .press-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .press-game-list { grid-template-columns: minmax(0, 1fr); }
}

/* The catalog's and the playground's header tiles stay on a phone, so its first screen shows games (UX F11). */
@media (max-width: 760px) {
  .catalog-worlds { display: grid; gap: 10px; padding-block: 4px 0; }
  .catalog-world-name { margin-top: 6px; font-size: .8125rem; }
  .catalog-world-name small { font-size: .625rem; }
}

/* The 404 keeps the site's frame: copy beside Mogu. */
.not-found .lost { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; min-height: 0; padding: clamp(24px, 6vh, 72px) 0 0; overflow: visible; }
.not-found main { min-height: 0; padding: 0; }
.not-found .lost .actions { align-items: center; column-gap: 24px; }
@media (max-width: 760px) { .not-found .lost { grid-template-columns: minmax(0, 1fr); } }

/* Velvet's charges: the game's own spool on each charged cell instead of code-drawn boxes (art F18). */
.catalog-charge-cell { position: relative; }
.catalog-charge-cell img.hd { width: 40px; height: 40px; }
.catalog-charge-cell b { position: absolute; right: 3px; bottom: 1px; color: var(--munch-gold); font-size: .875rem; font-weight: 850; line-height: 1; text-shadow: 0 1px 2px #000; }

/* Round 2 of the review (site/audits/2026-10-21-ideal-review/round2/), 1.8.6. */

/* N1, N2: "More from REDAGE" uses the home card (title under the art, the logo on it), four across, a swipe row on phones. */
.grid-related .card-compact { display: flex; flex-direction: column; padding: 12px; border: 1px solid #3d2c35; border-radius: var(--r-l); background: #1a1217; }
.grid-related .card-compact .tile { grid-template-rows: auto auto; }
.grid-related .card-compact .tile > .tile-art { grid-area: 1 / 1; border-radius: var(--r-m); aspect-ratio: 3 / 4; }
.grid-related .card-compact .tile > h3 { grid-area: 2 / 1; z-index: 3; padding: 14px 4px 0; font-size: clamp(1rem, 1.3vw, 1.375rem); line-height: 1.18; text-shadow: none; }
.grid-related .card-compact .tile-art::after { height: 40%; background: linear-gradient(0deg, rgb(16 9 13 / .82), rgb(16 9 13 / .45) 45%, rgb(16 9 13 / 0)); }
.grid-related .card-compact .card-body { padding: 10px 4px 2px; margin-top: auto; }
@media (min-width: 641px) { .grid-related { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1101px) { .grid-related { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .grid-related { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: max(150px, 43%); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .grid-related > .card { scroll-snap-align: start; }
}

/* N17: after an article or a game page, related posts are short rows on a phone, not full cards. */
@media (max-width: 640px) {
  :is(:is(.post-page, .mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .page-section, .home-page .studio) .posts .post { display: grid; grid-template-columns: 116px minmax(0, 1fr); column-gap: 14px; align-items: start; padding: 10px; }
  :is(:is(.post-page, .mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .page-section, .home-page .studio) .posts .post-cover { grid-row: 1 / span 2; margin: 0; border-radius: var(--r-s); }
  :is(:is(.post-page, .mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .page-section, .home-page .studio) .posts .post > :not(.post-cover) { margin-inline: 0; }
  :is(:is(.post-page, .mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .page-section, .home-page .studio) .posts .post > p:last-child { display: none; }
  :is(:is(.post-page, .mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .page-section, .home-page .studio) .posts .post h3 { margin: 4px 0 0; font-size: 1rem; line-height: 1.25; }
  :is(:is(.post-page, .mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .page-section, .home-page .studio) .posts .post-date { margin: 0; }
}

/* N6: article lines at about 70 characters. */
@media (min-width: 1101px) { .post-page .prose { font-size: 1.1875rem; line-height: 1.65; } }

/* N7: phone cards align each row to its own tallest title (subgrid): no reserved line, no ellipsis, at any width. */
@media (max-width: 640px) {
  .home-page #games .grid-games > .card-compact { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
  .home-page .card-compact .tile > h3 { min-block-size: 0; white-space: normal; overflow: visible; text-overflow: clip; }
}

/* N10: no teaching label under 12 px on a phone. */
@media (max-width: 640px) {
  .catalog-ladder span, .rook-charge-ladder li > span, .neon-ward-ladder li > span, .flame-step-number, .catalog-world-name small { font-size: .75rem; }
  :is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .symbol-name { font-size: .875rem; }
  :is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .symbol-role { font-size: .75rem; }
  .catalog-diagram > small, .munch-player figcaption { font-size: .8125rem; }
}

/* N11: a phone held sideways sees the featured game's Play and the catalog's games on the first screen. */
@media (orientation: landscape) and (max-height: 500px) {
  .hero:has(.feature-art) { min-height: 0; }
  .feature .game-logo img, .feature .game-logo.hd img { width: auto; max-width: 100%; max-height: 84px; }
  .feature .intro { display: none; }
  .feature-copy { padding-block: 8px 12px; }
  .feature .eyebrow { margin-bottom: 8px; }
  .games-index-page .page-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 46%); align-items: center; }
  .games-index-page .catalog-worlds { display: grid; }
  .games-index-page .page-copy .intro { display: none; }
}

/* N4: the catalog ends with the same air as home above the footer. */
.games-index-page .catalog-reading { padding-bottom: var(--section); }

/* N12: phone footer links in rows of 44 px that do not overlap. */
@media (max-width: 640px) { .footer-links { row-gap: 0; column-gap: 20px; } .footer-links a { padding-block: 10px; margin-block: 0; } }

/* N14: the outro's Play is the hero's Play, in the game's own colour. */
.munch-outro .button-light { background: #f1d3a5; color: #23170f; }
.stompkin-page .munch-outro .button-light { background: #ffc477; color: #28120e; }
.rook-page .munch-outro .button-light { background: #edbd87; color: #172122; }
.neon-page .munch-outro .button-light { background: #a8f0e7; color: #152735; }
.catalog-page .munch-outro .button-light { background: var(--munch-gold); color: #251b1b; }
.munch-outro .actions { align-items: center; column-gap: 24px; }

/* N16: a short page's footer still reaches the bottom of a tall screen. */
.not-found { display: flex; flex-direction: column; min-height: 100svh; }
.not-found .hero { flex: 1 0 auto; }

/* The privacy page's analytics choice: its state in bold, and only the button that changes it (app.js hides the other). */
.consent-state { font-weight: 650; }
.consent-choice { margin-bottom: 20px; }
[data-consent][hidden] { display: none; }

/* N23: the press kit's own actions are 44 px. */
.downloads { gap: 0; }
.downloads a, .assets a { display: inline-flex; align-items: center; min-height: 44px; }
.copy { min-height: 44px; }

/* Questions and answers on game pages (1.8.7): the answers assistants quote, from the game's rules. */
.game-faq .faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin: 24px 0 0; }
.game-faq .faq > div { padding: 18px 0; border-top: 1px solid var(--line); }
.game-faq dt { margin: 0 0 8px; font-size: 1.0625rem; font-weight: 750; line-height: 1.35; }
.game-faq dd { max-width: 62ch; margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.6; }
@media (max-width: 760px) { .game-faq .faq { grid-template-columns: minmax(0, 1fr); } }

/* Round 2 art findings, 1.8.8 (site/audits/2026-10-21-ideal-review/round2/art-director.md). */

/* N9: one display voice: h1 and hero lines in the wide cut, titles in the medium cut, no negative tracking. */
:root { --display: 125%; --title: 112%; }
.home-page .studio-line h1 { font-stretch: var(--display); letter-spacing: 0; }
:is(.munch-gameplay, .munch-section-heading, .mimic-copy, .devlog-feature-copy) h2, .munch-story-copy h3,
.post h2, .post h3, .prose h3, .modes h3, .press-game h3 { font-stretch: var(--title); letter-spacing: 0; }

/* N8: on a game page the logo is the headline; the line under it is one sentence, not a second, bigger headline. */
:is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .munch-hook { max-width: 34ch; margin: 0 0 14px; font-size: clamp(1.375rem, 1.8vw, 1.875rem); font-weight: 800; font-stretch: var(--title); line-height: 1.25; letter-spacing: 0; word-spacing: 0; }
@media (min-width: 1101px) { :is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .munch-hero .game-logo.hd img { width: min(100%, 480px); max-height: 220px; } }

/* N5: the logo on the art names the game; the title under it is a quiet caption (still the link and the heading). */
.home-page .card-compact .tile > h3, .grid-related .card-compact .tile > h3 { padding-top: 12px; color: var(--muted); font-size: .9375rem; font-weight: 650; font-stretch: 100%; line-height: 1.3; }
.card-compact .tile > h3 a { color: inherit; }

/* N3: busts stand on something. Neon's Rei and Kaiju's Mogu fill their tiles from the top (the sea and the cut
   line go under the logo band); the home moth sinks into a solid floor. */
.card-compact#neon-eclipse .tile-art img:is(.tile-bg, .tile-fg) { transform-origin: 50% 0; scale: 1.25; }
.card-compact#kaiju-snack .tile-art img:is(.tile-bg, .tile-fg) { transform-origin: 50% 0; scale: 1.18; }
@media (min-width: 701px) {
  .hero:has(.feature-art)::before { background: linear-gradient(90deg, rgb(16 11 14) 0%, rgb(16 11 14) 24%, rgb(16 11 14 / 0.55) 36%, rgb(16 11 14 / 0) 54%),
    linear-gradient(0deg, rgb(16 11 14) 0 6%, rgb(16 11 14 / 0) 26%), linear-gradient(180deg, rgb(16 11 14 / 0.85) 0%, rgb(16 11 14 / 0) 18%); }
}

/* F17b: the full-bleed heroes keep heads under the bar: HD covers show their top, Glasswright's pixel cover sits lower. */
@media (min-width: 1101px) {
  .catalog-page .munch-hero-art.page-art.hd img { object-position: right top; }
  .catalog-page.glasswright-page .munch-hero-art.page-art img { translate: 0 calc(-50% + 120px); }
}

/* 1.8.9, art N7: the studio's own picture. The header's Red Edge mark, large, built once when it scrolls in (app.js
   holds it hidden until then and adds .red-edge; transform and opacity only, no glow); no script or reduced motion:
   the static mark. Under it the release line: every game's logo on one rule, first release to newest. */
.home-page .studio-line { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: end; row-gap: clamp(44px, 5vw, 72px); padding-bottom: clamp(36px, 4vw, 56px); }
.studio-mark { display: grid; gap: 20px; min-width: 0; }
.studio-mark-art { display: block; width: min(100%, 640px); }
.studio-mark-art svg { display: block; width: 100%; height: auto; }
.studio-mark-art .rd-hot, .studio-mark-art .rd-slash, .studio-mark-art .rd-line { opacity: 0; }
.studio-mark-art.edge-wait svg { opacity: 0; }
.studio-mark > p { margin: 0; color: var(--accent); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.home-page .studio-line .studio-intro { max-width: 40rem; }
.home-page .studio-line .studio-intro > p { max-width: 43ch; }
.home-page .studio-line .studio-intro h1 { max-width: none; margin: 0 0 18px; font-size: clamp(2.25rem, 3.4vw, 4rem); }

.release-line { grid-column: 1 / -1; min-width: 0; }
.release-caption { margin: 0 0 20px; color: var(--muted); font-size: .8125rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.release-line ol { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 32px; margin: 0; padding: 0; list-style: none; }
.release-line li { position: relative; min-width: 0; }
.release-line li::before { content: ""; position: absolute; top: 87px; left: 0; right: 0; height: 1px; background: #6b4653; }
.release-line li:first-child::before { left: 50%; }
.release-line li:last-child::before { right: 50%; }
.release-line li::after { content: ""; position: absolute; top: 83px; left: calc(50% - 4.5px); width: 9px; height: 9px; border-radius: 50%; background: #ff4b3a; }
.release-line .release-soon::before { background: repeating-linear-gradient(90deg, #6b4653 0 5px, transparent 5px 10px); }
.release-line .release-soon::after { background: var(--paper); box-shadow: inset 0 0 0 1px #a17f8b; }
.release-line a { display: grid; justify-items: center; gap: 30px; padding: 0 6px 2px; color: #ead6dd; text-decoration: none; }
.release-mark { display: grid; place-items: end center; width: 100%; height: 72px; transition: translate .18s ease-out; }
.release-logo { display: block; max-width: 100%; height: auto; }
.release-logo.pixel { max-width: none; image-rendering: pixelated; }
.release-line a > :is(time, span:last-child) { font-size: .8125rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.release-soon .release-mark { opacity: .5; }
.release-line .release-soon a { color: var(--muted); }
.release-line a:hover .release-mark { translate: 0 -4px; }
.release-line a:hover > :is(time, span:last-child) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .release-mark { transition: none; } }
@media (min-width: 1760px) { .release-line ol { grid-template-columns: repeat(11, minmax(0, 1fr)); } }
@media (max-width: 1100px) {
  .home-page .studio-line { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .release-line ol { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
@media (max-width: 640px) {
  .release-line ol { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 156px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .release-line li { scroll-snap-align: start; }
}

/* 1.8.9, art N4, N10: Inside REDAGE is one section: the reel's poster across the container, then three picture
   cards (studio.inside); the text notes and the second devlog row are gone. */
.studio-reel { position: relative; display: block; overflow: hidden; margin-bottom: clamp(28px, 3vw, 40px); border-radius: var(--r-m); aspect-ratio: 16 / 9; background: #100b0e; color: var(--text); text-decoration: none; }
.studio-reel .film-poster { display: block; width: 100%; height: 100%; object-fit: cover; }
.studio-reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(16 9 13 / .82), rgb(16 9 13 / 0) 24%); pointer-events: none; }
.studio-reel-copy { position: absolute; z-index: 1; left: clamp(16px, 3vw, 48px); bottom: clamp(14px, 2.4vw, 40px); display: flex; align-items: center; gap: clamp(14px, 1.6vw, 22px); }
.studio-reel .film-play { position: static; flex: none; translate: none; width: clamp(48px, 5vw, 80px); height: clamp(48px, 5vw, 80px); font-size: clamp(1rem, 1.6vw, 1.5rem); transition: scale .18s ease-out; }
.studio-reel-copy strong { display: block; font-size: clamp(1.25rem, 2.2vw, 2.25rem); font-weight: 850; font-stretch: var(--title); line-height: 1.1; }
.studio-reel-copy strong + span { display: block; margin-top: 4px; color: #ead5df; font-size: clamp(.875rem, 1.1vw, 1.0625rem); font-variant-numeric: tabular-nums; }
.studio-reel:hover .film-play { scale: 1.06; }
.studio-reel:hover strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.studio-reel:focus-visible { outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .studio-reel .film-play { transition: none; } }
@media (max-width: 640px) {  /* the copy under the poster, not over the clips */
  .studio-reel { overflow: visible; aspect-ratio: auto; border-radius: 0; background: none; }
  .studio-reel .film-poster { height: auto; aspect-ratio: 16 / 9; border-radius: var(--r-m); }
  .studio-reel::after { display: none; }
  .studio-reel-copy { position: static; margin-top: 14px; }
}

/* 1.8.9, UX N15: the catalog header's picture is the newest live release, large; the coming-soon worlds are shown
   once, in their own section. */
.catalog-latest { position: relative; display: block; align-self: center; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid #785261; border-radius: var(--r-m); background: #20131a; color: var(--text); text-decoration: none; }
.catalog-latest-art { display: block; width: 100%; height: 100%; object-fit: cover; }
.catalog-latest-art.pixel { image-rendering: pixelated; }
.catalog-latest::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(16 9 13 / .86), rgb(16 9 13 / 0) 44%); pointer-events: none; }
.catalog-latest .release-label { top: 14px; left: 14px; }
.catalog-latest-copy { position: absolute; z-index: 1; left: clamp(16px, 2vw, 28px); right: clamp(16px, 2vw, 28px); bottom: clamp(14px, 2vw, 24px); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 20px; }
.catalog-latest .tile-logo { display: block; width: auto; max-width: min(52%, 300px); height: auto; max-height: 104px; }
.catalog-latest .tile-logo.pixel { width: calc(var(--lw) * 2px); max-width: none; max-height: none; image-rendering: pixelated; }
.catalog-latest-date { color: #f2e2e8; font-size: .9375rem; font-weight: 650; }
.catalog-latest:hover .catalog-latest-date { text-decoration: underline; text-underline-offset: 3px; }

/* 1.8.9, art N3: Mogu stands on nothing cut out. The 404 shows a crop of his own cover at whole multiples of its
   pixels, its edges through his splash; on the Kaiju page the hero's bottom edge runs through the straight strip his
   art ends in (the cover's rows from 796 px, art row 199). */
.not-found .lost-scene { justify-self: end; overflow: hidden; border-radius: var(--r-m); }
.lost-scene img { display: block; width: 860px; max-width: none; height: auto; image-rendering: pixelated; }
.catalog-page.kaiju-snack-page .munch-hero-art.page-art img { top: min(0px, calc(100% - 796px)); translate: 0 0; }
@media (max-width: 1400px) { .lost-scene img { width: 645px; } }
@media (max-width: 1100px) {
  .not-found .lost { grid-template-columns: minmax(0, 1fr); }
  .not-found .lost-scene { justify-self: start; }
  .catalog-page.kaiju-snack-page .munch-hero-art.page-art img { top: min(0px, calc(100% - 597px)); }
}
@media (max-width: 760px) { .catalog-page.kaiju-snack-page .munch-hero-art.page-art img { top: min(0px, calc(100% - 398px)); } }
@media (max-width: 700px) { .lost-scene img { width: 430px; } }
@media (max-width: 480px) { .not-found .lost-scene { justify-self: stretch; } .lost-scene img { margin-inline: calc(50% - 215px); } }

/* 1.9.0, art N6: each game's symbols on its own world, not on generic tiles; the band is also the page's one art
   band between how the game works and the ways to play it (N13). The backdrop is the cover's, under a flat shade. */
.page-section.symbol-band { position: relative; isolation: isolate; padding-block: clamp(56px, 6vw, 104px); }
.symbol-band::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc((100% - 100vw) / 2); width: 100vw; background: rgb(10 7 11 / .62); }
.symbol-band > .symbol-band-art { position: absolute; z-index: -2; top: 0; left: calc((100% - 100vw) / 2); width: 100vw; max-width: none; height: 100%; object-fit: cover; }
.symbol-band > .symbol-band-art.pixel { image-rendering: pixelated; }
.page-section.symbol-band .symbols { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 36px 20px; }
.page-section.symbol-band .symbol { justify-items: center; text-align: center; }
.page-section.symbol-band .symbol-art { width: 100%; max-width: 150px; margin-bottom: 14px; border: 0; border-radius: 0; background: none; clip-path: none; }
.page-section.symbol-band .symbol-art:not(.hd) img { width: min(calc(var(--w) * 4px), max(calc(var(--w) * 1px), round(down, 92cqi, calc(var(--w) * 1px)))); }
.page-section.symbol-band .symbol-art.hd img { width: 92%; }
.page-section.symbol-band .symbol-name { font-size: 1rem; }
.page-section.symbol-band .symbol-role { color: #e4d6dc; }
@media (max-width: 640px) {  /* three a row on a phone, not one screen per pair */
  .page-section.symbol-band .symbols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 10px; }
  .page-section.symbol-band .symbol-art { max-width: 104px; margin-bottom: 8px; }
  .page-section.symbol-band .symbol-name { font-size: .875rem; }
}

/* 1.9.0, art N13 and F18: a panel or its boxes, never both. The facts are a ruled row; the feature tiers are columns
   led by their trigger symbols; the ladder steps are chips without strokes; the formula sits beside its sentence. */
:is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .munch-facts .facts-wide { padding: 24px 0; border: 0; border-block: 1px solid var(--line); border-radius: 0; background: none; }
.catalog-feature-tiers li { padding: 0; border: 0; border-radius: 0; background: none; }
.catalog-feature-tiers li + li { padding-left: 24px; border-left: 1px solid var(--catalog-border); }
.catalog-tier-marks { display: flex; flex-wrap: wrap; align-items: end; gap: 6px; min-height: 48px; margin-bottom: 4px; }
.catalog-tier-marks img { width: 44px; height: auto; }
.catalog-tier-marks img.pixel { width: max(calc(var(--iw) * 1px), round(down, 48px, calc(var(--iw) * 1px))); image-rendering: pixelated; }
.catalog-ladder li, .catalog-ladder li:last-child { border: 0; }
.catalog-ladder li:last-child { background: color-mix(in srgb, var(--munch-gold) 18%, var(--catalog-panel)); }
@media (min-width: 901px) {
  .catalog-rule-panel[data-rule-panel="thread-formula"] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "title text" "formula text"; align-items: end; column-gap: clamp(32px, 4vw, 72px); }
  .catalog-rule-panel[data-rule-panel="thread-formula"] h3 { grid-area: title; }
  .catalog-rule-panel[data-rule-panel="thread-formula"] .catalog-formula { grid-area: formula; }
  .catalog-rule-panel[data-rule-panel="thread-formula"] > p:last-child { grid-area: text; margin: 0; }
}
@media (max-width: 760px) {
  .catalog-feature-tiers li + li { padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--catalog-border); }
}

/* 1.9.0, UX N19: on desktop the section bar sticks, marks the section in view and, once the hero's Play has scrolled
   away, carries the game's own Play at its end (app.js); phones keep the play dock. */
.munch-nav { align-items: center; }
.munch-nav a[aria-current] { color: #fff; box-shadow: inset 0 -2px 0 currentColor; }
.munch-nav .munch-nav-play { display: none; }
@media (min-width: 761px) {
  .munch-nav { position: sticky; top: 0; z-index: 30; background: var(--paper); box-shadow: 0 0 0 100vmax var(--paper); clip-path: inset(0 -100vmax); }
  .munch-nav .munch-nav-play { display: inline-flex; min-height: 40px; margin-left: auto; padding: 8px 18px; background: var(--munch-gold, #f5d397); color: #241a1a; font-size: .875rem; font-weight: 750; visibility: hidden; opacity: 0; transition: opacity .15s, visibility .15s; }
  .munch-nav.with-play .munch-nav-play { visibility: visible; opacity: 1; }
  .munch-nav .munch-nav-play:hover { color: #241a1a; text-decoration: underline; }
  :is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page, .press-page) :is(section, h2)[id] { scroll-margin-top: 88px; }
}
@media (prefers-reduced-motion: reduce) { .munch-nav .munch-nav-play { transition: none; } }

/* 1.9.0, UX N20: the footer closes on the studio's mark and grouped links; the call to follow keeps the left. */
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 48px clamp(40px, 6vw, 120px); }
.footer-top:has(.jack-spot) { grid-template-columns: minmax(0, 1fr) auto auto; }
.footer-nav { display: grid; grid-template-columns: repeat(3, auto); gap: 28px clamp(32px, 4vw, 72px); }
.footer-nav-title { margin: 0 0 8px; color: #fff; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-nav ul { display: grid; margin: 0; padding: 0; list-style: none; }
.footer-nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #dce4ea; font-size: .9375rem; text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-row { align-items: center; }
.footer-mark { display: block; flex: none; width: 112px; }
.footer-mark svg { width: 100%; height: auto; }
@media (max-width: 1100px) { .footer-top, .footer-top:has(.jack-spot) { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-nav > div:last-child { grid-column: 1 / -1; }
}

/* 1.9.0, UX N21 and art N14: the press kit opens with a jump list; its games are cards, three a row on desktop:
   cover, name, one line and the same four downloads for every game; the description and facts behind a disclosure. */
.press-games { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px clamp(24px, 3vw, 40px); }
.press-game { display: flex; flex-direction: column; gap: 18px; }
.press-game .press-art { width: 100%; max-width: none; height: auto; aspect-ratio: 16 / 9; }
.press-game .press-art img { position: static; width: 100%; height: 100%; translate: none; object-fit: cover; image-rendering: auto; }
.press-game h3 { margin-bottom: 6px; }
.press-line { color: var(--muted); }
.press-game .downloads { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 4px; }
.press-game .downloads li { display: inline-flex; align-items: baseline; gap: 6px; }
.press-game .downloads span { font-size: .8125rem; }
.press-more { margin-top: 12px; border-top: 1px solid var(--line); }
.press-more summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; font-weight: 700; }
.press-more[open] summary { margin-bottom: 8px; }
.press-more .facts { margin-bottom: 14px; }
@media (max-width: 1100px) { .press-games { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .press-games { grid-template-columns: minmax(0, 1fr); } }


/* 1.9.1: round 3 (site/audits/2026-10-21-ideal-review/round3/LEDGER.md). */

/* U13: a name read after what a control shows. */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Its parent anchors it: an absolute box placed by a far ancestor escapes a swipe row and widens the page (1.9.1). */
:has(> .visually-hidden) { position: relative; }

/* U1 (1.8.9 regression): home's last section keeps the space every page keeps above the footer. */
.home-page .studio { margin-bottom: var(--section); }
/* U19: Inside REDAGE opens on who the studio is. */
.studio-about { max-width: 60ch; margin: -8px 0 28px; color: #d1c3cb; font-size: 1.0625rem; line-height: 1.6; }
.studio-about .text-link { white-space: nowrap; }

/* A2: the studio band as one lock-up: the mark on its glyphs, top-aligned with the line beside it, its red rule kept
   at rest (a flat brand rule, as on the reel's end card); the release line by area, one row everywhere (a swipe row
   under 1760 px), the coming-soon worlds in full colour, "soon" said by the dashed rule and the hollow dot. */
.home-page .studio-line { align-items: start; }
.studio-mark-art svg { overflow: visible; }
.studio-mark-art .rd-line { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .studio-mark-art.red-edge .rd-line { animation: rd-line-stay .6s .88s both; }
}
@keyframes rd-line-stay { from { transform: scaleX(0); } }
.release-soon .release-mark { opacity: 1; }
@media (max-width: 1759px) {
  .release-line ol { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 156px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
  .release-line li { scroll-snap-align: start; }
}

/* A3: the last cut lines on cards go: Rei's dithered bust edge under her logo; Mogu fills his tile, the logo on his foam. */
.card-compact#neon-eclipse .tile-art img.tile-logo { bottom: 19%; }
.card-compact#kaiju-snack .tile-art img:is(.tile-bg, .tile-fg) { scale: 1.55; }

/* A6: the lower half of the game pages. Trigger symbols at a readable size; the spools without boxes; Velvet's formula
   as one statement beside its sentence, no panel; the band clear of the facts above it. */
.catalog-tier-marks { min-height: 64px; }
.catalog-tier-marks img { width: 60px; }
.catalog-tier-marks img.pixel { width: calc(var(--iw) * 2px); }
.catalog-charge-cell { width: 72px; height: 72px; border: 0; background: none; }
.catalog-charge-cell img.hd { width: 64px; height: 64px; }
/* Three cells fit any card: the diagram is a size container, a cell at most a third of it less the gaps. */
.catalog-diagram { container-type: inline-size; }
.catalog-charge-cell { width: min(72px, (100cqi - 48px) / 3); height: auto; aspect-ratio: 1; }
.catalog-charge-cell img.hd { width: 88%; height: auto; }
.catalog-rule-panel[data-rule-panel="thread-formula"] { padding: 8px 0; border: 0; border-radius: 0; background: none; }
.catalog-rule-panel[data-rule-panel="thread-formula"] .catalog-formula { font-size: clamp(3rem, 5vw, 4.5rem); }
@media (min-width: 901px) { .catalog-rule-panel[data-rule-panel="thread-formula"] { grid-template-columns: max-content minmax(0, 56ch); justify-content: start; } }
.page-section.symbol-band { margin-top: clamp(48px, 6vw, 96px); }

/* U2: one disclosure look: the rules' plus, turning as it opens. */
:is(.press-more, .feed-details) summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; cursor: pointer; }
:is(.press-more, .feed-details) summary::-webkit-details-marker { display: none; }
:is(.press-more, .feed-details) summary span { color: var(--accent); font-size: 1.5rem; line-height: 1; transition: rotate .15s; }
:is(.press-more, .feed-details)[open] summary span { rotate: 45deg; }
@media (prefers-reduced-motion: reduce) { :is(.press-more, .feed-details) summary span { transition: none; } }

/* U3 / A7: the catalog banner's logo with its date under it, an arrow saying it opens the game's page. */
.catalog-latest-copy { flex-direction: column; align-items: flex-start; justify-content: flex-end; }

/* U5: the section bar reads as the page's navigation once it sticks; one swipe row on phones. */
@media (min-width: 761px) { .munch-nav { font-size: .9375rem; font-weight: 600; } }
@media (max-width: 760px) {
  .munch-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 0 20px; }
  .munch-nav a { flex: none; }
}

/* U8: the playground's cast band keeps the page colour between it and the footer. */
.playground-cast { margin-bottom: var(--section); }

/* U9: the press games end on a full row: three a row from 1101 px, a short last row shares the width. */
@media (min-width: 1101px) {
  .press-games { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .press-game { grid-column: span 2; }
  .press-game:nth-child(3n + 1):nth-last-child(2), .press-game:nth-child(3n + 1):nth-last-child(2) ~ .press-game { grid-column: span 3; }
  .press-game:nth-child(3n + 1):last-child { grid-column: 2 / span 4; }
}
@media (min-width: 641px) and (max-width: 1100px) { .press-game:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* A9: the press kit in the site's colours: white marks on the hero's black, dark marks on white, the card radius,
   pictures with round corners (the cut corner is for actions). */
.asset-white .asset-preview, .asset-wide .asset-preview, .asset-icon .asset-preview { background: #14060a; border-color: var(--line); }
.asset-preview { overflow: hidden; border-radius: var(--r-m); }
.press-game .press-art { clip-path: none; border-radius: var(--r-m); }

/* A10: the story posters never drawn past their 512 px masters. */
.munch-story-art { max-width: 512px; margin-inline: auto; }

/* A12: home's hero floor in the page's own colour, no seam. A13 is handled by the landscape block below. */

/* A14: phone post rows show the cover's art side, not its headline shrunk to scribbles. */
@media (max-width: 640px) {
  :is(:is(.post-page, .mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .page-section, .home-page .studio) .posts .post-cover { aspect-ratio: 4 / 3; }
  :is(:is(.post-page, .mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .page-section, .home-page .studio) .posts .post-cover img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
}

/* A16: the playground's Jack under the footer's grid, so its lists stay where every page has them. */
.footer-top:has(.jack-spot) { grid-template-columns: minmax(0, 1fr) auto; }
.footer-top .jack-spot { grid-column: 1 / -1; justify-self: end; }

/* U15: the playground's reel machine at a desktop size (whole pixels). */
@media (min-width: 1101px) { .playground-page .reel-band .cabinet { --scale: 3; } }

/* U18: the devlog in a phone's landscape: the featured story beside the title. */
@media (orientation: landscape) and (max-height: 500px) and (max-width: 1100px) {
  .devlog-page .page-copy .intro, .devlog-page .feed-details { display: none; }
  .home-page .feature-art { top: 24px; }
}


/* U21: a game page's copy and its clip stay together; the spare width goes to the margins. */
@media (min-width: 1101px) {
  :is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .munch-gameplay { justify-content: start; column-gap: clamp(64px, 8vw, 160px); }
}

/* U22: in a symbol row a two-line name moves only its own role. */
.symbol { align-content: start; }

/* U23: an article's crumb ends at Devlog at every width; the h1 names the page (the JSON-LD keeps the full trail). */
.post-page .crumbs li[aria-current] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* An unfinished last row of games sits on the grid's centre line (independent review, 28 Oct 2026, M2: 11 live games
   left an empty fourth slot): the grid runs on half-card tracks, each card spans two, and the row's first card starts
   a half or a whole card in. Card widths are the four- and three-column ones. */
@media (min-width: 1101px) {
  #games .grid-games { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  #games .grid-games > .card { grid-column: span 2; }
  #games .grid-games > .card:nth-child(4n + 1):nth-last-child(3) { grid-column: 2 / span 2; }
  #games .grid-games > .card:nth-child(4n + 1):nth-last-child(2) { grid-column: 3 / span 2; }
  #games .grid-games > .card:nth-child(4n + 1):last-child { grid-column: 4 / span 2; }
  .games-upcoming:has(.grid-games > .card:nth-child(2):last-child) .section-heading { grid-column: span 2; }
  .games-upcoming .grid-games:has(> .card:nth-child(2):last-child) { grid-column: 3 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 341px) and (max-width: 640px) {
  #games .grid-games > .card:nth-child(2n + 1):last-child { grid-column: 1 / -1; width: calc((100% - 14px) / 2); justify-self: center; }
}
/* The article title keeps long game names intact within a 280 px viewport. */
@media (max-width: 340px) {
  .post-page .page-copy .post-title { font-size: 2rem; }
}

/* 24 Oct, the engagement plan: the release line's caption carries the follow link (Stake mails followers each release). */
.release-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.release-head .release-caption { margin: 0; }
.release-head .text-link { font-size: .9375rem; }@media (min-width: 641px) { .release-head .text-link { flex: none; white-space: nowrap; } }.release-line .release-head a { display: inline-flex; align-items: center; justify-items: normal; gap: 12px; padding: 0; color: var(--text); }
/* 27 Oct (round 3 U17): an article's section list under its lead; anchors land clear of the top edge. */
.post-toc { margin: 0 0 36px; padding: 14px 0 14px 20px; border-left: 2px solid var(--accent); }
.post-toc-title { margin: 0 0 8px; color: var(--muted); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.post-toc ol { display: grid; gap: 2px; margin: 0; padding-left: 20px; }
.post-toc li { padding-left: 4px; color: var(--muted); font-size: .9375rem; }
.post-toc a { display: inline-block; padding-block: 6px; color: var(--text); font-size: inherit; text-decoration: none; }
.post-toc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.prose h2[id] { scroll-margin-top: 24px; }
/* On stream: the streamers who played a game, each card a link to the channel (27 Oct 2026). */
.stream-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.stream-list li { display: flex; flex-direction: column; gap: 2px; padding: 14px 20px; border: 1px solid var(--line); border-radius: var(--r-m); }
.stream-list .text-link { gap: 8px; min-height: 32px; }
.stream-list li > span { color: var(--muted); font-size: .875rem; }
.stream-list .stream-watch { margin-top: 8px; color: var(--accent); font-size: .875rem; font-weight: 650; text-decoration: none; }
.stream-list .stream-watch:hover { text-decoration: underline; }
/* Languages (27 Oct 2026): the footer's list and a translated page's way back to English. */
.footer-languages { color: #8f9aa3; }
.footer-languages a { color: #b9c3cb; text-decoration: none; }
.footer-languages a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-languages a[aria-current] { color: #fff; font-weight: 650; }
/* The footer's last row (design review S6, 28 Oct 2026): the mark, the 18+ line at a reading measure, the languages and
   the copyright on the right; one column below 1101 px. */
.footer-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 16px 48px; }
.footer-legal { max-width: 64ch; color: #c3ccd3; font-size: .875rem; line-height: 1.6; }
.footer-row .footer-links { flex-direction: column; align-items: flex-end; gap: 6px; }
@media (max-width: 1100px) {
  .footer-row { grid-template-columns: minmax(0, 1fr); }
  .footer-row .footer-links { align-items: flex-start; }
}
.language-switch { margin: 18px 0 0; font-size: .9375rem; }
.language-switch a { color: var(--muted); text-underline-offset: 3px; }
.language-switch a:hover { color: var(--text); }
/* Studio numbers (28 Oct 2026): Engine Insights' players, bets, countries and live games under the release line. */
.studio-numbers { grid-column: 1 / -1; min-width: 0; }
.studio-numbers dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; margin: 0; }
@media (min-width: 641px) { .studio-numbers dl:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.studio-numbers dl > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; min-width: 0; container-type: inline-size; }
/* 18cqi keeps seven characters (125,392) inside their column down to a 280px phone; site.py writes millions as 1.2M. */
.studio-numbers dd { margin: 0; color: var(--text); font-size: clamp(2rem, 3.6vw, 3.5rem); font-size: min(clamp(2rem, 3.6vw, 3.5rem), 18cqi); font-weight: 850; font-stretch: var(--display); line-height: 1; font-variant-numeric: tabular-nums; }
.studio-numbers dt { color: var(--muted); font-size: .9375rem; }
.studio-numbers .numbers-note { margin: 24px 0 0; color: var(--muted); font-size: .8125rem; font-weight: 650; letter-spacing: .04em; }
.studio-numbers .numbers-note span { white-space: nowrap; }
@media (max-width: 640px) { .studio-numbers dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; } }
@media (min-width: 641px) and (max-width: 1100px) {
  :is(#games, .games-upcoming) .grid-games { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  :is(#games, .games-upcoming) .grid-games > .card { grid-column: span 2; }
  :is(#games, .games-upcoming) .grid-games > .card:nth-child(3n + 1):nth-last-child(2) { grid-column: 2 / span 2; }
  :is(#games, .games-upcoming) .grid-games > .card:nth-child(3n + 1):last-child { grid-column: 3 / span 2; }
}
/* Coming soon's heading column ends on the follow link, level with the cards' foot (review M3: a blank half). */
.games-upcoming .section-heading { flex-wrap: wrap; }
.upcoming-follow { flex-basis: 100%; font-size: .9375rem; }
@media (min-width: 1101px) {
  .games-upcoming .section-heading { align-self: stretch; flex-wrap: nowrap; }
  .games-upcoming .upcoming-follow { flex-basis: auto; margin-top: auto; padding-bottom: 6px; }
}
/* Review 28 Oct (S4, M2): the symbols stand in balanced rows (site.py sets --c7/--c5/--c3 from their count), over a
   deeper scrim, their names lifted off the art. */
.page-section.symbol-band .symbols { grid-template-columns: repeat(var(--c7, 7), minmax(0, 1fr)); }
@media (max-width: 1100px) { .page-section.symbol-band .symbols { grid-template-columns: repeat(var(--c5, 5), minmax(0, 1fr)); } }
@media (max-width: 640px) { .page-section.symbol-band .symbols { grid-template-columns: repeat(var(--c3, 3), minmax(0, 1fr)); } }
.symbol-band::before { background: linear-gradient(180deg, rgb(10 7 11 / .74), rgb(10 7 11 / .64) 45%, rgb(10 7 11 / .74)); }
.page-section.symbol-band :is(.symbol-name, .symbol-role) { text-shadow: 0 1px 8px rgb(0 0 0 / .85); }
/* The studio tile closes the press wall's last row (site.py sets --s4/--s3: the columns that row has left). */
.press-tile-studio { grid-column: span var(--s4, 1); aspect-ratio: auto; padding: 0; }
.press-tile-studio svg { width: min(82%, 280px); }  /* a wide tile keeps the row's height: no %-padding, a capped mark */
@media (max-width: 520px) { .press-tile-studio { grid-column: span var(--s3, 1); } }
/* Ways to play in whole rows on a wide screen (review M2: six modes ran 4 + 2): six as 3 + 3, five in one row. */
@media (min-width: 1101px) {
  :is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .modes:has(> li:nth-child(6):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  :is(.mimic-page, .stompkin-page, .rook-page, .neon-page, .catalog-page) .modes:has(> li:nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
/* A devlog data block (site.py data_blocks): a table whose figures come from the site's data, one bar a row. */
.data-table { margin: 36px 0; overflow-x: auto; }
.data-table table { width: 100%; border-collapse: collapse; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.data-table caption { margin-bottom: 14px; color: var(--muted); font-size: .875rem; line-height: 1.5; text-align: left; }
.data-table th, .data-table td { padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.data-table thead th { color: var(--muted); font-size: .8125rem; font-weight: 600; }
.data-table tbody th { font-weight: 650; }
.data-table td:nth-child(2) { width: 100%; }
.data-sd { display: flex; align-items: center; gap: 10px; }
.data-bar { flex: none; width: calc(var(--v) * clamp(56px, 22vw, 220px)); height: 10px; border-radius: 3px; background: var(--accent); }
.data-table figcaption { margin-top: 12px; color: var(--muted); font-size: .8125rem; }
@media (max-width: 520px) { .data-table table { font-size: .875rem; } .data-table th, .data-table td { padding-right: 10px; } .data-table tbody th { white-space: normal; } }

/* The Engine catalog (/engine/, 14 Nov 2026): data pages the Pages worker renders (site/engine-worker.js). Tables,
   one bar chart and one week-by-hour grid; no art of ours, one tile of the game's own on its page. */
.engine-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); align-items: start; }
.engine-hero h1 { overflow-wrap: anywhere; }
.engine-hero .intro { max-width: 62ch; }
.engine-hero .intro a, .engine-section p a, .engine-prose a, .engine-body .note a { text-underline-offset: 3px; }
.engine-cover { justify-self: end; width: min(100%, 300px); aspect-ratio: 3 / 4; margin: 0; overflow: hidden; border-radius: var(--r-l); background: var(--line); }
.engine-cover img { width: 100%; height: 100%; object-fit: cover; }
.engine-game-hero { align-items: center; }
.engine-game-hero .page-copy { min-width: 0; }
.engine-game-hero .crumbs ol { margin-bottom: clamp(16px, 2.2vw, 28px); }
.engine-game-hero h1 { max-width: none; margin: 0; }
.engine-byline { margin: 8px 0 0; color: var(--muted); font-size: .9375rem; overflow-wrap: anywhere; }
.engine-byline a, .engine-source a { color: var(--text); text-underline-offset: 3px; }
.engine-first-look { max-width: 60ch; margin: 18px 0 0; font-size: clamp(1.0625rem, 1.55vw, 1.25rem); line-height: 1.45; overflow-wrap: anywhere; }
.engine-source { color: var(--muted); font-size: .875rem; }
.engine-game-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 36rem;
  margin: 18px 0;
  padding: 12px 0;
  border-block: 1px solid var(--line);
}
.engine-game-specs > div { min-width: 0; padding-inline: clamp(8px, 1.4vw, 20px); }
.engine-game-specs > div:first-child { padding-left: 0; }
.engine-game-specs > div + div { border-left: 1px solid var(--line); }
.engine-game-specs dt { color: var(--muted); font-size: .8125rem; }
.engine-game-specs dd { margin: 2px 0 0; font-size: clamp(1rem, 1.8vw, 1.5rem); font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.engine-figures-source { margin: 16px 0 0; color: var(--muted); font-size: .8125rem; line-height: 1.45; }
.engine-figures-source a { text-underline-offset: 3px; }
.engine-figures-source + .engine-game-specs { margin-top: 5px; }
.engine-game-hero .actions, .engine-next-step .actions { align-items: center; gap: 4px 20px; }
.engine-game-hero .actions a, .engine-next-step a { max-width: 100%; overflow-wrap: anywhere; }
.engine-access-note { max-width: 68ch; margin: 10px 0 0; color: var(--muted); font-size: .8125rem; line-height: 1.45; }
.engine-next-step { max-width: 65rem; margin-block: 20px clamp(36px, 5vw, 56px); padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .engine-game-hero:has(> .engine-cover) {
    grid-template-columns: minmax(0, 1fr) clamp(56px, 18vw, 92px);
    gap: 0 14px;
    align-items: start;
  }
  .engine-game-hero:has(> .engine-cover) .page-copy { display: contents; }
  .engine-game-hero .page-copy > * { grid-column: 1 / -1; }
  .engine-game-hero:has(> .engine-cover) .crumbs { grid-row: 1; }
  .engine-game-hero:has(> .engine-cover) h1 { grid-area: 2 / 1; align-self: center; }
  .engine-game-hero:has(> .engine-cover) .engine-byline { grid-area: 3 / 1 / auto / -1; }
  .engine-game-hero > .engine-cover { grid-area: 2 / 2; width: 100%; border-radius: var(--r-s); }
  .engine-game-hero .page-copy > h1 { font-size: clamp(1.75rem, 7.4vw, 2.5rem); font-stretch: 105%; text-wrap: wrap; }
  .engine-game-hero .crumbs { min-width: 0; overflow-wrap: anywhere; }
}
.engine-body { padding-top: clamp(32px, 5vw, 56px); }
.engine-section { max-width: 1040px; margin: 0 0 clamp(48px, 7vw, 80px); }
.engine-section h2 { margin: 0 0 18px; font-size: clamp(1.5rem, 3vw, 2rem); }
.engine-section .section-heading { margin-bottom: 18px; }
.engine-section .section-heading h2 { margin: 0; }
.engine-section > p, .engine-prose p { max-width: 72ch; margin: 0 0 18px; }
.engine-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 32px; margin: 0 0 28px; }
.engine-facts > div { padding: 14px 0; border-top: 1px solid var(--line); }
.engine-facts dt { color: var(--muted); font-size: 0.875rem; }
.engine-facts dd { margin: 2px 0 0; font-size: 1.25rem; font-weight: 700; }
.engine-facts dd a { text-underline-offset: 3px; }
.engine-facts small { color: var(--muted); font-size: 0.8125rem; font-weight: 400; }
.engine-chart { max-width: 760px; margin: 20px 0 0; }
.engine-chart svg { width: 100%; height: 160px; fill: var(--accent); }
.engine-chart figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; color: var(--muted); font-size: 0.8125rem; }
.engine-chart + .engine-table-wrap { margin-top: 28px; }
.engine-heat { display: grid; gap: 3px; max-width: 760px; }
.engine-heat-row { display: grid; grid-template-columns: 40px repeat(24, minmax(0, 1fr)); gap: 3px; align-items: center; }
.engine-heat-row span, .engine-heat-axis b { color: var(--muted); font-size: 0.75rem; font-weight: 400; }
.engine-heat-row i { display: block; aspect-ratio: 1; min-height: 8px; border-radius: 3px; background: var(--accent); }
.engine-heat-axis b { grid-column: span 6; }
.engine-quote { max-width: 72ch; margin: 0; padding-left: 20px; border-left: 3px solid var(--accent); }
.engine-quote p { margin: 0 0 12px; overflow-wrap: anywhere; }
.engine-quote footer { color: var(--muted); font-size: 0.875rem; }
.engine-studio-description > summary { width: fit-content; min-height: 44px; padding-block: 10px; color: var(--text); font-weight: 650; cursor: pointer; }
.engine-studio-description > summary::marker { color: var(--accent); }
.engine-studio-description > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.engine-studio-description[open] > blockquote { margin-top: 8px; }
.engine-out { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; }
.engine-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin: 0; }
.engine-faq > div { padding: 18px 0; border-top: 1px solid var(--line); }
.engine-faq dt { font-weight: 700; }
.engine-faq dd { margin: 6px 0 0; color: var(--muted); }
.engine-links { display: grid; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.engine-links a { font-weight: 650; text-underline-offset: 3px; }
.engine-links small { margin-left: 6px; color: var(--muted); font-size: 0.8125rem; }
.engine-columns { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.engine-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 24px; }
.engine-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-m); }
.engine-card h3 { margin: 0 0 14px; font-size: 1.125rem; }
.engine-card h3 a { text-decoration: none; }
.engine-card .engine-links small { display: block; margin: 2px 0 0; }
.engine-card p { margin: 0; }
.engine-nav ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.engine-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9375rem; font-weight: 650; text-decoration: none; }
.engine-nav a:hover, .engine-nav a[aria-current] { border-color: var(--accent); color: var(--accent); }
.engine-table-wrap { margin: 0 0 24px; overflow-x: auto; }
.engine-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.engine-table th { padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.8125rem; font-weight: 650; text-align: left; white-space: nowrap; }
.engine-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.engine-table th:first-child, .engine-table td:first-child { width: 1%; padding-left: 0; color: var(--muted); white-space: nowrap; }
.engine-table a { font-weight: 650; text-decoration: none; }
.engine-table a:hover { text-decoration: underline; text-underline-offset: 3px; }
.engine-table td:nth-child(3) a { color: var(--muted); font-weight: 400; }
.engine-spark { width: 80px; height: 24px; color: var(--accent); }
.engine-move { margin-left: 4px; font-size: 0.6875rem; }
.engine-move.up { color: var(--live); }
.engine-move.down { color: var(--muted); }
.engine-pager { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 32px; color: var(--muted); }
.engine-pager a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); font-weight: 650; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .engine-hero { grid-template-columns: minmax(0, 1fr); }
  .engine-cover { justify-self: start; width: min(56%, 220px); }
  .engine-faq { grid-template-columns: minmax(0, 1fr); }
  .engine-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .engine-cards { grid-template-columns: minmax(0, 1fr); }
  .engine-wide { display: none; }
  .engine-table td, .engine-table th { padding-inline: 8px; }
  /* A finger, not a pointer: a list's link is at least 44 px tall (the live audit of 14 Nov found them 17-19 px). */
  .engine-table td { padding-block: 2px; }
  .engine-table a, .engine-links a, .engine-search a { display: inline-flex; align-items: center; min-height: 44px; }
  .engine-links { gap: 0; }
  .engine-links li { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; }
  .engine-links small { margin-left: 0; }
  .engine-card .engine-links small { flex-basis: 100%; margin: -8px 0 6px; }
}
.engine-search { max-width: 520px; margin: 0 0 20px; }
.engine-search label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 0.875rem; }
.engine-search input { width: 100%; min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-s); background: #1a1216; color: var(--text); font: inherit; }
.engine-search input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.engine-search ul { display: grid; margin: 8px 0 0; padding: 0; list-style: none; }
.engine-search li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.engine-search a { font-weight: 650; text-underline-offset: 3px; }
.engine-search small, .engine-search span { color: var(--muted); font-size: 0.8125rem; }
.outro-numbers { margin-top: 12px; color: var(--muted); }
.outro-numbers a { color: var(--text); text-underline-offset: 3px; }
.home-engine {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 6vw, 88px);
  padding-bottom: clamp(24px, 3.5vw, 48px);
  margin-bottom: clamp(36px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}
.home-engine-intro h2 { margin: 0; font-size: clamp(1.75rem, 3vw, 3.25rem); }
.home-engine-intro p { max-width: 42ch; margin: 8px 0 0; color: var(--muted); }
.home-engine-intro .text-link { color: var(--accent); }
.home-engine-tools { max-width: 42rem; }
.home-engine .engine-search { max-width: none; margin: 0; }
.home-engine .engine-search label { color: var(--text); font-weight: 650; }
.home-engine .engine-search input { border-color: #745b65; }
.home-engine .engine-search ul:empty { margin: 0; }
.home-engine-links { display: flex; align-items: start; flex-wrap: wrap; gap: 0 22px; }
.home-engine-links a, .home-engine-more summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  font-size: .9375rem;
  text-underline-offset: .2em;
}
.home-engine-more summary { display: list-item; align-content: center; color: var(--muted); cursor: pointer; }
.home-engine-more[open] { flex-basis: 100%; }
.home-engine-more > div { display: flex; flex-wrap: wrap; gap: 0 20px; }
.engine-search-retry { min-height: 44px; padding: 0 10px; border: 0; color: var(--accent); background: transparent; font: inherit; text-decoration: underline; cursor: pointer; }

.game-comparison { margin: 0 0 24px; border-block: 1px solid var(--line); }
.game-comparison-toggle { width: fit-content; padding: 12px 4px; color: var(--text); font-weight: 650; cursor: pointer; }
.game-comparison-toggle::marker { color: var(--accent); }
.game-comparison-note { margin: 0 0 12px; max-width: 60ch; color: var(--muted); font-size: .9375rem; }
.game-comparison summary:focus-visible, .game-comparison-scroll:focus-visible, .home-engine summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.game-comparison-scroll { overflow-x: auto; margin-bottom: 16px; }
.game-comparison-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .9375rem; line-height: 1.4; }
.game-comparison-table th, .game-comparison-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.game-comparison-table thead th { color: var(--muted); font-size: .875rem; }
.game-comparison-table tbody th { font-weight: 650; }
.game-comparison-table tbody th a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: .2em; }
.game-comparison-table td:nth-last-child(-n+2) { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) {
  .home-engine { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .home-engine-links { column-gap: 16px; }
  .game-comparison-table { min-width: 40rem; }
  .game-comparison-table th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    width: 7.5rem;
    border-right: 1px solid var(--line);
    background: var(--paper);
  }
}
.engine-prose h2 { margin: 48px 0 14px; font-size: clamp(1.375rem, 2.5vw, 1.75rem); }
.engine-prose > h2:first-child { margin-top: 0; }
.engine-badge { border-radius: 12px; }
.engine-embed { max-width: 760px; margin: 0; padding: 14px 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-s); background: #1a1216; font: 0.8125rem/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.engine-banner { max-width: 1040px; aspect-ratio: 11 / 2; margin: 0 0 clamp(32px, 5vw, 56px); overflow: hidden; border-radius: var(--r-m); background: var(--line); }
.engine-banner img { width: 100%; height: 100%; object-fit: cover; }
