:root {
  --bg: #0b0d10;
  --ink: #e9edf0;
  --muted: #8a939c;
  --line: rgba(255, 255, 255, .09);
  --grass: #8fd16a;   /* brand accent */
  --astra: #e9b84f;   /* gold */
  --jev: #5fd6ca;     /* diamond */
  --alert: #ff6a5c;
  --font: "Chakra Petch", system-ui, sans-serif;
  --mono: "Fragment Mono", ui-monospace, monospace;
  --dot: "Doto", var(--font);
  /* stepped "pixel" corners for small controls */
  --notch: polygon(0 3px, 3px 3px, 3px 0, calc(100% - 3px) 0, calc(100% - 3px) 3px, 100% 3px, 100% calc(100% - 3px), calc(100% - 3px) calc(100% - 3px), calc(100% - 3px) 100%, 3px 100%, 3px calc(100% - 3px), 0 calc(100% - 3px));
}

* { box-sizing: border-box; margin: 0; }
html { color-scheme: dark; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--grass); outline-offset: 2px; }

body {
  min-height: 100vh;
  color: var(--ink);
  font: 400 15px/1.55 var(--font);
  background:
    radial-gradient(900px 480px at 10% -8%, rgba(95, 214, 202, .08), transparent 60%),
    radial-gradient(800px 460px at 100% 0, rgba(233, 184, 79, .06), transparent 60%),
    radial-gradient(rgba(255, 255, 255, .055) 1px, transparent 1.3px) 0 0 / 18px 18px,
    var(--bg);
  background-attachment: fixed;
}

/* pixel icons: injected by app.js from ASCII grids, colored via currentColor */
[data-icon], .ic { display: inline-grid; width: 1em; height: 1em; flex: none; }
[data-icon] svg, .ic svg { width: 100%; height: 100%; }

/* — header — */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(11, 13, 16, .62);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 2px 0 var(--grass); /* a nod to a grass block */
}
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.logo { width: 26px; height: 26px; image-rendering: pixelated; }
.wordmark { font-weight: 700; font-size: 15px; letter-spacing: .2em; }
.wordmark b { font-weight: 400; color: var(--muted); }

.live {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px;
  font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--alert);
  background: rgba(255, 106, 92, .12); clip-path: var(--notch);
}
.live i { width: 6px; height: 6px; background: var(--alert); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }

/* — layout — */
main { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px) 48px; }

.hero { padding: 44px 0 28px; animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.eyebrow i { width: 8px; height: 8px; background: var(--grass); }
h1 { max-width: 20ch; font-weight: 600; font-size: clamp(30px, 4.6vw, 54px); line-height: 1.04; letter-spacing: -.01em; }
h1 em { font-style: normal; }
.a { --c: var(--astra); } .j { --c: var(--jev); } .e { --c: #cfd6dd; } .o { --c: #8fa3b8; } .g { --c: #79838d; }
h1 .a { color: var(--astra); } h1 .j { color: var(--jev); }
.lede { max-width: 58ch; margin-top: 16px; color: var(--muted); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* — glass — */
.glass {
  position: relative; padding: 12px; border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .022));
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .08);
  animation: rise .6s cubic-bezier(.2, .7, .2, 1) both;
  --mx: 50%; --my: 0;
}
.glass::after { /* soft light following the cursor */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(255, 255, 255, .06), transparent 60%);
}
.glass:hover::after { opacity: 1; }
.term.glass { animation-delay: .08s; }

.stage { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: stretch; }

