/* SNOEK'EM: the site as the game's own screens. Navy panels with thin teal rules, gold
   arcade lettering, red slanted tags, mono labels, pixel sprites, and a CRT over it all.
   VisTok is the fish world's app, drawn like the pink phone in the Knysna bonus round. */

@font-face { font-family: Display; src: url(/fonts/Display.ttf) format('truetype'); font-display: swap; }
@font-face { font-family: Mono; src: url(/fonts/Mono.ttf) format('truetype'); font-display: swap; }

:root {
  --bg: #061319;
  --bg-2: #08202a;
  --panel: #0c232c;
  --panel-2: #0f2e39;
  --line: #224350;
  --line-2: #2f5a69;
  --teal: #72ddbd;
  --teal-dark: #0b3a33;
  --red: #e2463b;
  --red-dark: #7d1810;
  --gold-1: #fff6cf;
  --gold-2: #ffd36b;
  --gold-3: #f08c26;
  --cream: #f3ecd8;
  --muted: #8ba5ae;
  --pink: #ff4b93;
  --pink-dark: #a3164f;
  --ink: #04090c;
  --shell: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --cut: 14px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg) radial-gradient(120% 900px at 50% 0%, #0b2b36 0%, transparent 60%) no-repeat;
  color: var(--cream);
  font: 400 17px/1.6 Mono, ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow-x: hidden;
}
/* The cabinet's CRT: scanlines and a vignette, over everything, never in the way. */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background:
    repeating-linear-gradient(to bottom, rgba(0, 0, 0, .16) 0 1px, transparent 1px 3px),
    radial-gradient(130% 100% at 50% 50%, transparent 62%, rgba(0, 0, 0, .45) 100%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--gold-2); }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: Display, Impact, 'Arial Narrow', sans-serif; font-weight: 400; text-transform: uppercase; line-height: .95; margin: 0 0 .3em; letter-spacing: .005em; }
