/* srggaming.com: one stylesheet.
   The look is Zombie Invasion's own interface (the game's tools/ui3d/STYLE.md): a survivor's kit at
   night. Plates of khaki and olive, one ink for every outline, a light line inside the top edge and a
   dark one inside the bottom, signal yellow for what matters, blood red only for danger, hazard paint
   only where something can kill you. Lettering: Tektur (the game's face) for display, Archivo for text. */

/* ----------------------------------------------------------------------------------- fonts */

@font-face {
  font-family: "Tektur";
  src: url("/assets/fonts/tektur.0d222eb6a3.woff2") format("woff2");
  font-weight: 500 900;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo.e9595c2ab0.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-italic.51278aac7e.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
/* metric-matched stand-ins while the fonts load (no jump when they arrive) */
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial");
  size-adjust: 98.3%;
  ascent-override: 89.3%;
  descent-override: 21.4%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Tektur Fallback";
  src: local("Arial Narrow");
  size-adjust: 110.1%;
  ascent-override: 90.8%;
  descent-override: 27.2%;
  line-gap-override: 0%;
}

/* ----------------------------------------------------------------------------------- tokens */

/* THEMES. A page (<html data-theme>) or any element (a card, a reel slide, a press section) takes a theme; every
   colour below is a custom property, and the rest of the stylesheet only ever names the roles:
     --night   the page background           --night-1..4  plates and sections, lightest to deepest from the page
     --ink     the outline of everything     --cream       headings and strong text, --cream-2 body, --cream-3 quiet
     --yellow  the primary accent (buttons)  --yellow-d    its shade;  --accent-t the accent as small text,
     --accent-hi its hover;  --link links;   --khaki/--olive the secondary plates (--khaki-t: their text colour)
     --btn2-face the dark second button;     --rivet-d "block" or "none" (rivets only in the dark game themes)
     --*-rgb   channel triples for translucent layers: night, shade (scrims), shadow, hi (highlights), accent, plate
     --hf-text the header, footer, heroes and dialogs: always dark islands (.on-dark), even in a light theme
   The names are legacy (Zombie Invasion's STYLE.md); treat them as roles, not as colours.
   Themes: studio (default), zi3d, plowtown, arena, _template (copy me for the next game). */

:root {
  /* the same in every theme */
  --red: #cc3e30;
  --red-d: #96281e;
  --green: #7cc054;
  --green-d: #4e8a3a;
  --steel: #969288;
  --steel-d: #68645e;
  --rust: #b4522a;
  --brass: #d8b45c;
  --slime: #94d232;          /* the logo's green */
  --amber: #f6c448;          /* "Coming soon" */

  --font-d: "Tektur", "Tektur Fallback", "Arial Narrow", system-ui, sans-serif;
  --font-t: "Archivo", "Archivo Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --gut: 16px;
  --head-h: 64px;
  --r: 18px;
  --r-s: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 600px) { :root { --gut: 24px; } }
@media (min-width: 900px) { :root { --gut: 32px; --head-h: 72px; } }

