/* theme.css — tokeny motywu. Ciemny: nefryt nocą (mosiądz na głębokiej
   zieleni kamienia). Jasny: marmur za dnia (mosiądz na chłodnej bieli). 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: #04150f;
  --veil: rgba(3, 13, 10, .6);
  --card: #0b221b;
  --card-2: #102c24;
  --card-3: #16382e;
  --bar: rgba(4, 18, 14, .74);
  --edge: rgba(226, 206, 150, .22);
  --edge-strong: rgba(226, 206, 150, .46);
  --text: #f3f1e8;
  --text-2: #c0d0c8;
  --text-3: #8fa69b;
  --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: #eceeea;
  --veil: rgba(234, 237, 232, .64);
  --card: #fdfcf9;
  --card-2: #f4f3ee;
  --card-3: #e7e6de;
  --bar: rgba(252, 251, 247, .9);
  --edge: rgba(120, 100, 50, .22);
  --edge-strong: rgba(120, 100, 50, .44);
  --text: #15261f;
  --text-2: #43574d;
  --text-3: #62756b;
  --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; }
}
