:root {
  color-scheme: dark;
  --bg: #060505;
  --ink: #e9e2d4;
  --paper: #e9e2d4;
  --dim: #9d948b;
  --muted: #6e675f;
  --line: #3a2e2e;
  --line-2: #2a2222;
  --blood: #b3121f;
  --red: #e01b2c;
  --crimson: #6a1218;
  --dried: #7a1a22;
  --steel: #8f979f;
  --gold: #c9a45a;
  --ichor: #a283e0;
  --ok: #8aa86a;
  --surface: #100c0c;
  --surface-2: #161010;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bot: env(safe-area-inset-bottom, 0px);
  --font-body: 'Barlow Semi Condensed', system-ui, sans-serif;
  --font-title: 'UnifrakturCook', Georgia, serif;
  --tab-h: 58px;
  --dock-h: 72px;
  --switch-h: 48px;
}
* { box-sizing: border-box; min-width: 0; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); }
html { -webkit-text-size-adjust: 100%; }
body {
  font: 16px/1.45 var(--font-body);
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
  overflow-x: clip;
  min-height: 100dvh;
  background:
    radial-gradient(120% 50% at 50% -8%, #3a0910 0%, transparent 58%),
    var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, .bl {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
  letter-spacing: 0.01em;
}
h1 { font-size: 28px; text-shadow: 0 2px 0 #000, 0 0 18px rgba(179,18,31,.35); }
h2 { font-size: 24px; margin: 0 0 8px; text-shadow: 0 2px 0 #000; }
h3 { font-size: 13px; font-family: var(--font-body); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin: 22px 0 8px; }
.num, .money, .hours, td, .chip, .bar-label, .sts, .pulse-val {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}
a { color: var(--gold); }
