/* The palette, and nothing else.

   One file so that what the page is made of can be changed without opening
   what the page is. Every colour below is named for what it is for rather
   than for what it looks like, which is what lets a rule elsewhere say
   `var(--bad)` and still be right after the colour moves.

   Three type families sit beside the palette for the same reason: serif is
   the story, sans is the player and the chrome, mono is the engine and
   nothing else. `--dim` and `--system-dim` were each a shade darker once and
   came out under 4.5:1 for the .6875rem labels they carry — both were lifted
   until they cleared it. Do not darken them again. */
:root {
  --ground: #0B0E14;
  --paper: #0F131B;
  --raised: #161C27;
  --edge: #222B38;
  --edge-strong: #303B4C;

  --ink: #E8E2D4;
  --ink-dim: #A59E90;
  --dim: #77808F;

  --ember: #E2955C;
  --ember-dim: #9C6B47;

  --system: #A3C6EB;
  --system-dim: #6484A6;
  --system-tint: #0E1622;
  --system-rule: #2B4562;

  --good: #86BD92;
  --bad: #D7767D;
  --gold: #E9C76F;

  /* A name the story bible knows: oklch(0.80 0.055 305). Hue 305 is the one gap in
     the palette where a name cannot be mistaken for the player, the engine or mana;
     chroma just under --system's, so it is no louder than the quietest accent. It is on
     every mention, which is why it has to be quiet. 10.2:1 on --ground, 9.8:1 on
     --paper, 9.5:1 on --system-tint. --name-dim is only the rule under a name on hover
     and on focus. */
  --name: #C6B5DB;
  --name-dim: #817393;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Charter, Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", "JetBrains Mono", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}
