/* Festive Batface Christmas — tokens. Same token grammar as the Halloween system (--sp-*, --r-*, --hit,
   --text, --accent, --live, --reward, --plate…), with a Christmas Eve palette. Semantic names are what
   components use; the primitives exist so art and interface can share exact colors. */
:root {
  /* night ramp: the painted sky */
  --night-950: #050b1c;
  --night-900: #0a1630;
  --night-800: #11224a;
  --night-700: #1a3060;
  --frost-700: #2a4680;
  --ice-300: #9fd0ff;
  /* hearth: you and action */
  --berry-500: #d42b42;
  --berry-400: #ff5a6e;
  --berry-700: #9c1b2e;
  --amber-400: #ffb84a;
  --candle-300: #ffe3a1;
  /* evergreen: live, game, focus */
  --pine-400: #5fe39a;
  --pine-700: #14803f;
  /* rewards */
  --gold-400: #ffd166;
  --silver-300: #cfd8e6;
  --bronze-400: #d08a4a;
  --snow-50: #f6fafe;
  --mist-300: #b9c8e6;
  --rose-400: #ff8394;
  --violet-400: #b79bff;

  --bg: var(--night-900);
  --surface: var(--night-800);
  --surface-2: var(--night-700);
  --line: var(--frost-700);
  --text: var(--snow-50);
  --text-2: var(--mist-300);
  --accent: var(--berry-500);
  --accent-hover: var(--berry-400);
  --on-accent: #ffffff;
  --live: var(--pine-400);
  --focus: var(--pine-400);
  --danger: var(--rose-400);
  --you: var(--amber-400);
  --reward: var(--gold-400);
  --on-light: var(--night-950);

  --plate: rgba(5,11,28,.72);
  --plate-solid: rgba(5,11,28,.94);
  --plate-line: rgba(159,208,255,.25);
  --live-line: rgba(95,227,154,.45);
  --you-wash: rgba(255,184,74,.14);
  --reward-wash: rgba(255,209,102,.16);
  --scrim: rgba(5,11,28,.6);
  --backdrop: rgba(5,11,28,.55);
  --shroud: rgba(5,11,28,.88);

  --shadow-1: 0 4px 12px rgba(0,0,0,.35);
  --shadow-2: 0 10px 28px rgba(0,0,0,.55);
  --shadow-sheet: 0 -12px 40px rgba(0,0,0,.6);
  --glow-hearth: 0 0 18px rgba(255,90,110,.5);
  --glow-evergreen: 0 0 16px rgba(95,227,154,.5);
  --glow-star: 0 0 14px rgba(159,208,255,.45);
  --glow-gold: 0 0 18px rgba(255,209,102,.6);
  --text-on-art: 0 1px 0 #000, 0 0 12px #050b1c;
  --text-drop: 0 2px 0 rgba(0,0,0,.8);

  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-12: 48px;
  --gutter: 16px;
  --r-chip: 999px; --r-btn: 16px; --r-row: 12px; --r-card: 20px; --r-sheet: 24px;
  --hit: 44px; --topbar-h: 44px; --dock-h: 56px; --cta-h: 56px; --chip-h: 40px; --hud-h: 52px; --pill-h: 32px;
  --content-w: min(100% - 32px, 448px);
  --cta-w: min(311px, 100% - 32px);
  --dialog-w: min(100% - 24px, 440px);
  --sheet-w: min(100%, 560px);
  --drawer-w: 420px;
  --sat: env(safe-area-inset-top, 0px);
  --sar: env(safe-area-inset-right, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);

  --font-display: "Mountains of Christmas", "Fredoka", "Arial Rounded MT Bold", ui-rounded, system-ui, serif;
  --font-ui: "Fredoka", "Arial Rounded MT Bold", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-12: 12px; --fs-13: 13px; --fs-14: 14px; --fs-15: 15px; --fs-16: 16px; --fs-18: 18px; --fs-20: 20px;
  --dur-fast: 180ms; --dur-med: 320ms; --ease-out: cubic-bezier(.2,.8,.2,1);

  --z-art: 0; --z-fx: 10; --z-content: 30; --z-chrome: 40; --z-arena: 50; --z-toast: 60;
}
