/* Rarity colour ladder (CK 2026-10-23: white -> green -> blue -> purple -> gold for C/U/R/E/L). The only place a rarity colour is
 * written in CSS; NW_RARITY_COLORS (weapon-rarity-ui.js) holds the same table for canvas effects (tests/rarity-colors.test.cjs keeps them equal).
 * base: frames, beams, fills  text: tier-coloured text on dark surfaces  edge: quiet card borders  deep: dark tinted fills  glow: translucent halo
 * ink: dark text on a filled base/text background  pill-bg: the dark plate behind a rarity badge */
:root{
--rarity-ink:#12161c;--rarity-pill-bg:#17201f;
--rarity-c:#dfe5e9;--rarity-c-text:#e8edf0;--rarity-c-edge:#7e8b94;--rarity-c-deep:#2c363d;--rarity-c-glow:#dfe5e988;
--rarity-u:#45d27a;--rarity-u-text:#8eeaa9;--rarity-u-edge:#3a8a56;--rarity-u-deep:#134a2d;--rarity-u-glow:#45d27a88;
--rarity-r:#4da6ff;--rarity-r-text:#9ccbff;--rarity-r-edge:#3b6fa8;--rarity-r-deep:#153a66;--rarity-r-glow:#4da6ff88;
--rarity-e:#b77bff;--rarity-e-text:#d8b2ff;--rarity-e-edge:#7c55ad;--rarity-e-deep:#3a2160;--rarity-e-glow:#b77bff99;
--rarity-l:#ffc634;--rarity-l-text:#ffdc78;--rarity-l-edge:#a7832a;--rarity-l-deep:#4f3a0c;--rarity-l-glow:#ffc634aa;
--loot-ally:#ff9fc6;--loot-supply:#a9e36f
}
/* --loot-ally and --loot-supply are not tiers: the colours of ally and supply finds in the loot report. They live here so
 * tests/rarity-gloss.test.cjs can keep them far in hue from every tier and from each other (the old ally #9ce3b0 green read as U,
 * the old supply #efcc83 read as L gold). Lime is the only hue >= 45 deg from both L gold and U green. */
