/* Self-hosted OFL fonts; see /fonts/manifest.json for hashes and license notices. */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url(/fonts/cinzel-latin-ext-bd11c74f5473.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url(/fonts/cinzel-latin-ef95296c7787.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/source-sans-3-latin-ext-ed3571ea9ff7.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/source-sans-3-latin-587435ca9d90.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* One palette for static tools, public Rust pages and consent controls.
   Surface colors are achromatic; only actions/resources/status carry color. */
:root {
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --font-heading: 'Cinzel', Georgia, serif;
  --ease-tool: cubic-bezier(0.22, 1, 0.36, 1);
  /* Compatibility aliases for existing equipment/skill components. */
  --gold: var(--accent);
  --violet: var(--accent);
  font-kerning: normal;
  font-synthesis: none;
  --background: #161616;
  --surface: #232323;
  --surface-raised: #2d2d2d;
  --surface-subtle: #1e1e1e;
  --header: #1b1b1b;
  --input: #1a1a1a;
  --ink: #f2f2f2;
  --muted: #bdbdbd;
  --icon: #c9c9c9;
  --line: #505050;
  --control-line: #858585;
  --accent: #9fc4ff;
  --action: #295ea8;
  --action-hover: #3470bf;
  --on-action: #ffffff;
  --selected: #233044;
  --health: #ffaaa7;
  --magicka: #9fc4ff;
  --stamina: #99d6ad;
  --teal: #8bd2cf;
  --success: #99d6ad;
  --success-background: #203528;
  --success-border: #598d6a;
  --warning: #edc577;
  --warning-background: #30291c;
  --warning-border: #927540;
  --error: #ffaaa7;
  --error-background: #3c2424;
  --error-border: #a76562;
  --danger-action: #a33330;
  --danger-hover: #b93e3a;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) {
    --background: #f5f5f5;
    --surface: #ffffff;
    --surface-raised: #eeeeee;
    --surface-subtle: #e8e8e8;
    --header: #ffffff;
    --input: #ffffff;
    --ink: #202020;
    --muted: #545454;
    --icon: #545454;
    --line: #b8b8b8;
    --control-line: #858585;
    --accent: #174f99;
    --action: #245ca5;
    --action-hover: #174780;
    --on-action: #ffffff;
    --selected: #e9f0fa;
    --health: #a72b28;
    --magicka: #174f99;
    --stamina: #20683c;
    --teal: #196863;
    --success: #20683c;
    --success-background: #e7f3ea;
    --success-border: #578765;
    --warning: #75520b;
    --warning-background: #fff4da;
    --warning-border: #987523;
    --error: #a72b28;
    --error-background: #fcebea;
    --error-border: #b26460;
    --danger-action: #a33330;
    --danger-hover: #862825;
    color-scheme: light;
  }
}
:root[data-theme='light'] {
  --background: #f5f5f5;
  --surface: #ffffff;
  --surface-raised: #eeeeee;
  --surface-subtle: #e8e8e8;
  --header: #ffffff;
  --input: #ffffff;
  --ink: #202020;
  --muted: #545454;
  --icon: #545454;
  --line: #b8b8b8;
  --control-line: #858585;
  --accent: #174f99;
  --action: #245ca5;
  --action-hover: #174780;
  --on-action: #ffffff;
  --selected: #e9f0fa;
  --health: #a72b28;
  --magicka: #174f99;
  --stamina: #20683c;
  --teal: #196863;
  --success: #20683c;
  --success-background: #e7f3ea;
  --success-border: #578765;
  --warning: #75520b;
  --warning-background: #fff4da;
  --warning-border: #987523;
  --error: #a72b28;
  --error-background: #fcebea;
  --error-border: #b26460;
  --danger-action: #a33330;
  --danger-hover: #862825;
  color-scheme: light;
}
html,
body {
  color: var(--ink);
  background: var(--background);
}
