/* THE SKILL SCHOOLS' COLOURS. GENERATED — do not edit.
   ============================================================================
       node tools/build-school-css.mjs --write     (7 schools, measured 2026-09-04)

   Every colour is MEASURED off the game's own skill icons by
   tools/measure-school-colours.mjs: the hue is the icons', and the lightness and
   saturation are fixed so a school name is readable as TEXT on a near-black page.
   Nothing here is a design choice, which is the owner's rule for these:
   *"Ice Armor should be the same blue color as its icon."*

   ⚠ THESE ARE NOT --add / --mul. Those two are FROZEN and mean additive and
   multiplicative in the damage table. These are for SKILL SCHOOLS and never
   touch a number.

   ⚠ A CLASS'S SCHOOLS ARE LOAD-BEARING, NOT DECORATION. An affix reading
   "+X% Zealot Skill Damage" reaches a skill only if the page knows that skill is
   a Zealot one, so the school has to be on the record, on the tooltip and on the
   word. Adding a class means re-running the measurement and this generator. */
:root{
  --sch-disciple:#65ece5;   /* paladin */
  --sch-frost:#65beec;   /* sorcerer */
  --sch-judicator:#ecb965;   /* paladin */
  --sch-juggernaut:#6585ec;   /* paladin */
  --sch-pyromancy:#ec8f65;   /* sorcerer */
  --sch-shock:#657aec;   /* sorcerer */
  --sch-zealot:#ec9565;   /* paladin */
}

/* A game word in prose (entity-tips.js emits data-school). */
.ent-skill[data-school="Disciple"]{color:var(--sch-disciple)}
.ent-skill[data-school="Frost"]{color:var(--sch-frost)}
.ent-skill[data-school="Judicator"]{color:var(--sch-judicator)}
.ent-skill[data-school="Juggernaut"]{color:var(--sch-juggernaut)}
.ent-skill[data-school="Pyromancy"]{color:var(--sch-pyromancy)}
.ent-skill[data-school="Shock"]{color:var(--sch-shock)}
.ent-skill[data-school="Zealot"]{color:var(--sch-zealot)}

/* The school chip on a skill tooltip — the tree's and the strip's both.
   ⚠ COLOUR ONLY, NO color-mix() ON THE BORDER. This project's standing rule is
   that a novel CSS feature is unshippable on an art path until Firefox has been
   SEEN to draw it (ReadErrors 8h/8ap/8ar: three rendering bugs that existed only
   in Gecko). The border keeps the chip's own colour; the word carries the school. */
.skSchool{color:var(--pale,#dcd6c8)}
.skSchool[data-school="Disciple"]{color:var(--sch-disciple)}
.skSchool[data-school="Frost"]{color:var(--sch-frost)}
.skSchool[data-school="Judicator"]{color:var(--sch-judicator)}
.skSchool[data-school="Juggernaut"]{color:var(--sch-juggernaut)}
.skSchool[data-school="Pyromancy"]{color:var(--sch-pyromancy)}
.skSchool[data-school="Shock"]{color:var(--sch-shock)}
.skSchool[data-school="Zealot"]{color:var(--sch-zealot)}

/* A SKILL TILE WHOSE SCHOOL A MODIFIER HAS CHANGED — the owner, 19 Sep 2026, with four
   screenshots: *"Website showing the skill tree abilities not changing to their schools
   when modified."* Their Hydra is Frost and the game draws it BLUE; their Teleport is
   Pyromancy and the game draws it ORANGE. Ours drew both in the base school's colours.

   The ART is the converting variant's own icon, which the class data has carried all
   along (Frigid Hydra 2666782071 against Hydra's 3327405852) — skill-view.js swaps it.
   This is the RING around it, the same measured colour the chip and the prose word use,
   so one school is one colour everywhere on the site.

   ⚠ box-shadow and border-color only. No color-mix(), no filter on the art: this is an
   art path and the standing rule is that a novel CSS feature is unshippable here until
   Firefox has been SEEN to draw it (ReadErrors 8h/8ap/8ar). */
.nd.sk[data-school]{border-color:var(--sch-ring,#dcd6c8)}
.nd.sk[data-school].on{box-shadow:0 0 0 2px var(--sch-ring,#dcd6c8),0 0 12px -2px var(--sch-ring,#dcd6c8)}
.nd.sk[data-school="Disciple"]{--sch-ring:var(--sch-disciple)}
.nd.sk[data-school="Frost"]{--sch-ring:var(--sch-frost)}
.nd.sk[data-school="Judicator"]{--sch-ring:var(--sch-judicator)}
.nd.sk[data-school="Juggernaut"]{--sch-ring:var(--sch-juggernaut)}
.nd.sk[data-school="Pyromancy"]{--sch-ring:var(--sch-pyromancy)}
.nd.sk[data-school="Shock"]{--sch-ring:var(--sch-shock)}
.nd.sk[data-school="Zealot"]{--sch-ring:var(--sch-zealot)}