/* studio: graphite and the silver of the SRG mark. No game's colour. */
:root, [data-theme="studio"] {
  --night: #0e0f12; --night-1: #14161a; --night-2: #1a1d22; --night-3: #22262c; --night-4: #2b3037; --ink: #0a0b0d;
  --night-rgb: 14 15 18; --shade-rgb: 8 9 11; --plate-rgb: 26 29 34; --shadow-rgb: 0 0 0; --hi-rgb: 255 255 255;
  --cream: #f1f3f5; --cream-2: #d0d5db; --cream-3: #9aa2ac; --cream-rgb: 241 243 245;
  --yellow: #d9dde3; --yellow-d: #8e96a1; --accent-rgb: 217 221 227; --accent-hi: #ffffff; --accent-t: #c4cad2; --link: #e3e7ec;
  --khaki: #aab1ba; --khaki-l: #cdd2d9; --khaki-d: #727a85; --khaki-rgb: 170 177 186; --khaki-t: #aab1ba; --khaki-lt: #cdd2d9;
  --olive: #5d6672; --olive-d: #444c56;
  --red-t: #ef6a58; --green-t: #7cc054;
  --btn2-face: #2a2e35; --btn2-face-d: #1a1d22;
  --line: rgb(241 243 245 / .1); --line-2: rgb(241 243 245 / .18); --line-3: rgb(241 243 245 / .3);
  --rivet-d: none; --rivet-1: #f4f6f8; --rivet-2: #c4cad2; --rivet-3: #868e99; --rivet-4: #4a5059;
  --foot-bg: linear-gradient(180deg, #14161a, #08090b); --head-solid: rgb(14 15 18 / .88); --grain: .05;
  --hf-text: #f1f3f5; --hf-text-2: #d0d5db; --on-media: #fff;
  --sky-1: #1d2128; --sky-2: #2b3037; --sky-3: #3b424b; --snow: #fff;
  --team-a: #4f8fe8; --team-b: #cc3e30;
  color-scheme: dark;
}

/* zi3d: Zombie Invasion's own kit (the game's tools/ui3d/STYLE.md): khaki and olive plates, signal yellow, brass rivets */
[data-theme="zi3d"] {
  --night: #0f0e0a; --night-1: #14130e; --night-2: #1a1812; --night-3: #221f17; --night-4: #2b271d; --ink: #211c16;
  --night-rgb: 15 14 10; --shade-rgb: 10 9 7; --plate-rgb: 26 24 18; --shadow-rgb: 0 0 0; --hi-rgb: 255 255 255;
  --cream: #f4eace; --cream-2: #dcd2b7; --cream-3: #aaa18c; --cream-rgb: 244 234 206;
  --khaki: #bda874; --khaki-l: #d9c89a; --khaki-d: #8c7a50; --khaki-rgb: 189 168 116; --khaki-t: #bda874; --khaki-lt: #d9c89a;
  --olive: #707c4c; --olive-d: #4e5a36;
  --yellow: #f6c448; --yellow-d: #c48c28; --accent-rgb: 246 196 72; --accent-hi: #ffd76e; --accent-t: #f6c448; --link: #f6c448;
  --red-t: #ef6a58; --green-t: #7cc054;
  --btn2-face: #34302a; --btn2-face-d: #1f1c17;
  --line: rgb(244 234 206 / .1); --line-2: rgb(244 234 206 / .18); --line-3: rgb(244 234 206 / .3);
  --rivet-d: block; --rivet-1: #fff3c4; --rivet-2: #e7c873; --rivet-3: #b8913c; --rivet-4: #6e5320;
  --foot-bg: linear-gradient(180deg, #14130e, #0a0907); --head-solid: rgb(15 14 10 / .86); --grain: .07;
  --hf-text: #f4eace; --hf-text-2: #dcd2b7; --on-media: #fff;
  --team-a: #4f8fe8; --team-b: #cc3e30;
  color-scheme: dark;
}

/* plowtown: light and snowy, all through the page. The game's own colours: the logo's navy #102050 and orange #E05000,
   the GDD palette (truck orange #F07A2A, sky #CFE3FF, ground #7FA6D9), the hero's sky gradient. */
[data-theme="plowtown"] {
  --night: #f3f8ff; --night-1: #e8f2ff; --night-2: #ffffff; --night-3: #ffffff; --night-4: #dcebfc; --ink: #102050;
  --night-rgb: 243 248 255; --shade-rgb: 16 32 80; --plate-rgb: 255 255 255; --shadow-rgb: 16 32 80; --hi-rgb: 255 255 255;
  --cream: #102050; --cream-2: #2b3d6b; --cream-3: #4d5f8a; --cream-rgb: 16 32 80;
  --yellow: #f07a2a; --yellow-d: #e05000; --accent-rgb: 240 122 42; --accent-hi: #ff9347; --accent-t: #b84300; --link: #1d5fc4;
  --khaki: #7fb2ee; --khaki-l: #a9cdf6; --khaki-d: #3670b9; --khaki-rgb: 127 178 238; --khaki-t: #2f67ae; --khaki-lt: #2b5fa8;
  --olive: #2f6fd0; --olive-d: #1d3a68;
  --red-t: #b3342a; --green-t: #397321;
  --btn2-face: #1d3a68; --btn2-face-d: #102050;
  --line: rgb(16 32 80 / .12); --line-2: rgb(16 32 80 / .2); --line-3: rgb(16 32 80 / .32);
  --rivet-d: none; --rivet-1: #fff; --rivet-2: #dcebfc; --rivet-3: #86b5ee; --rivet-4: #3670b9;
  --foot-bg: linear-gradient(180deg, #14275c, #0b1536); --head-solid: rgb(13 26 60 / .9); --grain: 0;
  --hf-text: #f4f8ff; --hf-text-2: #b8c6e6; --on-media: #fff;
  --sky-1: #1d3a68; --sky-2: #3670b9; --sky-3: #86b5ee; --snow: #ffffff;
  color-scheme: light;
}

/* arena: dark and cooler than Zombie Invasion; the two teams' colours (from the arena page's own stylesheet) */
[data-theme="arena"] {
  --night: #0b0e13; --night-1: #11161e; --night-2: #161c26; --night-3: #1d2430; --night-4: #262e3c; --ink: #07090c;
  --night-rgb: 11 14 19; --shade-rgb: 6 8 11; --plate-rgb: 22 28 38; --shadow-rgb: 0 0 0; --hi-rgb: 255 255 255;
  --cream: #eef2f7; --cream-2: #cfd7e2; --cream-3: #97a3b3; --cream-rgb: 238 242 247;
  --yellow: #4f8fe8; --yellow-d: #2c5fb0; --accent-rgb: 79 143 232; --accent-hi: #8fbaf5; --accent-t: #8fbaf5; --link: #8fbaf5;
  --khaki: #8e9db3; --khaki-l: #b9c5d6; --khaki-d: #627189; --khaki-rgb: 142 157 179; --khaki-t: #8e9db3; --khaki-lt: #b9c5d6;
  --olive: #4a5a73; --olive-d: #34415a;
  --red-t: #ef6a58; --green-t: #7cc054;
  --btn2-face: #252d3a; --btn2-face-d: #171c26;
  --line: rgb(238 242 247 / .1); --line-2: rgb(238 242 247 / .18); --line-3: rgb(238 242 247 / .3);
  --rivet-d: block; --rivet-1: #e4efff; --rivet-2: #a9c8f2; --rivet-3: #5b8bc9; --rivet-4: #2c4f80;
  --foot-bg: linear-gradient(180deg, #11161e, #07090c); --head-solid: rgb(11 14 19 / .88); --grain: .06;
  --hf-text: #eef2f7; --hf-text-2: #cfd7e2; --on-media: #fff;
  --team-a: #4f8fe8; --team-b: #cc3e30;
  color-scheme: dark;
}

/* _template: copy this block for the next game (README: "Adding a game"). Fill the ~14 values that say COPY ME;
   the rest can stay. Keep the text colours at 4.5:1 or better on --night. Light example: Plow Town. */
[data-theme="_template"] {
  --night: #f3f8ff; /* COPY ME: page background */
  --night-1: #e8f2ff; --night-2: #ffffff; --night-3: #ffffff; --night-4: #dcebfc; /* COPY ME: plates */
  --ink: #102050; /* COPY ME: outlines */
  --night-rgb: 243 248 255; --shade-rgb: 16 32 80; --plate-rgb: 255 255 255; --shadow-rgb: 16 32 80; --hi-rgb: 255 255 255;
  --cream: #102050; --cream-2: #2b3d6b; --cream-3: #4d5f8a; --cream-rgb: 16 32 80; /* COPY ME: text */
  --yellow: #f07a2a; --yellow-d: #e05000; --accent-rgb: 240 122 42; --accent-hi: #ff9347; /* COPY ME: the accent */
  --accent-t: #b84300; --link: #1d5fc4; /* COPY ME: accent and links as text */
  --khaki: #7fb2ee; --khaki-l: #a9cdf6; --khaki-d: #3670b9; --khaki-rgb: 127 178 238; --khaki-t: #2f67ae; --khaki-lt: #2b5fa8;
  --olive: #2f6fd0; --olive-d: #1d3a68;
  --red-t: #b3342a; --green-t: #397321;
  --btn2-face: #1d3a68; --btn2-face-d: #102050; /* COPY ME: the second button */
  --line: rgb(16 32 80 / .12); --line-2: rgb(16 32 80 / .2); --line-3: rgb(16 32 80 / .32);
  --rivet-d: none; --rivet-1: #fff; --rivet-2: #dcebfc; --rivet-3: #86b5ee; --rivet-4: #3670b9;
  --foot-bg: linear-gradient(180deg, #14275c, #0b1536); --head-solid: rgb(13 26 60 / .9); --grain: 0; /* COPY ME: footer, header */
  --hf-text: #f4f8ff; --hf-text-2: #b8c6e6; --on-media: #fff;
  --sky-1: #1d3a68; --sky-2: #3670b9; --sky-3: #86b5ee; --snow: #ffffff;
  color-scheme: light;
}

/* a themed element (a card, a reel slide) carries its own text colour: colour is inherited by value, not by variable */
[data-theme]:not(html) { color: var(--cream-2); }
/* dark islands: the header, footer, dialogs, heroes with pictures: dark with light text, in every theme */
.on-dark { --cream: var(--hf-text); --cream-2: var(--hf-text-2); --cream-3: var(--hf-text-2); --accent-t: var(--accent-hi); --link: var(--accent-hi); color: var(--hf-text-2); }
/* Plow Town's dim blues, greens and reds are chosen for the light page (4.5:1 on snow); on its navy islands (header,
   footer, hero, dialogs) they would be 2.3 to 2.8:1: the quiet labels and the hero line's orange take light ones there. */
[data-theme="plowtown"] .on-dark, [data-theme="plowtown"].on-dark, [data-theme="_template"] .on-dark, [data-theme="_template"].on-dark { --khaki-t: #9cc3f5; --khaki-lt: #b8c6e6; --green-t: #6fcf4a; --red-t: #ef6a58; --accent-t: #ffc690; }

/* ----------------------------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--head-h) + 16px);
  background: var(--night);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--night);
  color: var(--cream-2);
  font: 400 1rem/1.62 var(--font-t);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
@media (min-width: 900px) { body { font-size: 1.0625rem; } }
/* film grain over everything: one SVG tile, never in the way */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background: url("/assets/grain.d54c97b1e7.svg");
  background-size: 220px 220px;
  opacity: var(--grain, .07);
  mix-blend-mode: overlay;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
picture { display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--accent-hi); }
p, ul, ol, dl, figure, blockquote { margin: 0; }
:where(ul, ol)[role="list"] { list-style: none; padding: 0; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--cream); font-family: var(--font-d); font-weight: 800; line-height: 1.05; text-wrap: balance; }
p { text-wrap: pretty; }
b, strong { color: var(--cream); font-weight: 650; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
/* Plow Town: the orange accent is only 2.6:1 on snow, so on the light page the ring is navy (and white on its navy islands) */
[data-theme="plowtown"] :focus-visible, [data-theme="_template"] :focus-visible { outline-color: var(--ink); }
[data-theme="plowtown"] .on-dark :focus-visible, [data-theme="plowtown"].on-dark :focus-visible, [data-theme="_template"] .on-dark :focus-visible { outline-color: #fff; }
::selection { background: var(--yellow); color: var(--ink); }
hr { border: 0; height: 1px; background: var(--line); margin: 32px 0; }
main:focus { outline: none; }

.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 10px; border: 3px solid var(--ink);
  background: var(--yellow); color: var(--ink); font: 800 .9rem/1 var(--font-d); text-transform: uppercase; letter-spacing: .08em; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: 860px; }
.mt-xl { margin-top: clamp(44px, 6vw, 80px); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon.inline { display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -.18em; color: var(--red-t); }

/* ----------------------------------------------------------------------------------- type */

.kicker {
  display: inline-flex; align-items: center; gap: .7em;
  font: 700 .78rem/1.2 var(--font-d); font-stretch: 100%;
  letter-spacing: .2em; text-transform: uppercase; color: var(--accent-t);
}
.kicker::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: currentColor; flex: none; }
.h-xl, .h-l, .h-m {
  font-weight: 900; font-stretch: 75%; text-transform: uppercase; letter-spacing: .005em; color: var(--cream);
}
.h-xl { font-size: clamp(2.6rem, 1.4rem + 5.6vw, 5.6rem); line-height: .92; }
.h-l { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 4rem); line-height: .95; }
.h-m { font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.5rem); line-height: 1; }
.ink-shadow { text-shadow: 0 3px 0 var(--ink), 0 0 24px rgb(var(--shadow-rgb) / .45); }
.accent { color: var(--accent-t); }
.lead { font-size: clamp(1.06rem, 1rem + .35vw, 1.25rem); line-height: 1.6; color: var(--cream-2); }
.muted { color: var(--cream-3); }
.small { font-size: .875rem; }

.sec { position: relative; padding-block: clamp(64px, 9vw, 128px); }
.sec-tight { padding-block: clamp(44px, 6vw, 80px); }
.sec-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-alt { background: linear-gradient(180deg, var(--night-1), var(--night) 70%); }
/* the map's survey grid, faint, behind some sections */
.sec-grid::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background:
    linear-gradient(rgb(var(--khaki-rgb) / .05) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgb(var(--khaki-rgb) / .05) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
}
.sec-grid { isolation: isolate; }

/* ----------------------------------------------------------------------------------- the kit's pieces */

/* buttons: a coloured face, the ink round it, a light line in the top edge, a dark one in the bottom */
.btn {
  --face: var(--yellow); --face-d: var(--yellow-d); --txt: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: .78em 1.4em .72em;
  font: 800 1rem/1 var(--font-d); font-stretch: 80%; letter-spacing: .07em; text-transform: uppercase;
  color: var(--txt); text-decoration: none; cursor: pointer; white-space: nowrap;
  background: linear-gradient(180deg, var(--face) 0%, var(--face) 52%, var(--face-d) 100%);
  border: 3px solid var(--ink); border-radius: 14px;
  box-shadow: inset 0 3px 0 rgb(var(--hi-rgb) / .38), inset 0 -3px 0 rgb(var(--shadow-rgb) / .22), 0 5px 0 rgb(var(--shadow-rgb) / .38), 0 12px 22px rgb(var(--shadow-rgb) / .32);
  transition: transform .14s var(--ease), box-shadow .14s var(--ease), filter .14s;
}
.btn:hover { color: var(--txt); filter: brightness(1.07); transform: translateY(-1px); }
.btn:active { transform: translateY(3px); box-shadow: inset 0 3px 0 rgb(var(--hi-rgb) / .3), inset 0 -2px 0 rgb(var(--shadow-rgb) / .22), 0 2px 0 rgb(var(--shadow-rgb) / .38); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn-sm { min-height: 40px; padding: .62em 1em .56em; font-size: .82rem; border-radius: 11px; }
.btn-lg { min-height: 58px; font-size: 1.12rem; padding-inline: 1.7em; }
.btn-dark {
  --face: var(--btn2-face); --face-d: var(--btn2-face-d); --txt: var(--hf-text);
  text-shadow: 0 2px 0 var(--ink);
  box-shadow: inset 0 3px 0 rgb(var(--hi-rgb) / .1), inset 0 -3px 0 rgb(var(--shadow-rgb) / .3), 0 0 0 1px var(--line-2), 0 5px 0 rgb(var(--shadow-rgb) / .38), 0 12px 22px rgb(var(--shadow-rgb) / .32);
}
.btn-dark:hover { color: var(--hf-text); }
.btn-green { --face: var(--green); --face-d: var(--green-d); --txt: var(--hf-text); text-shadow: 0 2px 0 var(--ink), 0 0 2px var(--ink); }
.btn-khaki { --face: var(--khaki-l); --face-d: var(--khaki); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .btn-row, .btn-row.center { justify-content: center; }

/* tags: small plates with the ink lettering painted on */
.tag {
  display: inline-flex; align-items: center; gap: .4em;
  font: 800 .7rem/1 var(--font-d); letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 9px 5px; border-radius: 8px; border: 2px solid var(--ink);
  box-shadow: inset 0 2px 0 rgb(var(--hi-rgb) / .28), inset 0 -2px 0 rgb(var(--shadow-rgb) / .15);
  white-space: nowrap;
}
.tag-khaki { background: var(--khaki); color: var(--ink); }
.tag-yellow { background: var(--yellow); color: var(--ink); }
.tag-olive { background: var(--olive-d); color: var(--hf-text); box-shadow: inset 0 2px 0 rgb(var(--hi-rgb) / .12); }
.tag-red { background: var(--red); color: var(--hf-text); }
.tag-night { background: var(--night-3); color: var(--cream-2); border-color: var(--line-2); box-shadow: none; }

/* plates: the dark cards; .rivets puts four brass rivets on the corners of a big one */
.plate {
  position: relative;
  background: linear-gradient(180deg, var(--night-3), var(--night-2) 40%, var(--night-1));
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: inset 0 1px 0 rgb(var(--hi-rgb) / .05), 0 18px 40px rgb(var(--shadow-rgb) / .35);
}
.rivets { position: relative; }
.rivets::after {
  display: var(--rivet-d, block);
  content: ""; position: absolute; inset: 11px; pointer-events: none; z-index: 2;
  --rv: radial-gradient(circle at 42% 38%, var(--rivet-1) 0 .7px, var(--rivet-2) 1.2px, var(--rivet-3) 3px, var(--rivet-4) 4.2px, transparent 4.8px);
  background: var(--rv) left top / 10px 10px no-repeat, var(--rv) right top / 10px 10px no-repeat,
              var(--rv) left bottom / 10px 10px no-repeat, var(--rv) right bottom / 10px 10px no-repeat;
}

/* hazard paint: only where something can kill you */
.hazard {
  height: 12px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 12px, var(--ink) 12px 24px);
  border-block: 2px solid var(--ink);
}

/* bars: the night trough and its fill (the boss's in blood red, with hazard ends) */
.bar {
  position: relative; display: block; height: 14px; border-radius: 8px; overflow: hidden;
  background: #0b0a07; border: 2px solid var(--ink);
  box-shadow: inset 0 -2px 0 rgb(var(--cream-rgb) / .07), 0 0 0 1px var(--line);
}
.bar-sm { height: 10px; border-radius: 6px; }
.bar-fill {
  display: block; height: 100%; border-radius: 4px 0 0 4px;
  background: linear-gradient(180deg, #ea6252 0%, var(--red) 55%, var(--red-d) 100%);
  box-shadow: inset 0 2px 0 rgb(var(--hi-rgb) / .25);
}
.bar-boss { height: 16px; padding-inline: 10px; }
.bar-boss::before, .bar-boss::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 10px; z-index: 1;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 4px, var(--ink) 4px 8px);
}
.bar-boss::before { left: 0; }
.bar-boss::after { right: 0; }
.bar-dead .bar-fill { background: linear-gradient(180deg, #a3d86c, var(--green) 55%, var(--green-d)); }

/* the round "coming soon" line */
.soon {
  display: inline-flex; align-items: center; gap: .6em;
  font: 700 .8rem/1.35 var(--font-d); letter-spacing: .16em; text-transform: uppercase; color: var(--cream);
  padding: .62em 1.1em .58em; border-radius: 999px;
  background: rgb(var(--night-rgb) / .62); border: 1px solid var(--line-3);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.soon .icon { width: 1.1em; height: 1.1em; color: var(--green-t); }
.soon-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(124, 192, 84, .55); flex: none; }
@media (prefers-reduced-motion: no-preference) { .soon-dot { animation: ping 2.2s var(--ease) infinite; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(124, 192, 84, .6); } 70% { box-shadow: 0 0 0 9px rgba(124, 192, 84, 0); } 100% { box-shadow: 0 0 0 0 rgba(124, 192, 84, 0); } }
.store-badge img { width: 180px; height: auto; }
/* the store link keeps its own width where it sits in a grid (the game card, the footer) */
.gcard-tx > .store-link, .gcard-tx > .store-badge, .foot-brand > .store-link, .foot-brand > .store-badge { justify-self: start; }
.on-dark .soon { background: rgb(var(--shade-rgb) / .55); color: var(--hf-text); }
.soon-quiet { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; padding-inline: 0; border: 0; color: var(--cream-2); }

/* radio lines from the game: who speaks, and the crackle */
.radio {
  position: relative; display: grid; gap: 8px;
  padding: 16px 18px 16px 20px; border-radius: 14px;
  background: linear-gradient(90deg, rgba(124, 192, 84, .09), rgba(124, 192, 84, 0) 70%), var(--night-2);
  border: 1px solid rgba(124, 192, 84, .22); border-left: 4px solid var(--green);
}
.radio p { font: italic 500 1.02rem/1.5 var(--font-t); color: var(--cream); }
.radio-who {
  display: inline-flex; align-items: center; gap: .55em; width: max-content;
  font: 800 .72rem/1 var(--font-d); letter-spacing: .2em; text-transform: uppercase; color: var(--green-t);
}
.radio-who::before {
  content: ""; width: 26px; height: 10px; flex: none;
  background: linear-gradient(90deg, currentColor 0 3px, transparent 3px 6px, currentColor 6px 9px, transparent 9px 12px, currentColor 12px 15px, transparent 15px 18px, currentColor 18px 21px, transparent 21px);
  -webkit-mask: linear-gradient(0deg, #000 0 30%, transparent 30%) 0 0 / 6px 100%, linear-gradient(0deg, #000 0 100%, transparent 100%);
  opacity: .9;
}
@media (prefers-reduced-motion: no-preference) {
  .radio-who::before { animation: crackle 1.1s steps(4) infinite; }
}
@keyframes crackle { 0% { clip-path: inset(30% 0 0 0); } 25% { clip-path: inset(0 0 0 0); } 50% { clip-path: inset(55% 0 0 0); } 75% { clip-path: inset(15% 0 0 0); } }
.radio-warlord { background: linear-gradient(90deg, rgba(204, 62, 48, .12), rgba(204, 62, 48, 0) 70%), var(--night-2); border-color: rgba(204, 62, 48, .3); border-left-color: var(--red); }
.radio-warlord .radio-who { color: var(--red-t); }

/* ----------------------------------------------------------------------------------- header */

.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background-color .3s, box-shadow .3s, -webkit-backdrop-filter .3s, backdrop-filter .3s;
}
.site-head::before {
  content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgb(var(--shade-rgb) / .78), rgb(var(--shade-rgb) / 0));
  transition: opacity .3s;
}
.site-head.is-solid {
  background: var(--head-solid);
  -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgb(var(--shadow-rgb) / .35);
}
.site-head.is-solid::before { opacity: 0; }
.head-in {
  height: var(--head-h); max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); flex: none; }
.brand-mark img { width: 74px; height: auto; filter: drop-shadow(0 2px 0 rgb(var(--shadow-rgb) / .6)); }
.brand-word {
  font: 800 .8rem/1 var(--font-d); letter-spacing: .34em; text-transform: uppercase; color: var(--cream-2);
  padding-left: 10px; border-left: 1px solid var(--line-3);
}
.brand:hover .brand-word { color: var(--accent-t); }

.nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 4px; margin: 0; }
.nav-list a:not(.btn) {
  display: block; padding: 10px 12px; border-radius: 10px;
  font: 700 .8rem/1 var(--font-d); letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream); text-decoration: none; position: relative;
}
.nav-list a:not(.btn):hover { color: var(--accent-t); }
.nav-list a[aria-current="page"]:not(.btn) { color: var(--accent-t); }
.nav-list a[aria-current="page"]:not(.btn)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; border-radius: 2px; background: var(--yellow);
}
.nav-cta { margin-left: 10px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; padding: 0; place-items: center; cursor: pointer;
  border-radius: 12px; border: 3px solid var(--ink); color: var(--ink);
  background: linear-gradient(180deg, var(--khaki-l) 0 52%, var(--khaki));
  box-shadow: inset 0 3px 0 rgb(var(--hi-rgb) / .4), inset 0 -3px 0 rgb(var(--shadow-rgb) / .18), 0 4px 0 rgb(var(--shadow-rgb) / .4);
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-ico-close { display: block; }

@media (max-width: 899px) {
  /* without the script the menu simply wraps under the mark */
  .no-js .head-in { height: auto; min-height: var(--head-h); flex-wrap: wrap; padding-block: 10px; }
  .no-js .nav-list { flex-wrap: wrap; }
  .no-js .nav-cta { display: none; }
  .js .nav-toggle { display: grid; }
  .js .nav-list {
    position: fixed; left: 0; right: 0; top: var(--head-h); bottom: 0; z-index: 59;
    display: none; flex-direction: column; align-items: stretch; gap: 6px;
    padding: 18px var(--gut) calc(28px + env(safe-area-inset-bottom));
    background: var(--foot-bg);
    border-top: 1px solid var(--line); overflow-y: auto;
  }
  .js .nav.is-open .nav-list { display: flex; }
  .js .nav-list a:not(.btn) {
    padding: 18px 6px; border-radius: 0; border-bottom: 1px solid var(--line);
    font-size: 1.6rem; font-weight: 900; font-stretch: 75%; letter-spacing: .04em;
  }
  .js .nav-list a[aria-current="page"]:not(.btn)::after { left: 6px; right: auto; width: 34px; bottom: 10px; }
  .js .nav-cta { margin: 22px 0 0; }
  .js .nav-cta .btn { width: 100%; min-height: 56px; font-size: 1.05rem; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-head { background: var(--head-solid); }
}

/* pages without a big picture on top: the header is solid from the start */
.page-plain .site-head { background: var(--head-solid); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.page-plain .site-head::before { opacity: 0; }
.page-plain main { padding-top: var(--head-h); }

/* ----------------------------------------------------------------------------------- hero */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(620px, 100svh); max-height: 1180px;
  display: grid; align-items: end; justify-items: center;
  padding: calc(var(--head-h) + 40px) var(--gut) clamp(40px, 8vh, 96px);
  background: var(--night);
}
@media (min-width: 900px) { .hero { min-height: max(680px, 100svh); } }
.hero-media, .hero-media .vloop, .hero-media picture { position: absolute; inset: 0; z-index: -3; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media img { object-position: 50% 60%; }
@media (orientation: portrait) and (max-width: 899px) { .hero-media img { object-position: 50% 42%; } }
.vloop video { opacity: 0; transition: opacity 1.2s var(--ease); }
.vloop.is-playing video { opacity: 1; }
.hero-shade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(180deg, rgb(var(--shade-rgb) / .55) 0%, rgb(var(--shade-rgb) / 0) 26%),
    linear-gradient(0deg, var(--night) 0%, rgb(var(--night-rgb) / .86) 18%, rgb(var(--night-rgb) / .2) 52%, rgb(var(--night-rgb) / 0) 70%),
    radial-gradient(120% 90% at 50% 45%, rgb(var(--shadow-rgb) / 0) 45%, rgb(var(--shadow-rgb) / .55) 100%);
}
.embers { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.hero-inner { width: 100%; max-width: 980px; display: grid; justify-items: center; text-align: center; gap: clamp(14px, 2.2vh, 22px); }
.hero-logo { margin: 0; line-height: 0; }
.hero-logo img { width: min(88vw, 780px); filter: drop-shadow(0 14px 22px rgb(var(--shadow-rgb) / .65)); }
.hero-tag {
  max-width: 34ch; text-wrap: balance;
  font: 800 clamp(1.05rem, .78rem + 1.25vw, 1.6rem)/1.28 var(--font-d); font-stretch: 85%;
  letter-spacing: .07em; text-transform: uppercase; color: var(--cream);
  text-shadow: 0 2px 0 var(--ink), 0 0 2px var(--ink), 0 0 26px rgb(var(--shadow-rgb) / .8);
}
.hero-tag .accent { color: var(--accent-t); }
.hero-cta { justify-content: center; margin-top: 6px; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  width: 40px; height: 40px; display: grid; place-items: center; color: var(--cream-3); border-radius: 50%;
}
.hero-scroll .icon { width: 22px; height: 22px; }
@media (prefers-reduced-motion: no-preference) { .hero-scroll .icon { animation: nudge 2.4s var(--ease) infinite; } }
@keyframes nudge { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(6px); } }
@media (max-height: 700px) { .hero-scroll { display: none; } }

/* the game page's hero: the key art. Luka, Maya and the Alpha stand in its lower middle, so the words
   keep out of their way: on a wide screen in a column on the left (where the art's own logo version
   puts its logo), on a phone held upright the logo and the line in the empty sky, the buttons under
   the survivors' feet. */
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hero-facts .tag { font-size: .68rem; }
.hero-game .hero-shade {
  background:
    linear-gradient(180deg, rgb(var(--shade-rgb) / .6) 0%, rgb(var(--shade-rgb) / 0) 30%),
    linear-gradient(0deg, var(--night) 0%, rgb(var(--night-rgb) / .55) 9%, rgb(var(--night-rgb) / 0) 26%);
}
@media (orientation: landscape), (min-width: 900px) {
  .hero-game { align-items: start; justify-items: stretch; padding-top: calc(var(--head-h) + clamp(18px, 5vh, 64px)); }
  .hero-game .hero-inner { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); justify-items: start; text-align: left; }
  .hero-game .hero-inner > * { max-width: min(620px, 46vw); }
  .hero-game .hero-logo img { width: min(42vw, 600px, 62vh); }
  .hero-game .hero-tag { max-width: 24ch; }
  .hero-game .hero-cta, .hero-game .hero-facts { justify-content: flex-start; }
  .hero-game .hero-media img { object-position: 50% 62%; }
  .hero-game .hero-shade {
    background:
      linear-gradient(90deg, rgb(var(--shade-rgb) / .74) 0%, rgb(var(--shade-rgb) / .42) 24%, rgb(var(--shade-rgb) / 0) 46%),
      linear-gradient(180deg, rgb(var(--shade-rgb) / .55) 0%, rgb(var(--shade-rgb) / 0) 22%),
      linear-gradient(0deg, var(--night) 0%, rgb(var(--night-rgb) / .5) 8%, rgb(var(--night-rgb) / 0) 24%);
  }
}
@media (orientation: portrait) and (max-width: 899px) {
  .hero-game { align-items: start; padding-top: calc(var(--head-h) + clamp(14px, 3vh, 40px)); }
  .hero-game .hero-media img { object-position: 50% 30%; }
}
@media (orientation: portrait) and (max-width: 599px) {
  .hero-game { align-items: stretch; padding-bottom: clamp(22px, 4vh, 48px); }
  .hero-game .hero-inner { grid-template-rows: auto auto 1fr auto; }
  .hero-game .hero-cta { grid-row: 4; align-self: end; }
  .hero-game .hero-cta { gap: 10px; }   /* (GET IT ON GOOGLE PLAY and WATCH TRAILER: one under the other) */
  .hero-game .hero-cta .btn { min-height: 50px; font-size: .92rem; padding-inline: 1em; }
  /* the tags stay off: the store button says "out now", and the two buttons need the room under the
     survivors' feet */
  .hero-game .hero-facts { display: none; }
}

/* ----------------------------------------------------------------------------------- home */

.studio-line { display: grid; gap: 18px; justify-items: center; text-align: center; }
.studio-line .lead { max-width: 60ch; }
.studio-line .srg-big img { width: 170px; filter: drop-shadow(0 6px 12px rgb(var(--shadow-rgb) / .6)); }

.gcard {
  display: grid; overflow: hidden; border-radius: 26px;
  background: var(--night-2); border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgb(var(--shadow-rgb) / .45);
}
.gcard-art { position: relative; min-height: 340px; overflow: hidden; }
.gcard-art > picture, .gcard-art > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gcard-art > picture img { object-position: 50% 38%; transition: transform 1.2s var(--ease); }
.gcard:hover .gcard-art > picture img { transform: scale(1.03); }
.gcard-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(var(--plate-rgb) / .9), rgb(var(--plate-rgb) / 0) 45%); }
.gcard-logo { position: absolute; left: 50%; bottom: 18px; z-index: 1; transform: translateX(-50%); width: min(78%, 420px); }
@media (min-width: 900px) { .gcard-logo { display: none; } }
.gcard-logo img { width: 100%; filter: drop-shadow(0 8px 14px rgb(var(--shadow-rgb) / .6)); }
.gcard-tx { position: relative; padding: clamp(24px, 4vw, 56px); display: grid; gap: 18px; align-content: center; }
.gcard-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.gcard-facts li { background: var(--night-1); padding: 14px 10px 12px; text-align: center; }
.gcard-facts b { display: block; font: 900 2rem/1 var(--font-d); font-stretch: 75%; color: var(--accent-t); text-shadow: 0 2px 0 var(--ink); }
.gcard-facts span { display: block; margin-top: 4px; font: 700 .7rem/1.1 var(--font-d); letter-spacing: .14em; text-transform: uppercase; color: var(--cream-2); }
@media (min-width: 900px) {
  .gcard { grid-template-columns: 1.08fr 1fr; }
  .gcard-art { min-height: 560px; }
  .gcard-art::after { background: linear-gradient(90deg, rgb(var(--plate-rgb) / 0) 55%, rgb(var(--plate-rgb) / .95)); }
}