/* — player — */
.screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
video { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.screen:fullscreen { border-radius: 0; }
.screen:fullscreen video { object-fit: contain; }
.screen::after { /* viewfinder corners */
  --k: rgba(255, 255, 255, .5);
  content: ""; position: absolute; inset: 8px; pointer-events: none;
  background:
    linear-gradient(var(--k), var(--k)) 0 0 / 14px 2px, linear-gradient(var(--k), var(--k)) 0 0 / 2px 14px,
    linear-gradient(var(--k), var(--k)) 100% 0 / 14px 2px, linear-gradient(var(--k), var(--k)) 100% 0 / 2px 14px,
    linear-gradient(var(--k), var(--k)) 0 100% / 14px 2px, linear-gradient(var(--k), var(--k)) 0 100% / 2px 14px,
    linear-gradient(var(--k), var(--k)) 100% 100% / 14px 2px, linear-gradient(var(--k), var(--k)) 100% 100% / 2px 14px;
  background-repeat: no-repeat;
}

.nosignal { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--muted);
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 6px), #111418; }
.nosignal span { font-weight: 700; font-size: clamp(20px, 3.4vw, 34px); letter-spacing: .24em; text-transform: uppercase; color: var(--alert); }
.screen.off .nosignal { display: flex; }
.screen.off video { visibility: hidden; }

.wait-pill { position: absolute; top: 14px; right: 14px; display: none; padding: 3px 12px; font: 12px var(--mono); color: var(--astra); background: rgba(10, 12, 15, .7); clip-path: var(--notch); }
.screen.wait .wait-pill { display: block; animation: pulse 1s ease-in-out infinite; }

