/* theme.css — tokeny motywu Skorpiona. Ciemny: noc na pustyni (bursztyn i miedź
   na ciepłej czerni). Jasny: piaskowy świt (miedź na kremowej bieli).
   Bursztyn (--acc) to akcent marki; złoto (--gold) tylko tam, gdzie znaczy zysk:
   wynik, rekord, odblokowanie (§1h). Jedna drabina promieni (10/14/18)
   i odstępów (6/10/16/24), jedno światło z góry: jasna krawędź u góry,
   własny cień u dołu, cień rzucony niżej. */
:root {
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", "Noto Serif", "DejaVu Serif", serif;
  --r-s: 10px; --r-m: 14px; --r-l: 18px;
  --sp-1: 6px; --sp-2: 10px; --sp-3: 16px; --sp-4: 24px;
  --t-fast: 140ms; --t-med: 220ms;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
body[data-theme="dark"] {
  --bg: #120b07;
  --veil: rgba(18, 10, 5, .6);
  --card: #24160d;
  --card-2: #2e1d11;
  --card-3: #3a2515;
  --bar: rgba(26, 15, 8, .76);
  --edge: rgba(240, 196, 140, .18);
  --edge-strong: rgba(240, 196, 140, .42);
  --text: #fbf1e6;
  --text-2: #dcc6ae;
  --text-3: #ae9479;
  --acc: #eab07a;
  --acc-2: #ffe0bc;
  --acc-3: #b07a4a;
  --acc-ink: #2a1407;
  --gold: #e6c36c;
  --gold-2: #f7e1a0;
  --gold-3: #a9832f;
  --gold-ink: #261a05;
  --red: #ff8e9e;
  --good: #7fd8b0;
  --glow: rgba(255, 170, 90, .35);
  --lift: inset 0 1px 0 rgba(255, 255, 255, .10), inset 0 -2px 0 rgba(0, 0, 0, .30), 0 10px 26px rgba(0, 0, 0, .48);
  --lift-s: inset 0 1px 0 rgba(255, 255, 255, .10), inset 0 -2px 0 rgba(0, 0, 0, .26), 0 4px 12px rgba(0, 0, 0, .36);
  --track: rgba(255, 255, 255, .12);
  color-scheme: dark;
}
body[data-theme="light"] {
  --bg: #f3e9da;
  --veil: rgba(243, 233, 218, .64);
  --card: #fffaf3;
  --card-2: #f7eee2;
  --card-3: #eee1cf;
  --bar: rgba(255, 250, 243, .9);
  --edge: rgba(120, 70, 30, .18);
  --edge-strong: rgba(120, 70, 30, .38);
  --text: #2a1a0e;
  --text-2: #5c4330;
  --text-3: #85674f;
  --acc: #a3592a;
  --acc-2: #d08a52;
  --acc-3: #7a3f1a;
  --acc-ink: #ffffff;
  --gold: #b88a2e;
  --gold-2: #dcb35e;
  --gold-3: #8a6420;
  --gold-ink: #fffaf0;
  --red: #c02447;
  --good: #1d9c61;
  --glow: rgba(91, 106, 160, .25);
  --lift: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -2px 0 rgba(40, 50, 110, .10), 0 10px 24px rgba(30, 40, 90, .18);
  --lift-s: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -2px 0 rgba(40, 50, 110, .10), 0 4px 10px rgba(30, 40, 90, .14);
  --track: rgba(30, 40, 90, .12);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0; height: 100%; overflow: hidden; background: var(--bg); color: var(--text);
  font-family: var(--font); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none; user-select: none; overscroll-behavior: none; touch-action: manipulation;
}
button { font: inherit; color: inherit; }
.ic { width: 22px; height: 22px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
