:root {
  --stone: #0c0909;
  --stone-2: #150e0e;
  --iron: #2d2321;
  --iron-bright: #5e4b45;
  color-scheme: dark;
  --bg: #040303;
  --ink: #efe7d6;
  --paper: #efe7d6;
  --dim: #a19487;
  --muted: #6c6158;
  --line: #5e4b45;
  --line-2: #2d2321;
  --blood: #b80f1d;
  --red: #e51d2e;
  --crimson: #6a1218;
  --dried: #7a1a22;
  --steel: #8f979f;
  --gold: #c9a252;
  --ichor: #a283e0;
  --ok: #88a966;
  --surface: #0c0909;
  --surface-2: #150e0e;
  --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-color: var(--bg);
  background-image:
    repeating-linear-gradient(135deg, transparent 0 11px, rgba(239,231,214,.028) 11px 12px),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(239,231,214,.024) 23px 24px);
}
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: 2px 2px 0 #000, -1px 0 0 var(--blood); }
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); }
