/* ============================================================
   tdc-grades.css — the SINGLE source of truth for the A–F / OVR
   grade-letter color scale (the gc() classes: gAp…gF).

   Graphite/editorial ramp: darker ink = better in light mode,
   brighter ink = better in dark mode. Matches the team-hero grade
   tiles (5 tiers). Replaces the old per-page blue / gold / green /
   navy ramps, which were copy-pasted and had drifted out of sync.

   Loaded LAST on each page and marked !important so it wins over
   any leftover inline .gAp/.dc-row-grade/.swap-player-grade rules
   regardless of their specificity or order. To retune the scale
   site-wide, edit ONLY this file (and bump its ?v= on each page).

   Tiers (grade → tier):
     A+ A         → t1   (best)
     A- B+        → t2
     B  B-        → t3
     C+ C  C-     → t4
     D+ D  D- F   → t5   (worst)
   ============================================================ */

/* ---- LIGHT: dark ink = better ---- */
.gAp,.gA        { color:#0f172a !important; }   /* t1 */
.gAm,.gBp       { color:#293445 !important; }   /* t2 */
.gB,.gBm        { color:#475569 !important; }   /* t3 */
.gCp,.gC,.gCm   { color:#6b7280 !important; }   /* t4 */
.gDp,.gD,.gDm,.gF { color:#94a3b8 !important; } /* t5 */

/* ---- DARK: bright ink = better ---- */
:root[data-theme="dark"] .gAp,:root[data-theme="dark"] .gA        { color:#f8fafc !important; }
:root[data-theme="dark"] .gAm,:root[data-theme="dark"] .gBp       { color:#dfe6ef !important; }
:root[data-theme="dark"] .gB,:root[data-theme="dark"] .gBm        { color:#c0c8d4 !important; }
:root[data-theme="dark"] .gCp,:root[data-theme="dark"] .gC,:root[data-theme="dark"] .gCm   { color:#98a3b3 !important; }
:root[data-theme="dark"] .gDp,:root[data-theme="dark"] .gD,:root[data-theme="dark"] .gDm,:root[data-theme="dark"] .gF { color:#6f7a89 !important; }