.teasers { display: grid; gap: 16px; }
@media (min-width: 760px) { .teasers { grid-template-columns: repeat(3, 1fr); } }
.teaser {
  position: relative; display: grid; align-content: end; min-height: 360px; padding: 22px;
  border-radius: 20px; overflow: hidden; isolation: isolate; text-decoration: none; color: var(--cream-2);
  border: 1px solid var(--line); background: var(--night-2);
}
.teaser picture, .teaser img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.teaser img { transition: transform .9s var(--ease); }
.teaser:hover img { transform: scale(1.05); }
.teaser::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(var(--shade-rgb) / .96) 8%, rgb(var(--shade-rgb) / .55) 50%, rgb(var(--shade-rgb) / .05)); }
.teaser h3 { font-size: 1.7rem; font-weight: 900; font-stretch: 75%; text-transform: uppercase; }
.teaser p { margin-top: 6px; font-size: .95rem; }
.teaser .more { margin-top: 12px; display: inline-flex; align-items: center; gap: .5em; font: 800 .78rem/1 var(--font-d); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-t); }
.teaser .more .icon { width: 1.1em; height: 1.1em; transition: transform .2s; }
.teaser:hover .more .icon { transform: translateX(4px); }
.teaser:hover { color: var(--cream-2); }

/* ----------------------------------------------------------------------------------- the game page */

.nums-wrap { margin-top: clamp(36px, 5vw, 64px); }
.feat-pic img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.radio-quote { grid-template-columns: auto 1fr; align-items: center; gap: 12px; padding: 12px 14px; }
.radio-quote > span:last-child { font: italic 500 1rem/1.4 var(--font-t); color: var(--cream); }
.bosses-in { margin-top: 28px; }
.page-top.hero-pad { padding-top: calc(var(--head-h) + clamp(56px, 9vw, 120px)); padding-bottom: clamp(40px, 6vw, 72px); }
.page-top .srg-big img, .hero-pad .srg-big img { width: clamp(130px, 18vw, 200px); filter: drop-shadow(0 6px 12px rgb(var(--shadow-rgb) / .6)); }

.pitch { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 1000px) { .pitch { grid-template-columns: 1.1fr 1fr; align-items: center; } }
.pitch-tx { display: grid; gap: 18px; }
.controls { display: grid; gap: 10px; }
.control { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--night-2); border: 1px solid var(--line); }
.control-ico {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  border: 3px solid var(--ink); background: radial-gradient(circle at 50% 35%, var(--khaki-l), var(--khaki) 60%, var(--khaki-d)); color: var(--ink);
  box-shadow: inset 0 3px 0 rgb(var(--hi-rgb) / .35), 0 4px 0 rgb(var(--shadow-rgb) / .35);
  font: 900 .7rem/1 var(--font-d); letter-spacing: .06em; text-transform: uppercase; text-align: center;
}
.control-ico.y { background: radial-gradient(circle at 50% 35%, var(--accent-hi), var(--yellow) 60%, var(--yellow-d)); }
.control b { display: block; font: 800 1rem/1.2 var(--font-d); letter-spacing: .04em; text-transform: uppercase; color: var(--cream); }
.control span { font-size: .93rem; }

