html[data-theme=dark]{--p:#c3e597;--n:#B5E61D;--ink:#edf2eb;--bg:#11171b;--mut:#b0bab6;--card:#1a2428;--line:#43514b;--elev:#253035}html[data-theme=dark] body{background-color:var(--bg);color:var(--ink)}html[data-theme=dark] .mapstage,html[data-theme=dark] .section{background:var(--card);color:var(--ink)}html[data-theme=dark] .maphead h2,html[data-theme=dark] .maphead p{color:var(--ink)}html[data-theme=dark] input,html[data-theme=dark] textarea,html[data-theme=dark] select{background:var(--card);color:var(--ink)}html[data-theme=dark] .clubtile,html[data-theme=dark] .clubtile.focus,html[data-theme=dark] .clubcard,html[data-theme=dark] .tcmp-head,html[data-theme=dark] .tcmp-bucket,html[data-theme=dark] .tcmp-col,html[data-theme=dark] .card,html[data-theme=dark] .section,html[data-theme=dark] .tff-stat-box,html[data-theme=dark] .sheet,html[data-theme=dark] .banner{background:var(--card)!important;color:var(--ink)!important;border-color:var(--line)!important}
html[data-theme=dark] .clubtile b,html[data-theme=dark] .clubtile a,html[data-theme=dark] .tcmp-head h3,html[data-theme=dark] .tcmp-name,html[data-theme=dark] h2,html[data-theme=dark] h3,html[data-theme=dark] .tff-club-link{color:var(--ink)!important}html[data-theme=dark] .meta,html[data-theme=dark] .clubtile .meta{color:#b7c3bd!important}html[data-theme=dark] td{color:var(--ink);border-color:#40504a}html[data-theme=dark] th{background:#332347;color:#fff}html[data-theme=dark] a.plink{color:#c7eda4!important}html[data-theme=dark] .filters button,html[data-theme=dark] .tabs button,html[data-theme=dark] .tcmp-toggle button,html[data-theme=dark] .tcmp-adv-btn{background:#28352f;color:#f0f4ee;border-color:#647365}html[data-theme=dark] .tag:not(.result-win):not(.result-loss){background:#34443b;color:#edf3e8}html[data-theme=dark] .tag.result-win{background:#234e32;color:#dcf8e4;border-color:#6f9c7b}html[data-theme=dark] .tag.result-loss{background:#582e33;color:#ffe3e3;border-color:#ac777b}html[data-theme=dark] svg text{fill:currentColor}html[data-theme=dark] .tcmp-slot,html[data-theme=dark] .statrow{border-color:#40504a}html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{border-color:#647365!important;color:#f1f5ef!important;background:#202d28!important}
html[data-theme=dark] .legend span{background:#293a31!important;color:#edf3e8!important;border-color:#607565!important}html[data-theme=dark] .legend a{color:#edf3e8!important}html[data-theme=dark] .teamhead,html[data-theme=dark] .club-head,html[data-theme=dark] .hero,html[data-theme=dark] .tools{color:var(--ink)}html[data-theme=dark] .teamhead,html[data-theme=dark] .club-head{background:var(--card)!important}html[data-theme=dark] .glance-foot{color:#c1d5af}

/* Dark A: paired surfaces and text; team colors remain accents. */
html[data-theme=dark]{color-scheme:dark}html[data-theme=light]{color-scheme:light}
html[data-theme=dark] :is(.subnav button,.view-toggle button,.sheet .close,.closebtn,.tff-section-nav a,.sched-card,.about-card,.linecard,.tcmp-h2h,.rubric,.tcmp-slot,.glance-card){background:var(--card);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.subnav button.on,.view-toggle button.on,.tff-section-nav a.on,.tabs button.on){background:#4b2e83;color:#fff;border-color:#bda6ea}
html[data-theme=dark] :is(.filters button.on,.tcmp-toggle button.on){background:var(--n);color:#111;border-color:var(--n)}
html[data-theme=dark] :is(.sched-score,.tcmp-h2h a,.eplink){color:#c7eda4}html[data-theme=dark] :is(.glance-title,.glance-name,.tcmp-title){color:var(--ink)}
html[data-theme=dark] .tcmp-bar{background:#425049}html[data-theme=dark] .glance-card{border-color:#647365}html[data-theme=dark] .tff-section-nav a:hover{background:#34443b}html[data-theme=dark] .sitefoot{background:#1a2428;color:#c6d1ca}
html[data-theme=dark] .sched-lead{color:#b7c3bd}html[data-theme=dark] .sched-lead b{color:#edf2eb}html[data-theme=dark] .division-summary{background:#253035!important;color:#edf2eb}
html[data-theme=dark] .tcmp-means small,html[data-theme=dark] .why-grade small{color:#b7c3bd!important}html[data-theme=dark] .why-grade{color:#d2de97!important}
