/* ==========================================================================
   kit-tokens.css — Streamer Kit design tokens (STREAMER-KIT.md §3.3, SK-V2-BRIEF §1.4). Owner: U2.
   Shared by overlay.html and dieu-khien.html (the panel imports it; U3 must not edit).
   Our HUD language only: olive-graphite plates, signal amber, extraction green, intel cyan.
   Theme ids: olive (default) · graphite · night. Accent presets: amber · ok · intel.
   Set data-theme / data-accent on any container; accent rules come after theme rules on purpose.
   No color-mix(), no nesting: OBS 30 ships an older Chromium (CEF 103).
   v2 (additive): rarity ladder colours (ours, never the game's tints or class colours), platform text-chip colours
   (a coloured chip with the platform NAME as text; never a platform logo), glass plates and edges for the premium look.
   ========================================================================== */
:root{
  --k-bg:#0B0D0C; --k-plate:#171B18; --k-plate-2:#1E2420; --k-plate-a:.88;
  --k-line:#3A423C; --k-line-strong:#6E786F;
  --k-text:#E9E7DF; --k-text-2:#B9B8AE; --k-text-3:#8F9088;
  --k-accent:#FF9F1C; --k-on-accent:#0B0D0C;
  --k-ok:#7CCB8B; --k-intel:#6FD3E8; --k-danger:#FF5A4E; --k-gold:#E0C063; --k-red:#FF4D4D; --k-red-bg:#33201F;
  --k-steel:#9FB0B8;
  --k-ease-out:cubic-bezier(.19,1,.22,1); --k-ease-inout:cubic-bezier(.77,0,.175,1); --k-ease-snap:cubic-bezier(.2,.9,.1,1);
  --k-lh-caps:1.3; --k-lh-display:1.16;
  --k-ff-display:"Saira","Segoe UI",system-ui,sans-serif; --k-ff-body:"Be Vietnam Pro","Segoe UI",system-ui,"Segoe UI Emoji","Noto Color Emoji",sans-serif;
  --k-ff-mono:"JetBrains Mono",Consolas,ui-monospace,monospace; --k-ff-stencil:"Saira Stencil One",var(--k-ff-display);

  /* derived: plates over gameplay at --k-plate-a (kept as literal rgb() for old CEF) */
  --k-plate-t:rgb(23 27 24 / .88); --k-plate-2-t:rgb(30 36 32 / .92);
  --k-bg-1:#111412;                         /* painted surround (frame layouts, full screens) */
  --k-fog:rgb(255 159 28 / .10);            /* warm fog in the painted background */
  --k-fog-2:rgb(111 211 232 / .07);
  --k-topo:rgb(111 211 232 / .14);
  --k-grid:rgb(111 211 232 / .045);
  --k-ok-bg:#1C2B20; --k-intel-bg:#16262C; --k-danger-bg:#2E1715; --k-gold-bg:#2A2414; --k-amber-bg:#2A2012;

  /* v2 · glass plates (two-stop vertical gradient) and edges (1 px cut-corner border) */
  --k-glass-1:rgb(31 37 33 / .93); --k-glass-2:rgb(13 16 14 / .95);
  --k-edge:rgb(233 231 223 / .17); --k-edge-lo:rgb(233 231 223 / .07); --k-edge-hi:rgb(255 159 28 / .95);
  --k-shadow:rgb(0 0 0 / .55);

  /* v2 · rarity ladder (S.rarityOrder: grey green blue purple gold red). Labels live in kit-schema.js. */
  --k-r-grey:#A7AEB1; --k-r-green:#73D08A; --k-r-blue:#4F9DF7; --k-r-purple:#A97CFF; --k-r-gold:#F2B93B; --k-r-red:#FF4848;
  --k-r-grey-bg:#22272A; --k-r-green-bg:#16291D; --k-r-blue-bg:#15233A; --k-r-purple-bg:#241B3A; --k-r-gold-bg:#2E2412; --k-r-red-bg:#3A1514;

  /* v2 · platform text chips (name as text, never a logo) */
  --k-pf-youtube:#FF5148; --k-pf-facebook:#4C8DFF; --k-pf-tiktok:#25E8E1; --k-pf-tiktok-2:#FF3D6E; --k-pf-twitch:#A974FF;
  --k-pf-kick:#5BEA2A; --k-pf-bank:#F2C14E;
}
[data-theme="olive"]{ --k-plate:#171B18; --k-plate-2:#1E2420; --k-line:#3A423C; --k-accent:#FF9F1C;
  --k-plate-t:rgb(23 27 24 / .88); --k-plate-2-t:rgb(30 36 32 / .92); --k-bg-1:#111412; --k-fog:rgb(255 159 28 / .10);
  --k-glass-1:rgb(31 37 33 / .93); --k-glass-2:rgb(13 16 14 / .95); }
[data-theme="graphite"]{ --k-plate:#1A2226; --k-plate-2:#223036; --k-line:#34444B; --k-accent:#6FD3E8;
  --k-plate-t:rgb(26 34 38 / .88); --k-plate-2-t:rgb(34 48 54 / .92); --k-bg-1:#0F1518; --k-fog:rgb(111 211 232 / .09); --k-fog-2:rgb(159 176 184 / .06);
  --k-glass-1:rgb(30 40 45 / .93); --k-glass-2:rgb(12 17 20 / .95); }
[data-theme="night"]{ --k-plate:#0E1410; --k-plate-2:#152018; --k-line:#2C3B30; --k-text:#CFE3D2; --k-text-2:#9FB8A4; --k-accent:#7CCB8B;
  --k-plate-t:rgb(14 20 16 / .9); --k-plate-2-t:rgb(21 32 24 / .92); --k-bg-1:#0A0F0B; --k-fog:rgb(124 203 139 / .07); --k-fog-2:rgb(124 203 139 / .04);
  --k-topo:rgb(124 203 139 / .10); --k-grid:rgb(124 203 139 / .04);
  --k-glass-1:rgb(17 26 20 / .94); --k-glass-2:rgb(8 12 9 / .96); --k-edge:rgb(207 227 210 / .15); }
[data-accent="amber"]{ --k-accent:#FF9F1C; --k-edge-hi:rgb(255 159 28 / .95) }
[data-accent="ok"]{ --k-accent:#7CCB8B; --k-edge-hi:rgb(124 203 139 / .95) }
[data-accent="intel"]{ --k-accent:#6FD3E8; --k-edge-hi:rgb(111 211 232 / .95) }