.nums { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
@media (min-width: 700px) { .nums { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1150px) { .nums { grid-template-columns: repeat(6, 1fr); } }
/* a last row that is not full: the last number takes the rest of the row (no empty grey cell) */
.nums > .num:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 700px) {
  .nums > .num:last-child:nth-child(odd) { grid-column: auto; }
  .nums > .num:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
  .nums > .num:last-child:nth-child(3n + 2) { grid-column: span 2; }
}
@media (min-width: 1150px) {
  .nums > .num:last-child { grid-column: auto !important; }
  .nums:has(> .num:nth-child(5):last-child) { grid-template-columns: repeat(5, 1fr); }
  .nums:has(> .num:nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
  .nums:has(> .num:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
}
.num { display: flex; flex-direction: column; gap: 6px; padding: 22px 18px 20px; background: linear-gradient(180deg, var(--night-2), var(--night-1)); }
.num-n { font: 900 clamp(2.5rem, 1.9rem + 2.4vw, 3.7rem)/.9 var(--font-d); font-stretch: 75%; color: var(--accent-t); text-shadow: 0 3px 0 var(--ink); }
.num-l { font: 800 .9rem/1.1 var(--font-d); letter-spacing: .14em; text-transform: uppercase; color: var(--cream); }
.num-s { font-size: .86rem; line-height: 1.35; color: var(--cream-3); }

/* the trailer */
.trailer {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 16 / 9; border-radius: 22px; background: #000;
  border: 3px solid var(--ink); box-shadow: 0 0 0 1px var(--line-2), 0 30px 70px rgb(var(--shadow-rgb) / .6);
}
.trailer-poster, .trailer-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* (the poster is a frame of the film: the play button keeps to the lower left, off the boss) */
.trailer::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(18deg, rgb(var(--shade-rgb) / .82) 0%, rgb(var(--shade-rgb) / .35) 26%, rgb(var(--shade-rgb) / 0) 46%),
    radial-gradient(90% 90% at 50% 45%, rgb(var(--shadow-rgb) / 0) 55%, rgb(var(--shadow-rgb) / .4));
}
.trailer.is-playing::after { display: none; }
.trailer video { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; background: #000; }
.trailer-play {
  position: absolute; left: clamp(14px, 3.2vw, 40px); bottom: clamp(14px, 3.2vw, 40px); z-index: 1;
  display: flex; align-items: center; gap: clamp(12px, 1.6vw, 20px); padding: 0; border: 0; background: none;
  cursor: pointer; color: var(--cream); text-align: left;
}
.tp-ico { display: grid; place-items: center; border-radius: 50%; transition: transform .2s var(--ease); }
.trailer-play .icon {
  box-sizing: content-box; width: clamp(24px, 3vw, 36px); height: clamp(24px, 3vw, 36px);
  padding: clamp(16px, 2.1vw, 26px); border-radius: 50%; color: var(--ink);
  border: 4px solid var(--ink);
  background: radial-gradient(circle at 50% 30%, var(--accent-hi), var(--yellow) 55%, var(--yellow-d));
  box-shadow: inset 0 4px 0 rgb(var(--hi-rgb) / .42), inset 0 -4px 0 rgb(var(--shadow-rgb) / .2), 0 7px 0 rgb(var(--shadow-rgb) / .35), 0 0 0 10px rgb(var(--accent-rgb) / .16);
  transition: box-shadow .2s;
}
.tp-tx { display: grid; gap: 7px; }
.tp-h { font: 900 clamp(1.05rem, .8rem + 1vw, 1.7rem)/1 var(--font-d); font-stretch: 80%; letter-spacing: .06em; text-transform: uppercase; text-shadow: 0 2px 0 var(--ink), 0 0 16px rgb(var(--shadow-rgb) / .9); }
.tp-len { font: 700 .74rem/1 var(--font-d); letter-spacing: .16em; text-transform: uppercase; color: var(--cream-2); text-shadow: 0 1px 0 var(--ink), 0 0 10px rgb(var(--shadow-rgb) / .9); }
.trailer-play:hover .tp-ico { transform: scale(1.06); }
.trailer-play:hover .icon { box-shadow: inset 0 4px 0 rgb(var(--hi-rgb) / .42), inset 0 -4px 0 rgb(var(--shadow-rgb) / .2), 0 7px 0 rgb(var(--shadow-rgb) / .35), 0 0 0 16px rgb(var(--accent-rgb) / .22); }
.trailer-play:focus-visible { outline: none; }
.trailer-play:focus-visible .icon { outline: 3px solid var(--yellow); outline-offset: 6px; }
.trailer.is-playing .trailer-play, .trailer.is-playing .trailer-poster { display: none; }
.trailer-soon { position: absolute; left: 50%; bottom: 18px; z-index: 1; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgb(var(--shade-rgb) / .8); border: 1px solid var(--line-2); font: 800 .8rem/1 var(--font-d); letter-spacing: .14em; text-transform: uppercase; color: var(--on-media); white-space: nowrap; }
@media (orientation: portrait) and (max-width: 599px) { .trailer.has-vertical { aspect-ratio: 9 / 16; } }

/* the story's four pages */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 14px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 4px var(--gut) 14px; margin-inline: calc(var(--gut) * -1);
  scroll-padding-inline: var(--gut); scrollbar-width: thin; scrollbar-color: var(--khaki-d) transparent;
}
.rail > li { scroll-snap-align: start; min-width: 0; }
.rail-ctl { display: none; gap: 8px; margin-left: auto; }
.js .rail-ctl { display: flex; }
.js .rail-ctl[hidden] { display: none; }
.rail-btn {
  width: 46px; height: 46px; display: grid; place-items: center; padding: 0; cursor: pointer;
  border-radius: 50%; border: 3px solid var(--ink); color: var(--ink);
  background: radial-gradient(circle at 50% 35%, var(--khaki-l), var(--khaki) 60%, var(--khaki-d));
  box-shadow: inset 0 3px 0 rgb(var(--hi-rgb) / .38), 0 4px 0 rgb(var(--shadow-rgb) / .4);
}
.rail-btn:disabled { opacity: .35; cursor: default; }
.rail-btn .icon { width: 20px; height: 20px; }
.sec-bar { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(24px, 3.5vw, 40px); }
.sec-bar .sec-head { margin-bottom: 0; }

.days.rail { grid-auto-columns: 84%; }
@media (min-width: 700px) { .days.rail { grid-auto-columns: 46%; } }
@media (min-width: 1100px) { .days.rail { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; } }
.day figure { height: 100%; overflow: hidden; border-radius: 20px; background: var(--night-2); border: 1px solid var(--line); }
.day-pic img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; }
.day figcaption { display: grid; gap: 8px; padding: 18px 18px 22px; }
.day-t { font: 900 1.9rem/1 var(--font-d); font-stretch: 75%; text-transform: uppercase; color: var(--c); text-shadow: 0 2px 0 var(--ink); }
.day-x { color: var(--cream-2); }
.day-day1 { --c: rgb(90, 230, 140); }
.day-day2 { --c: rgb(240, 120, 50); }
.day-day3 { --c: rgb(110, 220, 150); }
.day-today { --c: rgb(255, 190, 110); }

/* the worlds and their maps */
.wtabs { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; }
.wtab {
  flex: 1 0 auto; min-width: 150px; padding: 12px 16px 13px; text-align: left; cursor: pointer;
  border-radius: 14px; border: 3px solid var(--ink); color: var(--cream);
  background: linear-gradient(180deg, #35302a, #221f19);
  box-shadow: inset 0 2px 0 rgb(var(--hi-rgb) / .08), 0 0 0 1px var(--line-2), 0 4px 0 rgb(var(--shadow-rgb) / .35);
}
.wtab:hover { background: linear-gradient(180deg, #3d372f, #27231c); }
.wtab[aria-selected="true"] {
  color: var(--ink); background: linear-gradient(180deg, var(--khaki-l) 0 52%, var(--khaki));
  box-shadow: inset 0 3px 0 rgb(var(--hi-rgb) / .38), inset 0 -3px 0 rgb(var(--shadow-rgb) / .18), 0 4px 0 rgb(var(--shadow-rgb) / .35);
}
.wtab-n { display: block; font: 700 .7rem/1 var(--font-d); letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.wtab-name { display: block; margin-top: 6px; font: 900 1.35rem/1 var(--font-d); font-stretch: 75%; text-transform: uppercase; }
.wpanel { display: grid; gap: clamp(20px, 3vw, 36px); margin-top: 18px; }
.js .wpanel[data-hidden] { display: none; }
@media (min-width: 1000px) { .wpanel { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: start; } }
.wmap { position: relative; }
@media (min-width: 1000px) { .wmap { position: sticky; top: calc(var(--head-h) + 16px); } }
.wmap-in {
  position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 20px;
  border: 3px solid var(--ink); background: #1c1a12;
  box-shadow: 0 0 0 1px var(--line-2), 0 26px 60px rgb(var(--shadow-rgb) / .5);
}
.wmap-pic, .wmap-pic img { position: absolute; inset: 0; width: 100%; height: 100%; }
.wmap-in::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 60px rgb(var(--shadow-rgb) / .55); border-radius: inherit; }
.wmap-marks { position: absolute; inset: 0; z-index: 1; container-type: inline-size; }
.mk { position: absolute; transform: translate(-50%, -50%); }
.mk-zone { display: flex; flex-direction: column; align-items: center; gap: 3px; pointer-events: none; }
.mk-zname {
  font: 900 clamp(.56rem, 2.3cqi, 1rem)/1 var(--font-d); font-stretch: 75%; letter-spacing: .05em; text-transform: uppercase;
  color: var(--cream); white-space: nowrap;
  text-shadow: 0 0 2px var(--ink), 0 0 2px var(--ink), 0 1px 0 var(--ink), 0 0 8px rgb(var(--shadow-rgb) / .9);
}
.mk-zlv {
  font: 800 clamp(.45rem, 1.55cqi, .7rem)/1 var(--font-d); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  padding: 3px 5px 2px; border-radius: 5px; border: 2px solid var(--ink); color: var(--ink);
}
.dz-low { background: var(--khaki); color: var(--ink); }
.dz-mid { background: var(--yellow); color: var(--ink); }
.dz-high { background: #e8893a; color: var(--ink); }
.dz-max { background: #b3342a; color: var(--cream); }
.mk-gate { display: flex; align-items: center; gap: 2px; pointer-events: none; }
.mk-gate .icon { width: clamp(11px, 2.6cqi, 18px); height: clamp(11px, 2.6cqi, 18px); color: var(--cream); filter: drop-shadow(0 0 2px var(--ink)) drop-shadow(0 1px 0 var(--ink)); }
.mk-gtag { font: 800 clamp(.42rem, 1.5cqi, .68rem)/1 var(--font-d); letter-spacing: .04em; color: var(--ink); background: var(--cream); border: 2px solid var(--ink); border-radius: 5px; padding: 2px 4px 1px; white-space: nowrap; }
@container (max-width: 420px) { .mk-gtag, .mk-zlv { display: none; } }
.mk-boss {
  width: clamp(24px, 6cqi, 42px); aspect-ratio: 1; padding: 0; cursor: pointer;
  display: grid; place-items: center; border-radius: 50%;
  border: 3px solid var(--ink); color: var(--cream);
  background: radial-gradient(circle at 50% 32%, #ec6b5b, var(--red) 58%, var(--red-d));
  box-shadow: inset 0 2px 0 rgb(var(--hi-rgb) / .3), 0 3px 0 rgb(var(--shadow-rgb) / .45), 0 0 0 0 rgba(204, 62, 48, .5);
  transition: transform .18s var(--ease), box-shadow .18s;
}
.mk-boss .icon { width: 64%; height: 64%; }
.mk-boss:hover, .mk-boss[aria-pressed="true"] { transform: translate(-50%, -50%) scale(1.18); z-index: 2; }
.mk-boss[aria-pressed="true"] { box-shadow: inset 0 2px 0 rgb(var(--hi-rgb) / .3), 0 3px 0 rgb(var(--shadow-rgb) / .45), 0 0 0 6px rgb(var(--accent-rgb) / .55); }
@media (prefers-reduced-motion: no-preference) {
  .mk-boss { animation: threat 3.2s var(--ease) infinite; }
  .mk-boss:nth-child(3n) { animation-delay: .8s; }
  .mk-boss:nth-child(3n+1) { animation-delay: 1.6s; }
}
@keyframes threat { 0%, 70%, 100% { box-shadow: inset 0 2px 0 rgb(var(--hi-rgb) / .3), 0 3px 0 rgb(var(--shadow-rgb) / .45), 0 0 0 0 rgba(204, 62, 48, .55); } 35% { box-shadow: inset 0 2px 0 rgb(var(--hi-rgb) / .3), 0 3px 0 rgb(var(--shadow-rgb) / .45), 0 0 0 9px rgba(204, 62, 48, 0); } }
.wmap-note { margin-top: 10px; font-size: .88rem; color: var(--cream-3); }
.no-js .wmap-note { display: none; }

.winfo { display: grid; gap: 16px; }
.winfo-h { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); font-weight: 900; font-stretch: 75%; text-transform: uppercase; line-height: .95; }
.winfo-about { font-size: 1.04rem; }
.wgates { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--cream-2); }
.wgates .icon { color: var(--khaki-t); margin-top: 2px; }
.winfo-art img { border-radius: 16px; border: 1px solid var(--line); aspect-ratio: 6 / 5; object-fit: cover; width: 100%; }
.wd-more > summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 14px; background: var(--night-2); border: 1px solid var(--line);
  font: 800 .82rem/1 var(--font-d); letter-spacing: .12em; text-transform: uppercase; color: var(--cream);
}
.wd-more > summary::-webkit-details-marker { display: none; }
.wd-more > summary .icon { width: 18px; height: 18px; color: var(--accent-t); transition: transform .25s var(--ease); }
.wd-more[open] > summary .icon { transform: rotate(180deg); }
.wd-more[open] > summary { margin-bottom: 10px; }
@media (min-width: 1000px) { .wd-more > summary { display: none; } }
.wdistricts { display: grid; gap: 1px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.wd { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 12px; padding: 12px 14px; background: var(--night-1); }
.wd-name { font: 800 1rem/1.1 var(--font-d); letter-spacing: .04em; text-transform: uppercase; color: var(--cream); }
.wd-lv { font: 800 .66rem/1 var(--font-d); letter-spacing: .12em; text-transform: uppercase; padding: 4px 7px 3px; border-radius: 6px; border: 2px solid var(--ink); }
.wd-bosses { grid-column: 1 / -1; display: grid; gap: 6px; }
.wb { display: grid; grid-template-columns: 40px 1fr auto; grid-template-rows: auto auto; column-gap: 10px; row-gap: 4px; align-items: center; padding: 6px 8px; border-radius: 10px; background: rgba(204, 62, 48, .07); transition: background .2s, box-shadow .2s; }
.wb.is-on { background: rgb(var(--accent-rgb) / .14); box-shadow: inset 0 0 0 2px rgb(var(--accent-rgb) / .55); }
.wb-pic { grid-row: 1 / 3; }
.wb-pic img { width: 40px; height: 40px; object-fit: contain; }
.wb-name { font: 800 .9rem/1.1 var(--font-d); letter-spacing: .03em; text-transform: uppercase; color: var(--cream); }
.wb-hp { font: 700 .78rem/1 var(--font-d); letter-spacing: .06em; color: var(--red-t); }
.wb .bar { grid-column: 2 / 4; }

.wboss-card {
  display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center;
  padding: 16px; border-radius: 16px; border: 1px solid rgba(204, 62, 48, .45);
  background: linear-gradient(135deg, rgba(204, 62, 48, .16), rgba(204, 62, 48, .02) 60%), var(--night-2);
}
.wboss-card[hidden] { display: none; }
.wboss-card img { width: 88px; height: 88px; object-fit: contain; filter: drop-shadow(0 6px 10px rgb(var(--shadow-rgb) / .6)); }
.wboss-card h4 { font-size: 1.45rem; font-weight: 900; font-stretch: 75%; text-transform: uppercase; }
.wboss-card .bc-where { font: 700 .72rem/1.2 var(--font-d); letter-spacing: .14em; text-transform: uppercase; color: var(--khaki-t); margin-bottom: 6px; }
.wboss-card .bc-hp { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; margin-top: 8px; }
.wboss-card .bc-hp b { font: 800 .9rem/1 var(--font-d); color: var(--cream); white-space: nowrap; }
.wboss-card .bc-calls, .wboss-card .bc-note { grid-column: 1 / -1; font-size: .93rem; }
.wboss-card .bc-note { font-style: italic; color: var(--khaki-lt); border-left: 3px solid var(--red); padding-left: 10px; }

/* gameplay clips, in phones */
.clips.rail { grid-auto-columns: 64%; }
@media (min-width: 700px) { .clips.rail { grid-auto-columns: 31%; } }
@media (min-width: 1100px) { .clips.rail { grid-auto-columns: calc((100% - 3 * 14px) / 4); } }
.clip { display: grid; gap: 10px; align-content: start; }
.phone {
  padding: 7px; border-radius: 30px;
  background: linear-gradient(160deg, #3a352c, #16140f 60%);
  border: 1px solid var(--line-2);
  box-shadow: 0 24px 44px rgb(var(--shadow-rgb) / .55), inset 0 1px 0 rgb(var(--hi-rgb) / .1);
}
.clip-v { position: relative; aspect-ratio: 9 / 20; overflow: hidden; border-radius: 23px; background: #050504; }
.clip-v picture, .clip-v img, .clip-v video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clip-v video { opacity: 0; transition: opacity .6s; }
.clip-v.is-playing video { opacity: 1; }
.clip-go {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1;
  width: 62px; height: 62px; padding: 0; display: grid; place-items: center; cursor: pointer;
  border-radius: 50%; border: 3px solid var(--ink); color: var(--ink);
  background: radial-gradient(circle at 50% 30%, var(--accent-hi), var(--yellow) 55%, var(--yellow-d));
  box-shadow: inset 0 3px 0 rgb(var(--hi-rgb) / .4), 0 5px 0 rgb(var(--shadow-rgb) / .35);
}
.clip-v.is-playing .clip-go { display: none; }
/* the clip's sound: a button on the phone's chin, half under it (site.js puts it there) */
.clip .phone { position: relative; }
.clip-snd {
  position: absolute; left: 50%; bottom: -21px; transform: translateX(-50%); z-index: 2;
  width: 44px; height: 44px; padding: 0; display: grid; place-items: center; cursor: pointer;
  border-radius: 50%; border: 3px solid var(--ink); color: var(--ink);
  background: radial-gradient(circle at 50% 30%, var(--accent-hi), var(--yellow) 55%, var(--yellow-d));
  box-shadow: inset 0 3px 0 rgb(var(--hi-rgb) / .4), 0 4px 0 rgb(var(--shadow-rgb) / .35);
  transition: transform .15s var(--ease);
}
.clip-snd .icon { width: 22px; height: 22px; }
.clip-snd[aria-pressed="false"] { background: radial-gradient(circle at 50% 30%, #4a4436, var(--night-3) 60%, var(--night-1)); color: var(--khaki-lt); border-color: var(--line-3); }
.clip-snd:hover { transform: translateX(-50%) translateY(-2px); }
.clip-snd:active { transform: translateX(-50%) translateY(1px); }
.clip.has-snd .clip-h { margin-top: 24px; }
.clip-h { font-size: 1.15rem; font-weight: 900; font-stretch: 75%; text-transform: uppercase; margin-top: 6px; }
.clip-x { font-size: .93rem; }

/* features */
.feats { display: grid; gap: 14px; }
@media (min-width: 760px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1150px) { .feats { grid-template-columns: repeat(3, 1fr); } }
.feat { padding: 24px 22px 22px; display: grid; gap: 12px; align-content: start; }
.feat h3 { font-size: 1.5rem; font-weight: 900; font-stretch: 75%; text-transform: uppercase; }
.feat-wide { grid-column: 1 / -1; }
.feat-n { font: 900 2.6rem/1 var(--font-d); font-stretch: 75%; color: var(--accent-t); text-shadow: 0 3px 0 var(--ink); }
.feat-k { display: flex; align-items: center; gap: 10px; }

.wpns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; counter-reset: wpn; }
@media (min-width: 600px) { .wpns { grid-template-columns: repeat(3, 1fr); } }
.wpn { counter-increment: wpn; padding: 12px 12px 12px; border-radius: 12px; background: var(--night-1); border: 1px solid var(--line); }
.wpn-kind { font: 700 .66rem/1 var(--font-d); letter-spacing: .14em; text-transform: uppercase; color: var(--khaki-t); }
.wpn-name { margin-top: 6px; font-size: 1.05rem; font-weight: 900; font-stretch: 75%; text-transform: uppercase; }
.wpn-line { margin-top: 4px; font-size: .86rem; line-height: 1.4; }
.skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.skill { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 10px; background: var(--night-1); border: 1px solid var(--line); }
.skill b { font: 800 .82rem/1.1 var(--font-d); letter-spacing: .06em; text-transform: uppercase; }
.skill span { font-size: .84rem; color: var(--cream-3); }
.ddays { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.dday { display: grid; gap: 4px; padding: 10px 8px; border-radius: 10px; text-align: center; background: var(--night-1); border: 1px solid var(--line); }
.dday-n { font: 700 .62rem/1 var(--font-d); letter-spacing: .14em; text-transform: uppercase; color: var(--cream-3); }
.dday b { font: 800 .8rem/1.15 var(--font-d); text-transform: uppercase; }
.dday-last { grid-column: span 2; background: linear-gradient(180deg, var(--khaki-l), var(--khaki)); border-color: var(--ink); }
.dday-last .dday-n, .dday-last b { color: var(--ink); }
.pups { display: grid; gap: 6px; }
.pups li { font-size: .93rem; }
.pups b { font: 800 .82rem/1 var(--font-d); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-t); margin-right: .4em; }

/* the people */
.survs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); }
.surv { position: relative; margin: 0; overflow: hidden; border-radius: 22px; border: 1px solid var(--line); background: radial-gradient(90% 80% at 50% 100%, rgba(204, 62, 48, .55), rgba(204, 62, 48, 0) 70%), linear-gradient(180deg, #2a2219, #120f0b); }
.surv-maya { background: radial-gradient(90% 80% at 50% 100%, rgba(124, 192, 84, .45), rgba(124, 192, 84, 0) 70%), linear-gradient(180deg, #1f2419, #0f110b); }
.surv-pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; object-position: 50% 100%; padding: 9% 7% 21%; filter: drop-shadow(0 14px 18px rgb(var(--shadow-rgb) / .55)); }
.surv-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 16px; text-align: center; font: 900 clamp(1.6rem, 1rem + 3vw, 3rem)/1 var(--font-d); font-stretch: 75%; letter-spacing: .04em; text-transform: uppercase; color: var(--cream); text-shadow: 0 3px 0 var(--ink); background: linear-gradient(0deg, rgb(var(--shade-rgb) / .85), rgb(var(--shade-rgb) / 0)); }

.people.rail { grid-auto-columns: 60%; }
@media (min-width: 600px) { .people.rail { grid-auto-columns: 36%; } }
@media (min-width: 900px) { .people.rail { grid-auto-columns: 26%; } }
@media (min-width: 1150px) { .people.rail { grid-auto-columns: calc((100% - 4 * 14px) / 5); } }
.person { height: 100%; overflow: hidden; border-radius: 18px; background: var(--night-2); border: 1px solid var(--line); }
.person-pic { background: radial-gradient(110% 80% at 50% 105%, rgb(var(--accent-rgb) / .3), rgb(var(--accent-rgb) / 0) 62%), linear-gradient(180deg, #2b2519, #16140e); }
.person-pic img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.person-tx { padding: 14px 16px 18px; }
.person-name { font-size: 1.35rem; font-weight: 900; font-stretch: 75%; text-transform: uppercase; }
.person-where { margin-top: 6px; font: 700 .68rem/1 var(--font-d); letter-spacing: .16em; text-transform: uppercase; color: var(--khaki-t); }
.person-role { margin-top: 8px; font-size: .92rem; line-height: 1.5; }

.deads.rail { grid-auto-columns: 70%; }
@media (min-width: 600px) { .deads.rail { grid-auto-columns: 42%; } }
@media (min-width: 1000px) { .deads.rail { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; } }
.dead { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: center; height: 100%; padding: 12px; border-radius: 16px; background: linear-gradient(135deg, rgba(124, 192, 84, .08), rgba(124, 192, 84, 0) 55%), var(--night-2); border: 1px solid var(--line); }
.dead-pic img { width: 92px; height: 92px; object-fit: contain; filter: drop-shadow(0 6px 10px rgb(var(--shadow-rgb) / .6)); }
.dead-name { font-size: 1.15rem; font-weight: 900; font-stretch: 75%; text-transform: uppercase; margin-bottom: 6px; }
.dead-hp { margin-top: 6px; font: 700 .78rem/1 var(--font-d); letter-spacing: .06em; color: var(--cream-3); }
.dead-hp b { color: var(--slime); font-size: .95rem; }
.dead-line { margin-top: 6px; font-size: .86rem; line-height: 1.4; }

/* the bosses */
.lineup { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 2vw, 24px); margin-bottom: 30px; }
.lineup-b { position: relative; margin: 0; display: grid; justify-items: center; text-align: center; isolation: isolate; }
.lineup-b::before { content: ""; position: absolute; inset: 8% 6% 18%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(204, 62, 48, .45), rgba(204, 62, 48, 0)); }
.lineup-pic img { width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 18px 24px rgb(var(--shadow-rgb) / .7)); }
.lineup-b figcaption { position: relative; display: grid; gap: 4px; margin-top: 10px; }
.lineup-b b { font: 900 clamp(1rem, .7rem + 1.4vw, 1.8rem)/1 var(--font-d); font-stretch: 75%; text-transform: uppercase; color: var(--cream); text-shadow: 0 3px 0 var(--ink); }
.lineup-b span { font: 700 clamp(.62rem, .55rem + .3vw, .8rem)/1 var(--font-d); letter-spacing: .12em; text-transform: uppercase; color: var(--red-t); }
.boss-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.js .boss-filter { display: flex; }
.no-js .boss-filter { display: none; }
.chip {
  min-height: 42px; padding: 10px 16px; cursor: pointer; border-radius: 999px;
  font: 800 .78rem/1 var(--font-d); letter-spacing: .12em; text-transform: uppercase;
  border: 2px solid var(--line-3); background: transparent; color: var(--cream);
}
.chip:hover { border-color: var(--khaki); }
.chip[aria-pressed="true"] { background: var(--khaki); border-color: var(--ink); color: var(--ink); box-shadow: inset 0 2px 0 rgb(var(--hi-rgb) / .3); }
.bgroups { display: grid; gap: 40px; }
.bgroup[hidden] { display: none; }
.bgroup-h { display: flex; align-items: baseline; gap: .7em; margin-bottom: 16px; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 900; font-stretch: 75%; text-transform: uppercase; }
.bgroup-h span { font: 700 .74rem/1 var(--font-d); letter-spacing: .16em; color: var(--red-t); }
.bosses { display: grid; gap: 12px; }
@media (min-width: 640px) { .bosses { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .bosses { grid-template-columns: repeat(3, 1fr); } }
.boss {
  position: relative; overflow: hidden; display: grid; gap: 12px; align-content: start; padding: 16px;
  border-radius: 18px; border: 1px solid var(--line);
  background: radial-gradient(120% 70% at 100% 0%, rgba(204, 62, 48, .16), rgba(204, 62, 48, 0) 55%), linear-gradient(180deg, var(--night-3), var(--night-1));
}
.boss-top { display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center; }
.boss-pic img { width: 88px; height: 88px; object-fit: contain; filter: drop-shadow(0 8px 12px rgb(var(--shadow-rgb) / .65)); }
.boss-name { font-size: 1.32rem; font-weight: 900; font-stretch: 75%; text-transform: uppercase; line-height: 1; }
.boss-where { margin: 6px 0 8px; font-size: .84rem; color: var(--cream-3); }
.boss-hp { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.boss-hpn { font: 700 .76rem/1 var(--font-d); letter-spacing: .08em; text-transform: uppercase; color: var(--cream-3); white-space: nowrap; }
.boss-hpn b { font-size: 1rem; color: var(--cream); letter-spacing: .02em; }
.boss-calls { font-size: .9rem; }
.boss-note { font-size: .92rem; font-style: italic; color: var(--khaki-lt); border-left: 3px solid var(--red); padding-left: 10px; }

/* screenshots */
.shots.rail { grid-auto-columns: 62%; }
@media (min-width: 600px) { .shots.rail { grid-auto-columns: 38%; } }
@media (min-width: 900px) { .shots.rail { grid-auto-columns: 27%; } }
@media (min-width: 1150px) { .shots.rail { grid-auto-columns: calc((100% - 4 * 14px) / 5); } }
.shot-a { display: block; overflow: hidden; border-radius: 20px; border: 1px solid var(--line-2); background: #050504; box-shadow: 0 18px 34px rgb(var(--shadow-rgb) / .45); }
.shot-pic img { width: 100%; aspect-ratio: 9 / 20; object-fit: cover; transition: transform .6s var(--ease); }
.shot-a:hover img { transform: scale(1.03); }

/* Google Play Games: boards and awards */
.pgs { display: grid; gap: clamp(24px, 3vw, 40px); }
@media (min-width: 1000px) { .pgs { grid-template-columns: 1fr 1.6fr; align-items: start; } }
.lbs { display: grid; gap: 10px; }
.lb { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: var(--night-2); border: 1px solid var(--line); }
.lb-pic img { width: 64px; height: 64px; }
.lb-name { font-size: 1.15rem; font-weight: 900; font-stretch: 75%; text-transform: uppercase; }
.lb-desc { font-size: .9rem; margin-top: 2px; }
.achs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 8px; }
.ach { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--night-1); border: 1px solid var(--line); }
.ach-pic img { width: 52px; height: 52px; }
.ach-name { font: 800 .9rem/1.1 var(--font-d); letter-spacing: .03em; text-transform: uppercase; }
.ach-desc { font-size: .84rem; line-height: 1.35; color: var(--cream-3); margin-top: 2px; }
.ach-hidden .ach-pic img { filter: grayscale(1) brightness(.45) blur(1.5px); }
.ach-hidden .ach-name { color: var(--cream-3); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--night-2); border: 1px solid var(--line); }
.faq details[open] { border-color: var(--line-2); background: linear-gradient(180deg, var(--night-3), var(--night-2)); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; font: 800 1.02rem/1.3 var(--font-d); letter-spacing: .02em; color: var(--cream);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; color: var(--accent-t); transition: transform .25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .faq-a { padding: 0 20px 20px; display: grid; gap: 10px; max-width: 75ch; }

/* the closing call */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: clamp(32px, 6vw, 72px) clamp(20px, 5vw, 64px); text-align: center; display: grid; gap: 18px; justify-items: center; border: 1px solid var(--line); }
.cta-band > picture, .cta-band > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 50% 45%, rgb(var(--night-rgb) / .78), rgb(var(--night-rgb) / .35) 100%), linear-gradient(0deg, rgb(var(--night-rgb) / .7), rgb(var(--night-rgb) / .1) 60%); }
.cta-band .logo-mid img { width: min(80vw, 520px); filter: drop-shadow(0 12px 20px rgb(var(--shadow-rgb) / .6)); }

/* ----------------------------------------------------------------------------------- press, about, contact */

.page-top { padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); display: grid; gap: 16px; }
.page-top .lead { max-width: 62ch; }
.page-top-split { align-items: center; }
.page-top-tx { display: grid; gap: 16px; }
.page-top-logo img { width: min(80vw, 480px); filter: drop-shadow(0 12px 20px rgb(var(--shadow-rgb) / .6)); }
@media (min-width: 1000px) { .page-top-split { grid-template-columns: 1.2fr 1fr; } .page-top-logo { justify-self: end; } }
@media (max-width: 999px) { .page-top-logo { display: none; } }
.page-top-art { position: relative; isolation: isolate; overflow: hidden; }
.page-top-art > picture, .page-top-art > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-top-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--night) 0%, rgb(var(--night-rgb) / .78) 45%, rgb(var(--night-rgb) / .55)); }

.facts { display: grid; gap: 1px; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: var(--line); }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(2, 1fr); } .facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.facts div { display: grid; gap: 4px; padding: 14px 18px; background: var(--night-1); }
.facts dt { font: 700 .7rem/1 var(--font-d); letter-spacing: .16em; text-transform: uppercase; color: var(--khaki-t); }
.facts dd { margin: 0; color: var(--cream); }
.two { display: grid; gap: clamp(24px, 4vw, 56px); }
@media (min-width: 1000px) { .two { grid-template-columns: 1fr 1fr; } .two-wide { grid-template-columns: 1.4fr 1fr; } }
.prose { display: grid; gap: 14px; align-content: start; }
.prose h3 { font-size: 1.35rem; font-weight: 900; font-stretch: 75%; text-transform: uppercase; margin-top: 10px; }
.prose ul { padding-left: 1.2em; display: grid; gap: 6px; }
.prose li::marker { color: var(--accent-t); }
.copybox { position: relative; padding: 18px 20px; border-radius: 16px; background: var(--night-1); border: 1px solid var(--line); }
.copybox p + p { margin-top: 10px; }
.copybox-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; font: 800 .74rem/1 var(--font-d); letter-spacing: .16em; text-transform: uppercase; color: var(--khaki-t); }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 6px 12px; border-radius: 9px; cursor: pointer; border: 2px solid var(--line-3); background: transparent; color: var(--cream); font: 800 .7rem/1 var(--font-d); letter-spacing: .12em; text-transform: uppercase; }
.copy-btn:hover { border-color: var(--khaki); }
.copy-btn.is-done { border-color: var(--green); color: var(--green-t); }
.no-js .copy-btn { display: none; }

