/* =======================================================================
   LORECRAFT · COLOR IDENTITY
   The paint of the 7 colors, the only place their hex values live: the
   card frames and panels (shared/card.css), the sigil on a card front,
   the colors on a craft back, the color dots and the color filter
   buttons. Each mark is a disc that wears the frame of a card of that
   color, with the sigil in the panel color (or in ink, on the light
   frames of Light and Energy). Sizes stay with each page.

   Use on a page:
     <link rel="stylesheet" href="../shared/color-identity.css">
     <span class="sigil color-mark c-fire">…sigil svg…</span>
     <article class="card c-fire">…</article>    one color: the class gives the card its paint
     style="--a:var(--fire-fa)"                  several colors: name each one's token
   ======================================================================= */

/* each color: frame (fb, the bright end → fa, the dark end), panel, ink and highlight */
:root{
  --fire-fb:#e8381a;   --fire-fa:#7d0f0a;   --fire-panel:#fde6dc;   --fire-ink:#2c0d07;   --fire-hi:#c0280f;
  --frost-fb:#5aaedf;  --frost-fa:#0f3d63;  --frost-panel:#eaf6fd;  --frost-ink:#0c2133;  --frost-hi:#1d6fa3;
  --nature-fb:#445e33; --nature-fa:#18261a; --nature-panel:#e8ebdc; --nature-ink:#172014; --nature-hi:#3f5c25;
  --light-fb:#f2d36b;  --light-fa:#a8811c;  --light-panel:#fdf6dc;  --light-ink:#2c2408;  --light-hi:#866410;
  --shadow-fb:#2b272d; --shadow-fa:#0d0b0e; --shadow-panel:#e6e2e6; --shadow-ink:#141116; --shadow-hi:#7d2630;
  --arcane-fb:#4f3d6e; --arcane-fa:#20162f; --arcane-panel:#ece7f2; --arcane-ink:#1b1329; --arcane-hi:#58408a;
  --energy-fb:#f6f7f9; --energy-fa:#9aa3ac; --energy-panel:#ffffff; --energy-ink:#15181b; --energy-hi:#3f4750;
}

/* one color on an element; --ci is the sigil color on a color mark */
.c-fire  {--fb:var(--fire-fb);   --fa:var(--fire-fa);   --panel:var(--fire-panel);   --ink:var(--fire-ink);   --hi:var(--fire-hi);   --ci:var(--fire-panel)}
.c-frost {--fb:var(--frost-fb);  --fa:var(--frost-fa);  --panel:var(--frost-panel);  --ink:var(--frost-ink);  --hi:var(--frost-hi);  --ci:var(--frost-panel)}
.c-nature{--fb:var(--nature-fb); --fa:var(--nature-fa); --panel:var(--nature-panel); --ink:var(--nature-ink); --hi:var(--nature-hi); --ci:var(--nature-panel)}
.c-light {--fb:var(--light-fb);  --fa:var(--light-fa);  --panel:var(--light-panel);  --ink:var(--light-ink);  --hi:var(--light-hi);  --ci:var(--light-ink)}
.c-shadow{--fb:var(--shadow-fb); --fa:var(--shadow-fa); --panel:var(--shadow-panel); --ink:var(--shadow-ink); --hi:var(--shadow-hi); --ci:var(--shadow-panel)}
.c-arcane{--fb:var(--arcane-fb); --fa:var(--arcane-fa); --panel:var(--arcane-panel); --ink:var(--arcane-ink); --hi:var(--arcane-hi); --ci:var(--arcane-panel)}
.c-energy{--fb:var(--energy-fb); --fa:var(--energy-fa); --panel:var(--energy-panel); --ink:var(--energy-ink); --hi:var(--energy-hi); --ci:var(--energy-ink)}

/* the light rim keeps dark discs (Shadow, Nature) visible on dark art and dark pages; craft backs swap it for gold (shared/card.css) */
.color-mark{background:linear-gradient(165deg, var(--fb), var(--fa) 68%); color:var(--ci); border:1.5px solid rgba(255,255,255,.75)}
