/* 0.7.6b «Единый вид» design tokens (design/STYLE-BIBLE-LAST-CHANCE.md §3.1, §3.2, §3.4, §7; plan/SPEC-0.7.6b-UNIFIED-LOOK.md §1.2).
   The only file with raw interface colours. Loaded first in index.html; every other stylesheet uses var(--…).
   Each colour has an `-rgb` triple for alpha: rgb(var(--c-gold-rgb) / 15%) (works in older WebViews, unlike color-mix). */
:root{
 /* Night and light */
 --c-night-0:#0e0c15;--c-night-0-rgb:14 12 21;
 --c-bg:#1a1626;--c-bg-rgb:26 22 38;
 --c-panel:#251f33;--c-panel-rgb:37 31 51;
 --c-panel-hi:#2e2740;--c-panel-hi-rgb:46 39 64;
 --c-line:#42354f;--c-line-rgb:66 53 79;
 --c-gold:#e8c27a;--c-gold-rgb:232 194 122;
 --c-gold-hi:#f0d08f;--c-gold-hi-rgb:240 208 143;
 --c-gold-line:#8d7252;--c-gold-line-rgb:141 114 82;
 --c-ink:#201921;--c-ink-rgb:32 25 33;
 --c-light:#ffd9a0;--c-light-rgb:255 217 160;
 --c-text:#efe6d8;--c-text-rgb:239 230 216;
 --c-text-2:#a99fb5;--c-text-2-rgb:169 159 181;
 --c-text-3:#7f6f8d;--c-text-3-rgb:127 111 141;
 --c-danger:#ff5a4a;--c-danger-rgb:255 90 74;
 --c-danger-edge:#fff1e6;--c-danger-edge-rgb:255 241 230;
 --c-ok:#6fbf7e;--c-ok-rgb:111 191 126;
 --c-shard:#bfb2f4;--c-shard-rgb:191 178 244;
 --c-scrim:#0e0c15cc;
 --c-scrim-light:#0e0c1566;
 --c-hud:#0e0c15a6;
 /* Rarity (one palette: cards, relics, skins, achievements) */
 --r-common:#8a8296;--r-common-rgb:138 130 150;
 --r-uncommon:#6fbf7e;--r-uncommon-rgb:111 191 126;
 --r-rare:#5f9cf0;--r-rare-rgb:95 156 240;
 --r-epic:#ae74f2;--r-epic-rgb:174 116 242;
 --r-legendary:#eea23c;--r-legendary-rgb:238 162 60;
 --r-mythic:#ff6d8d;--r-mythic-rgb:255 109 141;
 /* Maps (§3.2) — declared now, used by 0.7.7 */
 --map-forest-0:#122420;--map-forest-1:#1b302b;--map-forest-2:#2b4a3e;--map-forest-glow:#7ee8a5;
 --map-dunes-0:#2f241c;--map-dunes-1:#45372c;--map-dunes-2:#6b5640;--map-dunes-glow:#ffcb85;
 --map-quarter-0:#17182a;--map-quarter-1:#252736;--map-quarter-2:#3a3d55;--map-quarter-glow:#bd9aff;
 --map-graveyard-0:#141218;--map-graveyard-1:#1d1b22;--map-graveyard-2:#4a4652;--map-graveyard-glow:#a8ffcf;
 /* Spacing */
 --s-1:4px;--s-2:8px;--s-3:12px;--s-4:16px;--s-5:24px;--s-6:32px;
 /* One radius for everything (§7), pills for chips; 50% stays only for round things (portraits, joystick, dash/E) */
 --radius:8px;--radius-pill:999px;
 --bw:1px;
 /* Shadows and glows */
 --sh-1:inset 0 -2px 0 #0006;
 --sh-2:0 10px 14px -12px #0009;
 --sh-3:0 15px 60px #0008;
 --glow-gold:0 0 16px #e8c27a26;
 /* Type scale: nothing below 11 px */
 --fs-xs:11px;--fs-s:12px;--fs-m:14px;--fs-l:16px;--fs-xl:20px;--fs-2xl:24px;--fs-3xl:32px;
 --fs-hero:clamp(32px,7vw,64px);
 --lh-text:1.35;--lh-head:1.15;
 /* Touch */
 --tap:44px;--tap-primary:48px;
 /* Two fonts (§7): set again by applyFontPair('stele') in src/ui-settings.js; system-ui only until they load */
 --font-display:Forum,system-ui,sans-serif;
 --font-body:'Fira Sans Condensed',system-ui,sans-serif;
 --font-accent:Forum,system-ui,sans-serif;
}