.kit-zip { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 30px; }
.dl-zip { font: 700 .78rem/1 var(--font-d); letter-spacing: .12em; text-transform: uppercase; color: var(--cream-3); }
.dgroup + .dgroup { margin-top: 28px; }
.dgroup-h { font-size: 1.3rem; font-weight: 900; font-stretch: 75%; text-transform: uppercase; margin-bottom: 12px; }
.dls { display: grid; gap: 8px; }
@media (min-width: 760px) { .dls { grid-template-columns: repeat(2, 1fr); } }
.dl { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 13px 16px; border-radius: 14px; text-decoration: none; color: var(--cream); background: var(--night-2); border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.dl:hover { color: var(--cream); border-color: var(--khaki); background: var(--night-3); }
.dl .icon { color: var(--accent-t); }
.dl-l { font-size: .95rem; line-height: 1.3; }
.dl-s { font: 700 .7rem/1 var(--font-d); letter-spacing: .12em; text-transform: uppercase; color: var(--cream-3); white-space: nowrap; }
.art-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; grid-auto-flow: dense; }
@media (min-width: 900px) { .art-grid { grid-template-columns: repeat(4, 1fr); } }
.art-grid figure { margin: 0; }
.art-grid img { border-radius: 14px; border: 1px solid var(--line); aspect-ratio: 6 / 5; object-fit: cover; width: 100%; }
.art-grid .look-hero_logo, .art-grid .look-feature { grid-column: span 2; }
.art-grid .look-hero_logo img { aspect-ratio: 16 / 9; }
.art-grid .look-feature img { aspect-ratio: 1024 / 500; }
.art-grid .look-portrait_logo { grid-row: span 2; }
.art-grid .look-portrait_logo picture, .art-grid .look-portrait_logo img { height: 100%; }
.art-grid .look-portrait_logo img { aspect-ratio: auto; object-fit: cover; }
.art-grid .look-square img { aspect-ratio: 1; }

.cards { display: grid; gap: 14px; }
@media (min-width: 800px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { padding: 24px 22px; display: grid; gap: 12px; align-content: start; }
.card-ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; border: 3px solid var(--ink); color: var(--ink); background: linear-gradient(180deg, var(--khaki-l) 0 52%, var(--khaki)); box-shadow: inset 0 3px 0 rgb(var(--hi-rgb) / .35), 0 4px 0 rgb(var(--shadow-rgb) / .4); }
.card-ico.y { background: linear-gradient(180deg, var(--accent-hi) 0 52%, var(--yellow)); }
.card-ico.g { background: linear-gradient(180deg, #9bd171 0 52%, var(--green)); }
.card-ico .icon { width: 26px; height: 26px; }
.card h2, .card h3 { font-size: 1.45rem; font-weight: 900; font-stretch: 75%; text-transform: uppercase; }
.card .mail-big { font: 800 clamp(1rem, .9rem + .5vw, 1.2rem)/1.2 var(--font-d); letter-spacing: .02em; word-break: break-all; }

.credits { display: grid; gap: 1px; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: var(--line); }
@media (min-width: 800px) { .credits { grid-template-columns: repeat(2, 1fr); } }
.credits div { padding: 16px 18px; background: var(--night-1); display: grid; gap: 4px; }
.credits dt { font: 700 .7rem/1 var(--font-d); letter-spacing: .16em; text-transform: uppercase; color: var(--khaki-t); }
.credits dd { margin: 0; font-size: .95rem; }

.values { display: grid; gap: 10px; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(2, 1fr); } }
.value { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 16px 18px; border-radius: 16px; background: var(--night-2); border: 1px solid var(--line); }
.value .icon { width: 26px; height: 26px; color: var(--green-t); margin-top: 2px; }
.value b { display: block; font: 800 1rem/1.25 var(--font-d); letter-spacing: .03em; text-transform: uppercase; }
.value span { font-size: .93rem; }

/* ----------------------------------------------------------------------------------- the legal pages */

.legal { display: grid; gap: clamp(24px, 4vw, 48px); padding-bottom: clamp(56px, 8vw, 110px); margin-top: clamp(28px, 4vw, 48px); }
@media (min-width: 1100px) { .legal { grid-template-columns: 270px minmax(0, 1fr); align-items: start; } }
.toc { display: none; }
@media (min-width: 1100px) {
  .toc { display: block; position: sticky; top: calc(var(--head-h) + 24px); max-height: calc(100vh - var(--head-h) - 48px); overflow-y: auto; padding: 18px; border-radius: 16px; background: var(--night-1); border: 1px solid var(--line); }
}
.toc-h { font: 800 .72rem/1 var(--font-d); letter-spacing: .18em; text-transform: uppercase; color: var(--khaki-t); margin-bottom: 10px; }
.toc ol { padding: 0; list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: block; padding: 6px 8px; border-radius: 8px; font-size: .86rem; line-height: 1.35; color: var(--cream-3); text-decoration: none; }
.toc a:hover { color: var(--cream); background: var(--night-3); }
.toc a.is-on { color: var(--ink); background: var(--khaki); }
.toc-m { margin-bottom: 8px; }
.toc-m summary { cursor: pointer; padding: 14px 16px; border-radius: 14px; background: var(--night-1); border: 1px solid var(--line); font: 800 .8rem/1 var(--font-d); letter-spacing: .14em; text-transform: uppercase; color: var(--cream); }
.toc-m ol { margin: 8px 0 0; padding: 12px 16px 12px 36px; border-radius: 14px; background: var(--night-1); border: 1px solid var(--line); display: grid; gap: 6px; }
.toc-m a { color: var(--cream-2); font-size: .93rem; }
@media (min-width: 1100px) { .toc-m { display: none; } }

.doc { max-width: 78ch; display: grid; gap: 16px; color: var(--cream-2); }
.doc h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); font-weight: 900; font-stretch: 75%; text-transform: uppercase; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--head-h) + 20px); }
.doc h2 .n { color: var(--accent-t); margin-right: .35em; }
.doc h3 { font-size: 1.12rem; font-weight: 800; letter-spacing: .02em; margin-top: 8px; }
.doc ul, .doc ol { padding-left: 1.25em; display: grid; gap: 8px; }
.doc li::marker { color: var(--accent-t); }
.doc a { word-break: break-word; }
.doc .eff { font: 700 .76rem/1.2 var(--font-d); letter-spacing: .14em; text-transform: uppercase; color: var(--khaki-t); }
.note { padding: 14px 16px; border-radius: 14px; background: rgb(var(--accent-rgb) / .08); border: 1px solid rgb(var(--accent-rgb) / .3); color: var(--cream); }

/* the summary card on top of the privacy policy */
.tldr { padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; }
.tldr-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tldr-h h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 900; font-stretch: 75%; text-transform: uppercase; }
.tldr ul { display: grid; gap: 10px; }
@media (min-width: 800px) { .tldr ul { grid-template-columns: repeat(2, 1fr); } }
.tl { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; padding: 12px; border-radius: 14px; background: var(--night-1); border: 1px solid var(--line); }
.tl-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--ink); border: 2px solid var(--ink); background: linear-gradient(180deg, var(--khaki-l) 0 52%, var(--khaki)); box-shadow: inset 0 2px 0 rgb(var(--hi-rgb) / .35); }
.tl-ico.g { background: linear-gradient(180deg, #9bd171 0 52%, var(--green)); }
.tl-ico.y { background: linear-gradient(180deg, var(--accent-hi) 0 52%, var(--yellow)); }
.tl-ico .icon { width: 22px; height: 22px; }
.tl b { display: block; font: 800 .95rem/1.25 var(--font-d); letter-spacing: .03em; text-transform: uppercase; color: var(--cream); }
.tl span { font-size: .92rem; line-height: 1.5; }

/* the data table: rows become cards on a phone */
.dtable { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .92rem; line-height: 1.5; }
.dtable caption { text-align: left; font: 800 .74rem/1 var(--font-d); letter-spacing: .16em; text-transform: uppercase; color: var(--khaki-t); padding-bottom: 10px; }
.dtable th, .dtable td { text-align: left; vertical-align: top; padding: 12px 14px; }
.dtable thead th { font: 800 .7rem/1.2 var(--font-d); letter-spacing: .14em; text-transform: uppercase; color: var(--cream-3); border-bottom: 1px solid var(--line-2); }
.dtable tbody th { color: var(--cream); font-weight: 650; }
.dtable tbody tr:nth-child(odd) > * { background: rgb(var(--cream-rgb) / .025); }
.dtable tbody td, .dtable tbody th { border-bottom: 1px solid var(--line); }
.table-wrap { border-radius: 16px; border: 1px solid var(--line); background: var(--night-1); padding: 6px; }
@media (max-width: 899px) {
  .dtable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .dtable, .dtable tbody, .dtable tr, .dtable th, .dtable td { display: block; width: 100%; }
  .dtable tr { padding: 10px 6px; border-bottom: 1px solid var(--line-2); }
  .dtable tbody tr:nth-child(odd) > * { background: none; }
  .dtable tbody th, .dtable tbody td { border: 0; padding: 4px 8px; }
  .dtable tbody th { font: 800 1.02rem/1.3 var(--font-d); color: var(--accent-t); padding-top: 8px; }
  .dtable caption { display: block; width: auto; padding: 8px 8px 4px; }
  .dtable td::before { content: attr(data-label); display: block; font: 700 .66rem/1.2 var(--font-d); letter-spacing: .14em; text-transform: uppercase; color: var(--khaki-t); margin-bottom: 2px; }
}

/* steps (delete your data) */
.steps { display: grid; gap: 14px; counter-reset: step; padding: 0; list-style: none; }
.step { counter-increment: step; position: relative; display: grid; gap: 10px; padding: 20px 20px 20px 74px; border-radius: 18px; background: var(--night-2); border: 1px solid var(--line); }
.step::before {
  content: counter(step); position: absolute; left: 18px; top: 18px; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; border: 3px solid var(--ink); color: var(--ink); font: 900 1.15rem/1 var(--font-d);
  background: radial-gradient(circle at 50% 30%, var(--accent-hi), var(--yellow) 55%, var(--yellow-d)); box-shadow: inset 0 3px 0 rgb(var(--hi-rgb) / .4), 0 3px 0 rgb(var(--shadow-rgb) / .35);
}
.step h2, .step h3 { font-size: 1.25rem; font-weight: 900; font-stretch: 75%; text-transform: uppercase; }
.step ol, .step ul { padding-left: 1.2em; display: grid; gap: 6px; }
.step li::marker { color: var(--accent-t); }
.path { font: 700 .86rem/1.5 var(--font-d); letter-spacing: .02em; color: var(--cream); }
.path i { font-style: normal; color: var(--accent-t); margin: 0 .25em; }

/* ----------------------------------------------------------------------------------- 404 */

.lost { min-height: calc(100svh - var(--head-h)); display: grid; place-items: center; text-align: center; padding: 60px var(--gut); position: relative; isolation: isolate; overflow: hidden; }
.lost > picture, .lost > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.lost::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 50% 45%, rgb(var(--night-rgb) / .7), rgb(var(--night-rgb) / .96)); }
.lost-in { display: grid; gap: 18px; justify-items: center; max-width: 640px; }
.lost-code { font: 900 clamp(5rem, 3rem + 12vw, 11rem)/.8 var(--font-d); font-stretch: 75%; color: var(--accent-t); text-shadow: 0 6px 0 var(--ink), 0 0 40px rgb(var(--accent-rgb) / .25); }
.lost .hazard { width: min(420px, 80vw); }

/* ----------------------------------------------------------------------------------- footer */

.site-foot { position: relative; margin-top: clamp(40px, 6vw, 80px); padding: clamp(48px, 6vw, 72px) 0 calc(28px + env(safe-area-inset-bottom)); background: var(--foot-bg); border-top: 1px solid var(--line); }
.site-foot::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: linear-gradient(90deg, transparent, var(--yellow-d) 18%, var(--yellow) 50%, var(--yellow-d) 82%, transparent); opacity: .8; }
.foot-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.1fr 2fr 1.1fr; } }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-logo img { width: 230px; }
.foot-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (min-width: 600px) { .foot-nav { grid-template-columns: repeat(3, 1fr); } }
.foot-h { font: 800 .72rem/1 var(--font-d); letter-spacing: .2em; text-transform: uppercase; color: var(--khaki-t); margin-bottom: 14px; }
.foot-nav ul { display: grid; gap: 4px; }
.foot-nav a { display: inline-block; padding: 6px 0; color: var(--cream-2); text-decoration: none; font-size: .95rem; }
.foot-nav a:hover { color: var(--accent-t); }
.foot-contact { display: grid; gap: 6px; align-content: start; }
.mail { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; color: var(--cream); text-decoration: none; word-break: break-all; }
.mail .icon { color: var(--accent-t); }
.mail:hover { color: var(--accent-t); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--cream-3); }

/* ----------------------------------------------------------------------------------- dialogs */

dialog { color: inherit; }
.dlg { width: min(1200px, 100vw - 24px); max-width: none; max-height: calc(100vh - 24px); padding: 0; border: 0; background: transparent; overflow: visible; }
.dlg::backdrop { background: rgb(var(--shade-rgb) / .88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dlg-in { display: grid; gap: 12px; }
.dlg-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dlg-h { font-size: 1rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cream); }
.dlg-x {
  width: 46px; height: 46px; display: grid; place-items: center; padding: 0; cursor: pointer; flex: none;
  border-radius: 12px; border: 3px solid var(--ink); color: var(--ink);
  background: linear-gradient(180deg, var(--khaki-l) 0 52%, var(--khaki)); box-shadow: inset 0 3px 0 rgb(var(--hi-rgb) / .4), 0 4px 0 rgb(var(--shadow-rgb) / .4);
}
.dlg-x .icon { width: 22px; height: 22px; }
@media (orientation: portrait) and (max-width: 599px) { .dlg-trailer .trailer.has-vertical { width: min(100%, calc((100svh - 120px) * 9 / 16)); margin-inline: auto; } }
.lightbox { width: min(560px, 100vw - 24px); }
.lb-img { position: relative; display: grid; place-items: center; }
.lb-img img { max-height: calc(100vh - 120px); width: auto; border-radius: 18px; border: 1px solid var(--line-2); }
.lb-nav { display: flex; justify-content: center; gap: 12px; }

/* ----------------------------------------------------------------------------------- appear on scroll (no script: they are simply there) */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 42%; }
    @keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  }
}

