/* OOM! RF4 CSS layer: accessibility.css */
/* high-contrast accessibility mode */
body.high-contrast .pf-hp.hp-good { background: #2e7dff; }
body.high-contrast .pf-hp.hp-warn { background: #ffd400; }
body.high-contrast .pf-hp.hp-crit { background: #ff2e9a; }

/* colorblind-safe palette (GDD §10.2 rule 6): the default good/warn/crit HP-bar
   gradient and heal/damage floating numbers both rely on a green vs. red-orange
   distinction, the exact pair deuteranopia/protanopia struggle with most. Swaps
   to a blue/amber/magenta scheme (hue-separated, not just contrast-boosted —
   distinct from high-contrast so the two can be told apart if both are on). */
body.colorblind .pf-hp.hp-good { background: linear-gradient(180deg, #6fb3ff, #1f6fd6); }
body.colorblind .pf-hp.hp-warn { background: linear-gradient(180deg, #ffd25a, #d69a1a); }
body.colorblind .pf-hp.hp-crit { background: linear-gradient(180deg, #ff7ad1, #c22a90); }

