/* Re 100 hours — de_re world prototype.
   Base = the plain page (no JS, reduced motion). [data-mode=world] = the 3D flight. [data-mode=flat] = the
   2D radar fallback. Palette and type are the site's own (globals.css / LandingStyles.tsx). */

@font-face { font-family: "Oswald"; font-weight: 400 700; font-display: swap; src: url("../fonts/oswald-500-cyrillic-ext.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Oswald"; font-weight: 400 700; font-display: swap; src: url("../fonts/oswald-500-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-weight: 400 700; font-display: swap; src: url("../fonts/oswald-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400 600; font-display: swap; src: url("../fonts/ibm-plex-sans-400-cyrillic-ext.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400 600; font-display: swap; src: url("../fonts/ibm-plex-sans-400-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400 600; font-display: swap; src: url("../fonts/ibm-plex-sans-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-500-cyrillic-ext.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-500-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 700; font-display: swap; src: url("../fonts/ibm-plex-mono-700-cyrillic-ext.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 700; font-display: swap; src: url("../fonts/ibm-plex-mono-700-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 700; font-display: swap; src: url("../fonts/ibm-plex-mono-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --void: #08121A; --base: #0D1B24; --raised: #142A36; --line: #23404F; --bone: #E8DCC8; --dim: #7E93A0;
  --orange: #FF4A17; --amber: #F0A830; --ct: #4A9FD8; --player: #7CC6F2; --t: #E0B04A;
  --display: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --gut: 16px;
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --gut: 32px; } }
* { box-sizing: border-box; }
html { background: var(--void); -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; background: var(--void); color: var(--bone); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
::selection { background: var(--orange); color: var(--base); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--orange); color: var(--base); padding: 10px 16px; font-family: var(--display); text-transform: uppercase; text-decoration: none; }
.skip:focus { top: 12px; }

/* ------------------------------------------------------------------ type */
.eyebrow { margin: 0; font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.eyebrow-dim { color: var(--dim); }
h1, h2, h3 { margin: 0; }
h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: .92; letter-spacing: .005em; font-size: clamp(32px, 5.6vw, 58px); margin-top: 8px; }
h3 { font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: 21px; line-height: 1.1; letter-spacing: .02em; }
.lead { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; margin: 14px 0 0; max-width: 60ch; }
.date { margin: 10px 0 0; color: var(--dim); }
.btn, .btn-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 24px; text-decoration: none; font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; }
.btn { border: 2px solid var(--orange); background: var(--orange); color: var(--base); font-weight: 700; font-size: 20px; }
.btn:hover { background: transparent; color: var(--orange); }
.btn-ghost { border: 2px solid var(--line); background: rgba(8, 18, 26, .35); color: var(--bone); font-weight: 500; font-size: 18px; }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ------------------------------------------------------------------ lockup: radar half + 100 HOURS */
.lockup { display: flex; align-items: stretch; height: clamp(120px, 17vw, 230px); margin: 14px 0 6px; }
.lk-slot { display: block; height: 100%; aspect-ratio: 1; position: relative; }
.lk-slot svg, .lk-hours-svg { display: block; height: 100%; width: auto; }
.lk-gap { width: calc(100% * 0); flex: 0 0 auto; aspect-ratio: 6 / 56; height: 100%; }
.lk-hours-svg { aspect-ratio: 70.79 / 56; }
.lk-rooms { fill: var(--orange); }
.lk-100, .lk-hours { fill: var(--bone); }

/* ------------------------------------------------------------------ the plain page (base) */
main { position: relative; }
.ch { position: relative; border-top: 2px solid var(--line); padding: 64px var(--gut); }
.ch > .panel, .ch > .foot, .ch > .cards { max-width: 1120px; margin-left: auto; margin-right: auto; }
.ch-top { border-top: 0; min-height: min(92vh, 860px); display: flex; align-items: flex-end; padding-top: 120px; overflow: hidden; }
.ch-top .still { position: absolute; inset: 0; margin: 0; z-index: 0; }
.ch-top .still img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; border: 0; }
.ch-top .still::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 18, 26, .92) 0%, rgba(8, 18, 26, .7) 38%, rgba(8, 18, 26, .1) 75%), linear-gradient(0deg, rgba(8, 18, 26, .8), transparent 40%); }
.ch-top .panel { position: relative; z-index: 1; width: 100%; }
.still { margin: 36px auto 0; max-width: 1120px; }
.still img { display: block; width: 100%; height: auto; border: 2px solid var(--line); background: var(--base); }
.facts { display: grid; grid-template-columns: 1fr; gap: 2px; background: var(--line); border: 2px solid var(--line); margin: 28px 0 0; max-width: 760px; }
.facts div { background: var(--raised); padding: 14px 16px; }
.facts dt { font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.facts dd { margin: 6px 0 0; font-family: var(--display); font-size: clamp(19px, 2.4vw, 26px); line-height: 1.15; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.stages { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; max-width: 760px; }
.stage { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; }
.stage-n { grid-row: span 2; font-family: var(--mono); font-weight: 700; font-size: 14px; color: var(--orange); padding-top: 4px; }
.stage p { margin: 6px 0 0; color: var(--dim); }
.draft-note { margin: 18px 0 0; font-size: 13px; color: var(--dim); font-family: var(--mono); }
.cards { list-style: none; margin: 28px auto 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.card { display: grid; gap: 4px; padding: 12px 14px 14px; border: 2px solid var(--line); background: rgba(13, 27, 36, .92); text-decoration: none; position: relative; }
.card::before { content: ""; position: absolute; left: -2px; right: -2px; top: -2px; height: 3px; background: var(--amber); transform: scaleX(.28); transform-origin: left; transition: transform .2s; }
.card:hover::before, .card:focus-visible::before { transform: scaleX(1); }
.card:hover { border-color: var(--amber); }
.card-n { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--dim); }
.card-name { font-family: var(--display); font-weight: 700; font-size: 24px; text-transform: uppercase; line-height: 1; }
.card-meta { font-size: 13px; color: var(--dim); }
.card-meta b { font-family: var(--mono); color: var(--bone); font-weight: 500; }
.card-meta i { font-style: normal; display: block; font-family: var(--mono); font-size: 12px; }
/* The map's own emblem (Valve's map icon), to the right of the name block. */
.card { grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; }
.card > :not(.card-icon) { grid-column: 1; }
.card-icon { grid-column: 2; grid-row: 1 / span 3; width: 56px; height: 56px; align-self: center; object-fit: contain; }
.maps-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 22px 0 0; }
.source { font-size: 13px; color: var(--dim); }
.check { margin: 18px 0 22px; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 62ch; }
.check li { display: flex; gap: 12px; }
.check li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 8px; background: var(--orange); }
.foot { display: grid; gap: 32px; margin-top: 48px; padding-top: 28px; border-top: 2px solid var(--line); }
@media (min-width: 900px) { .foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); } }
.foot-logo { display: block; width: min(260px, 70vw); height: auto; margin: 0 0 12px; }
.foot-city { margin: 0 0 22px; color: var(--dim); }
.foot-body { margin: 6px 0 0; color: var(--dim); }
.foot-reg { display: grid; justify-items: start; gap: 4px; margin: 0 0 22px; padding: 0 0 20px; border-bottom: 1px solid var(--line); }
.foot-reg .btn { margin-top: 12px; min-height: 48px; font-size: 18px; }
.foot-players { margin-top: 10px; color: var(--bone); text-decoration-color: var(--line); text-underline-offset: 3px; }
.foot-players:hover { color: var(--orange); }
.foot-rules ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.foot-rules li { display: flex; gap: 12px; }
.foot-rules li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 8px; background: var(--line); }
.foot-rules a { color: var(--bone); text-decoration-color: var(--line); text-underline-offset: 3px; }
.foot-rules a:hover { color: var(--orange); }