/* ----------------------------------------------------------------------------------- motion and print */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .embers { display: none; }
}
@media print {
  :root { --night: #fff; --night-1: #fff; --night-2: #fff; --cream: #000; --cream-2: #111; --cream-3: #444; }
  body { background: #fff; color: #111; }
  body::after, .site-head, .site-foot, .toc, .toc-m, .skip, .hero-media, .embers, .btn, .rail-ctl { display: none !important; }
  .page-plain main { padding-top: 0; }
  a { color: #000; }
  .plate, .table-wrap, .tl, .step { box-shadow: none; border-color: #ccc; background: #fff; }
  .dtable td, .dtable th { border-color: #ccc; }
}

.nav-list a.nav-game { white-space: nowrap; }
.gcard-note { margin: 14px 0 0; color: var(--muted, #9aa0aa); font-size: 14px; }

/* ----------------------------------------------------------------------------------- Zombie Arena 3D */
/* The /arena page (coming soon), its card on the home page and its menu tag. The team colours are the
   game's own: blue for your side, blood red for theirs, the logo's green for the dead. */

:root {
  --blue: #4f8fe8;
  --blue-d: #2c5fb0;
  --blue-t: #8fbaf5;
  --purple: #9b6ad6;
  --purple-d: #6b3fae;
}
/* three games in the menu: on a narrower desktop it keeps to one line (the mark without its word) */
@media (min-width: 900px) { .nav-list a:not(.btn) { white-space: nowrap; } }
@media (min-width: 900px) and (max-width: 1199px) {
  .brand-word { display: none; }
  .nav-list a:not(.btn) { padding-inline: 8px; letter-spacing: .1em; }
  .nav-list a[aria-current="page"]:not(.btn)::after { left: 8px; right: 8px; }
  .nav-cta { margin-left: 6px; }
}

/* the face-off (build.py faceoff): two survivors and a walker between them, until the arena's own loop */
.faceoff {
  position: absolute; inset: 0; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(70% 45% at 50% 100%, rgba(148, 210, 50, .12), rgba(148, 210, 50, 0) 70%),
    linear-gradient(180deg, #0a0b0f 0%, #110f0c 62%, var(--night) 100%);
}
.faceoff::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(rgb(var(--khaki-rgb) / .05) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgb(var(--khaki-rgb) / .05) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, transparent 10%, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 10%, #000 55%, transparent 100%);
}
.fo-glow { position: absolute; z-index: -1; bottom: -18%; width: 64%; height: 92%; border-radius: 50%; pointer-events: none; }
.fo-glow-l { left: var(--gl, -8%); background: radial-gradient(closest-side, rgba(79, 143, 232, .5), rgba(79, 143, 232, .14) 55%, rgba(79, 143, 232, 0)); }
.fo-glow-r { left: var(--gr, 44%); background: radial-gradient(closest-side, rgba(204, 62, 48, .5), rgba(204, 62, 48, .14) 55%, rgba(204, 62, 48, 0)); }
.fo-glow-m { left: var(--gm, 18%); bottom: -30%; height: 70%; background: radial-gradient(closest-side, rgba(148, 210, 50, .3), rgba(148, 210, 50, 0)); }
/* (.hero-media's rules put every picture over the whole hero: the figures stand on their own) */
.faceoff .fo-fig { position: absolute; inset: auto; z-index: 1; left: var(--x, 50%); bottom: var(--b, 0); height: var(--h, 60%); transform: translateX(-50%); }
.faceoff .fo-fig img { position: static; inset: auto; display: block; width: auto; max-width: none; height: 100%; object-fit: contain; }
.faceoff .fo-left { transform: translateX(-50%) scaleX(-1); filter: drop-shadow(0 0 18px rgba(79, 143, 232, .55)) drop-shadow(0 14px 14px rgb(var(--shadow-rgb) / .6)); }
.faceoff .fo-right { filter: drop-shadow(0 0 18px rgba(204, 62, 48, .55)) drop-shadow(0 14px 14px rgb(var(--shadow-rgb) / .6)); }
.faceoff .fo-mid { z-index: 0; filter: brightness(.8) saturate(.9) drop-shadow(0 0 26px rgba(148, 210, 50, .5)); }

/* the hero: the logo with its ARENA plate over the badge, as the game's own home screen has it */
.arena-logo { position: relative; margin: 0; line-height: 0; width: min(78vw, 540px, 50vh); container-type: inline-size; }
.arena-logo img { width: 100%; filter: drop-shadow(0 14px 22px rgb(var(--shadow-rgb) / .65)); }
.arena-plate {
  position: absolute; left: 79.6%; top: 54%;
  padding: .3em .28em .26em; border-radius: .16em; border: .1em solid var(--ink);
  font: 900 6.8cqi/1 var(--font-d); font-stretch: 75%; letter-spacing: .03em; text-transform: uppercase; color: var(--ink);
  background: linear-gradient(180deg, var(--accent-hi) 0 52%, var(--yellow) 52% 78%, var(--yellow-d));
  box-shadow: inset 0 .07em 0 rgb(var(--hi-rgb) / .45), inset 0 -.07em 0 rgb(var(--shadow-rgb) / .2), 0 .1em 0 rgb(var(--shadow-rgb) / .45);
  transform: rotate(-4deg);
}
.hero-arena .hero-shade {
  background:
    linear-gradient(180deg, rgb(var(--shade-rgb) / .6) 0%, rgb(var(--shade-rgb) / 0) 26%),
    linear-gradient(0deg, var(--night) 0%, rgb(var(--night-rgb) / .72) 11%, rgb(var(--night-rgb) / 0) 30%);
}
.hero-arena .hero-facts .tag { font-size: .68rem; }
.faceoff-hero .fo-left { --x: 29%; --h: 39%; --b: 16%; }
.faceoff-hero .fo-mid { --x: 52%; --h: 30%; --b: 20%; }
.faceoff-hero .fo-right { --x: 74%; --h: 39%; --b: 16%; }
.faceoff-hero { --gl: -14%; --gr: 50%; --gm: 18%; }
@media (orientation: portrait) and (max-width: 899px) {
  .hero-arena { align-items: stretch; padding-top: calc(var(--head-h) + clamp(14px, 3vh, 36px)); padding-bottom: clamp(18px, 3.5vh, 40px); }
  .hero-arena .hero-inner { grid-template-rows: auto auto auto 1fr auto; }
  .hero-arena .hero-cta { grid-row: 5; align-self: end; gap: 10px; }
}
@media (orientation: landscape), (min-width: 900px) {
  .hero-arena { align-items: center; justify-items: stretch; }
  .hero-arena .hero-inner { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); justify-items: start; text-align: left; }
  .hero-arena .hero-inner > *:not(.arena-logo) { max-width: min(560px, 44vw); }
  .hero-arena .arena-logo { width: min(44vw, 540px, 58vh); }
  .hero-arena .hero-tag { max-width: 24ch; }
  .hero-arena .hero-cta, .hero-arena .hero-facts { justify-content: flex-start; }
  .hero-arena .hero-shade {
    background:
      linear-gradient(90deg, rgb(var(--shade-rgb) / .72) 0%, rgb(var(--shade-rgb) / .35) 30%, rgb(var(--shade-rgb) / 0) 48%),
      linear-gradient(180deg, rgb(var(--shade-rgb) / .55) 0%, rgb(var(--shade-rgb) / 0) 22%),
      linear-gradient(0deg, var(--night) 0%, rgb(var(--night-rgb) / 0) 16%);
  }
  .faceoff-hero .fo-left { --x: 61%; --h: 64%; --b: 4%; }
  .faceoff-hero .fo-mid { --x: 75%; --h: 49%; --b: 9%; }
  .faceoff-hero .fo-right { --x: 88%; --h: 64%; --b: 4%; }
  .faceoff-hero { --gl: 30%; --gr: 60%; --gm: 43%; }
}

/* the hero with the match behind it, on a phone held upright: the words sit on the bright sand, so the whole top is darkened */
@media (orientation: portrait) and (max-width: 899px) {
  .hero-arena.has-loop .hero-shade {
    background:
      linear-gradient(180deg, rgb(var(--shade-rgb) / .66) 0%, rgb(var(--shade-rgb) / .58) 46%, rgb(var(--shade-rgb) / .3) 68%, rgb(var(--night-rgb) / .75) 90%, var(--night) 100%);
  }
}

/* the modes, and the dead in all of them */
.azombies {
  display: flex; gap: 12px; align-items: flex-start; margin-top: clamp(14px, 1.6vw, 18px); padding: 14px 16px; border-radius: 14px;
  background: linear-gradient(90deg, rgba(148, 210, 50, .12), rgba(148, 210, 50, 0) 70%), var(--night-2);
  border: 1px solid rgba(148, 210, 50, .28); border-left: 4px solid var(--slime);
}
.azombies .icon { width: 26px; height: 26px; color: var(--slime); }
.azombies b { color: var(--cream); }
.amodes { display: grid; gap: clamp(12px, 1.6vw, 18px); }
@media (min-width: 700px) { .amodes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .amodes { grid-template-columns: repeat(3, 1fr); } }
.amode {
  display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: 20px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--night-3), var(--night-1)); box-shadow: 0 16px 34px rgb(var(--shadow-rgb) / .4);
}
.amode-pic { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--night-2); }
.amode-pic picture { display: block; height: 100%; }
.amode-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.amode:hover .amode-pic img { transform: scale(1.03); }
.amode-pic::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; pointer-events: none; background: linear-gradient(0deg, var(--night-2), rgb(var(--night-rgb) / 0)); }
.amode-pic > .tag { position: absolute; z-index: 1; left: 12px; top: 12px; }
.amode-nopic { aspect-ratio: auto; min-height: 56px; padding: 12px; background: radial-gradient(120% 120% at 100% 0%, rgb(var(--accent-rgb) / .16), rgb(var(--accent-rgb) / 0) 60%), var(--night-2); }
.amode-nopic::after { display: none; }
.amode-nopic > .tag { position: static; }
.amode-tx { display: grid; gap: 10px; align-content: start; padding: 4px 18px 18px; }
.amode-name { font-size: 1.75rem; font-weight: 900; font-stretch: 75%; text-transform: uppercase; }
.amode-short { color: var(--cream); }
.amode-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.amode-facts li { padding: 7px 9px 6px; border-radius: 8px; background: var(--night-1); border: 1px solid var(--line); font: 700 .72rem/1.1 var(--font-d); letter-spacing: .08em; text-transform: uppercase; color: var(--cream-2); }
.amode-facts b { color: var(--accent-t); }
.amode-later .amode-name { color: var(--cream-2); }
/* the main mode (Infection): the slime's edge, and on a wide screen two columns by two rows, its picture filling the height */
.amode-main { border-color: rgba(148, 210, 50, .5); box-shadow: 0 16px 34px rgb(var(--shadow-rgb) / .4), 0 0 0 1px rgba(148, 210, 50, .18); }
.amode-main .amode-name { color: var(--slime); }
@media (min-width: 1100px) {
  .amode-main { grid-column: span 2; grid-row: span 2; grid-template-rows: 1fr auto; }
  .amode-main .amode-pic { aspect-ratio: auto; min-height: 300px; }
  .amode-main .amode-pic picture { position: absolute; inset: 0; }
  .amode-main .amode-name { font-size: 2.4rem; }
  .amode-main .amode-short { font-size: 1.1rem; }
}

/* the heroes: the portrait and the power first, the numbers small */
.aheroes { display: grid; gap: clamp(12px, 1.6vw, 18px); }
.aheroes.rail { grid-auto-columns: 78%; }
@media (min-width: 640px) { .aheroes.rail { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; } }
@media (min-width: 900px) { .aheroes.rail { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .aheroes.rail { grid-template-columns: repeat(4, 1fr); } }
.ahero {
  display: grid; gap: 12px; align-content: start; padding: 0 0 16px; overflow: hidden; border-radius: 20px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--night-3), var(--night-1)); box-shadow: 0 16px 34px rgb(var(--shadow-rgb) / .4);
}
.ahero > :not(.ahero-stage) { margin-inline: 16px; }
.ahero-crate { border-color: rgba(155, 106, 214, .5); }
.ahero-stage {
  position: relative; display: grid; align-items: end; min-height: 206px; padding: 14px 14px 0 16px; overflow: hidden;
  background: radial-gradient(80% 90% at 78% 100%, rgb(var(--accent-rgb) / .42), rgb(var(--accent-rgb) / 0) 70%), linear-gradient(180deg, var(--night-4), var(--night-2));
  border-bottom: 1px solid var(--line-2);
}
.ahero-crate .ahero-stage { background: radial-gradient(80% 90% at 78% 100%, rgba(155, 106, 214, .5), rgba(155, 106, 214, 0) 70%), linear-gradient(180deg, var(--night-4), var(--night-2)); }
/* the arena's renders are whole bodies (media/arena/heroes): sized by height, feet cut by the card's edge */
.ahero-pic { position: absolute; right: 2%; bottom: -46px; z-index: 0; height: 252px; }
.ahero-pic img { display: block; width: auto; height: 100%; max-width: none; filter: drop-shadow(0 10px 14px rgb(var(--shadow-rgb) / .55)); }
.ahero-id { position: relative; z-index: 1; align-self: start; padding-bottom: 14px; }
.ahero-role { font: 700 .66rem/1.1 var(--font-d); letter-spacing: .16em; text-transform: uppercase; color: var(--khaki-lt); }
.ahero-name { margin-top: 4px; font-size: 1.9rem; font-weight: 900; font-stretch: 75%; text-transform: uppercase; text-shadow: 0 2px 0 var(--ink); }
.ahero-power { display: grid; gap: 5px; align-content: start; font-size: .9rem; line-height: 1.4; color: var(--cream-2); }
@media (min-width: 640px) { .ahero-power { min-height: 4.7rem; } }
.ahero-power-n { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 5px 9px 4px; border-radius: 8px; background: rgb(var(--accent-rgb) / .16); border: 1px solid rgb(var(--accent-rgb) / .4); font: 800 .78rem/1 var(--font-d); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-t); }
.ahero-power-n .icon { width: 1.05em; height: 1.05em; }
.ahero-power-k { padding-right: 6px; margin-right: 1px; border-right: 1px solid rgb(var(--accent-rgb) / .4); color: var(--cream-2); }
.ahero-stats { margin: 0; display: grid; gap: 6px; }
.ahero-stats div { display: grid; grid-template-columns: 4.2em 1fr 2.6em; gap: 8px; align-items: center; }
.ahero-stats dt { font: 700 .64rem/1.1 var(--font-d); letter-spacing: .1em; text-transform: uppercase; color: var(--cream-3); }
.ahero-stats dd { display: contents; }
.ahero-stats b { font: 800 .8rem/1 var(--font-d); color: var(--cream); text-align: right; white-space: nowrap; }
.bar-stat .bar-fill { background: linear-gradient(180deg, var(--accent-hi) 0%, var(--yellow) 55%, var(--yellow-d) 100%); }
.ahero-get { display: flex; gap: 8px; align-items: center; font-size: .86rem; color: var(--cream-2); }
.ahero-get .icon { flex: none; color: var(--accent-t); }
.ahero-crate .ahero-get .icon { color: #c49cf0; }
.ahero-of { font-size: .82rem; line-height: 1.6; color: var(--cream-3); }
.ahero-ofh { margin-right: .35em; font: 700 .64rem/1 var(--font-d); letter-spacing: .14em; text-transform: uppercase; color: var(--khaki-t); }
.rar { padding: 2px 5px 1px; border-radius: 5px; border: 1px solid currentColor; font: 800 .6rem/1 var(--font-d); font-style: normal; letter-spacing: .12em; text-transform: uppercase; vertical-align: 1px; }
.rar-common { color: var(--green-t); }
.rar-rare { color: var(--blue-t); }
.rar-epic { color: #c49cf0; }
.rar-mythic { color: var(--red-t); }
.rar-legendary { color: var(--accent-t); }
.ahero-more { margin: clamp(32px, 4vw, 48px) 0 14px; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); font-weight: 900; font-stretch: 75%; text-transform: uppercase; }
.ahs-list { display: flex; flex-wrap: wrap; gap: 8px; }
.ahs { flex: 1 1 240px; display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--night-1); border: 1px solid var(--line); }
.ahs-pic img { width: 56px; height: 56px; object-fit: cover; border-radius: 12px; border: 2px solid var(--ink); filter: saturate(.8); }
.ahs-name { font-size: 1.08rem; font-weight: 900; font-stretch: 75%; text-transform: uppercase; }
.ahs-w { font-size: .8rem; color: var(--cream-3); }
.ahs-get { display: flex; gap: 6px; align-items: center; margin-top: 2px; font-size: .8rem; color: var(--cream-2); }
.ahs-get .icon { width: 1em; height: 1em; color: var(--khaki-t); }
.hero-noface { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 16px; border: 2px solid var(--ink); background: var(--night-2); color: var(--cream-3); }
.ahs-pic.hero-noface { width: 56px; height: 56px; border-radius: 12px; }
.hero-noface .icon { width: 40%; height: 40%; }
.ahero-stage .hero-noface { position: absolute; right: 16px; bottom: 16px; width: 96px; height: 96px; }

/* the maps: the game's own picture of each (media/arena/maps, 20:9), its name over it, what is special, the modes it is played in */
.amaps { display: grid; grid-template-columns: 1fr; gap: clamp(14px, 2vw, 24px); }
@media (min-width: 700px) { .amaps { grid-template-columns: repeat(2, 1fr); } }
.amap {
  display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: 22px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--night-3), var(--night-1)); box-shadow: 0 18px 40px rgb(var(--shadow-rgb) / .45);
}
@media (min-width: 700px) { .amap-wide { grid-column: 1 / -1; } }
.amap-fig { position: relative; margin: 0; aspect-ratio: 20 / 9; overflow: hidden; background: var(--night-2); }
.amap-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.amap:hover .amap-fig img { transform: scale(1.025); }
.amap-fig::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgb(var(--shade-rgb) / .86) 0%, rgb(var(--shade-rgb) / .5) 22%, rgb(var(--shade-rgb) / 0) 48%); }
.amap-cap { position: absolute; z-index: 1; inset: auto 0 0 0; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 14px; padding: 0 clamp(14px, 2vw, 22px) clamp(10px, 1.4vw, 16px); }
.amap-name { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.3rem); line-height: 1; font-weight: 900; font-stretch: 75%; text-transform: uppercase; color: var(--on-media); text-shadow: 0 2px 0 var(--ink), 0 0 18px rgb(var(--shadow-rgb) / .9); }
.amap-kind { font: 800 .7rem/1.2 var(--font-d); letter-spacing: .14em; text-transform: uppercase; color: var(--cream); text-shadow: 0 1px 0 var(--ink), 0 0 10px rgb(var(--shadow-rgb) / .9); }
.amap-tx { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px clamp(14px, 2vw, 22px) 16px; }
.amap-feats { margin: 0; font-size: .96rem; line-height: 1.4; color: var(--cream-2); }
.amap-modes { display: flex; flex-wrap: wrap; gap: 5px; }
@media (max-width: 599px) { .amap-kind { display: none; } }
.amap-modes .tag { padding: 5px 7px 4px; font-size: .6rem; }
.amaps-solo { margin-top: 0; }
@media (min-width: 1100px) {
  .amap-wide { grid-template-columns: minmax(0, 5fr) minmax(0, 2fr); grid-template-rows: none; }
  .amap-wide .amap-fig { aspect-ratio: 20 / 9; }
  .amap-wide .amap-tx { flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; padding: 24px; background: radial-gradient(100% 70% at 100% 0%, rgb(var(--accent-rgb) / .14), rgb(var(--accent-rgb) / 0) 60%); }
  .amap-wide .amap-feats { font-size: 1.1rem; }
  .amap-wide .amap-name { font-size: 2.8rem; }
}

/* the screenshots: 16:9 frames of real matches, in the same rail as the other games' */
.shots-wide.rail { grid-auto-columns: 84%; }
@media (min-width: 600px) { .shots-wide.rail { grid-auto-columns: 52%; } }
@media (min-width: 900px) { .shots-wide.rail { grid-auto-columns: 42%; } }
@media (min-width: 1150px) { .shots-wide.rail { grid-auto-columns: calc((100% - 2 * 14px) / 3); } }
.shots-wide .shot-pic img { aspect-ratio: 16 / 9; }
.lightbox-wide { width: min(1180px, 100vw - 24px); }
.lightbox-wide .lb-img img { width: 100%; max-height: calc(100vh - 140px); object-fit: contain; }

