/* Terra Fractura — generated from tokens.json */
:root, [data-theme="dark"] {
  --bg: #14110f;
  --panel: #1f1a16;
  --panel-raised: #2a231d;
  --panel-sunk: #0f0c0a;
  --panel-nav: #100d0b;
  --panel-warm: #2b2114;
  --line: #3a3027;
  --text: #ece4d8;
  --muted: #a09482;
  --accent: #d98b3a;
  --on-accent: #1a1208;
  --good: #7fbf6a;
  --bad: #d9614c;
  --hp: #c9523f;
  --xp: #6f9fd8;
  --coin: var(--rarity-legendary);
  --scrim: rgba(12, 9, 7, 0.94);
  --rarity-common: #a8a8a8;
  --rarity-uncommon: #76c47a;
  --rarity-rare: #5fb0ee;
  --rarity-epic: #b990f7;
  --rarity-legendary: #f5b042;
  --world-timber: #6e5c3e;
  --world-khaki: #877455;
  --world-canvas: #ac997c;
  --world-umber: #584427;
  --world-rust: #754d32;
  --world-clay: #906b50;
  --world-shadow: #2f2a1d;
  --world-steel: #6f8496;
  --world-water: #3d7fb5;
  --world-moss: #6f8a5c;
}
:root {
  --space-1: 4px;
  --space-2: 6px;
  --space-3: 8px;
  --space-4: 10px;
  --space-5: 12px;
  --space-6: 18px;
  --radius-bar: 3px;
  --radius-sm: 6px;
  --radius-md: 9px;
  --radius-lg: 12px;
  --radius-xl: 14px;
  --touch-min: 40px;
  --touch-sm: 34px;
  --icon-row: 30px;
  --icon-inline: 20px;
  --icon-currency: 18px;
  --glyph: 22px;
  --weapon-w: 76px;
  --weapon-h: 54px;
  --portrait: 136px;
  --banner-h: 132px;
  --banner-card-h: 112px;
  --tabbar-h: 60px;
  --content-max: 520px;
  --tile-w: 128px;
  --tile-h: 64px;
  --building-canvas: 512px;
  --building-base: 78%;
  --building-foot: 8%;
  --character-canvas: 256px;
  --character-h: 48px;
  --character-foot: 10%;
  --font-display: Oswald, "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-text: "PT Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
}
.t-banner { font-family: var(--font-display); font-size: 20px; line-height: 24px; font-weight: 600; }
.t-figure { font-family: var(--font-display); font-size: 18px; line-height: 22px; font-weight: 600; }
.t-label { font-family: var(--font-display); font-size: 13px; line-height: 16px; font-weight: 500; letter-spacing: 0.08em; }
.t-title { font-family: var(--font-text); font-size: 15px; line-height: 21px; font-weight: 700; }
.t-body { font-family: var(--font-text); font-size: 15px; line-height: 21px; font-weight: 400; }
.t-small { font-family: var(--font-text); font-size: 13px; line-height: 18px; font-weight: 400; }
.t-tab { font-family: var(--font-text); font-size: 11px; line-height: 14px; font-weight: 400; }
