/* ==========================================================================
   Light: dark text on white panels over a soft grey page, after the Modus
   Operandi theme (protesilaos.com/emacs/modus-themes). Body text reads at
   7:1 or better on every surface; muted text, links and accents at 4.5:1.

   The same names as dark.css (see there for what each is for).
   ========================================================================== */

:root {
  color-scheme: light;

  /* Surfaces: the page is grey, panels are white, rows step down */
  --bg-deep: #e3e6eb;
  --bg-main: #f1f2f4;
  --bg-panel: #ffffff;
  --bg-subrow: #f7f8fa;
  --bg-panel-header: #eef0f3;
  --bg-card: #f3f4f7;
  --bg-row-hover: #e8ecf2;
  --bg-raised: #ffffff;
  --bg-input: #cfd5de;
  --bg-editor: #ffffff;
  --bg-field: #ffffff;

  /* Lines */
  --border-color: #c3c9d3;
  --border-subtle: #dde1e7;

  /* Text */
  --text-strong: #000000;
  --text-primary: #15181d;
  --text-secondary: #3d4450;
  --text-muted: #59616d;
  --text-link: #0a4bbd;
  --text-on-color: #ffffff;
  --text-on-accent: #ffffff;
  --text-drill: var(--text-strong);

  /* Tint and shadow: black, to darken a surface on hover */
  --tint: #000000;
  --shadow-color: #1c2430;

  /* Accents: dark enough to read as text and to carry white text */
  --accent-blue: #1a52bb;
  --accent-cyan: #006178;
  --accent-green: #156729;
  --accent-red: #a91919;
  --accent-gold: #795200;
  --accent-orange: #953e00;
  --accent-purple: #6c33c7;
  --accent-ward: #0a6546;
  --accent-fatal: #a90044;
  --accent-heal: var(--accent-cyan);
  --focus: var(--accent-blue);

  /* The meter's bars for your side */
  --bar-ally-start: color-mix(in srgb, var(--accent-blue) 16%, transparent);
  --bar-ally-end: color-mix(in srgb, var(--accent-blue) 5%, transparent);

  /* Class names as text: each class's hue, deep and saturated to read on
     white (mixing toward grey washed them out) */
  --arch-fighter-text: #ab1712;
  --arch-priest-text: #196722;
  --arch-scout-text: #6c5600;
  --arch-mage-text: #095f7f;

  /* Charts: the same order as dark, a step deeper where a color is pale
     on white */
  --chart-1: #2f7ad8;
  --chart-2: #d0531f;
  --chart-3: #138a61;
  --chart-4: #a86f00;
  --chart-5: #c8457a;
  --chart-6: #0a7a0a;
  --chart-7: #6e62d6;
  --chart-8: #d24f4f;
  --chart-others: #8a929e;
  --chart-mob: #6b7380;

  /* Damage schools */
  --school-mental: #7132c5;
  --school-heat: #9d350a;
  --school-cold: #035e8c;
  --school-magic: #1c4dca;
  --school-divine: #6f5600;
  --school-poison: #28652c;
  --school-disease: #6d4c41;
  --school-other: #495d68;

  /* Loot tiers */
  --tier-celestial: #006731;
  --tier-ethereal: #b33900;
  --tier-mythical: #7322c4;
  --tier-fabled: #a91919;
  --tier-legendary: #8e4500;
  --tier-treasured: #00617c;
  --tier-handcrafted: #44630a;

  /* The info bar preview's stand-in for the game behind it */
  --preview-backdrop-a: #3b4a32;
  --preview-backdrop-b: #485a3d;
}