/* the trailer */
.arena-trailer .trailer { max-width: 1100px; margin-inline: auto; }

/* the Survivor Pass's three tracks (seasons.json tracks) */
.apass { display: grid; gap: clamp(12px, 1.6vw, 18px); }
@media (min-width: 860px) { .apass { grid-template-columns: repeat(3, 1fr); } }
.apass-t {
  --c: var(--line-2); display: grid; gap: 10px; align-content: start; padding: 20px 18px 18px; border-radius: 20px; border: 1px solid var(--c);
  background: linear-gradient(180deg, var(--night-3), var(--night-1)); box-shadow: 0 16px 34px rgb(var(--shadow-rgb) / .4);
}
.apass-s { --c: rgb(var(--accent-rgb) / .55); background: radial-gradient(120% 70% at 100% 0%, rgb(var(--accent-rgb) / .16), rgb(var(--accent-rgb) / 0) 60%), linear-gradient(180deg, var(--night-3), var(--night-1)); }
.apass-plus { --c: rgba(148, 210, 50, .55); background: radial-gradient(120% 70% at 100% 0%, rgba(148, 210, 50, .16), rgba(148, 210, 50, 0) 60%), linear-gradient(180deg, var(--night-3), var(--night-1)); }
.apass-k { font: 700 .66rem/1.1 var(--font-d); letter-spacing: .16em; text-transform: uppercase; color: var(--khaki-lt); }
.apass-n { font-size: 1.9rem; font-weight: 900; font-stretch: 75%; text-transform: uppercase; }
.apass-s .apass-n { color: var(--accent-t); }
.apass-plus .apass-n { color: var(--slime); }
.apass-l { display: grid; gap: 8px; }
.apass-l li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: start; font-size: .95rem; color: var(--cream-2); }
.apass-l .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--green-t); }
.apass-xp { margin-top: clamp(14px, 1.6vw, 18px); color: var(--cream-2); }
.apass-xp b { color: var(--cream); }

/* no ads: the promise, and what is sold instead */
.anoads { display: grid; gap: 18px; padding: clamp(20px, 3vw, 34px); border-radius: 24px; border: 1px solid rgba(148, 210, 50, .4);
  background: radial-gradient(90% 120% at 0% 0%, rgba(148, 210, 50, .14), rgba(148, 210, 50, 0) 60%), linear-gradient(180deg, var(--night-3), var(--night-1)); }
@media (min-width: 900px) { .anoads { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(24px, 4vw, 56px); } }
.anoads-big { font: 900 clamp(2.6rem, 1.6rem + 4vw, 4.6rem)/.95 var(--font-d); font-stretch: 75%; text-transform: uppercase; color: var(--slime); }
.anoads-big span { display: block; color: var(--cream); font-size: .42em; letter-spacing: .04em; margin-top: 10px; }
.anoads .values { margin: 0; }

/* the home page card: a map's picture and the logo over it */
.acard-art { position: absolute; inset: 0; overflow: hidden; background: var(--night); }
.acard-art picture, .acard-art > picture img { display: block; width: 100%; height: 100%; }
.acard-art > picture img { object-fit: cover; object-position: 50% 45%; }
.acard-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgb(var(--shade-rgb) / .78) 0%, rgb(var(--shade-rgb) / .1) 55%, rgb(var(--shade-rgb) / .3) 100%); }
.acard-logo { position: absolute; left: 50%; bottom: 7%; width: min(62%, 300px); transform: translateX(-50%); line-height: 0; }
.acard-logo picture, .acard-logo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 14px rgb(var(--shadow-rgb) / .7)); }

/* crates, Air Drops and their odds (build.py block_arena_crates: from the game's economy.json) */
.acrates { display: grid; gap: 12px; margin-bottom: 18px; }
@media (min-width: 760px) { .acrates { grid-template-columns: repeat(3, 1fr); } }
.acrate {
  --c: var(--blue); --cd: var(--blue-d); --glow: rgba(79, 143, 232, .24);
  display: grid; grid-template-columns: 56px 1fr; gap: 4px 14px; align-content: start; padding: 16px; border-radius: 18px; border: 1px solid var(--line);
  background: radial-gradient(120% 90% at 0% 0%, var(--glow), rgb(var(--shadow-rgb) / 0) 60%), linear-gradient(180deg, var(--night-3), var(--night-1));
}
.acrate-purple { --c: var(--purple); --cd: var(--purple-d); --glow: rgba(155, 106, 214, .26); }
.acrate-gold { --c: var(--yellow); --cd: var(--yellow-d); --glow: rgb(var(--accent-rgb) / .22); }
.acrate-ico {
  grid-row: 1 / 4; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; border: 3px solid var(--ink); color: var(--ink);
  background: linear-gradient(180deg, var(--c) 0 55%, var(--cd)); box-shadow: inset 0 3px 0 rgb(var(--hi-rgb) / .35), 0 4px 0 rgb(var(--shadow-rgb) / .4);
}
.acrate-ico .icon { width: 30px; height: 30px; }
.acrate-name { font-size: 1.35rem; font-weight: 900; font-stretch: 75%; text-transform: uppercase; }
.acrate-buy { font-size: .92rem; }
.acrate-also { font-size: .86rem; color: var(--cream-3); }
.onotes { display: grid; gap: 8px; margin-top: 16px; }
@media (min-width: 900px) { .onotes { grid-template-columns: repeat(2, 1fr); } }
.onotes li { padding: 12px 14px; border-radius: 14px; background: var(--night-1); border: 1px solid var(--line); font-size: .9rem; }
.otitle { margin-top: clamp(40px, 5vw, 64px); }
.otext { margin: 10px 0 18px; max-width: 70ch; }
.onote { margin-top: 10px; }

/* the Survivor Road */
.aroad.rail { grid-auto-columns: 136px; }
.arow { display: grid; gap: 6px; align-content: start; height: 100%; padding: 12px 12px 14px; border-radius: 14px; background: var(--night-2); border: 1px solid var(--line); }
.arow b { font: 900 1.55rem/1 var(--font-d); font-stretch: 75%; color: var(--accent-t); text-shadow: 0 2px 0 var(--ink); }
.arow span { font-size: .84rem; line-height: 1.35; }
.arow-hero { border-color: rgb(var(--accent-rgb) / .45); background: linear-gradient(180deg, rgb(var(--accent-rgb) / .16), rgb(var(--accent-rgb) / .03)), var(--night-2); }
.arow-hero span { color: var(--cream); font-weight: 650; }

/* the live top 50 (site.js fills it from the game's server) */
.ltable-wrap { padding: 8px; border-radius: 18px; background: var(--night-1); border: 1px solid var(--line); }
.ltable { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; }
.ltable-wrap:not(.is-live) .ltable { display: none; }
.ltable thead th { padding: 10px; text-align: left; border-bottom: 1px solid var(--line-2); font: 800 .66rem/1.2 var(--font-d); letter-spacing: .14em; text-transform: uppercase; color: var(--cream-3); }
.ltable thead th:last-child { text-align: right; }
.ltable td, .ltable tbody th { padding: 8px 10px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.ltable tbody tr:last-child > * { border-bottom: 0; }
.lt-rank { width: 2.6em; font: 900 1.05rem/1 var(--font-d); color: var(--cream-3); }
.ltable tbody tr:nth-child(-n+3) .lt-rank { color: var(--accent-t); }
.lt-name { font-weight: 650; color: var(--cream); word-break: break-word; }
.lt-tag { display: block; margin-top: 2px; font: 700 .68rem/1.2 var(--font-d); letter-spacing: .06em; color: var(--cream-3); }
.lt-hero { white-space: nowrap; color: var(--cream-2); }
.lt-hero img { display: inline-block; width: 28px; height: 28px; margin-right: 6px; vertical-align: middle; object-fit: cover; border-radius: 8px; border: 1px solid var(--ink); }
.lt-cc { font: 800 .74rem/1 var(--font-d); letter-spacing: .1em; color: var(--cream-2); }
.lt-val { text-align: right !important; white-space: nowrap; font: 800 1rem/1 var(--font-d); color: var(--accent-t); }
.lt-note, .lt-live { display: flex; gap: 10px; align-items: flex-start; padding: 14px; color: var(--cream-2); }
.lt-note .icon, .lt-live .icon { margin-top: 2px; color: var(--accent-t); }
.lt-live { padding: 10px 10px 4px; font-size: .84rem; color: var(--cream-3); }
.lt-note[hidden], .lt-live[hidden] { display: none; }
@media (max-width: 599px) {
  .ltable .lt-cc, .ltable .lt-cc-h { display: none; }
  .lt-hero span { display: none; }
}

/* the Shorts wall: links out (the CSP lets no player of YouTube's or TikTok's in) */
.shorts.rail { grid-auto-columns: 58%; }
@media (min-width: 600px) { .shorts.rail { grid-auto-columns: 36%; } }
@media (min-width: 900px) { .shorts.rail { grid-auto-columns: calc((100% - 3 * 14px) / 4); } }
.short, .short-a { display: grid; gap: 8px; align-content: start; }
.short-a { text-decoration: none; color: var(--cream-2); }
.short .phone { display: block; }
.short-v { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 23px; background: #050504; }
.short-v picture, .short-v img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.short-ph {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; padding: 18px; text-align: center;
  background:
    radial-gradient(90% 50% at 25% 100%, rgba(79, 143, 232, .32), rgba(79, 143, 232, 0) 70%),
    radial-gradient(90% 50% at 75% 0%, rgba(204, 62, 48, .32), rgba(204, 62, 48, 0) 70%),
    linear-gradient(160deg, #1d1a14, #0b0a08);
}
.short-ph .icon { width: 46px; height: 46px; padding: 12px; box-sizing: content-box; border-radius: 50%; color: var(--cream-2); border: 2px solid var(--line-3); }
.short-h { font: 900 1.08rem/1.15 var(--font-d); font-stretch: 75%; text-transform: uppercase; color: var(--cream); }
.short-on { display: inline-flex; gap: 6px; align-items: center; font: 700 .68rem/1 var(--font-d); letter-spacing: .14em; text-transform: uppercase; color: var(--cream-3); }
.short-on .icon { width: 1.1em; height: 1.1em; }
.short-a:hover .short-on { color: var(--accent-t); }

/* the closing band, in the teams' colours */
.cta-arena {
  background:
    radial-gradient(60% 130% at 0% 100%, rgba(79, 143, 232, .3), rgba(79, 143, 232, 0) 60%),
    radial-gradient(60% 130% at 100% 0%, rgba(204, 62, 48, .3), rgba(204, 62, 48, 0) 60%),
    var(--night-2);
}
.cta-arena::before { display: none; }

/* the home page's card */
.gcard-arena .gcard-art { background: var(--night); }
.faceoff-card { --gl: -16%; --gr: 52%; --gm: 18%; }
.faceoff-card .fo-left { --x: 29%; --h: 70%; --b: 6%; }
.faceoff-card .fo-mid { --x: 52%; --h: 54%; --b: 13%; }
.faceoff-card .fo-right { --x: 74%; --h: 70%; --b: 6%; }

/* ----------------------------------------------------------------------------------- Plow Town (/plow-town)
   The game's own light-blue sky and snow over the site's night: a hero with the logo and two phones on a
   sky gradient (no photo behind it), the same pitch, rail, lightbox and FAQ as the other game pages. */
.hero-plow { max-height: none; align-items: center; }
.plow-hero { width: 100%; max-width: var(--wrap); margin-inline: auto; display: grid; gap: clamp(22px, 5vw, 56px); justify-items: center; text-align: center; }
.plow-hero-tx { display: grid; gap: clamp(14px, 2.2vh, 22px); justify-items: center; }
.plow-hero .hero-logo img { width: min(84vw, 540px); }
.plow-hero .hero-tag { text-shadow: 0 2px 0 rgb(var(--shade-rgb) / .9), 0 0 22px rgb(var(--shade-rgb) / .55); }
.plow-hero-art { display: flex; gap: clamp(10px, 2vw, 20px); justify-content: center; align-items: flex-end; }
.plow-hero-art .phone { width: min(34vw, 170px); }
.plow-hero-art .phone:last-child { margin-bottom: clamp(18px, 5vw, 48px); }
.plow-hero-art .phone picture, .plow-hero-art .phone img { display: block; width: 100%; }
.plow-hero-art .phone img { aspect-ratio: 9 / 20; object-fit: cover; border-radius: 23px; }
@media (min-width: 900px) {
  .plow-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); text-align: left; align-items: center; }
  .plow-hero-tx { justify-items: start; }
  .plow-hero .hero-facts, .plow-hero .hero-cta { justify-content: flex-start; }
  .plow-hero-art .phone { width: min(16vw, 240px); }
}
.pt-video { width: min(300px, 70vw); margin-inline: auto; }
.pt-video .phone { position: relative; }
.pt-video .clip-soon picture, .pt-video .clip-soon img { filter: saturate(.8) brightness(.8); }
.pt-split { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .pt-split { grid-template-columns: minmax(0, 1fr) auto; } }
.pt-plate-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pt-plate-list li { padding-left: 1.2em; position: relative; }
.pt-plate-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.pt-get { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }

/* ----------------------------------------------------------------------------------- the studio (registry-driven parts) */

/* status chips: the same three in every theme */
.schip {
  display: inline-block; padding: 4px 8px 3px; border-radius: 6px; white-space: nowrap;
  font: 800 .64rem/1.15 var(--font-d); letter-spacing: .12em; text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .35);
}
.schip-out { background: #7cc054; color: #0f2208; }
.schip-soon { background: #f6c448; color: #2a1f05; }
.schip-dev { background: #a9a79f; color: #1b1a17; }
.kicker .schip { letter-spacing: .14em; }
.kicker:has(.schip)::before { display: none; }

/* the games menu in the header */
.nav-games { position: relative; display: flex; align-items: center; }
.nav-games-btn {
  display: grid; place-items: center; width: 30px; height: 44px; padding: 0; margin-left: -6px; cursor: pointer;
  background: none; border: 0; color: var(--cream-2); border-radius: 8px;
}
.nav-games-btn .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.nav-games-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-games-btn:hover { color: var(--accent-t); }
.nav-games-a[data-here] { color: var(--accent-t); }
.games-menu {
  position: absolute; top: calc(100% + 6px); left: -12px; z-index: 5; min-width: 320px; margin: 0; padding: 8px;
  display: none; background: var(--foot-bg); border: 1px solid var(--line-2); border-radius: 16px;
  box-shadow: 0 24px 50px rgb(var(--shadow-rgb) / .45);
}
.nav-games.is-open .games-menu, .no-js .nav-games:hover .games-menu, .no-js .nav-games:focus-within .games-menu { display: grid; gap: 2px; }
.nav-list .games-menu a {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center;
  padding: 8px 10px; border-radius: 12px; text-decoration: none; color: var(--cream);
  font: 800 .95rem/1.1 var(--font-d); letter-spacing: .03em;
}
.nav-list .games-menu a:hover { background: rgb(var(--hi-rgb) / .08); color: var(--cream); }
.nav-list .games-menu a[aria-current="page"] { background: rgb(var(--hi-rgb) / .08); }
.nav-list .games-menu a::after { display: none !important; }
.menu-ico, .games-menu picture, .games-menu picture img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.menu-ico-none { display: grid; place-items: center; background: rgb(255 255 255 / .14); font: 900 1.2rem/1 var(--font-d); color: var(--hf-text); }
.nav-list .menu-all a { display: block; padding: 10px 12px; text-align: center; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hf-text-2); }
.nav-list .nav-games-a { display: inline-block; }
@media (max-width: 899px) {
  .js .nav-games { display: block; }
  .js .nav-games-btn { display: none; }
  .js .nav-list .nav-games-a { display: none; }
  .js .games-menu { position: static; display: grid; min-width: 0; padding: 0; background: none; border: 0; box-shadow: none; gap: 0; }
  .js .nav-list .games-menu a { padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.4rem; font-weight: 900; font-stretch: 75%; }
  .js .nav-list .games-menu a:hover { background: none; }
  .js .nav-list .menu-all a { text-align: left; font-size: 1.05rem; }
  .no-js .games-menu { display: none; }
}

/* the games grid: one wide card, then 2-up cards; every card carries its game's theme */
.gcards-wrap { display: grid; gap: clamp(16px, 3vw, 32px); }
.gcards { display: grid; gap: clamp(16px, 3vw, 32px); grid-template-columns: 1fr; }
@media (min-width: 760px) { .gcards { grid-template-columns: repeat(2, 1fr); } }
.gcards-more { text-align: center; }
.gcard-c { display: flex; flex-direction: column; }
.gcard-c .gcard-art { min-height: 0; aspect-ratio: 16 / 9; }
.gcard-c .gcard-art::after { background: linear-gradient(0deg, rgb(var(--plate-rgb) / .85), rgb(var(--plate-rgb) / 0) 40%); }
.gcard-c .gcard-tx { padding: clamp(20px, 3vw, 32px); align-content: start; flex: 1; }
.gcard-h { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.6rem); }
.gcard-c .lead { font-size: 1.02rem; }
.gcard-c[data-theme="arena"] .gcard-art { background: var(--night); }
.gcard-c[data-theme="plowtown"] .gcard-art { aspect-ratio: 1024 / 500; background: var(--sky-3); }
.gcard-c[data-theme="plowtown"] .gcard-art > picture img { object-position: 50% 50%; }
.gcard-feat .gcard-h { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 4rem); }
.group-h { font: 800 .82rem/1 var(--font-d); letter-spacing: .2em; text-transform: uppercase; color: var(--cream-3); margin: 0 0 14px; }
.games-groups { display: grid; gap: clamp(28px, 4vw, 48px); }