kbd { font-family: Mono, monospace; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold-2); color: var(--ink); padding: 8px 14px; }
.skip:focus { left: 8px; }
.shell { width: min(var(--shell), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { max-width: 860px; }
.mono { font-family: Mono, monospace; }
.small { font-size: 13px; line-height: 1.5; }
.muted { color: var(--muted); }
.lede { font-size: 18px; color: var(--cream); max-width: 70ch; }

/* Gold lettering, as on the fight callouts and the logo: a hot gradient with a dark red cut. */
.gold {
  background: linear-gradient(180deg, var(--gold-1) 0%, var(--gold-2) 42%, var(--gold-3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
  filter: drop-shadow(0 3px 0 var(--red-dark)) drop-shadow(0 0 1px #000);
  padding-right: .08em;
}
.eyebrow { font: 400 12px/1.4 Mono, monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin: 0 0 .5em; }
.small-title { font-size: 28px; color: var(--cream); }

.blink { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Panels: the select screen's boxes, a corner cut off. */
.panel {
  position: relative;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-2);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}

.tag {
  display: inline-block;
  font: 400 15px/1 Display, sans-serif; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 12px 4px; background: var(--red); color: #fff; transform: skewX(-14deg);
  box-shadow: 3px 3px 0 var(--red-dark);
}
.tag.teal { background: var(--teal); color: var(--ink); box-shadow: 3px 3px 0 var(--teal-dark); }

.button {
  display: inline-flex; align-items: center; gap: .5em;
  font: 400 21px/1 Display, sans-serif; text-transform: uppercase; letter-spacing: .02em; text-decoration: none;
  padding: 14px 26px 12px; color: var(--ink); background: var(--teal);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background .12s, transform .12s;
}
.button:hover { color: var(--ink); background: var(--gold-2); transform: translateY(-2px); }
.button::after { content: '▶'; font-size: .7em; }
.button.ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 2px var(--line-2); clip-path: none; }
.button.ghost:hover { color: var(--gold-2); box-shadow: inset 0 0 0 2px var(--gold-2); }
.button.pink { background: var(--pink); color: #fff; }
.button.pink:hover { background: var(--gold-2); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------------------------------------------------------- the HUD (header) */

.hud { position: sticky; top: 0; z-index: 50; background: rgba(5, 15, 20, .94); border-bottom: 2px solid var(--line); backdrop-filter: blur(6px); }
.hud::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: linear-gradient(90deg, var(--teal) 0 30%, transparent 30% 70%, var(--red) 70%); }
.hud-inner { width: min(var(--shell), 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; align-items: center; gap: 28px; min-height: 64px; }
.hud-logo img { width: 132px; }
.hud-nav { display: flex; gap: 4px; flex: 1; }
.hud-nav a { font: 400 19px/1 Display, sans-serif; text-transform: uppercase; color: var(--cream); text-decoration: none; padding: 10px 12px 8px; }
.hud-nav a:hover { color: var(--gold-2); }
.hud-nav a[aria-current] { color: var(--ink); background: var(--gold-2); clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.music { display: inline-flex; align-items: center; gap: 6px; font: 400 16px/1 Display, sans-serif; text-transform: uppercase; color: var(--muted); background: none; border: 1px solid var(--line-2); padding: 7px 10px 5px; cursor: pointer; white-space: nowrap; }
.music b { font-weight: 400; color: var(--cream); }
.music + .music { margin-left: -20px; }
@media (max-width: 560px) { .music .word { display: none; } .music + .music { margin-left: -6px; } }
.music:hover { color: var(--gold-2); border-color: var(--gold-2); }
.music[aria-pressed="true"] { color: var(--ink); background: var(--teal); border-color: var(--teal); }
.music[aria-pressed="true"] b { color: var(--ink); }
.music.waiting b { animation: blink 1.1s steps(1) infinite; }
.credit { margin: 0; font-size: 12px; letter-spacing: .12em; color: var(--muted); white-space: nowrap; }
.credit b { color: var(--gold-2); font-weight: 400; }
.menu-toggle { display: none; }

@media (max-width: 860px) {
  .hud-inner { gap: 12px; flex-wrap: wrap; }
  .hud-logo { flex: 1; }
  .music { padding: 8px 8px 6px; font-size: 15px; }
  .hud-logo img { width: 112px; }
  .credit { display: none; }
  .menu-toggle { display: block; font: 400 18px/1 Display, sans-serif; text-transform: uppercase; color: var(--ink); background: var(--teal); border: 0; padding: 10px 16px 8px; cursor: pointer; }
  .hud-nav { display: none; flex-basis: 100%; flex-direction: column; padding-bottom: 12px; }
  .hud-nav.open { display: flex; }
  .no-js .hud-nav { display: flex; }
  .hud-nav a { font-size: 24px; padding: 12px 8px; }
}

/* ---------------------------------------------------------------- sections */

.section { margin-block: clamp(56px, 9vw, 110px); }
.page { padding-block: clamp(36px, 6vw, 64px) 40px; }
.section-head { margin-bottom: 26px; }
.section-head h2 { font-size: clamp(38px, 6vw, 64px); }
.section-head.split { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; }
.screen-title { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.screen-title h1 { font-size: clamp(46px, 8vw, 92px); }

/* ---------------------------------------------------------------- the title screen */

.title-screen {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(88vh, 860px); display: grid; place-items: center; text-align: center;
  background: linear-gradient(180deg, rgba(6, 19, 25, .2) 0%, rgba(6, 19, 25, .35) 45%, var(--bg) 100%), var(--art) center 30% / cover no-repeat, var(--bg);
  image-rendering: pixelated;
}
.title-inner { padding-block: 56px 48px; display: grid; justify-items: center; }
.title-logo { margin: 0 0 6px; width: min(860px, 100%); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55)); animation: slam .7s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes slam { from { transform: scale(1.25) translateY(-20px); opacity: 0; } }
.title-tagline { font: italic 400 clamp(34px, 6vw, 62px)/1 Display, sans-serif; text-transform: uppercase; margin: 0 0 14px; }
.title-pitch { max-width: 560px; text-shadow: 0 2px 6px #000; font-size: 18px; }
.title-screen .actions { justify-content: center; margin-top: 10px; }
.press-start { font: 400 15px/1 Mono, monospace; letter-spacing: .3em; color: var(--gold-2); margin: 30px 0 18px; text-shadow: 0 0 10px rgba(255, 211, 107, .6); }
.platforms { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.platforms li { padding: 5px 10px; border: 1px solid var(--line-2); background: rgba(6, 19, 25, .7); }
.platforms .soon { color: var(--gold-2); border-color: var(--gold-3); }
.platforms .free { color: var(--ink); background: var(--teal); border-color: var(--teal); }

/* The trailer, in a cabinet's bezel. */
.crt { position: relative; padding: clamp(10px, 2vw, 22px); background: linear-gradient(145deg, #1b2a30, #0b1418); border-radius: 22px; box-shadow: inset 0 0 0 2px #2c3d44, 0 30px 60px rgba(0, 0, 0, .5); }
.crt video { width: 100%; aspect-ratio: 16 / 9; display: block; background: #000; border-radius: 14px; }

/* ---------------------------------------------------------------- fighter tiles and sprites */

.idle {
  display: block; aspect-ratio: var(--ratio); width: 100%;
  background: var(--sheet) 0 0 / 400% 100% no-repeat;
  animation: idle 1s steps(4) infinite;
}
@keyframes idle { from { background-position-x: 0%; } to { background-position-x: 133.333%; } }

.tiles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.tile {
  position: relative; display: grid; align-content: end; padding: 12px 10px 10px; min-height: 230px;
  text-decoration: none; color: var(--cream);
  background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line);
  transition: border-color .12s, background .12s, transform .12s;
}
.tile .idle { position: absolute; left: 6%; right: 6%; bottom: 52px; width: 88%; filter: drop-shadow(0 6px 0 rgba(0, 0, 0, .35)); }
.tile .idle { animation-play-state: paused; }
.tile:hover .idle, .tile:focus-visible .idle, .tile[aria-current] .idle { animation-play-state: running; }
.tile-name { position: relative; font: 400 22px/1 Display, sans-serif; text-transform: uppercase; }
.tile-meta { position: relative; font-size: 10px; letter-spacing: .1em; color: var(--muted); }
.tile-tag { position: absolute; top: 8px; right: 8px; font-size: 12px; padding: 4px 8px 3px; }
.tile:hover, .tile:focus-visible, .tile[aria-current] { border-color: var(--accent); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 22%, var(--panel-2)), var(--panel)); transform: translateY(-3px); color: var(--cream); }
.tile[aria-current]::after { content: 'P1'; position: absolute; left: 10px; top: 8px; font: 12px Mono, monospace; color: var(--accent); }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile { min-height: 210px; } }

/* ---------------------------------------------------------------- modes */

.modes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.mode { grid-column: span 2; min-height: 250px; padding: 22px; display: flex; flex-direction: column; justify-content: end; background: linear-gradient(180deg, rgba(6, 19, 25, .15), rgba(6, 19, 25, .95) 70%), var(--art) center / cover; }
.mode:nth-child(n+4) { grid-column: span 3; }
.mode .tag { position: absolute; top: 18px; left: 22px; }
.mode h3 { font-size: 34px; color: var(--gold-2); text-shadow: 0 3px 0 var(--red-dark); font-style: italic; }
.mode p { margin: 0; font-size: 15px; }
@media (max-width: 900px) { .modes { grid-template-columns: 1fr; } .mode, .mode:nth-child(n+4) { grid-column: auto; } }

/* ---------------------------------------------------------------- VisTok teaser */

.vistok-teaser { display: grid; grid-template-columns: 1.1fr .7fr 1.2fr; gap: 28px; align-items: center; padding: clamp(22px, 4vw, 40px); background: radial-gradient(90% 120% at 0% 0%, #3a1030, transparent 60%), linear-gradient(180deg, #1a1124, #0e0c18); border-color: var(--pink-dark); }
.vistok-teaser h2 { font-size: clamp(30px, 4vw, 44px); text-transform: none; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .14em; color: #fff; background: var(--pink); padding: 4px 10px; }
.live-dot { width: 8px; height: 8px; background: #fff; animation: blink 1s steps(1) infinite; }
.vt-angie { width: 100%; max-width: 260px; justify-self: center; filter: drop-shadow(0 10px 0 rgba(0, 0, 0, .3)); }
.vt-clips { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vt-clips a { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; text-decoration: none; color: var(--cream); font-size: 14px; line-height: 1.35; }
.vt-clips img { border: 2px solid var(--pink); aspect-ratio: 9 / 16; object-fit: cover; }
.vt-clips b { display: block; font: 400 17px/1 Display, sans-serif; color: var(--pink); margin-bottom: 4px; }
.vt-clips a:hover { color: var(--gold-2); }
@media (max-width: 900px) { .vistok-teaser { grid-template-columns: 1fr; } .vt-angie { max-width: 180px; } }

/* ---------------------------------------------------------------- sponsors */

.sponsors { text-align: center; }
.brand-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(14px, 3vw, 34px); margin: 12px 0 18px; }
.brand-row img { height: clamp(70px, 9vw, 110px); width: auto; filter: drop-shadow(0 6px 0 rgba(0, 0, 0, .35)); transition: transform .15s; }
.brand-row img:hover { transform: rotate(-4deg) scale(1.06); }

/* ---------------------------------------------------------------- select screen */

.select-screen { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 22px; align-items: start; }
.tiles-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tiles-grid .tile { min-height: 250px; }
.preview { padding: 22px; --cut: 18px; }
.preview .tag { position: absolute; z-index: 2; }
.preview-stage { margin: 0 -22px 14px; height: 300px; display: grid; place-items: end center; background: linear-gradient(180deg, transparent 60%, var(--panel) 100%), var(--art) center 60% / cover; overflow: hidden; }
.preview-stage .idle { width: auto; height: 92%; margin-bottom: 4%; }
.preview-name { font-size: 64px; color: var(--cream); margin: 0; }
.preview-move { margin: 12px 0 4px; }
.preview-move b { font: italic 400 24px/1 Display, sans-serif; color: var(--accent); }
.preview-text { font-size: 15px; }
.how-to-read { margin-top: 28px; padding: 22px 26px 8px; }
@media (max-width: 900px) { .select-screen { grid-template-columns: 1fr; } .preview { display: none; } .tiles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.stats { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 14px 0 18px; }
.stats div { display: grid; gap: 4px; }
.stats dt { font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.stats dd { margin: 0; display: flex; gap: 4px; }
.stats i { width: 22px; height: 10px; background: #253348; transform: skewX(-20deg); }
.stats i.on { background: var(--accent, var(--teal)); }

/* ---------------------------------------------------------------- fighter dossier */

.dossier { position: relative; isolation: isolate; overflow: hidden; border-bottom: 2px solid var(--line); background: linear-gradient(90deg, rgba(6, 19, 25, .1) 0%, rgba(6, 19, 25, .55) 52%, rgba(6, 19, 25, .96) 70%), linear-gradient(180deg, transparent 70%, var(--bg)), var(--art) center / cover, var(--bg); }
.dossier-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; min-height: 600px; padding-top: 40px; }
.dossier-stage { align-self: end; display: grid; place-items: end center; }
.dossier-stage .idle { width: min(100%, 420px); filter: drop-shadow(0 14px 10px rgba(0, 0, 0, .55)); }
.dossier-card { padding: 28px 30px 26px; margin-bottom: 40px; --cut: 22px; background: linear-gradient(180deg, rgba(15, 46, 57, .92), rgba(12, 35, 44, .96)); border-color: var(--accent); }
.fighter-name { font-size: clamp(60px, 9vw, 112px); margin: 4px 0 0; }
.fighter-role { font: italic 400 26px/1 Display, sans-serif; color: var(--accent); text-transform: uppercase; margin-bottom: 6px; }
.lore { margin: 18px 0; padding-left: 16px; border-left: 3px solid var(--accent); font-size: 16px; }
.lore p { margin: 0 0 .3em; }
.unlock { color: var(--gold-2); border: 1px dashed var(--gold-3); padding: 10px 12px; }
.unlock b { color: var(--ink); background: var(--gold-2); padding: 1px 6px; margin-right: 6px; font-weight: 400; }
.dossier-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.dossier-top p { margin: 6px 0 0; }
.dossier-portrait { width: 96px; height: 96px; object-fit: cover; object-position: top; background: var(--bg-2); border: 2px solid var(--accent); clip-path: polygon(0 0, 100% 0, 100% 100%, 14px 100%, 0 calc(100% - 14px)); }
@media (max-width: 900px) {
  .dossier { background: linear-gradient(180deg, rgba(6, 19, 25, .1) 0%, rgba(6, 19, 25, .5) 40%, var(--bg) 62%), var(--art) center top / auto 520px no-repeat, var(--bg); }
  .dossier-inner { grid-template-columns: 1fr; min-height: 0; }
  .dossier-stage .idle { width: min(70%, 300px); }
  .dossier-card { margin-bottom: 24px; }
  .dossier-portrait { width: 72px; height: 72px; }
}

/* The move list. */
.scheme { display: flex; border: 1px solid var(--line-2); }
.scheme button { font: 400 17px/1 Display, sans-serif; text-transform: uppercase; color: var(--muted); background: transparent; border: 0; padding: 10px 14px 8px; cursor: pointer; }
.scheme button[aria-checked="true"] { color: var(--ink); background: var(--teal); }
.scheme-note { margin-top: -12px; }
.no-js .scheme, .no-js .scheme-note { display: none; }
.specials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.special { padding: 20px 22px 18px; }
.special header { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 12px; margin-bottom: 14px; }
.special-no { grid-column: 1 / -1; margin: 0; font-size: 11px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.special-name { font-size: 40px; color: var(--accent); font-style: italic; margin: 0; text-shadow: 0 3px 0 rgba(0, 0, 0, .45); }
.tide { display: grid; justify-items: end; gap: 4px; }
.tide-bar { position: relative; width: 110px; height: 10px; background: #18303b; border: 1px solid var(--line-2); }
.tide-bar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #2c8bd6, #72ddbd); }
.tide-bar b { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--gold-2); }
.tide-cost { font: 400 15px/1 Display, sans-serif; color: var(--gold-2); }
.inputs { min-height: 58px; display: flex; align-items: center; margin-bottom: 4px; }
.input-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.input-row[hidden] { display: none; }
.arrow { display: inline-grid; place-items: center; width: 44px; height: 44px; background: #0a1a21; border: 2px solid var(--line-2); }
.arrow svg { width: 28px; height: 28px; fill: var(--cream); transform: rotate(var(--turn)); shape-rendering: crispEdges; }
.then { color: var(--muted); font-style: normal; font-size: 22px; }
.with { color: var(--gold-2); font-style: normal; font-size: 22px; padding-inline: 2px; }
.hand { position: relative; display: inline-grid; place-items: center; width: 76px; height: 48px; }
.hand img { max-height: 46px; width: auto; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .5)); }
.hand b { position: absolute; right: -4px; bottom: -6px; font: 400 15px/1 Display, sans-serif; color: var(--ink); background: var(--gold-2); padding: 3px 5px 2px; }
.chord { display: inline-flex; align-items: center; }
kbd { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; font-size: 17px; color: var(--ink); background: linear-gradient(180deg, #f6f1e4, #cfc6b0); border-radius: 6px; box-shadow: 0 4px 0 #7d7563, inset 0 -2px 0 rgba(0, 0, 0, .1); }
.pad-button { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font: 400 22px/1 Display, sans-serif; color: #fff; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .3); }
.pad-x { background: #2f6fe0; }
.pad-y { background: #e3b22a; color: var(--ink); }
.notation { font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.frames { width: 100%; margin-top: 12px; border-top: 1px solid var(--line); image-rendering: auto; }
@media (max-width: 860px) { .specials { grid-template-columns: 1fr; } }

.tutorial { display: grid; grid-template-columns: 1fr 1.25fr; gap: 26px; align-items: center; padding: 26px; }
.tutorial-copy { display: flex; gap: 18px; align-items: center; }
.tutorial-angie { width: 130px; flex: none; }
@media (max-width: 860px) { .tutorial { grid-template-columns: 1fr; } }

.next-prev { display: flex; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); }
.next-prev a { display: grid; font: 400 26px/1.1 Display, sans-serif; text-transform: uppercase; color: var(--cream); text-decoration: none; }
.next-prev a:nth-child(2) { align-self: end; font-size: 18px; color: var(--teal); }
.next-prev a:last-child { text-align: right; }
.next-prev a:hover { color: var(--gold-2); }

/* ---------------------------------------------------------------- YouTube, click to load */

.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 2px solid var(--line-2); background: #000 var(--poster) center / cover; cursor: pointer; color: #fff; }
.yt:hover { border-color: var(--gold-2); }
.yt-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 54px; transform: translate(-50%, -50%); background: var(--red); clip-path: polygon(8% 0, 92% 0, 100% 50%, 92% 100%, 8% 100%, 0 50%); }
.yt-play::after { content: ''; position: absolute; left: 39%; top: 30%; border: 11px solid transparent; border-left: 18px solid #fff; border-right: 0; }
.yt:hover .yt-play { background: var(--gold-3); }
.yt-note { position: absolute; right: 8px; bottom: 8px; font: 10px Mono, monospace; letter-spacing: .1em; text-transform: uppercase; background: rgba(0, 0, 0, .7); padding: 3px 6px; }
.yt-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 2px solid var(--gold-2); background: #000; }

/* ---------------------------------------------------------------- VisTok */

.vistok-head { display: flex; gap: 22px; align-items: center; margin-bottom: 30px; }
.vistok-head img { width: clamp(90px, 14vw, 140px); flex: none; }
.vistok-head h1 { font-size: clamp(56px, 9vw, 100px); text-transform: none; }
.vistok-app { display: grid; grid-template-columns: minmax(0, 390px) minmax(0, 1fr); gap: clamp(22px, 4vw, 48px); align-items: start; }

/* The phone: the bonus round's pink handset, chunky and pixel-edged, hearts down the side. */
.phone {
  --px: 4px;
  position: relative; width: 100%; max-width: 390px; padding: 14px 34px 14px 14px;
  background: linear-gradient(180deg, #ff6aa8, var(--pink) 40%, #e2337b);
  clip-path: polygon(0 calc(var(--px) * 6), var(--px) calc(var(--px) * 6), var(--px) calc(var(--px) * 3), calc(var(--px) * 2) calc(var(--px) * 3), calc(var(--px) * 2) calc(var(--px) * 2), calc(var(--px) * 3) calc(var(--px) * 2), calc(var(--px) * 3) var(--px), calc(var(--px) * 6) var(--px), calc(var(--px) * 6) 0,
    calc(100% - var(--px) * 6) 0, calc(100% - var(--px) * 6) var(--px), calc(100% - var(--px) * 3) var(--px), calc(100% - var(--px) * 3) calc(var(--px) * 2), calc(100% - var(--px) * 2) calc(var(--px) * 2), calc(100% - var(--px) * 2) calc(var(--px) * 3), calc(100% - var(--px)) calc(var(--px) * 3), calc(100% - var(--px)) calc(var(--px) * 6), 100% calc(var(--px) * 6),
    100% calc(100% - var(--px) * 6), calc(100% - var(--px)) calc(100% - var(--px) * 6), calc(100% - var(--px)) calc(100% - var(--px) * 3), calc(100% - var(--px) * 2) calc(100% - var(--px) * 3), calc(100% - var(--px) * 2) calc(100% - var(--px) * 2), calc(100% - var(--px) * 3) calc(100% - var(--px) * 2), calc(100% - var(--px) * 3) calc(100% - var(--px)), calc(100% - var(--px) * 6) calc(100% - var(--px)), calc(100% - var(--px) * 6) 100%,
    calc(var(--px) * 6) 100%, calc(var(--px) * 6) calc(100% - var(--px)), calc(var(--px) * 3) calc(100% - var(--px)), calc(var(--px) * 3) calc(100% - var(--px) * 2), calc(var(--px) * 2) calc(100% - var(--px) * 2), calc(var(--px) * 2) calc(100% - var(--px) * 3), var(--px) calc(100% - var(--px) * 3), var(--px) calc(100% - var(--px) * 6), 0 calc(100% - var(--px) * 6));
  box-shadow: inset -6px 0 0 var(--pink-dark), inset 0 -6px 0 var(--pink-dark), inset 4px 4px 0 rgba(255, 255, 255, .35);
  position: sticky; top: 84px;
}
.phone::after {
  content: ''; position: absolute; right: 9px; top: 60px; bottom: 60px; width: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 40' shape-rendering='crispEdges'%3E%3Cpath fill='%23fff' d='M1 1h2v1h1v1h1V2h1V1h2v1h1v3H8v1H7v1H6v1H5v1H4V8H3V7H2V6H1V5H0V2h1z'/%3E%3C/svg%3E") center top / 18px 80px repeat-y;
}
.phone-screen { position: relative; overflow: hidden; background: #000; border: 4px solid var(--ink); aspect-ratio: 9 / 18.5; }

.vistok-app { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(22px, 5vw, 64px); align-items: start; }
.vistok-copy { padding-top: 10px; max-width: 520px; }
.vistok-people { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 8px; }
.vistok-people a { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--muted); font-size: 14px; }
.vistok-people img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 3px solid var(--pink); background: var(--panel); }
.vistok-people b { display: block; font: 400 21px/1 Display, sans-serif; text-transform: uppercase; color: var(--cream); }
.vistok-people a:hover b { color: var(--gold-2); }
.phone-wrap { position: sticky; top: 84px; display: flex; align-items: center; gap: 14px; }
.phone-wrap .phone { position: relative; top: 0; width: min(400px, calc(100vw - 2 * var(--gutter) - 60px)); max-width: none; }
@media (max-width: 860px) {
  .vistok-app { grid-template-columns: 1fr; }
  .phone-wrap { position: relative; top: 0; justify-content: center; order: -1; }
  .vistok-copy { padding-top: 0; }
  .phone-wrap .phone { width: min(420px, 100%); }
}
.vistok-fallback { list-style: none; margin: 0; padding: 8px; height: 100%; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.vistok-fallback a { display: grid; gap: 4px; font-size: 11px; line-height: 1.3; color: #fff; text-decoration: none; }
.vistok-fallback b { color: #ffd0e3; font-weight: 400; }

/* The app: the screens above, VisTok's own nav below; pixel icons, Display lettering. */
.vt-app { position: absolute; inset: 0; display: flex; flex-direction: column; background: #050608; color: #fff; font: 13px/1.4 Mono, monospace; }
.vt-screens { position: relative; flex: 1; min-height: 0; }
.vt-screen { position: absolute; inset: 0; display: flex; flex-direction: column; }
.vt-screen[hidden] { display: none; }
.vt-body { position: relative; flex: 1; min-height: 0; }
.vt-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 12px 20px; scrollbar-width: none; }
.vt-scroll::-webkit-scrollbar { display: none; }
.px { width: 30px; height: 30px; fill: currentColor; shape-rendering: crispEdges; }
.av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--panel); flex: none; }
.av.you { display: inline-grid; place-items: center; font: 400 13px/1 Display, sans-serif; color: var(--ink); background: var(--gold-2); }
.av.live { box-shadow: 0 0 0 3px var(--pink), 0 0 0 5px #050608, 0 0 0 7px var(--pink); }
.badge { font: 9px/1 Mono, monospace; letter-spacing: .08em; color: var(--ink); background: var(--gold-2); padding: 2px 4px; vertical-align: 2px; }
.vt-h { font: 400 18px/1 Display, sans-serif; text-transform: uppercase; color: var(--muted); margin: 16px 0 10px; }
.vt-empty { color: var(--muted); padding: 20px 0; text-align: center; }

.vt-nav { display: flex; justify-content: space-around; height: 54px; flex: none; background: #0b0d12; border-top: 2px solid var(--pink-dark); }
.vt-nav button { display: grid; justify-items: center; align-content: center; gap: 1px; flex: 1; background: none; border: 0; color: rgba(255, 255, 255, .55); font: 400 13px/1 Display, sans-serif; text-transform: uppercase; cursor: pointer; }
.vt-nav .px { width: 22px; height: 22px; }
.vt-nav button[aria-current] { color: #fff; }
.vt-nav button[aria-current] .px { color: var(--pink); }

.vt-top { position: absolute; z-index: 4; inset: 0 0 auto; padding: 22px 6px 0; display: grid; grid-template-columns: 30px 1fr 30px; align-items: center; justify-items: center; background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent); pointer-events: none; }
.vt-top::before { content: ''; position: absolute; top: 0; left: 50%; width: 96px; height: 14px; transform: translateX(-50%); background: var(--ink); border-radius: 0 0 10px 10px; }
.vt-tabs { display: flex; gap: 14px; pointer-events: auto; }
.vt-tabs button { background: none; border: 0; padding: 4px 0; font: 400 19px/1 Display, sans-serif; text-transform: uppercase; color: rgba(255, 255, 255, .6); cursor: pointer; text-shadow: 0 1px 3px #000; }
.vt-tabs button[aria-selected="true"] { color: #fff; box-shadow: 0 3px 0 #fff; }
.vt-unmute { pointer-events: auto; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; color: #fff; background: rgba(0, 0, 0, .55); border: 2px solid rgba(255, 255, 255, .6); cursor: pointer; animation: blink 1.4s steps(1) 3; }
.vt-unmute .px { width: 18px; height: 18px; }
.vt-app.sound-on .vt-unmute { display: none; }

.vt-feed { position: absolute; inset: 0; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; outline: none; }
.vt-feed::-webkit-scrollbar { display: none; }
.vt-feed { cursor: grab; }
.vt-feed.dragging { cursor: grabbing; user-select: none; }
.vt-hint { position: absolute; z-index: 4; left: 50%; bottom: 150px; transform: translateX(-50%); margin: 0; display: grid; justify-items: center; gap: 2px; font: 400 18px/1 Display, sans-serif; text-transform: uppercase; color: #fff; text-shadow: 0 2px 4px #000; pointer-events: none; transition: opacity .3s; }
.vt-hint .px { width: 34px; height: 34px; transform: rotate(90deg); filter: drop-shadow(0 2px 2px #000); }
.vt-hint span { animation: nudge 1.2s steps(6) infinite; }
.vt-hint.gone { opacity: 0; }
@keyframes nudge { 50% { transform: translateY(-12px); } }
.vt-post { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; background: #000; }
.vt-media { position: absolute; inset: 0; cursor: pointer; }
.vt-media video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.vt-paused { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0; transition: opacity .15s; pointer-events: none; }
.vt-paused .px { width: 64px; height: 64px; opacity: .8; filter: drop-shadow(0 2px 4px #000); }
.vt-post.paused .vt-paused { opacity: 1; }
.vt-burst { position: absolute; width: 90px; height: 90px; margin: -45px 0 0 -45px; color: var(--pink); opacity: 0; pointer-events: none; }
.vt-burst .px { width: 90px; height: 90px; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .4)); }
.vt-burst.go { animation: burst .7s steps(7) forwards; }
@keyframes burst { 0% { opacity: 1; transform: scale(.4) rotate(-12deg); } 30% { opacity: 1; transform: scale(1.15) rotate(6deg); } 100% { opacity: 0; transform: scale(1) translateY(-60px); } }
.vt-progress { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 10px; cursor: pointer; }
.vt-progress i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: #fff; }
.vt-rail { position: absolute; z-index: 3; right: 6px; bottom: 96px; display: grid; justify-items: center; gap: 12px; }
.vt-avatar { position: relative; background: none; border: 0; padding: 0; margin-bottom: 6px; cursor: pointer; }
.vt-avatar .av { width: 46px; height: 46px; border: 2px solid #fff; }
.vt-plus { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); width: 18px; height: 18px; display: grid; place-items: center; font: 400 16px/1 Display, sans-serif; color: #fff; background: var(--pink); border-radius: 50%; }
.vt-btn { display: grid; justify-items: center; gap: 1px; background: none; border: 0; padding: 0; color: #fff; font: 11px/1.1 Mono, monospace; cursor: pointer; text-shadow: 0 1px 2px #000; }
.vt-btn .px { width: 34px; height: 34px; stroke: var(--ink); stroke-width: .9; paint-order: stroke; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .45)); }
.vt-btn .px .dots { fill: var(--ink); stroke: none; }
.vt-btn.like[aria-pressed="true"] .px { color: var(--pink); animation: pop .3s steps(3); }
.vt-btn.sound .px { width: 26px; height: 26px; }
.vt-meta { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 70px 62px 14px 10px; background: linear-gradient(0deg, rgba(0, 0, 0, .78), transparent); text-shadow: 0 1px 2px #000; pointer-events: none; }
.vt-meta button, .vt-meta a { pointer-events: auto; }
.vt-handle { background: none; border: 0; padding: 0; margin-bottom: 4px; font: 400 18px/1 Display, sans-serif; color: #fff; cursor: pointer; }
.vt-caption { margin: 0 0 6px; font-size: 12.5px; }
.vt-tag { background: none; border: 0; padding: 0; font: inherit; color: #ffd0e3; cursor: pointer; }
.vt-link { display: inline-block; margin-bottom: 6px; padding: 3px 8px; font: 400 14px/1.2 Display, sans-serif; text-transform: uppercase; color: var(--ink); background: var(--gold-2); text-decoration: none; }
.vt-sound { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 11px; white-space: nowrap; overflow: hidden; }
.vt-marquee { overflow: hidden; flex: 1; min-width: 0; }
.vt-marquee span { display: inline-block; padding-left: 100%; animation: marquee 9s linear infinite; }
.vt-views { color: rgba(255, 255, 255, .6); }

/* Comments: a sheet up from the bottom of the phone. */
.vt-sheet { position: absolute; z-index: 20; inset: 0; }
.vt-sheet-back { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .2s; }
.vt-sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; height: 68%; display: flex; flex-direction: column; background: #0d1016; border-top: 3px solid var(--pink); transform: translateY(100%); transition: transform .2s steps(6); }
.vt-sheet.open .vt-sheet-back { opacity: 1; }
.vt-sheet.open .vt-sheet-panel { transform: none; }
.vt-sheet header { display: flex; justify-content: center; align-items: center; position: relative; padding: 12px; font: 400 18px/1 Display, sans-serif; text-transform: uppercase; border-bottom: 1px solid #222a36; }
.vt-close { position: absolute; right: 8px; top: 6px; background: none; border: 0; color: #fff; cursor: pointer; }
.vt-close .px { width: 22px; height: 22px; }
.vt-comments { list-style: none; margin: 0; padding: 6px 12px; flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.vt-comments li { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; padding: 8px 0; align-items: start; }
.vt-comments .av { width: 36px; height: 36px; }
.vt-c-av { background: none; border: 0; padding: 0; cursor: pointer; }
.vt-comments p { margin: 0; font-size: 12.5px; }
.vt-c-user { color: rgba(255, 255, 255, .6); font-size: 11px !important; }
.vt-c-like { display: grid; justify-items: center; color: rgba(255, 255, 255, .6); font-size: 10px; }
.vt-c-like .px { width: 16px; height: 16px; }
.vt-say { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-top: 1px solid #222a36; }
.vt-say .av { width: 32px; height: 32px; font-size: 11px; }
.vt-say input { flex: 1; min-width: 0; padding: 8px 10px; font: 13px Mono, monospace; color: #fff; background: #1a1f29; border: 1px solid #2c3442; }
.vt-say input:focus { outline: 2px solid var(--pink); }
.vt-say button { font: 400 16px/1 Display, sans-serif; text-transform: uppercase; color: var(--ink); background: var(--pink); border: 0; padding: 8px 10px; cursor: pointer; }
.vt-say-note { margin: 0; padding: 0 10px 8px; font-size: 10px; color: rgba(255, 255, 255, .45); }

/* Following, profiles, discover. */
.vt-home .vt-following { position: absolute; inset: 0; padding-top: 64px; }
.vt-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.vt-people li { display: flex; align-items: center; gap: 8px; }
.vt-person { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 8px 4px; background: none; border: 0; color: #fff; text-align: left; cursor: pointer; }
.vt-person:hover { background: #121722; }
.vt-person .av { width: 48px; height: 48px; }
.vt-person-text { flex: 1; min-width: 0; display: grid; gap: 1px; }
.vt-person-text b { font: 400 18px/1.1 Display, sans-serif; text-transform: uppercase; font-weight: 400; }
.vt-person-text .mono { font-size: 10.5px; color: rgba(255, 255, 255, .55); }
.vt-last { font-size: 11px; color: rgba(255, 255, 255, .75); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-thumb { width: 40px; height: 71px; object-fit: cover; border: 1px solid #333; }
.vt-live { position: absolute; left: 13px; top: 46px; font: 400 10px/1 Display, sans-serif; color: #fff; background: var(--pink); padding: 2px 4px; }
.vt-follow { flex: none; font: 400 15px/1 Display, sans-serif; text-transform: uppercase; color: #fff; background: var(--pink); border: 0; padding: 7px 12px; cursor: pointer; }
.vt-follow[aria-pressed="true"] { background: #232a36; color: rgba(255, 255, 255, .8); }
.vt-follow.big { padding: 10px 40px; font-size: 18px; margin: 8px 0; }
.vt-bar { display: flex; justify-content: space-between; align-items: center; padding: 22px 8px 8px; font: 400 18px/1 Display, sans-serif; border-bottom: 1px solid #1c222d; flex: none; }
.vt-bar > span { width: 30px; }
.vt-backbtn { background: none; border: 0; color: #fff; cursor: pointer; padding: 0; }
.vt-player .vt-backbtn { position: absolute; z-index: 5; left: 8px; top: 20px; filter: drop-shadow(0 1px 2px #000); }
.vt-prof-head { position: relative; display: grid; justify-items: center; text-align: center; padding: 16px 0 6px; }
.vt-prof-head .av.big { width: 88px; height: 88px; border: 3px solid var(--pink); }
.vt-prof-head .av.you.big { font-size: 22px; }
.vt-prof-head .vt-live { left: calc(50% - 15px); top: 92px; }
.vt-prof-head h3 { margin: 10px 0 6px; font-size: 24px; }
.vt-stats { display: flex; gap: 18px; margin: 0 0 6px; }
.vt-stats div { display: grid; }
.vt-stats dt { order: 2; font-size: 10px; color: rgba(255, 255, 255, .55); }
.vt-stats dd { margin: 0; font: 400 20px/1 Display, sans-serif; }
.vt-bio { margin: 4px 8px 8px; font-size: 12px; color: rgba(255, 255, 255, .85); }
.vt-grid { list-style: none; margin: 0 -12px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.vt-grid button { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #111; cursor: pointer; aspect-ratio: 9 / 16; }
.vt-grid img { width: 100%; height: 100%; object-fit: cover; }
.vt-grid span { position: absolute; left: 4px; bottom: 3px; display: flex; align-items: center; gap: 2px; font-size: 10px; color: #fff; text-shadow: 0 1px 2px #000; }
.vt-grid .px { width: 12px; height: 12px; }
.vt-search { display: flex; align-items: center; gap: 6px; margin: 22px 10px 6px; padding: 0 10px; background: #1a1f29; border: 1px solid #2c3442; flex: none; }
.vt-search .px { width: 18px; height: 18px; color: rgba(255, 255, 255, .6); }
.vt-search input { flex: 1; min-width: 0; padding: 9px 0; font: 13px Mono, monospace; color: #fff; background: none; border: 0; outline: none; }
.vt-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.vt-chips button { font: 11px Mono, monospace; color: #fff; background: #1a1f29; border: 1px solid #2c3442; padding: 5px 8px; cursor: pointer; }
.vt-chips button[aria-pressed="true"] { background: var(--pink); border-color: var(--pink); }
.vt-toast { position: absolute; z-index: 30; left: 50%; bottom: 70px; transform: translateX(-50%); margin: 0; padding: 7px 12px; font: 400 15px/1 Display, sans-serif; text-transform: uppercase; color: var(--ink); background: var(--gold-2); opacity: 0; transition: opacity .2s; pointer-events: none; white-space: nowrap; }
.vt-toast.show { opacity: 1; }

.video-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.video-title { font: 400 21px/1.1 Display, sans-serif; text-transform: uppercase; margin: 10px 0 2px; }
@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .video-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- articles */

.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 28px 0 8px; }
.stat { padding: 16px; --cut: 10px; }
.stat b { display: block; font: italic 400 44px/1 Display, sans-serif; }
@media (max-width: 640px) { .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.chapter { margin-top: 56px; }
.chapter h2 { font-size: clamp(36px, 5vw, 52px); }
.list { padding-left: 1.2em; }
.list li { margin-bottom: .6em; }
.list li::marker { content: '▶  '; color: var(--teal); font-size: .7em; }
.prose { padding: clamp(20px, 4vw, 36px); }
.prose .small-title { margin-top: 1.4em; }
.prose .small-title:first-child { margin-top: 0; }
.credits { list-style: none; padding: 0; display: grid; gap: 12px; }
.credits li { display: grid; grid-template-columns: 200px 1fr; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.credits b { font: 400 20px/1.1 Display, sans-serif; text-transform: uppercase; }
@media (max-width: 640px) { .credits li { grid-template-columns: 1fr; gap: 2px; } }
.table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 1em; }
.table th, .table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.table th { font: 400 16px/1 Display, sans-serif; text-transform: uppercase; color: var(--teal); }

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

.continue { text-align: center; padding-block: 90px; }
.ko { font-size: clamp(110px, 22vw, 220px); }
.continue-count { font-size: 30px; letter-spacing: .2em; color: var(--cream); }
.continue-count b { color: var(--red); font-weight: 400; }
.continue .actions { justify-content: center; }

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

.footer { margin-top: 80px; border-top: 2px solid var(--line); background: #040d11; padding-block: 34px 40px; }
.footer-inner { display: flex; gap: 26px; align-items: center; }
.footer-studio img { width: 74px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 8px; }
.footer-nav a { font: 400 19px/1.2 Display, sans-serif; text-transform: uppercase; color: var(--cream); text-decoration: none; }
.footer-nav a:hover { color: var(--gold-2); }
.footer p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 600px) { .vistok-head { flex-direction: column; align-items: start; gap: 8px; } .vistok-head img { width: 84px; } }

/* ---------------------------------------------------------------- Link Battle */

.link-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.link-shots { margin: 0; display: grid; gap: 10px; }
.link-shots img { border: 2px solid var(--line-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.step { padding: 22px 22px 10px; }
.step-no { display: block; font: italic 400 64px/1 Display, sans-serif; margin-bottom: 6px; }
.step h3 { font-size: 28px; color: var(--cream); }
.screen-name { font: 400 1.05em/1 Display, sans-serif; letter-spacing: .02em; color: var(--gold-2); white-space: nowrap; }
.platform-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.platform-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.platform { padding: 22px 24px 12px; }
.platform h3 { font-size: 26px; color: var(--teal); }
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.faq > div { padding: 18px 22px; --cut: 10px; }
.faq dt { font: 400 22px/1.1 Display, sans-serif; text-transform: uppercase; margin-bottom: 6px; }
.faq dd { margin: 0; font-size: 15px; }
.how-it-works { padding: 26px 28px 12px; }
.mode-link { position: relative; margin-top: 10px; font: 400 18px/1 Display, sans-serif; text-transform: uppercase; color: var(--teal); text-decoration: none; }
.mode-link:hover { color: var(--gold-2); }
@media (max-width: 900px) { .link-intro, .steps, .platform-grid, .platform-grid.two, .faq { grid-template-columns: 1fr; } }

/* The arcade's FIGHTER DOSSIER: the quote and alias on the left, the file on the right. */
.file { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 9fr); gap: 32px; padding: clamp(22px, 4vw, 36px); --cut: 20px; border-color: color-mix(in srgb, var(--accent) 60%, var(--line-2)); }
.file-quote { font: italic 400 clamp(26px, 3vw, 34px)/1.15 Display, sans-serif; color: var(--accent); margin: 12px 0; }
.file-home { font-size: clamp(30px, 4vw, 44px); padding-bottom: 12px; border-bottom: 2px solid color-mix(in srgb, var(--gold-2) 40%, transparent); margin-bottom: 18px; }
.file-body p { font-size: 16px; }
.file-prize { margin: 22px 0 0; padding-top: 14px; border-top: 2px solid color-mix(in srgb, var(--gold-2) 40%, transparent); color: var(--muted); font-size: 14px !important; }
.file-prize b { color: var(--gold-2); font-weight: 400; letter-spacing: .12em; margin-right: 10px; }
@media (max-width: 860px) { .file { grid-template-columns: 1fr; gap: 6px; } }

/* VisTok full screen: the app on its own, the whole display, like the real thing. On a wide
   screen it stays a portrait column, as the app does on a computer. */
.vt-fullbtn { position: absolute; z-index: 6; left: 6px; top: 20px; display: none; place-items: center; width: 30px; height: 30px; padding: 0; color: #fff; background: rgba(0, 0, 0, .55); border: 2px solid rgba(255, 255, 255, .6); cursor: pointer; }
.vt-fullbtn .px { width: 18px; height: 18px; }
.vt-app.on-home .vt-fullbtn, .vt-full .vt-fullbtn { display: grid; }
.vt-full .vt-app:not(.on-home) .vt-fullbtn { left: auto; right: 6px; top: auto; bottom: 64px; }
.vt-full { position: fixed !important; inset: 0; z-index: 1000; width: 100vw; height: 100vh; height: 100dvh; aspect-ratio: auto !important; border: 0 !important; background: #000; display: grid; justify-items: center; }
.vt-full .vt-app { position: relative; inset: auto; width: min(100vw, calc(100dvh * 9 / 16)); height: 100%; }
.vt-full .vt-top { padding-top: calc(22px + env(safe-area-inset-top)); }
.vt-full .vt-fullbtn { top: calc(20px + env(safe-area-inset-top)); }
.vt-full .vt-top::before { display: none; }
.vt-full .vt-nav { height: calc(54px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); }
.vt-full .vt-toast { bottom: calc(70px + env(safe-area-inset-bottom)); }
.vt-full .vt-sheet-panel { padding-bottom: env(safe-area-inset-bottom); }
.vt-full-open, .vt-full-open body { overflow: hidden; overscroll-behavior: none; }
.vt-full-open body::after { display: none; }
.vt-full-open .hud { visibility: hidden; }
:fullscreen.vt-full { width: 100vw; height: 100vh; }
@media (min-aspect-ratio: 3/4) { .vt-full::before { content: ''; position: fixed; inset: 0; background: radial-gradient(60% 80% at 50% 50%, #2a0f22, #000 70%); } }
.vt-full-open .phone, .vt-full-open .phone-wrap { clip-path: none; position: static; }
.vt-full-open .phone::after { display: none; }
