/* Swei Fist Sans (獅尾拳頭黑體), SIL OFL 1.1 -- assets/fonts/SweiFistSans-OFL.txt.
   Subset to the 531 codepoints the Chinese build actually draws; player-typed
   names are deliberately outside it and fall through to the system CJK face. */
@font-face{font-family:'Swei Fist Sans';font-style:normal;font-weight:700;font-display:swap;src:url('assets/fonts/swei-fist-bold-subset.woff2?v=20260823-28') format('woff2');}
@font-face{font-family:'Swei Fist Sans';font-style:normal;font-weight:900;font-display:swap;src:url('assets/fonts/swei-fist-black-subset.woff2?v=20260823-28') format('woff2');}
@font-face{font-family:'Anton';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/anton-400.woff2') format('woff2');}
@font-face{font-family:'Quantico';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/quantico-400.woff2') format('woff2');}
@font-face{font-family:'Quantico';font-style:normal;font-weight:700;font-display:swap;src:url('assets/fonts/quantico-700.woff2') format('woff2');}

/* Hallmark · genre: playful · tone: festive arcade · anchor hue: lacquer red
 * design-system: Mooncake Basketball · contrast: pass */
:root{
  --color-paper: oklch(96% 0.025 85);
  --color-paper-2: oklch(89% 0.055 83);
  --color-ink: oklch(18% 0.035 35);
  --color-ink-2: oklch(29% 0.055 38);
  --color-accent: oklch(47% 0.19 28);
  --color-accent-hover: oklch(42% 0.18 28);
  --color-accent-ink: oklch(97% 0.018 88);
  --color-gold: oklch(82% 0.13 83);
  --color-gold-dark: oklch(59% 0.11 73);
  --color-focus: oklch(88% 0.15 95);
  --color-success: oklch(70% 0.16 145);
  --color-error: oklch(65% 0.22 25);
  --color-result-paper: oklch(95% 0.035 82);
  --color-result-paper-edge: oklch(85% 0.07 78);
  --color-result-ink: oklch(42% 0.16 32);
  --color-result-line: oklch(57% 0.17 34);
  --color-result-red: oklch(60% 0.235 27);
  --color-result-red-hover: oklch(53% 0.22 27);
  --color-result-green: oklch(39% 0.09 145);
  --color-result-gold: oklch(74% 0.14 76);
  --color-result-frame: oklch(39% 0.16 30);
  --color-result-white: oklch(100% 0 0);
  --color-rank-gold: oklch(63% 0.105 78);
  --color-rank-gold-paper: oklch(92% 0.055 82);
  --color-rank-silver: oklch(61% 0.018 255);
  --color-rank-silver-paper: oklch(94% 0.016 255);
  --color-rank-copper: oklch(57% 0.105 48);
  --color-rank-copper-paper: oklch(93% 0.035 58);
  --color-competition-orange: oklch(57% 0.15 52);
  --color-competition-rule: oklch(78% 0.045 75);
  --font-display: 'Anton', 'Arial Narrow Bold', 'Oswald', sans-serif;
  --font-numeric: 'Quantico', 'Arial Narrow', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  /* Loaded from Google Fonts (see index.html <head>) — every clickable button
     uses this instead of --font-numeric. */
  --font-button: 'Orbitron', 'Quantico', 'Arial Narrow', sans-serif;

  /* Traditional Chinese. Subset to the glyphs the build actually draws (531
     codepoints, 87KB a weight) -- the full face is 17.9MB, which is not a
     download this game can justify. Player-typed names are deliberately NOT in
     the subset: those fall through to the system CJK font, which has every
     glyph a player could type. */
  --font-display-zh: 'Anton', 'Swei Fist Sans', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --font-body-zh: 'Swei Fist Sans', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --font-numeric-zh: 'Quantico', 'Swei Fist Sans', 'PingFang TC', sans-serif;
  --space-3xs: .25rem;
  --space-2xs: .5rem;
  --space-xs: .75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-in: cubic-bezier(.7,0,.84,0);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
  --dur-fast: 120ms;
  --dur-short: 220ms;
  --dur-long: 420ms;
  --radius-pill: 999px;
  --radius-card: 28px;
  --shadow-result: 0 22px 65px color-mix(in oklch, var(--color-ink) 55%, transparent);
}