/* ---- the home reel: one slide a game, one clip alive at a time ---- */
.reel { display: block; padding: 0; min-height: max(620px, 100svh); max-height: none; background: var(--night); }
.reel-slides { position: absolute; inset: 0; }
.reel-slide {
  position: absolute; inset: 0; display: grid; align-items: end; padding: calc(var(--head-h) + 120px) var(--gut) clamp(96px, 14vh, 140px);
  opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s .6s;
  background: var(--night);
}
.reel-slide:first-child { opacity: 1; visibility: visible; }
.reel.is-live .reel-slide:first-child:not(.is-on) { opacity: 0; visibility: hidden; }
.reel-slide.is-on, .reel.is-live .reel-slide.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
.reel-slide[data-game="plowtown"] { background: linear-gradient(180deg, var(--sky-1), var(--sky-2) 50%, var(--sky-3)); }
/* a game without a clip yet: its phones on its own sky (never the feature graphic, which carries the logo again) */
.reel-phones { position: absolute; z-index: 0; left: 0; right: 0; top: calc(var(--head-h) + 92px); display: flex; gap: 12px; align-items: flex-end; justify-content: center; pointer-events: none; }
.reel-phones .phone { width: min(28vw, 118px, 17svh); }
.reel-phones .phone:last-child { margin-bottom: 22px; }
.reel-phones picture, .reel-phones img { display: block; width: 100%; }
.reel-phones img { aspect-ratio: 9 / 20; object-fit: cover; border-radius: 23px; }
@media (min-width: 900px) {
  .reel-phones { left: auto; right: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); top: 50%; transform: translateY(-46%); gap: 20px; }
  .reel-phones .phone { width: min(15vw, 230px, 34svh); }
}
.reel-loop, .reel-loop picture { position: absolute; inset: 0; z-index: 0; }
.reel-loop img, .reel-loop video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-loop video { opacity: 0; transition: opacity .8s var(--ease); }
.reel-loop.is-playing video { opacity: 1; }
.reel-slide .hero-shade {
  z-index: 1;
  background:
    linear-gradient(180deg, rgb(var(--shade-rgb) / .6) 0%, rgb(var(--shade-rgb) / 0) 28%),
    linear-gradient(0deg, rgb(var(--shade-rgb) / .86) 0%, rgb(var(--shade-rgb) / .55) 34%, rgb(var(--shade-rgb) / 0) 64%);
}
@media (min-width: 900px) {
  .reel-slide .hero-shade {
    background:
      linear-gradient(90deg, rgb(var(--shade-rgb) / .8) 0%, rgb(var(--shade-rgb) / .5) 32%, rgb(var(--shade-rgb) / 0) 62%),
      linear-gradient(180deg, rgb(var(--shade-rgb) / .6) 0%, rgb(var(--shade-rgb) / 0) 24%),
      linear-gradient(0deg, rgb(var(--shade-rgb) / .6) 0%, rgb(var(--shade-rgb) / 0) 40%);
  }
}
.reel-card {
  position: relative; z-index: 2; width: 100%; max-width: calc(var(--wrap) - 2 * var(--gut)); margin-inline: auto; padding-inline: 0;
  display: grid; gap: 14px; justify-items: center; text-align: center; color: var(--on-media);
}
.reel-card p { margin: 0; }
.reel-logo { line-height: 0; }
.reel-logo img { width: min(74vw, 400px); max-height: 30vh; object-fit: contain; filter: drop-shadow(0 12px 20px rgb(var(--shadow-rgb) / .55)); }
.reel-tag { font: 800 clamp(1.1rem, .9rem + 1vw, 1.7rem)/1.15 var(--font-d); font-stretch: 85%; color: var(--on-media); text-shadow: 0 2px 0 rgb(var(--shade-rgb) / .7), 0 0 22px rgb(var(--shade-rgb) / .6); max-width: 26ch; }
.reel-card .btn-row { justify-content: center; }
.reel-card .soon { background: rgb(var(--shade-rgb) / .55); color: var(--hf-text); }
@media (min-width: 900px) {
  .reel-slide { align-items: center; padding-bottom: 120px; }
  .reel-card { justify-items: start; text-align: left; }
  .reel-card .btn-row { justify-content: flex-start; }
  .reel-logo img { width: min(34vw, 460px); max-height: 34vh; }
}
.reel-studio-wrap {
  position: absolute; z-index: 3; left: 0; right: 0; top: calc(var(--head-h) + 14px); display: flex; align-items: center; justify-content: center;
  gap: 14px; padding-inline: var(--gut); pointer-events: none; color: var(--on-media);
}
/* the header already carries the SRG mark: the h1 keeps it for readers and search engines, the sight gets the line */
.reel-studio { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.reel-line { margin: 0; text-align: center; font: 700 .72rem/1.3 var(--font-d); letter-spacing: .18em; text-transform: uppercase; color: var(--hf-text); text-shadow: 0 1px 8px rgb(var(--shade-rgb) / .8); max-width: 20ch; }
@media (min-width: 900px) {
  .reel-studio-wrap { max-width: var(--wrap); margin-inline: auto; justify-content: flex-start; padding-inline: var(--gut); top: calc(var(--head-h) + 22px); }
  .reel-line { max-width: none; }
}
.reel-ui { position: absolute; z-index: 4; left: 0; right: 0; bottom: clamp(26px, 5vh, 46px); display: flex; align-items: center; justify-content: center; gap: 10px; }
.reel-dots { display: flex; gap: 2px; }
.reel-dot {
  width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; display: grid; place-items: center;
}
.reel-dot span { width: 34px; height: 5px; border-radius: 3px; background: rgb(255 255 255 / .38); transition: background .2s, width .2s; }
.reel-dot[aria-current="true"] span { background: #fff; width: 44px; }
.reel-dot:hover span { background: rgb(255 255 255 / .75); }
.reel-pause {
  width: 44px; height: 44px; padding: 0; display: grid; place-items: center; cursor: pointer; color: #fff;
  background: rgb(var(--shade-rgb) / .45); border: 1px solid rgb(255 255 255 / .35); border-radius: 50%;
}
.reel-pause .icon { width: 20px; height: 20px; }
.reel-pause .p-play { display: none; }
.reel-pause[aria-pressed="true"] .p-play { display: block; }
.reel-pause[aria-pressed="true"] .p-pause { display: none; }
.no-js .reel-ui { display: none; }
.reel .hero-scroll { z-index: 4; }
.reel .hero-scroll { bottom: 8px; }
@media (max-height: 760px) { .reel .hero-scroll { display: none; } }
@media (prefers-reduced-motion: reduce) { .reel-slide { transition: none; } }

/* ---- the footer: the studio's ---- */
.foot-logo img { width: 170px; filter: drop-shadow(0 4px 8px rgb(var(--shadow-rgb) / .5)); }
.foot-tag { margin: 0; color: var(--hf-text-2); font-size: .95rem; max-width: 30ch; }
.foot-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: -2px 0 6px; }
.foot-sub .foot-play { padding: 2px 0; }
.foot-play { font: 600 .82rem/1 var(--font-t); letter-spacing: 0; text-transform: none; text-decoration: underline; text-underline-offset: 3px; color: var(--hf-text-2); padding: 4px 0 !important; }

/* ---- Plow Town: light and snowy through the whole page ---- */
[data-theme="plowtown"] body { background: var(--night); }
[data-theme="plowtown"] .plate { border-top: 3px solid var(--snow); box-shadow: 0 0 0 1px var(--line), 0 14px 30px rgb(var(--shadow-rgb) / .12); }
[data-theme="plowtown"] .num-n, [data-theme="plowtown"] .feat-n, [data-theme="plowtown"] .gcard-facts b { text-shadow: none; }
[data-theme="plowtown"] .nums, [data-theme="plowtown"] .gcard-facts { box-shadow: 0 10px 26px rgb(var(--shadow-rgb) / .1); }
[data-theme="plowtown"] .num { background: var(--night-2); }
[data-theme="plowtown"] .gcard-facts li { background: var(--night-2); }
[data-theme="plowtown"] .sec-alt { background: linear-gradient(180deg, var(--night-1), var(--night) 80%); }
[data-theme="plowtown"] .faq details { background: var(--night-2); border-color: var(--line-2); box-shadow: 0 6px 16px rgb(var(--shadow-rgb) / .07); }
[data-theme="plowtown"] .faq details[open] { background: var(--night-2); border-color: var(--yellow); }
[data-theme="plowtown"] .faq summary .icon { color: var(--yellow-d); }
[data-theme="plowtown"] .control { background: var(--night-2); }
[data-theme="plowtown"] .shot-a { background: var(--night-2); box-shadow: 0 14px 28px rgb(var(--shadow-rgb) / .2); }
[data-theme="plowtown"] .gcard { box-shadow: 0 24px 50px rgb(var(--shadow-rgb) / .18); }
[data-theme="plowtown"] .tag-night { background: rgb(var(--shade-rgb) / .5); color: var(--hf-text); border-color: rgb(var(--hi-rgb) / .35); }
[data-theme="plowtown"] .tag-khaki { background: var(--sky-3); color: var(--ink); }
[data-theme="plowtown"] .site-foot::before { height: 3px; }
.hero-plow { background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 46%, var(--sky-3) 100%); }
.hero-plow .hero-shade {
  background:
    linear-gradient(180deg, rgb(var(--shade-rgb) / .45) 0%, rgb(var(--shade-rgb) / 0) 26%),
    linear-gradient(0deg, rgb(var(--night-rgb) / .9) 0%, rgb(var(--night-rgb) / 0) 9%);
}
.hero-plow .plow-hero { position: relative; z-index: 1; }
.hero-plow.has-loop { align-items: center; }
.hero-plow.has-loop .hero-shade {
  background:
    linear-gradient(90deg, rgb(var(--shade-rgb) / .72) 0%, rgb(var(--shade-rgb) / .35) 38%, rgb(var(--shade-rgb) / 0) 66%),
    linear-gradient(180deg, rgb(var(--shade-rgb) / .5) 0%, rgb(var(--shade-rgb) / 0) 24%),
    linear-gradient(0deg, rgb(var(--shade-rgb) / .5) 0%, rgb(var(--shade-rgb) / 0) 30%);
}
@media (min-width: 900px) { .hero-plow.has-loop .plow-hero-art { display: none; } .hero-plow.has-loop .plow-hero { grid-template-columns: minmax(0, 1fr); } }
/* (a navy glass, not a white one: white lettering on white glass over the sky is 2.2:1) */
.hero-plow .btn-dark { --face: rgb(var(--shade-rgb) / .5); --face-d: rgb(var(--shade-rgb) / .66); border-color: rgb(var(--hi-rgb) / .8); }
.hero-plow .hero-tag { color: var(--on-media); }
.plow-trailer .trailer { box-shadow: 0 24px 50px rgb(var(--shadow-rgb) / .25); }
.page-lost .lost::before { background: none; }
.lost-mark img { width: 150px; }
.page-top { padding-top: clamp(24px, 4vw, 48px); }

/* ---- the press hub: the studio's kit and one section a game, each in its own theme ---- */
.press-jump { margin-top: 6px; }
.press-game { background: var(--night); color: var(--cream-2); border-top: 3px solid var(--yellow); margin-top: clamp(28px, 4vw, 48px); }
.press-game .sec-head { margin-bottom: clamp(20px, 3vw, 32px); }
.pg-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-bottom: clamp(20px, 3vw, 32px); }
.pg-name { display: grid; gap: 10px; }
.pg-logo, .pg-logo img { width: min(60vw, 280px); height: auto; }
.pg-logo { display: block; }
.press-game .copybox { background: var(--night-2); }
.dgroup-d { border: 1px solid var(--line-2); border-radius: 14px; background: var(--night-2); padding: 0 16px; }
.dgroup-d + .dgroup, .dgroup + .dgroup-d, .dgroup-d + .dgroup-d { margin-top: 12px; }
.dgroup-d > summary { display: flex; align-items: center; gap: 12px; list-style: none; cursor: pointer; padding: 14px 0; margin: 0; }
.dgroup-d > summary::-webkit-details-marker { display: none; }
.dgroup-d > summary .icon { margin-left: auto; width: 20px; height: 20px; color: var(--accent-t); transition: transform .25s var(--ease); }
.dgroup-d[open] > summary .icon { transform: rotate(180deg); }
.dgroup-d > .dls { padding-bottom: 16px; }
.dgroup-d .dgroup-h { margin: 0; font-size: 1.15rem; }
@media (min-width: 900px) { .page-press .page-top-logo img { width: min(100%, 360px); } }

/* ---- about: per game blocks, each in its game's theme ---- */
.make-games { display: grid; gap: clamp(16px, 2.5vw, 28px); }
@media (min-width: 1000px) { .make-games { grid-template-columns: repeat(2, 1fr); } .make-games .make-g:first-child { grid-column: 1 / -1; } }
.make-g { padding: clamp(20px, 3vw, 32px); border-radius: var(--r); background: var(--night-1); border: 1px solid var(--line-2); display: grid; gap: 16px; align-content: start; }
.make-g .values { grid-template-columns: 1fr; }
@media (min-width: 1000px) { .make-g:first-child .values { grid-template-columns: repeat(2, 1fr); } }
.credits-h { margin: 28px 0 14px; }
.about-top .page-top-logo img { width: min(100%, 320px); }
@media (min-width: 900px) { .hero-plow.has-loop .plow-hero { justify-items: start; text-align: left; } .hero-plow.has-loop .plow-hero-tx { justify-items: start; } .hero-plow.has-loop .hero-cta, .hero-plow.has-loop .hero-facts { justify-content: flex-start; } }
.embers-snow { mix-blend-mode: normal; z-index: 0; }
.trailer { --cream: var(--hf-text); --cream-2: var(--hf-text-2); }
.soon-dev .soon-dot { background: #a9a79f; animation: none; box-shadow: none; }
.soon-dev .icon { color: var(--steel); }

/* bar widths (build.py) */
.w-0{width:0%}.w-1{width:1%}.w-2{width:2%}.w-3{width:3%}.w-4{width:4%}.w-5{width:5%}.w-6{width:6%}.w-7{width:7%}.w-8{width:8%}.w-9{width:9%}.w-10{width:10%}.w-11{width:11%}.w-12{width:12%}.w-13{width:13%}.w-14{width:14%}.w-15{width:15%}.w-16{width:16%}.w-17{width:17%}.w-18{width:18%}.w-19{width:19%}.w-20{width:20%}.w-21{width:21%}.w-22{width:22%}.w-23{width:23%}.w-24{width:24%}.w-25{width:25%}.w-26{width:26%}.w-27{width:27%}.w-28{width:28%}.w-29{width:29%}.w-30{width:30%}.w-31{width:31%}.w-32{width:32%}.w-33{width:33%}.w-34{width:34%}.w-35{width:35%}.w-36{width:36%}.w-37{width:37%}.w-38{width:38%}.w-39{width:39%}.w-40{width:40%}.w-41{width:41%}.w-42{width:42%}.w-43{width:43%}.w-44{width:44%}.w-45{width:45%}.w-46{width:46%}.w-47{width:47%}.w-48{width:48%}.w-49{width:49%}.w-50{width:50%}.w-51{width:51%}.w-52{width:52%}.w-53{width:53%}.w-54{width:54%}.w-55{width:55%}.w-56{width:56%}.w-57{width:57%}.w-58{width:58%}.w-59{width:59%}.w-60{width:60%}.w-61{width:61%}.w-62{width:62%}.w-63{width:63%}.w-64{width:64%}.w-65{width:65%}.w-66{width:66%}.w-67{width:67%}.w-68{width:68%}.w-69{width:69%}.w-70{width:70%}.w-71{width:71%}.w-72{width:72%}.w-73{width:73%}.w-74{width:74%}.w-75{width:75%}.w-76{width:76%}.w-77{width:77%}.w-78{width:78%}.w-79{width:79%}.w-80{width:80%}.w-81{width:81%}.w-82{width:82%}.w-83{width:83%}.w-84{width:84%}.w-85{width:85%}.w-86{width:86%}.w-87{width:87%}.w-88{width:88%}.w-89{width:89%}.w-90{width:90%}.w-91{width:91%}.w-92{width:92%}.w-93{width:93%}.w-94{width:94%}.w-95{width:95%}.w-96{width:96%}.w-97{width:97%}.w-98{width:98%}.w-99{width:99%}.w-100{width:100%}

/* map markers (build.py) */
.p-162-106{left:16.25%;top:10.62%}
.p-169-303{left:16.88%;top:30.25%}
.p-169-418{left:16.88%;top:41.84%}
.p-169-459{left:16.88%;top:45.94%}
.p-169-750{left:16.88%;top:74.96%}
.p-169-81{left:16.88%;top:8.09%}
.p-175-175{left:17.50%;top:17.50%}
.p-175-339{left:17.50%;top:33.95%}
.p-175-512{left:17.50%;top:51.25%}
.p-175-677{left:17.50%;top:67.70%}
.p-175-850{left:17.50%;top:85.00%}
.p-339-175{left:33.95%;top:17.50%}
.p-339-512{left:33.95%;top:51.25%}
.p-339-850{left:33.95%;top:85.00%}
.p-506-250{left:50.62%;top:25.00%}
.p-506-303{left:50.62%;top:30.25%}
.p-506-418{left:50.62%;top:41.84%}
.p-506-459{left:50.62%;top:45.94%}
.p-506-599{left:50.62%;top:59.90%}
.p-506-750{left:50.62%;top:74.96%}
.p-506-81{left:50.62%;top:8.09%}
.p-512-175{left:51.25%;top:17.50%}
.p-512-339{left:51.25%;top:33.95%}
.p-512-512{left:51.25%;top:51.25%}
.p-512-677{left:51.25%;top:67.70%}
.p-512-850{left:51.25%;top:85.00%}
.p-525-88{left:52.50%;top:8.75%}
.p-600-406{left:60.00%;top:40.62%}
.p-606-850{left:60.62%;top:85.00%}
.p-677-175{left:67.70%;top:17.50%}
.p-677-512{left:67.70%;top:51.25%}
.p-677-850{left:67.70%;top:85.00%}
.p-812-250{left:81.25%;top:25.00%}
.p-838-122{left:83.75%;top:12.19%}
.p-838-262{left:83.75%;top:26.15%}
.p-838-418{left:83.75%;top:41.84%}
.p-838-459{left:83.75%;top:45.94%}
.p-838-750{left:83.75%;top:74.96%}
.p-838-81{left:83.75%;top:8.09%}
.p-850-512{left:85.00%;top:51.25%}
.p-850-677{left:85.00%;top:67.70%}
.p-850-850{left:85.00%;top:85.00%}
.p-888-112{left:88.75%;top:11.25%}
.p-900-175{left:90.00%;top:17.50%}
