/* VICE RADAR theme: Miami nightlife tokens, same variable names as v2.5.
   Contrast notes (WCAG AA, 4.5:1 for text; 3:1 for graphics), measured on --bg, --panel and --raised:
   - --muted is decoration only (tick marks, empty heat cells, rail zone, dot fill).
     Text and meaningful outlines use --text-muted and --stage-dead-text instead.
     tests/ui.test.mjs enforces this. */

:root {
  --teal: #5eead4; /* Growing chip / mint accent */
  --down: #ff8a80; /* down moves */
  color-scheme: dark;

  /* Surfaces — near-black, tinted midnight violet (VICE), not green-black */
  --bg: #090b12;
  --panel: #0d1019;
  --raised: #151826;
  --border: #272a37;
  --select: #ffffff0a;

  /* Accent — hot Miami pink, used on key spots */
  --accent: #f271aa;
  --accent-dim: #e46aab;
  --accent-rgb: 242 113 170;
  --accent-2: #47cdbd;
  --accent-3: #b59cff;

  /* Text — soft cool off-white and muted gray; never #ffffff */
  --text: #f1f1f6;
  --text-2: #c5cad8;
  --text-muted: #9aa3b8;
  --muted: #3d4458;            /* decoration only, never text */

  /* Stage colors: meaning only */
  --stage-growing: #5eead4;
  --stage-peaking: #ffc46a;
  --stage-dead: #4b5563;       /* fills only */
  --stage-dead-text: #9aa3b8;
  --risk: #ff8a80;

  /* Category colors, harmonized with the pink/cyan/violet night palette */
  --cat-attention: #ffc46a;
  --cat-community: #47cdbd;
  --cat-tech: #b59cff;
  --cat-uncategorized: #9aa3b8;

  /* Heat strip ramp (black -> pink), 5 steps */
  --heat-0: #0c0e16;
  --heat-1: #3a1830;
  --heat-2: #6b2a4d;
  --heat-3: #b44e7f;
  --heat-4: #f271aa;
  --shimmer: #1a1628;
  --accent-glow: rgb(242 113 170 / 0.14);
  --panel-glow: inset 0 1px 0 rgb(241 241 246 / 0.04);
  --glow-spot: #1a1628;

  /* Type — self-hosted condensed display + body sans + mono (no CDN) */
  --font-display: "Barlow Condensed", "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "DM Sans", "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --fs-2xs: 12px;
  --fs-xs: 13px;
  --fs-sm: 14px;
  --fs-md: 16px;
  --fs-lg: 18px;
  --fs-xl: 32px;

  /* Layout */
  --rail-w: 248px;
  --drawer-w: 400px;
  --row-h: 68px;
  --ticker-h: 28px;
  --footer-h: 22px;
  --r-lg: 16px;
  --r-md: 10px;
  --r-sm: 6px;

  /* Motion — 150–200ms hover/focus */
  --dur-fast: 160ms;
  --dur: 180ms;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-slow: 300ms;
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur-fast: 0ms; --dur: 0ms; --dur-slow: 0ms; }
}
