/* Полісся — generated from tokens.json */
:root, [data-theme="dark"] {
  --bg: #070e0a;
  --surface: #0d1712;
  --surface-raised: #15231b;
  --surface-sunken: #040906;
  --surface-brand: #0e3a25;
  --nav-glass: #070e0ab8;
  --scrim: #030805d9;
  --line: #ffffff17;
  --line-strong: #ffffff33;
  --line-control: #7f8c85;
  --ink: #f4f2ec;
  --ink-muted: #b0bab4;
  --ink-subtle: #8b9891;
  --ink-inverse: #0b1510;
  --on-dark: #f4f2ec;
  --on-dark-muted: #b9c8bf;
  --on-dark-glass: #ffffff14;
  --on-dark-line: #ffffff38;
  --brand: #1f7a4a;
  --brand-strong: #175c36;
  --brand-text: #5ccb8e;
  --brand-soft: #3fb5741f;
  --on-brand: #ffffff;
  --accent: #f2b53a;
  --accent-hover: #f8c862;
  --accent-edge: #f2b53a;
  --on-accent: #1c1404;
  --accent-text: #f2b53a;
  --accent-soft: #f2b53a1f;
  --star: #d6e2f0;
  --star-ink: #d6e2f0;
  --win: #4cc283;
  --draw: #a0aba5;
  --loss: #ff7b72;
  --on-result: #07110b;
  --live: #ff5a5f;
  --danger: #ff7b72;
  --focus: #f2b53a;
  --shadow-sm: 0 1px 2px #00000066, 0 0 0 1px #ffffff0d;
  --shadow-md: 0 14px 36px -14px #000000cc, 0 2px 8px #00000059;
  --shadow-lg: 0 40px 80px -32px #000000e6, 0 8px 24px #00000066;
  --glow-accent: 0 12px 32px -10px #f2b53a8c;
  --glow-brand: 0 0 0 1px #3fb57433, 0 20px 60px -20px #1f7a4a99;
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #f3f1ea;
  --surface: #ffffff;
  --surface-raised: #faf9f5;
  --surface-sunken: #e9e6dc;
  --surface-brand: #0e3a25;
  --nav-glass: #f3f1eabd;
  --scrim: #030805b3;
  --line: #0b15101a;
  --line-strong: #0b151038;
  --line-control: #7f8a84;
  --ink: #0b1510;
  --ink-muted: #4a5750;
  --ink-subtle: #5f6b64;
  --ink-inverse: #f4f2ec;
  --on-dark: #f4f2ec;
  --on-dark-muted: #b9c8bf;
  --on-dark-glass: #ffffff14;
  --on-dark-line: #ffffff38;
  --brand: #1f7a4a;
  --brand-strong: #175c36;
  --brand-text: #17643c;
  --brand-soft: #1f7a4a17;
  --on-brand: #ffffff;
  --accent: #f2b53a;
  --accent-hover: #e4a524;
  --accent-edge: #9a6a05;
  --on-accent: #1c1404;
  --accent-text: #8a5c00;
  --accent-soft: #f2b53a2e;
  --star: #d6e2f0;
  --star-ink: #3f556e;
  --win: #13804a;
  --draw: #66726b;
  --loss: #c2362f;
  --on-result: #ffffff;
  --live: #d42a30;
  --danger: #c2362f;
  --focus: #0e3a25;
  --shadow-sm: 0 1px 2px #0b21161a, 0 0 0 1px #0b21160d;
  --shadow-md: 0 14px 36px -14px #0b211638, 0 2px 8px #0b211614;
  --shadow-lg: 0 40px 80px -32px #0b21164d, 0 8px 24px #0b21161f;
  --glow-accent: 0 12px 28px -12px #b97f0080;
  --glow-brand: 0 0 0 1px #1f7a4a26, 0 20px 50px -24px #1f7a4a66;
  color-scheme: light;
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 144px;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-pill: 999px;
  --duration-instant: 90ms;
  --duration-quick: 180ms;
  --duration-base: 320ms;
  --duration-slow: 640ms;
  --duration-cinematic: 1400ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.36, 0.64, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --perspective-card: 900px;
  --tilt-max: 9deg;
  --lift-hover: -6px;
  --blur-glass: 18px;
  --z-nav: 50;
  --z-overlay: 80;
  --z-modal: 100;
  --font-display: "Unbounded", "Onest", system-ui, sans-serif;
  --font-sans: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.display-xl { font-family: var(--font-display); font-size: 96px; line-height: 0.92; font-weight: 800; letter-spacing: -0.035em; }
.display-lg { font-family: var(--font-display); font-size: 64px; line-height: 0.96; font-weight: 700; letter-spacing: -0.025em; }
.display-md { font-family: var(--font-display); font-size: 40px; line-height: 1.04; font-weight: 700; letter-spacing: -0.02em; }
.score { font-family: var(--font-display); font-size: 72px; line-height: 1; font-weight: 800; letter-spacing: -0.02em; }
.headline { font-family: var(--font-display); font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.title { font-family: var(--font-sans); font-size: 20px; line-height: 28px; font-weight: 650; letter-spacing: -0.01em; }
.lead { font-family: var(--font-sans); font-size: 19px; line-height: 30px; font-weight: 400; }
.body { font-family: var(--font-sans); font-size: 16px; line-height: 26px; font-weight: 400; }
.body-sm { font-family: var(--font-sans); font-size: 14px; line-height: 22px; font-weight: 450; }
.label { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 650; letter-spacing: 0.14em; }
.button { font-family: var(--font-sans); font-size: 15px; line-height: 20px; font-weight: 650; letter-spacing: 0.01em; }
.caption { font-family: var(--font-sans); font-size: 12px; line-height: 18px; font-weight: 500; }
@font-face { font-family: "Unbounded"; src: url("../fonts/Unbounded-Variable.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/Onest-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
