/* CABFIGHT. Warm platinum by day; charcoal and champagne by night.
   Loaded after the existing editorial and page styles. Artwork keeps its own palette. */
:root{
 --bg:#f7f5ef;--bg2:#eeebe3;--ink:#252720;--muted:#63655c;--line:#d8d3c8;
 --lime:#8a692f;--paper:#fffdf8;--black:#26251f;
 --theme-surface:#fffdf8;--theme-raised:#eee9dd;--theme-subtle:#f1eee6;
 --theme-accent:#8a692f;--theme-accent-fill:#d9be82;--theme-accent-hover:#e3ca93;
 --theme-on-accent:#28251d;--theme-accent-soft:#eae0c9;--theme-accent-line:#baa571;
 --theme-soft-ink:#4b4f45;--theme-header:rgba(247,245,239,.96);
 --theme-line-soft:#e3dfd5;--theme-glow:rgba(190,155,86,.18);--theme-hero-fade:rgba(247,245,239,.93);
 --theme-hero-mid:rgba(247,245,239,.38);--theme-ghost:rgba(130,107,63,.1);
 --theme-success:#49632d;--theme-success-soft:#e2e8d6;--theme-danger:#924f4d;--theme-danger-soft:#efe0dc;
 color-scheme:light;
}
:root[data-cabfight-theme="dark"]{
 --bg:#121313;--bg2:#1b1c1b;--ink:#f3f0e7;--muted:#b6b6aa;--line:#41423b;
 --lime:#dfc58a;--paper:#242520;--black:#151611;
 --theme-surface:#20221f;--theme-raised:#292c26;--theme-subtle:#191b18;
 --theme-accent:#dfc58a;--theme-accent-fill:#dfc58a;--theme-accent-hover:#ecd7a6;
 --theme-on-accent:#25241e;--theme-accent-soft:#343023;--theme-accent-line:#8c7b54;
 --theme-soft-ink:#d9dacf;--theme-header:rgba(18,19,19,.96);
 --theme-line-soft:#33362f;--theme-glow:rgba(187,154,84,.11);--theme-hero-fade:rgba(18,19,19,.93);
 --theme-hero-mid:rgba(18,19,19,.38);--theme-ghost:rgba(219,191,130,.065);
 --theme-success:#c4d5a8;--theme-success-soft:#2b3523;--theme-danger:#e3b3aa;--theme-danger-soft:#3c2b29;
 color-scheme:dark;
}
:root body{background:var(--bg);color:var(--ink)}
:root ::selection{background:var(--theme-accent-fill);color:var(--theme-on-accent)}
:root :is(a,button,input,textarea,select,summary):focus-visible{outline-color:var(--theme-accent)}
:root :is(.brand-mark,.home-hero h1 .hero-accent,.b-lime,.page-intro em,.event-hero h1 em){color:var(--theme-accent)}
:root :is(.lead,.home-hero p,.event-copy h3 span,.event-stats span,.hero-kicker,.hero-secondary,.hero-foot,.hero-foot>a,.sports-ribbon,.sports-ribbon>span:first-child,.sports-ribbon i,.scene-toggle,.hero-art-label,.footer-top>div>p,.footer-top .small,.footer-links>div>span,.footer-bottom,.case-caption>span,.future-sports p,.future-sports small,.before-column p,.free-promise p,.free-promise .lead,.mini-progress-link){color:var(--muted)}
:root .site-header{background:var(--theme-header);border-color:var(--line)}
:root .desktop-nav a{color:var(--muted)}
:root .desktop-nav a:is(:hover,[aria-current]){color:var(--ink)}
:root .desktop-nav a:before,:root .desktop-nav a[aria-current]:after{background:var(--theme-accent)}
:root .header-contact{color:var(--ink);border-color:var(--theme-accent-line)}
:root .header-contact:hover{background:transparent;color:var(--theme-accent)}
:root .mobile-nav{background:var(--bg);border-color:var(--line)}
:root .mobile-nav a{border-color:var(--line)}
:root :is(.button-primary,.cta-band .button-dark,.b-cta-editorial .button-primary){background:var(--theme-accent-fill);color:var(--theme-on-accent);border-color:transparent}
:root :is(.button-primary,.cta-band .button-dark,.b-cta-editorial .button-primary):hover{background:var(--theme-accent-hover);color:var(--theme-on-accent);border-color:transparent}
:root .button-dark{background:var(--ink);color:var(--bg)}
:root .button-dark:hover{background:var(--theme-soft-ink)}
:root .button-ghost{border-color:var(--theme-accent-line);color:var(--ink);background:transparent}
:root .button-ghost:hover{border-color:var(--theme-accent);color:var(--theme-accent)}
:root .status{color:var(--theme-accent);background:var(--theme-accent-soft);border-color:var(--theme-accent-line)}
:root .skip{color:var(--theme-on-accent);background:var(--theme-accent-fill)}
:root .sports-ribbon{background:var(--bg);border-color:var(--line)}
:root :is(.home-hero,.event-local-nav){background:var(--bg)}
:root :is(.hero-foot,.home-cases,.audience-section,.audience-links a,.site-footer,.footer-bottom,.event-local-nav,.event-filters,.event-copy .event-stats,.cohost-diagram,.workflow-body,.workflow-tabs,.demo-footer){border-color:var(--line)}
:root .site-footer{background:var(--bg)}
:root :is(.light-section,.b-ink-section,.b-cohost-process,.b-partner-process,.event-hero){background:var(--bg2);color:var(--ink);border-color:var(--line)}
:root :is(.light-section .muted,.light-section .lead,.light-section .eyebrow,.light-section .section-head p,.tool-note,.tool-note>span,.demo-footer,.demo-label,.demo-heading>span:first-child,.flow-step,.flow-narrative>p,.workflow-panel .eyebrow,.diagram-label,.diagram-row>span,.diagram-row p,.exchange-line,.exchange-line b){color:var(--muted)}
:root .light-section .text-link{color:var(--ink)}
:root .text-link:hover,:root .light-section .text-link:hover{color:var(--theme-accent)}
:root .workflow{color:var(--ink);background:transparent}
:root .workflow-tabs button,:root .workflow-tabs button>span:first-child{color:var(--muted);background:transparent}
:root .workflow-tabs button[aria-selected=true],:root .workflow-tabs button:hover{color:var(--ink);background:transparent}
:root .workflow-tabs button[aria-selected=true]>span:first-child{color:var(--theme-accent)}
:root :is(.flow-visual,.demo-fields>div,.demo-round>div,.demo-share,.match-preview){background:var(--theme-surface);color:var(--ink);border-color:var(--line)}
:root .flow-visual:before{background:linear-gradient(90deg,var(--line),transparent)}
:root :is(.preview-caption,.preview-bottom,.config-preview dt,.preview-table-head,.preview-team small,.preview-team>span:not(.team-monogram),.match-versus,.bracket-next p,.score-followup,.score-match i,.share-preview-links,.demo-fields small,.demo-round small,.demo-mini-table th){color:var(--muted)}
:root .config-preview dd{color:var(--ink)}
:root :is(.preview-bottom,.preview-table-head,.preview-team,.score-followup,.share-preview-links,.demo-mini-table td,.demo-mini-table th){border-color:var(--line)}
:root .team-monogram,:root .match-preview .team-monogram{background:var(--theme-accent-soft);color:var(--theme-accent)}
:root :is(.preview-team .is-complete,.score-confirmed){color:var(--theme-success)}
:root :is(.next-round-mark,.demo-mini-table strong,.demo-share>span){color:var(--theme-accent)}
:root .bracket-connector i{border-color:var(--theme-accent-line)}
:root .bracket-connector b{background:var(--theme-accent-line)}
:root .share-preview-lines i{background:var(--line)}
:root .exchange-line{background:transparent}
:root :is(.cta-band,.b-cta-editorial,.empty-state,.public-empty,.swiss-note,.reward,.b-exchange-side,.b-exchange-dark,.b-cross-story,.b-cross-story-court,.b-honesty-strip,.b-pilot-stamp,.b-brief-panel,.honor-site-entry){background:var(--theme-surface);color:var(--ink);border-color:var(--line)}
:root .cta-band .eyebrow,:root .b-cta-editorial .eyebrow,:root .b-cta-editorial>div p{color:var(--muted)}
:root :is(.b-cross-story-lime,.stage-swiss,.reward.first){background:var(--theme-accent-soft);color:var(--ink);border-color:var(--theme-accent-line)}
:root .b-cross-story-lime .eyebrow,:root .reward.first p{color:var(--theme-soft-ink)}
:root :is(.b-role-strip,.b-role-strip strong,.b-role-strip b,.b-service-editorial p,.b-service-symbol,.b-role-head p,.b-side-label,.b-exchange-side p,.b-exchange-mark,.b-note,.b-micro,.b-small-label,.b-compare thead th:first-child,.b-compare thead th span,.b-compare tbody th,.b-process p,.b-faq details p,.b-insight-grid p,.b-deliverables p,.b-honesty-strip p,.b-pilot-inline p,.b-pilot-stamp>span,.b-cases-notice p,.b-case-index a>span:first-child,.b-case-heading .tag,.b-case-detail h3,.b-case-detail>div>p:not(.lead),.b-case-delivery p,.b-case-more p,.b-case-method li p,.b-origin>div>p:not(.lead):not(.eyebrow),.b-about-principles article>span,.b-about-principles p,.b-first-facts dt,.b-first-facts dd>span,.b-contact-status p,.b-contact-channel>span,.b-contact-qr>span,.b-brief-form legend,.b-field,.b-field>span,.b-privacy-note,.b-brief-result-footer p){color:var(--muted)}
:root :is(.b-exchange-side .tag,.b-exchange-dark .tag){color:var(--theme-accent);border-color:var(--theme-accent-line)}
:root :is(.b-role-glyph,.b-service-editorial .num,.b-compare thead th:last-child,.b-faq summary:after,.b-insight-mark,.b-deliverables article>span,.b-honesty-strip>span,.b-pilot-stamp strong>span,.b-case-index a>span:last-child,.b-case-more summary,.b-case-method li>span,.b-about-seal>span,.b-direction-strip i,.b-contact-channel a,.b-contact-channel p,.b-brief-result-footer button){color:var(--theme-accent)}
:root .b-status-dot{background:var(--theme-accent)}
:root :is(.b-honesty-strip strong,.b-pilot-stamp strong,.b-case-index a,.b-case-delivery>span){color:var(--ink)}
:root :is(.b-role-strip,.b-service-editorial article,.b-role-columns article+article,.b-lined-list li,.b-compare th,.b-compare td,.b-compare tbody tr:last-child,.b-process li,.b-faq details,.b-cases-notice,.b-case-index,.b-case-index a,.b-case-heading .tag,.b-case-delivery,.b-case-method,.b-case-method li,.b-about-opening,.b-about-principles article,.b-first-facts,.b-first-facts .b-micro,.b-about-direction,.b-direction-strip,.b-contact-status,.b-contact-channel,.b-brief-panel,.b-brief-result){border-color:var(--line)}
:root .b-contact-section{background:var(--bg2)}
:root :is(input,select,textarea,.event-filters select,.honor-phase select,.honor-select select,.b-field input,.b-field textarea,.b-brief-result textarea){background:var(--theme-surface);color:var(--ink);border-color:var(--line);accent-color:var(--theme-accent)}
:root option{background:var(--theme-surface);color:var(--ink)}
:root :is(input,textarea)::placeholder{color:var(--muted);opacity:1}
:root .b-role-options span{border-color:var(--line);color:var(--theme-soft-ink)}
:root .b-role-options input:checked+span{background:var(--theme-accent-fill);color:var(--theme-on-accent);border-color:var(--theme-accent-line)}
:root .b-role-options input:focus-visible+span{outline-color:var(--theme-accent)}
:root .b-field :is(input,textarea):focus{border-color:var(--theme-accent)}
:root .format-track{background:var(--line);border-color:var(--line)}
:root .stage{background:var(--theme-surface);color:var(--ink);border-color:var(--line)}
:root .stage-swiss{background:var(--theme-accent-soft);color:var(--ink)}
:root .stage-final{background:var(--theme-raised);color:var(--ink)}
:root :is(.stage>span,.swiss-note,.reward p,.before-column p,.after-column p,.event-announcement p,.public-empty>span){color:var(--muted)}
:root .swiss-note>strong{color:var(--ink)}
:root :is(.rules-grid p,.rules-grid details p,.reward>span,.dialog-close){color:var(--muted)}
:root :is(summary>span:last-child,.rounds i){color:var(--theme-accent)}
:root :is(.detail-poster,.check-list li,.event-meta span+span){border-color:var(--line)}
:root .copy-fallback{background:var(--theme-surface);color:var(--ink);border-color:var(--line)}
:root :is(.rounds span,.rules-grid details,.data-tabs,.event-announcement,.before-column,.after-column>div,.tool-faq details,.fact-list>div){border-color:var(--line)}
:root .rounds span{background:var(--theme-surface);color:var(--theme-accent)}
:root :is(.info-dialog,.toast){background:var(--theme-surface);color:var(--ink);border-color:var(--theme-accent-line)}
:root .info-dialog::backdrop{background:rgba(15,18,14,.55)}
:root .info-dialog :is(p,ul){color:var(--muted)}
:root .cf-portfolio-open{background:var(--theme-header);border-color:var(--theme-accent-line);color:var(--ink)}
:root .cf-portfolio-open:hover{background:var(--theme-accent-fill);color:var(--theme-on-accent);border-color:var(--theme-accent)}
:root .honor-site-entry p,:root .honor-site-inline{color:var(--muted);border-color:var(--line)}
:root .honor-site-inline>span:last-child{color:var(--theme-accent)}
/* Photography is art, not a theme surface. Keep light ink over its original dark overlays. */
:root .case-overlay,:root .b-partner-poster p,:root .b-case-art-copy :is(h2,p){color:#f6f3e8}
:root .case-image .tag{background:rgba(18,21,17,.8);color:#eeeede}
:root .b-partner-poster>div>span:first-child,:root .b-case-art-copy>span,:root .b-case-art-copy h2 em{color:#e1cc98}
:root .b-partner-poster .tag{color:#f6f3e8;border-color:#f6f3e866}
/* Honor archives use the same surfaces and contrast; the downloadable card is separate artwork. */
:root .honor-shell{--h-surface:var(--theme-surface);--h-muted:var(--muted);--h-line:var(--line);--h-gold:var(--theme-accent)}
:root :is(.honor-demo-banner,.honor-champion,.honor-memory,.honor-report-promo,.honor-college-memento,.honor-scoring-note,.honor-hero-pool,.unbeaten-team){background:var(--theme-surface);color:var(--ink);border-color:var(--line)}
:root .honor-champion{background:var(--theme-accent-soft);border-color:var(--theme-accent-line)}
:root :is(.honor-demo-banner,.honor-demo-banner a,.honor-nav a,.honor-back,.honor-text-link,.honor-outline-button,.honor-champion p,.memory-record small,.college-rank,.college-secondary small,.college-go,.role-marker,.royal-name,.royal-score small,.honor-royals p,.royal-wait,.report-big-number>span,.honor-filter-note,.college-standing>span,.honor-row-arrow,.honor-search button,.honor-subnav a,.honor-scoring-note>span,.honor-scoring-note small,.honor-ranking-heading,.ranking-number,.honor-ranking-row>div>small,.honor-ranking-row>span:not(.ranking-number),.honor-ranking-row>strong>small,.score-breakdown,.score-breakdown p,.honor-missing,.honor-missing p>span,.honor-player-emblem>span,.honor-player-identity>p,.player-win-record>strong>span,.player-win-record>small,.honor-achievement,.honor-achievement small,.achievement-progress,.honor-achievement p,.honor-hero-pool p,.honor-quality>p,.honor-quality>small,.honor-match-history small,.honor-match-history details,.honor-match-history details p,.honor-series-list article>span,.honor-series-list article>small,.honor-series-list article>a,.unbeaten-team>span,.unbeaten-team small,.honor-rank-changes>div>span,.honor-rank-changes small,.report-stat-leaders article>span,.honor-next-fixtures i,.honor-body-note,.honor-card-actions button:last-child,.honor-card-caption>span,.honor-card-caption>p){color:var(--muted)}
:root :is(.honor-nav a[aria-current],.honor-subnav a.selected,.memory-record,.honor-statbar dd,.royal-name,.royal-score,.report-big-number,.college-standing>strong,.honor-ranking-row>strong,.honor-scoring-note strong,.player-win-record>strong,.honor-achievement.is-earned strong,.honor-quality strong,.honor-series-list b,.honor-rank-changes strong,.report-stat-leaders strong,.honor-card-actions button){color:var(--ink)}
:root :is(.honor-champion .honor-eyebrow,.honor-champion .honor-text-link,.honor-crest,.honor-crest.is-gold,.honor-text-link:hover,.honor-outline-button:hover){color:var(--theme-accent)}
:root :is(.honor-text-link,.honor-outline-button,.honor-card-actions button,.role-marker:before,.honor-search,.honor-card-preview:before,.honor-card-caption,.honor-next-fixtures>div,.report-stat-leaders article,.honor-quality>p,.honor-hero-pool,.honor-player-identity>p a,.score-breakdown>div,.honor-memory){border-color:var(--line)}
:root .honor-mini-badges>span{background:var(--theme-accent-soft);color:var(--theme-accent);border-color:var(--theme-accent-line)}
:root .college-bar{background:var(--line)}
:root .college-bar>span{background:var(--theme-accent-line)}
:root .champion-engraving{color:var(--theme-ghost)}
:root :is(.honor-avatar,.achievement-mark){background:var(--theme-raised);color:var(--muted)}
:root .honor-achievement.is-earned .achievement-mark{background:var(--theme-accent-soft);color:var(--theme-accent)}
:root .match-result{background:var(--theme-danger-soft);color:var(--theme-danger)}
:root .match-result.is-win{background:var(--theme-success-soft);color:var(--theme-success)}
:root .honor-search input{background:transparent;color:var(--ink)}
:root .honor-search input::placeholder{color:var(--muted)}
:root .honor-card-actions button:first-child{background:var(--theme-accent-fill);color:var(--theme-on-accent);border-color:var(--theme-accent-line)}
:root .honor-card-actions button:hover{border-color:var(--theme-accent)}
:root .honor-link-fallback{background:var(--theme-surface);color:var(--ink);border-color:var(--line)}
:root #card-feedback{color:var(--theme-success)}
:root .honor-empty{background:var(--theme-surface);border-color:var(--line)}
:root :is(.honor-rules p,.honor-weight-list span,.honor-definitions dd,.honor-rules small,.honor-empty>span,.honor-empty p,.honor-archive-entry>span,.honor-archive-entry p){color:var(--muted)}
:root .honor-definitions dt{color:var(--ink)}
:root .honor-archive-entry{border-color:var(--line)}
/* Theme follows the opener without changing its motion or sport geometry. */
:root .arena-home{background:var(--bg);--arena-accent:var(--theme-accent)}
:root .arena-home:before{background:radial-gradient(ellipse at 78% 40%,var(--theme-glow),transparent 65%)}
:root .arena-home:after{background:linear-gradient(90deg,var(--bg) 4%,var(--theme-hero-fade) 28%,transparent 64%)}
:root .arena-home .hero-kicker,:root .arena-home p,:root .arena-edition,:root .arena-pause,:root .arena-broadcast-tag,:root .arena-count,:root .arena-eventbar-meta,:root .arena-eventbar-title>span{color:var(--muted)}
:root .arena-home h1 .hero-accent{color:var(--theme-accent)}
:root .arena-home .hero-kicker:before{background:var(--theme-accent)}
:root .arena-home .button-primary{background:var(--theme-accent-fill);color:var(--theme-on-accent);border-color:transparent}
:root .arena-home .button-primary:hover{background:var(--theme-accent-hover)}
:root .arena-home .hero-secondary,:root .arena-eventbar,:root .arena-eventbar>a{color:var(--ink)}
:root .arena-pause,:root .arena-eventbar{border-color:var(--line)}
:root .arena-pause:hover{border-color:var(--theme-accent-line);color:var(--ink)}
:root .arena-eventbar-meta .arena-preparing{color:var(--theme-accent);border-color:var(--theme-accent-line)}
:root .arena-eventbar>a>span,:root .arena-home .hero-secondary:hover{color:var(--theme-accent)}
:root .arena-mode-buttons button{color:var(--muted)}
:root .arena-mode-buttons button:is(:hover,[aria-pressed="true"]){color:var(--ink)}
:root .arena-sport-heading>strong{color:transparent;-webkit-text-stroke:1px var(--theme-accent-line)}
:root .arena-ghost{-webkit-text-stroke:1px var(--theme-ghost)}
:root .arena-home :is(button,a):focus-visible{outline-color:var(--theme-accent)}
/* Header control stays available at every width without displacing the menu. */
:root .theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;min-width:40px;padding:7px 10px;background:transparent;color:var(--theme-soft-ink);border:1px solid var(--line);font:12px/1.4 var(--font);white-space:nowrap;flex-shrink:0}
:root .theme-toggle:hover{color:var(--theme-accent);border-color:var(--theme-accent-line);background:var(--theme-accent-soft)}
:root .theme-toggle [data-theme-icon]{display:inline-flex;align-items:center}
@media(max-width:1100px){:root .header-inner{gap:18px}:root .desktop-nav{gap:20px}}
@media(max-width:900px){:root .arena-home:after{background:linear-gradient(90deg,var(--theme-hero-fade),var(--theme-hero-mid) 48%,transparent 85%)}}
@media(max-width:650px){
 :root .theme-toggle{padding:7px;min-width:36px;min-height:36px}
 :root .theme-toggle [data-theme-label]{display:none}
 :root .header-inner{gap:15px}
 :root .arena-home:before{background:radial-gradient(ellipse at 75% 65%,var(--theme-glow),transparent 65%)}
 :root .arena-home:after{background:linear-gradient(180deg,var(--bg) 0%,var(--theme-hero-fade) 20%,var(--theme-hero-mid) 43%,transparent 66%)}
}
@media(max-width:370px){:root .header-inner{gap:11px}}

:root #card-save-image p{color:var(--muted)}
:root :is(.b-ink-section,.b-cohost-process,.b-partner-process) .eyebrow{color:var(--muted)}
