/* theme.css — tokeny motywu. Ciemny: salon nocą (mosiądz na głębokiej
   zieleni). Jasny: salon za dnia (mosiądz na kości słoniowej). 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 (§1h). */
: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: #04160f;
  --veil: rgba(3, 14, 10, .62);
  --card: #0d2419;
  --card-2: #123023;
  --card-3: #183b2c;
  --bar: rgba(5, 20, 14, .72);
  --edge: rgba(233, 205, 140, .22);
  --edge-strong: rgba(233, 205, 140, .46);
  --text: #f5f0e1;
  --text-2: #c3cfc6;
  --text-3: #93a69b;
  --gold: #deb35e;
  --gold-2: #f6dc98;
  --gold-3: #a47a2e;
  --gold-ink: #261a05;
  --red: #ff8d8d;
  --good: #6fd3a0;
  --lift: inset 0 1px 0 rgba(255, 255, 255, .10), inset 0 -2px 0 rgba(0, 0, 0, .28), 0 10px 26px rgba(0, 0, 0, .45);
  --lift-s: inset 0 1px 0 rgba(255, 255, 255, .10), inset 0 -2px 0 rgba(0, 0, 0, .25), 0 4px 12px rgba(0, 0, 0, .34);
  --track: rgba(255, 255, 255, .12);
  color-scheme: dark;
}
body[data-theme="light"] {
  --bg: #eef3ee;
  --veil: rgba(236, 243, 237, .64);
  --card: #fffdf7;
  --card-2: #f7f2e6;
  --card-3: #ede5d3;
  --bar: rgba(255, 252, 244, .9);
  --edge: rgba(140, 100, 40, .22);
  --edge-strong: rgba(140, 100, 40, .44);
  --text: #1a2a22;
  --text-2: #46594f;
  --text-3: #66786e;
  --gold: #c28f33;
  --gold-2: #e8c06a;
  --gold-3: #8d6322;
  --gold-ink: #fffaf0;
  --red: #c3223a;
  --good: #1d9c61;
  --lift: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -2px 0 rgba(120, 90, 30, .10), 0 10px 24px rgba(30, 50, 40, .18);
  --lift-s: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -2px 0 rgba(120, 90, 30, .10), 0 4px 10px rgba(30, 50, 40, .14);
  --track: rgba(30, 50, 40, .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; }
}