/* on-video HUD */
.hud {
  position: absolute; top: 14px; left: 14px; max-width: min(520px, calc(100% - 28px)); padding: 9px 12px 10px; pointer-events: none;
  font: 12px/1.45 var(--mono); border-radius: 8px;
  background: rgba(10, 12, 15, .55);
  -webkit-backdrop-filter: blur(10px) saturate(130%); backdrop-filter: blur(10px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, .12);
}
.hud-top { display: flex; flex-wrap: wrap; gap: 0 12px; align-items: baseline; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.hud-top b { font-family: var(--font); font-weight: 600; letter-spacing: .16em; color: var(--ink); }
#hudT { color: var(--ink); font-variant-numeric: tabular-nums; min-width: 12ch; }
.hud-row { display: flex; gap: 8px; align-items: flex-start; margin-top: 6px; }
.hud-row i { width: 11px; height: 11px; margin-top: 3px; color: var(--c); }
.hud-row span { min-width: 0; color: #dfe5e9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hud-row.j span { color: #bdf1eb; }
.hud-row span.flash { animation: hudin .18s ease-out; }
@keyframes hudin { from { opacity: 0; transform: translateX(-6px); } }
.screen:fullscreen .hud { top: 24px; left: 24px; max-width: 760px; font-size: 16px; }
.screen:fullscreen .hud-top { font-size: 14px; }

.ctrl { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; justify-content: space-between; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; padding: 6px 12px; border: 0;
  font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(10, 12, 15, .62); clip-path: var(--notch);
  transition: background .2s, color .2s;
}
.btn i { width: 12px; height: 12px; }
.btn:hover { background: rgba(255, 255, 255, .16); }
.btn.on { color: var(--grass); }

.meta { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 12px; }
.meta div { padding: 0 4px; }
.meta div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.meta small, .cell h3 { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.meta small { display: block; }
.num { font-family: var(--dot); font-weight: 800; font-size: 26px; line-height: 1.15; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.meta .num { display: block; }

/* — terminal — */
.term { display: flex; flex-direction: column; min-height: 440px; contain: size; padding: 14px; }
.term-head { display: flex; align-items: center; gap: 8px; font: 12px var(--mono); color: var(--muted); }
.term-head [data-icon] { width: 12px; height: 12px; color: var(--grass); }
.term-head em { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-style: normal; }
.dot { width: 6px; height: 6px; background: var(--grass); box-shadow: 0 0 8px var(--grass); animation: pulse 2s ease-in-out infinite; }

.chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 12px 0; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding: 3px 9px; border: 0;
  font-weight: 600; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase;
  background: color-mix(in srgb, var(--c) 16%, transparent); clip-path: var(--notch);
  transition: background .2s, opacity .2s;
}
.chip i { width: 11px; height: 11px; color: var(--c); }
.chip:hover { background: color-mix(in srgb, var(--c) 28%, transparent); }
.chip[aria-pressed="false"] { opacity: .4; background: rgba(255, 255, 255, .05); }

#log {
  flex: 1; min-height: 0; overflow: hidden; list-style: none; padding: 12px 12px 10px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 3px;
  font: 11px/1.55 var(--mono); border-radius: 6px;
  background: rgba(4, 6, 8, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  -webkit-mask-image: linear-gradient(transparent, #000 14%); mask-image: linear-gradient(transparent, #000 14%);
}
#log::after { content: ""; flex: none; width: 7px; height: 13px; margin-top: 2px; background: var(--grass); animation: pulse 1s steps(2) infinite; } /* cursor */
/* one runtime.log line: time, TYPE, then key=value pairs (keys dimmed) */
#log li { --c: var(--muted); flex: none; color: #c3cbd2; overflow-wrap: anywhere; }
#log li.new { animation: slidein .12s ease-out; }
@keyframes slidein { from { opacity: 0; transform: translateY(4px); } }
#log time { margin-right: 8px; color: #56606a; font-variant-numeric: tabular-nums; }
#log li b { margin-right: 8px; font-weight: 400; letter-spacing: .04em; color: var(--c); }
#log li span { white-space: nowrap; }
#log li i { font-style: normal; color: #69737d; }
#log li[data-kind="OBS"]        { --c: #8fa3b8; }
#log li[data-kind="ASTRA_PLAN"] { --c: var(--astra); color: #f1dcae; }
#log li[data-kind="DISPATCH"]   { --c: #f0cf85; }
#log li[data-kind="JEV"]        { --c: var(--jev); color: #b5ece6; }
#log li[data-kind="RESULT"]     { --c: var(--grass); }
#log li[data-kind="PERF"]       { --c: #5f6871; color: #5f6871; }
#log li[data-kind="STATE"]      { --c: #8b96a2; color: #9aa5b1; margin-top: 3px; padding-top: 3px; border-top: 1px solid rgba(255, 255, 255, .07); letter-spacing: .03em; }
#log li[data-kind="JEV_INTENT"] { --c: var(--jev); color: #d4f5f1; }
#log li[data-kind="INPUT"]      { --c: #66717d; color: #77828e; }
#log li[data-kind="UI"]         { --c: #9fb0c4; color: #a9b7c8; }
#log li[data-kind="EVENT"]      { --c: #fff; color: #fff; }
#log li[data-kind="RECOVERY"]   { --c: var(--alert); color: #ffb4ab; }
#log[data-hide~="obs"] li[data-type="obs"], #log[data-hide~="astra"] li[data-type="astra"], #log[data-hide~="jev"] li[data-type="jev"],
#log[data-hide~="perf"] li[data-type="perf"], #log[data-hide~="input"] li[data-type="input"], #log[data-hide~="event"] li[data-type="event"] { display: none; }

/* — world status — */
.status { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(320px, 2fr); margin-top: 20px; padding: 0; animation-delay: .16s; }
.cell { min-width: 0; padding: 16px 18px; }
.cell + .cell { border-left: 1px solid var(--line); }
.cell h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.cell h3 i { width: 12px; height: 12px; }
.cell small { display: block; color: var(--muted); font-size: 12px; }

.world .num { font-size: 30px; }
#daytime { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.lab { display: block; margin-top: 16px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lab b { color: var(--astra); font-weight: 600; }
.achs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ach { display: grid; place-items: center; width: 30px; height: 30px; color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .05); clip-path: var(--notch); transition: background .4s, color .4s; }
.ach i { display: grid; width: 16px; height: 16px; }
.ach svg { width: 100%; height: 100%; }
.ach.on { color: var(--astra); background: color-mix(in srgb, var(--astra) 18%, #12161a); }
.ach { cursor: help; }
.ach:focus-visible { outline: 2px solid var(--astra); outline-offset: 2px; }
.world { position: relative; z-index: 3; } /* keeps the tooltip above the neighbouring cell */
.tip {
  position: absolute; z-index: 5; width: 210px; padding: 10px 12px; pointer-events: none;
  font-size: 12px; line-height: 1.4; border-radius: 8px;
  background: rgba(14, 17, 21, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 14px 32px rgba(0, 0, 0, .55);
  opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s;
}
.tip.show { opacity: 1; transform: none; }
.tip b { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
.tip.on b { color: var(--astra); }
.tip span { display: block; margin-top: 2px; color: #c3cbd2; }
.tip em { display: block; margin-top: 7px; font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tip.on em { color: var(--grass); }
.ach.pop { animation: pop .7s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes pop { from { transform: scale(.35); filter: brightness(2.4); } }
.deaths { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.deaths > i { display: grid; width: 14px; height: 14px; color: var(--alert); }
.deaths .num { font-size: 22px; color: var(--ink); }
.deaths .num.hit { animation: hit .8s ease-out; }
@keyframes hit { 30% { color: var(--alert); transform: scale(1.35); } }

.astra b { display: block; font-weight: 600; font-size: 17px; line-height: 1.25; color: var(--astra); }
.astra small { margin-top: 2px; }
.steps { display: flex; gap: 4px; margin: 12px 0; }
.steps i { flex: 1; height: 6px; background: rgba(255, 255, 255, .1); }
.steps i.done { background: var(--grass); }
.steps i.cur { background: var(--astra); animation: pulse 1.6s ease-in-out infinite; }
#astraNote { font: 12px/1.5 var(--mono); color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }


/* — lore — */
.lore { margin-top: 72px; padding-top: 44px; border-top: 1px solid var(--line); }
.lore h2 { max-width: 18ch; font-weight: 600; font-size: clamp(26px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.01em; }
.lore .lede { font-size: 16px; }
.lore em { font-style: normal; } .lore .a { color: var(--astra); } .lore .j { color: var(--jev); }

/* scroll reveal: JS adds .in when the block enters the viewport */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; transition-delay: calc(var(--d, 0) * 110ms); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.card.glass, .route.glass { animation: none; }
.card { display: flex; flex-direction: column; padding: 22px; }
.card.in:hover { transform: translateY(-3px); transition-delay: 0s; transition-duration: .25s; }
.card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.card-top small, .step small { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ico { display: inline-flex; align-items: center; justify-content: center; gap: 4px; width: 34px; height: 34px; color: var(--grass); background: rgba(143, 209, 106, .12); clip-path: var(--notch); }
.ico i { width: 16px; height: 16px; }
.ico.two { width: auto; padding: 0 9px; color: inherit; background: rgba(255, 255, 255, .07); }
.ico.two i:first-child { color: var(--astra); } .ico.two i:last-child { color: var(--jev); }
.stat { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.stat .num { font-size: 46px; line-height: 1; }
.stat span { font-size: 13px; color: var(--muted); letter-spacing: .06em; }
.card h3 { margin-bottom: 8px; font-weight: 600; font-size: 18px; }
.card p { max-width: 44ch; font-size: 14px; color: var(--muted); }
.viz { margin-top: auto; padding-top: 24px; }
.cap { display: block; margin-top: 10px; font: 11px var(--mono); color: var(--muted); }

/* 43 squares, one per terabyte: light up in turn, then shimmer */
.tb { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.tb i { aspect-ratio: 1; background: rgba(255, 255, 255, .07); transition: background .4s; transition-delay: calc(var(--i) * 26ms); }
.card.in .tb i { background: color-mix(in srgb, var(--grass) calc(28% + var(--i) * 1.65%), transparent); animation: twinkle 3.4s ease-in-out infinite; animation-delay: calc(1.4s + var(--i) * 70ms); }
@keyframes twinkle { 50% { filter: brightness(1.6); } }

/* Astra: a slow horizon filling in steps. Jev: fast reflex ticks */
.lane + .lane { margin-top: 18px; }
.lane small { display: block; margin-bottom: 7px; font: 11px var(--mono); color: var(--muted); }
.hz { position: relative; width: 240px; max-width: 100%; height: 14px; }
.hz::before, .hz i { content: ""; position: absolute; left: 0; top: 0; height: 100%; background: linear-gradient(90deg, var(--k) 36px, transparent 36px) 0 0 / 40px 100%; }
.hz::before { --k: rgba(255, 255, 255, .1); width: 240px; }
.hz i { --k: var(--astra); width: 0; }
.card.in .hz i { animation: horizon 6.5s steps(6) infinite; }
@keyframes horizon { 0% { width: 0; } 85% { width: 240px; } 100% { width: 240px; } }
.ticks { display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.ticks i { flex: 1; max-width: 6px; height: 100%; background: var(--jev); transform-origin: bottom; transform: scaleY(.15); }
.card.in .ticks i { animation: tick .9s ease-in-out infinite; animation-delay: calc(var(--i) * -53ms); }
@keyframes tick { 50% { transform: scaleY(1); } }

/* hearts drain left to right, then refill: death and recovery */
.hearts { display: flex; gap: 3px; }
.hearts .s { position: relative; width: 22px; height: 20px; }
.hearts .s i { position: absolute; inset: 0; display: block; color: rgba(255, 255, 255, .12); }
.hearts .s i + i { color: #ff5c5c; }
.hearts svg { width: 100%; height: 100%; }
.card.in .hearts .s i + i { animation: drain 7s ease-in-out infinite; animation-delay: calc(var(--i) * 70ms); }
@keyframes drain { 0%, 28% { clip-path: inset(0 0 0 0); } 38%, 58% { clip-path: inset(0 100% 0 0); } 76%, 100% { clip-path: inset(0 0 0 0); } }

/* roadmap: a line draws across and lights the steps in turn */
.route { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 20px; padding: 26px; }
.route::before, .route::after { content: ""; position: absolute; left: 49px; right: 26px; top: 49px; height: 2px; background: rgba(255, 255, 255, .12); }
.route::after { background: linear-gradient(90deg, var(--grass), var(--astra) 45%, var(--jev)); transform: scaleX(0); transform-origin: left; transition: transform 1.8s cubic-bezier(.3, .6, .2, 1) .35s; }
.route.in::after { transform: scaleX(1); }
.step { position: relative; z-index: 1; }
.step .ico { width: 46px; height: 46px; margin-bottom: 14px; color: var(--muted); background: #14181c; opacity: .4; transition: opacity .6s, color .6s; }
.step .ico i { width: 22px; height: 22px; }
.step.now .ico { color: var(--grass); background: color-mix(in srgb, var(--grass) 16%, #12161a); opacity: 1; }
.route.in .step:nth-child(2) .ico { color: var(--astra); opacity: 1; transition-delay: 1s; }
.route.in .step:nth-child(3) .ico { color: var(--jev); opacity: 1; transition-delay: 1.7s; }
.step small { display: block; margin-bottom: 4px; }
.step.now small { color: var(--grass); }
.step.now small::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; background: var(--grass); animation: pulse 1.6s ease-in-out infinite; }
.step b { font-weight: 500; font-size: 15px; }

.closer { max-width: 26ch; margin-top: 64px; font-weight: 600; font-size: clamp(22px, 3vw, 34px); line-height: 1.2; }
.closer span { color: var(--muted); }

footer { padding: 8px 16px 36px; text-align: center; font: 12px var(--mono); color: #5d666f; }

@media (max-width: 960px) {
  .stage, .cards, .route { grid-template-columns: 1fr; }
  .route::before, .route::after { display: none; }
  .step .ico { opacity: 1; }
  .term { height: 480px; }
}
@media (max-width: 640px) {
  .status { grid-template-columns: 1fr; }
  .cell + .cell { border-left: 0; border-top: 1px solid var(--line); }
  .hero { padding-top: 28px; }
  .hud { font-size: 11px; }
  .btn span { display: none; }
  .num { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
