/* Neon Cabinet design tokens (decision #66), the CSS twin of tokens.ts: tests/tokens.test.ts checks they match.
   Grades 6–8 by default; put data-band="younger" on <html> for the brighter grades 3–5 palette (#62).
   Only rebuilt games load this file; the older games keep kit.css until they go through the new pipeline (#58).
   Fonts are self-hosted (SIL Open Font License, see fonts/), so games make no third-party requests. */
@font-face{font-family:"Bungee";font-style:normal;font-weight:400;font-display:swap;src:url(/games/_shared/fonts/Bungee.woff2) format("woff2")}
@font-face{font-family:"Chakra Petch";font-style:normal;font-weight:500;font-display:swap;src:url(/games/_shared/fonts/ChakraPetch-500.woff2) format("woff2")}
@font-face{font-family:"Chakra Petch";font-style:normal;font-weight:700;font-display:swap;src:url(/games/_shared/fonts/ChakraPetch-700.woff2) format("woff2")}

:root{
  --ga-page:#05040f; --ga-ground:#07061a; --ga-horizon:#3a0b5e;
  --ga-panel:#0d0a26; --ga-line:#2f2a66; --ga-track:#1c1840; --ga-edge:#4a4380;
  --ga-white:#ffffff; --ga-text:#d8d4ff; --ga-muted:#a9a3e0; --ga-label:#8e88c9; --ga-hint:#8e88c9;
  --ga-score:#ffe14d; --ga-best:#22e6ff; --ga-prompt-glow:#22e6ff; --ga-action:#22e6ff;
  --ga-chase:#ff2bd6; --ga-heart:#ff2bd6; --ga-heart-line:#ff8af0;
  --ga-progress-from:#22e6ff; --ga-progress-to:#ff2bd6;
  --ga-craft:#120d33; --ga-trim:#ff2bd6;
  --ga-good:#7dff4a; --ga-bad:#ff4f6d;

  --ga-display:"Bungee","Impact",system-ui,sans-serif;
  --ga-body:"Chakra Petch",system-ui,sans-serif;
  --ga-type-label:12px; --ga-type-hint:14px; --ga-type-body:16px; --ga-type-tag:14px; --ga-type-score:26px;
  --ga-type-choice:32px; --ga-type-button:22px; --ga-type-title:46px; --ga-type-prompt:52px; --ga-type-big-score:56px;
  --ga-label-tracking:2px;
  --ga-radius-bar:4px; --ga-radius-tag:6px; --ga-radius-choice:12px; --ga-radius-button:14px; --ga-radius-panel:18px;
  --ga-space-xs:6px; --ga-space-s:10px; --ga-space-m:16px; --ga-space-l:22px; --ga-space-xl:28px;
  --ga-button-height:60px;
  color-scheme:dark;
}
:root[data-band="younger"]{
  --ga-page:#120836; --ga-ground:#1d0c52; --ga-horizon:#ff7a1a;
  --ga-panel:#2a1470; --ga-line:#4a33a0; --ga-track:#34207a; --ga-edge:#6a55c0;
  --ga-white:#ffffff; --ga-text:#e7e0ff; --ga-muted:#c9bdff; --ga-label:#c9bdff; --ga-hint:#b3a6f0;
  --ga-score:#ffe14d; --ga-best:#7dff4a; --ga-prompt-glow:#ff9a1f; --ga-action:#ff9a1f;
  --ga-chase:#ff4f9a; --ga-heart:#ff4f9a; --ga-heart-line:#ffb0d3;
  --ga-progress-from:#7dff4a; --ga-progress-to:#3ff3ff;
  --ga-craft:#2a1470; --ga-trim:#ff9a1f;
  --ga-good:#7dff4a; --ga-bad:#ff6b8a;
}