/* HUD + loader are world/flat-mode furniture; the plain page shows the radar only as a nav (JS + wide) */
.hud, .ldr, .scrim, .smoke-veil, .tags, #gl, .flat-stage { display: none; }
html.js[data-mode="static"] .hud { display: block; }
html.js[data-mode="static"] .clock, html.js[data-mode="static"] .hint { display: none; }
html.js[data-mode="static"] .radar { position: fixed; left: 16px; top: 16px; width: 132px; z-index: 6; }
@media (max-width: 899px) { html.js[data-mode="static"] .hud { display: none; } }

/* ------------------------------------------------------------------ HUD */
.radar { width: var(--rs, 184px); }
.radar-svg { display: block; width: 100%; height: auto; overflow: visible; }
.radar .r-route { fill: none; stroke: var(--player); stroke-width: .8; stroke-linecap: round; stroke-dasharray: 1.4 1.8; opacity: .55; }
.radar .r-hot path { fill: rgba(232, 220, 200, 0); transition: fill .15s; }
.radar .r-hot:hover path, .radar .r-hot:focus-visible path { fill: rgba(240, 168, 48, .22); }
.radar .r-hot:focus-visible { outline: none; }
.radar .r-hot:focus-visible path { stroke: var(--orange); stroke-width: .8; }
.radar .r-cover { fill: #0D1B24; opacity: 0; pointer-events: none; }
.radar .r-ring { opacity: 0; }
.radar-loc { margin: 6px 0 0; font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone); text-shadow: 0 1px 2px rgba(0, 0, 0, .7); white-space: nowrap; }
.r-smoke { fill: #C9CDD2; }

.clock { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 6; display: flex; align-items: stretch; gap: 2px; font-family: var(--display); pointer-events: none; }
.clock-side { display: grid; place-items: center; width: 40px; font-weight: 700; font-size: 15px; letter-spacing: .04em; background: rgba(8, 18, 26, .72); }
.clock-t { color: var(--t); border-bottom: 2px solid var(--t); }
.clock-ct { color: var(--ct); border-bottom: 2px solid var(--ct); }
.clock-mid { display: grid; justify-items: center; min-width: 118px; padding: 4px 12px 6px; background: rgba(8, 18, 26, .82); }
.clock-mid b { font-weight: 500; font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.clock-mid span { margin-top: 3px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.clock-pips { display: flex; gap: 3px; margin-top: 5px; }
.clock-pips i { display: block; width: 16px; height: 3px; background: var(--line); }
.clock-pips i.on { background: var(--orange); }
.clock-pips i.done { background: var(--bone); }

.hint { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 6; display: grid; justify-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--bone); pointer-events: none; transition: opacity .4s; }
.hint i { display: block; width: 2px; height: 34px; background: linear-gradient(var(--bone), transparent); animation: hint 1.6s ease-in-out infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ------------------------------------------------------------------ world + flat modes: shared */
html[data-mode="world"] #gl { display: block; position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
html[data-mode="world"] .hud, html[data-mode="flat"] .hud { display: block; }
html[data-mode="world"] .radar, html[data-mode="flat"] .radar { position: fixed; left: 0; top: 0; z-index: 6; transform-origin: 0 0; will-change: transform; }
html[data-mode="world"] .scrim, html[data-mode="flat"] .scrim { display: block; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: var(--s, 0);
  background: linear-gradient(90deg, rgba(8, 18, 26, .9) 0%, rgba(8, 18, 26, .66) 30%, rgba(8, 18, 26, .0) 60%); }
html[data-mode="world"] .still, html[data-mode="flat"] .still { display: none; }
html[data-mode="world"] main, html[data-mode="flat"] main { z-index: 2; }
html[data-mode="world"] .ch, html[data-mode="flat"] .ch { border: 0; padding: 0; height: var(--len, 200vh); min-height: 0; display: block; }
html[data-mode="world"] .ch-top, html[data-mode="flat"] .ch-top { --len: 175vh; }
html[data-mode="world"] .ch-about, html[data-mode="flat"] .ch-about { --len: 200vh; }
html[data-mode="world"] .ch-draft, html[data-mode="flat"] .ch-draft { --len: 440vh; }
html[data-mode="world"] .ch-maps, html[data-mode="flat"] .ch-maps { --len: 260vh; }
html[data-mode="world"] .ch-ct, html[data-mode="flat"] .ch-ct { --len: 230vh; }
html[data-mode="world"] .panel, html[data-mode="flat"] .panel, html[data-mode="world"] .foot, html[data-mode="flat"] .foot {
  position: fixed; z-index: 3; left: clamp(24px, 5.5vw, 88px); top: calc(50% + 48px); width: min(540px, 40vw); margin: 0;
  opacity: var(--o, 0); transform: translate3d(0, calc(-50% + (1 - var(--o, 0)) * 22px), 0); pointer-events: none; will-change: opacity, transform; }
html[data-mode="world"] .panel.on, html[data-mode="flat"] .panel.on, html[data-mode="world"] .foot.on, html[data-mode="flat"] .foot.on { pointer-events: auto; }
html[data-mode="world"] .panel-hero, html[data-mode="flat"] .panel-hero { top: auto; bottom: clamp(28px, 9vh, 96px); transform: translate3d(0, calc((1 - var(--o, 0)) * 22px), 0); width: min(620px, 46vw); }
html[data-mode="world"] .panel-hero .lockup { height: clamp(120px, 15.5vw, 228px); }
html[data-mode="world"] .lk-slot svg, html[data-mode="flat"] .lk-slot svg { visibility: hidden; }
html[data-mode="world"] .foot, html[data-mode="flat"] .foot { left: auto; right: clamp(24px, 5vw, 80px); width: min(560px, 42vw); border: 0; padding: 22px 24px; background: rgba(8, 18, 26, .84); border-left: 3px solid var(--line); }
html[data-mode="world"] .foot { grid-template-columns: 1fr; gap: 18px; }
html[data-mode="world"] .stages, html[data-mode="flat"] .stages { gap: 4px; margin-top: 20px; }
html[data-mode="world"] .stage, html[data-mode="flat"] .stage { padding: 8px 0 8px 12px; border-left: 2px solid var(--line); opacity: .45; transition: opacity .25s, border-color .25s; }
html[data-mode="world"] .stage p, html[data-mode="flat"] .stage p { display: none; }
html[data-mode="world"] .stage[data-on="1"], html[data-mode="flat"] .stage[data-on="1"] { opacity: 1; border-left-color: var(--orange); }
html[data-mode="world"] .stage[data-on="1"] p, html[data-mode="flat"] .stage[data-on="1"] p { display: block; color: var(--bone); }
html[data-mode="world"] .stage h3, html[data-mode="flat"] .stage h3 { font-size: 18px; }
html[data-mode="world"] .draft-lead { display: none; }
html[data-mode="world"] .cards { position: fixed; inset: 0; z-index: 3; margin: 0; display: block; pointer-events: none; max-width: none; }
html[data-mode="world"] .cards li { position: absolute; left: 0; top: 0; width: 140px; opacity: 0; will-change: transform, opacity; }
html[data-mode="world"] .cards li.on { pointer-events: auto; }
html[data-mode="world"] .card { box-shadow: 0 10px 28px rgba(0, 0, 0, .35); }
html[data-mode="world"] .card { transform: translate(-50%, 0); }
.leaders { display: none; }
html[data-mode="world"] .leaders { display: block; position: fixed; inset: 0; z-index: 3; pointer-events: none; width: 100%; height: 100%; overflow: visible; }
.leaders line { stroke: var(--amber); stroke-width: 1.5; opacity: .85; }
.leaders circle { fill: var(--amber); }
.tags { pointer-events: none; }
html[data-mode="world"] .tags { display: block; position: fixed; inset: 0; z-index: 2; }
.tag { position: absolute; left: 0; top: 0; font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--bone); white-space: nowrap; text-shadow: 0 1px 3px rgba(0, 0, 0, .8); opacity: 0; will-change: transform, opacity; }
.tag b { color: var(--orange); font-weight: 700; }
html[data-mode="world"] .smoke-veil { display: block; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0; background: radial-gradient(120% 90% at 50% 55%, #C7C3BC 0%, #A9A7A3 60%, #8F918F 100%); }

/* ------------------------------------------------------------------ phones */
@media (max-width: 760px) {
  html[data-mode="world"] .panel, html[data-mode="flat"] .panel, html[data-mode="world"] .foot, html[data-mode="flat"] .foot {
    left: 10px; right: 10px; top: auto; bottom: 10px; width: auto; max-height: 56svh; overflow: auto; padding: 16px 16px 18px;
    background: rgba(8, 18, 26, .86); border: 2px solid var(--line); transform: translate3d(0, calc((1 - var(--o, 0)) * 22px), 0); }
  html[data-mode="world"] .panel-hero, html[data-mode="flat"] .panel-hero { background: linear-gradient(0deg, rgba(8, 18, 26, .92) 60%, rgba(8, 18, 26, 0)); border: 0; padding-top: 40px; width: auto; max-height: none; }
  html[data-mode="world"] .panel-hero .lockup { height: clamp(96px, 27vw, 130px); }
  html[data-mode="world"] .scrim, html[data-mode="flat"] .scrim { background: linear-gradient(0deg, rgba(8, 18, 26, .8) 0%, rgba(8, 18, 26, .3) 45%, rgba(8, 18, 26, 0) 70%); }
  html[data-mode="world"] .cards li { width: 128px; }
  html[data-mode="world"] .card { padding: 9px 10px 10px; }
  html[data-mode="world"] .card-icon { width: 44px; height: 44px; }
  html[data-mode="world"] .card-name { font-size: 18px; }
  html[data-mode="world"] .card-meta i { display: none; }
  h2 { font-size: clamp(28px, 8.4vw, 40px); }
  .lead { font-size: 15.5px; }
  html[data-mode="world"] .panel, html[data-mode="world"] .foot { max-height: 50svh; }
  html[data-mode="world"] .panel h2 { font-size: 29px; }
  html[data-mode="world"] .panel .lead { font-size: 14.5px; line-height: 1.5; margin-top: 10px; }
  html[data-mode="world"] .facts { grid-template-columns: repeat(3, 1fr); margin-top: 12px; }
  html[data-mode="world"] .facts div { padding: 8px 8px 9px; }
  html[data-mode="world"] .facts dt { font-size: 9px; letter-spacing: .08em; }
  html[data-mode="world"] .facts dd { font-size: 14px; margin-top: 4px; }
  html[data-mode="world"] .stages { margin-top: 10px; }
  html[data-mode="world"] .stage:not([data-on="1"]) { display: none; }
  html[data-mode="world"] .stage[data-on="1"] p { font-size: 14.5px; }
  html[data-mode="world"] .draft-note { margin-top: 8px; font-size: 11px; }
  html[data-mode="world"] .check { gap: 6px; margin: 12px 0 14px; font-size: 14px; }
  html[data-mode="world"] .ctas { margin-top: 16px; }
  html[data-mode="world"] .ctas .btn, html[data-mode="world"] .ctas .btn-ghost { min-height: 48px; font-size: 17px; padding: 0 16px; }
  .hint { display: none; }
  .clock-side { width: 30px; font-size: 13px; }
  .clock-mid { min-width: 92px; padding: 3px 8px 5px; }
  .clock-mid b { font-size: 19px; }
  .clock-mid span { font-size: 9px; }
  .clock-pips i { width: 11px; }
}

/* ------------------------------------------------------------------ match found: the one press before it all starts */
/* CS2's "YOUR MATCH IS READY!" dialog, as the game draws it: a box with a bright green frame over a dark
   green tint, the title in pale green over a thin rule, the mode under it, a flat green ACCEPT with dark
   lettering, the clock under that -- and the grey notice strip below the box. Sized with the screen as
   the game's is (--u is about a hundredth of the width). */
html.gate body { overflow: hidden; }
.acc { display: none; }
html.gate[data-mode="world"] .acc { display: grid; }
.acc { --u: clamp(9px, .9vw, 13px); position: fixed; inset: 0; z-index: 60; place-content: center; justify-items: center; gap: calc(var(--u) * 2.4); padding: 16px; background: var(--void); }
/* behind it, as behind the game's menu: the CS2 key art (the one /register uses), dark, soft and slowly
   drifting, with the corners pulled down -- the dialog floats over a scene, not over an empty page */
.acc-bg { position: absolute; inset: -4%; background: #0b1a12 url("/art/cs2-key-art-1600.jpg") 72% 30% / cover no-repeat; /* the two agents, right of centre in the art */ filter: blur(5px) brightness(.4) saturate(.85); transform: scale(1.03); animation: accbg 28s ease-in-out infinite alternate; }
@keyframes accbg { to { transform: scale(1.09) translate3d(-1.2%, -.8%, 0); } }
.acc-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 75% 70% at 50% 45%, rgba(4, 12, 10, 0) 30%, rgba(3, 8, 8, .82) 100%); }
.acc-box { position: relative; width: min(calc(var(--u) * 71), 94vw); padding: calc(var(--u) * 2) calc(var(--u) * 2.4) calc(var(--u) * 1.9); text-align: center; background: linear-gradient(rgba(26, 84, 29, .74), rgba(14, 54, 18, .84)); -webkit-backdrop-filter: blur(12px) saturate(1.15); backdrop-filter: blur(12px) saturate(1.15); border: 4px solid #57c254; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35), inset 0 0 40px rgba(87, 194, 84, .08), 0 0 28px rgba(87, 194, 84, .2), 0 18px 60px rgba(0, 0, 0, .5); animation: accin .35s cubic-bezier(.2, .8, .2, 1) backwards; transition: opacity .3s ease .55s; }
@keyframes accin { from { opacity: 0; transform: scale(.94); } }
.acc-h { display: inline-block; margin: 0; padding: 0 .2em .16em; border-bottom: 2px solid rgba(150, 224, 142, .75); font-family: var(--display); font-weight: 500; font-size: min(calc(var(--u) * 4.4), 7.2vw); line-height: 1.1; letter-spacing: .005em; text-transform: uppercase; color: #a9e4a2; text-shadow: 0 1px 0 rgba(0, 0, 0, .35), 0 0 18px rgba(169, 228, 162, .2); }
.acc-d { display: flex; align-items: center; justify-content: center; gap: .5em; margin: calc(var(--u) * .9) 0 0; font-family: var(--sans); font-size: max(15px, calc(var(--u) * 1.5)); color: #dce8d8; }
.acc-d img { width: 1.4em; height: 1.4em; display: block; }
.acc-btn { margin-top: calc(var(--u) * 1.8); min-width: calc(var(--u) * 17.5); height: calc(var(--u) * 8.2); padding: 0 calc(var(--u) * 2.4); border: 0; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: calc(var(--u) * 4.4); line-height: 1; letter-spacing: .01em; text-transform: uppercase; color: #133f15; background: #5fc45c; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -2px 0 rgba(0, 0, 0, .12); }
.acc-btn:hover { background: #6dd36a; }
.acc-btn:active { transform: translateY(1px); }
.acc-btn:focus-visible { outline: 3px solid #eaffe6; outline-offset: 3px; }
html.gate-ok .acc-btn { background: #3f9a3d; color: #0d2c0f; }
.acc-time { margin: calc(var(--u) * 1.6) 0 0; font-family: var(--display); font-weight: 600; font-size: max(15px, calc(var(--u) * 1.75)); letter-spacing: .05em; color: #eef6ec; font-variant-numeric: tabular-nums; }
.acc-note { position: relative; display: flex; align-items: center; gap: calc(var(--u) * 1.3); width: min(calc(var(--u) * 72), 94vw); margin: 0; padding: calc(var(--u) * 1.3) calc(var(--u) * 1.8); background: rgba(12, 14, 16, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-family: var(--sans); font-size: max(13px, calc(var(--u) * 1.45)); line-height: 1.4; color: #ececec; animation: accin .35s .08s cubic-bezier(.2, .8, .2, 1) backwards; transition: opacity .3s ease .55s; }
.acc-i { flex: none; display: grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; background: #f2f2f2; color: #111; font-family: var(--display); font-weight: 700; font-size: 1em; }
html.gate-ok .acc-box, html.gate-ok .acc-note { opacity: 0; }
/* film grain over the gate and the loading screen (the world has its own, in its lens pass): a tile of
   high-contrast grey noise laid over everything at a low alpha -- normal blending, so it shows on the
   near-black loading screen as much as on the green box (overlay all but vanished on the dark) -- and
   jumped to a new place 24 times a second, like grain on film */
.grain { position: absolute; inset: -60px; pointer-events: none; z-index: 5; opacity: .2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='2.6' intercept='-.8'/%3E%3CfeFuncG type='linear' slope='2.6' intercept='-.8'/%3E%3CfeFuncB type='linear' slope='2.6' intercept='-.8'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .25s steps(1) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 17% { transform: translate(-23px, 14px); } 33% { transform: translate(17px, -21px); } 50% { transform: translate(-11px, -9px); } 67% { transform: translate(26px, 19px); } 83% { transform: translate(-30px, 27px); } }
.grain-ldr { display: none; position: fixed; z-index: 11; transition: opacity .6s ease; }
html.loading[data-mode="world"] .grain-ldr { display: block; }
.ldr.out ~ .grain-ldr { opacity: 0; }

/* ------------------------------------------------------------------ loading screen (CS2 map loading, de_re) */
html.loading body { overflow: hidden; }
html.loading[data-mode="world"] .ldr { display: block; }
.ldr { position: fixed; inset: 0; z-index: 9; background: var(--void); transition: opacity .6s ease; }
.ldr.out { opacity: 0; pointer-events: none; }
.ldr-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(35, 64, 79, .35) 1px, transparent 1px), linear-gradient(90deg, rgba(35, 64, 79, .35) 1px, transparent 1px); background-size: 48px 48px; background-position: center; opacity: .5; }
.ldr-stage { position: absolute; left: 0; top: 0; bottom: 0; right: 340px; display: grid; place-items: center; }
.ldr-radar-slot { width: min(72vh, 52vw); aspect-ratio: 1; }
.ldr-col { position: absolute; right: 0; top: 0; bottom: 0; width: 340px; display: flex; flex-direction: column; justify-content: space-between; padding: 64px 28px 40px; background: rgba(13, 27, 36, .92); background-image: radial-gradient(rgba(232, 220, 200, .05) 1px, transparent 1px); background-size: 6px 6px; animation: ldrcol .4s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes ldrcol { from { transform: translateX(40px); opacity: 0; } }
.ldr-map { font-family: var(--display); font-weight: 700; font-size: 44px; text-align: center; letter-spacing: .01em; }
.ldr-mode { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 6px; font-family: var(--display); font-weight: 500; font-size: 24px; text-transform: uppercase; color: var(--bone); }
.ldr-mode svg { width: 22px; height: 22px; color: var(--amber); }
.ldr-rule { height: 2px; background: #fff; opacity: .3; margin: 22px 0 16px; }
.ldr-desc { margin: 0; text-align: center; color: var(--dim); }
.ldr-tip { display: flex; gap: 10px; margin: 0 0 22px; color: #EECE60; font-size: 15px; line-height: 1.45; }
.ldr-i { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border: 2px solid currentColor; border-radius: 50%; font-family: var(--mono); font-weight: 700; font-size: 11px; margin-top: 1px; }
.ldr-status { margin: 0 0 8px; color: #CCC; font-family: var(--display); font-size: 17px; text-transform: uppercase; letter-spacing: .03em; }
.ldr-bar { height: 8px; background: rgba(255, 255, 255, .08); }
.ldr-bar i { display: block; height: 100%; width: 0; background: #1AB8E0; transition: width .25s linear; }
.ldr-skip { position: absolute; left: 28px; bottom: 24px; margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
html.loading .radar .r-cover { animation: rcov .26s calc(.35s + var(--k) * .75s) both; opacity: 1; }
@keyframes rcov { from { opacity: 1; } to { opacity: 0; } }
@media (max-width: 760px), (max-aspect-ratio: 1/1) {
  .ldr-stage { right: 0; bottom: 230px; }
  .ldr-radar-slot { width: min(78vw, 46vh); }
  .ldr-col { left: 0; top: auto; width: auto; height: 230px; padding: 20px 18px 22px; }
  .ldr-head { display: grid; grid-template-columns: auto auto; justify-content: space-between; align-items: baseline; }
  .ldr-map { font-size: 32px; text-align: left; }
  .ldr-mode { font-size: 18px; margin: 0; }
  .ldr-rule, .ldr-desc { display: none; }
  .ldr-tip { font-size: 14px; margin-bottom: 14px; }
  .ldr-skip { left: 18px; top: 18px; bottom: auto; }
}

/* ------------------------------------------------------------------ flat (no WebGL): the radar drives */
html[data-mode="flat"] body { background: radial-gradient(90% 70% at 70% 40%, #12222D, var(--void)); }
html[data-mode="flat"] .flat-stage { display: block; position: fixed; z-index: 0; right: 4vw; top: 50%; width: min(78vh, 48vw); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; }
html[data-mode="flat"] .flat-stage svg { width: 100%; height: 100%; display: block; }
@media (max-width: 760px) { html[data-mode="flat"] .flat-stage { right: auto; left: 50%; top: 12vh; width: min(88vw, 52vh); transform: translateX(-50%); } }

/* reduced motion with JS: a normal page, no smooth jumps */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hint i { animation: none; } }

/* ------------------------------------------------------------------ cards outside the 3D projection */
html.loading .radar { z-index: 10; }
html.loading .radar-loc { opacity: 0 !important; }
html[data-mode="flat"] .cards { position: fixed; z-index: 3; left: clamp(24px, 5.5vw, 88px); top: 50%; transform: translateY(-50%); width: min(540px, 40vw); margin: 0; grid-template-columns: repeat(2, 1fr); opacity: var(--o, 0); pointer-events: none; }
html[data-mode="flat"] .cards.on { pointer-events: auto; }
@media (max-width: 760px) {
  html[data-mode="flat"] .cards { left: 10px; right: 10px; width: auto; top: auto; bottom: 10px; transform: none; }
  html[data-mode="world"] .cards { inset: auto 10px 10px 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  html[data-mode="world"] .cards li { position: static; width: auto; }
  html[data-mode="world"] .card { transform: none; }
  html[data-mode="world"] .card::after { display: none; }
}

/* capture mode for the static renders: the world alone */
html.bare .hud, html.bare main, html.bare .scrim, html.bare .tags, html.bare .leaders, html.bare .smoke-veil { display: none !important; }

/* "100 HOURS" stays alive: light runs round the 100's corridors like players on a radar,
   a scan sweeps HOURS, and each room answers the scan as it passes. Transform, opacity and
   stroke-dashoffset only; nothing here moves under reduced motion. */
.lk-trace { stroke: var(--orange); stroke-width: .8; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 9 41; animation: lk-march 4.2s linear infinite; opacity: .95; }
@keyframes lk-march { to { stroke-dashoffset: -50; } }
.lk-scan { fill: #FFF6E8; opacity: 0; animation: lk-scan 6s cubic-bezier(.45,0,.25,1) infinite; }
.lk-scan-2 { animation-delay: .08s; }
@keyframes lk-scan {
  0%   { transform: translateX(0);    opacity: 0; }
  6%   { opacity: .75; }
  34%  { transform: translateX(84px); opacity: .75; }
  38%, 100% { transform: translateX(84px); opacity: 0; }
}
.lk-rooms { animation: lk-rooms 6s linear infinite; }
@keyframes lk-rooms {
  0%, 14%, 22%, 100% { opacity: 1; }
  17% { opacity: .35; }
  19% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .lk-trace, .lk-scan { display: none; }
  .lk-rooms { animation: none; }
}
