/* Default light theme: neutral surfaces, dark ink and restrained club-green accents. */
:root{color-scheme:light;--bg:#f6f8f7;--sidebar:#fff;--panel:#fff;--panel-light:#edf3ef;--line:#d2ddd6;--text:#17291f;--muted:#52645a;--soft:#344c3e;--lime:#216e43;--lime-dark:#185333;--gold:#805500;--red:#b42318;--blue:#245ca1;background:var(--bg);color:var(--text)}
html body :is(.ovr.average,.ovr.muted){background:#edf2ef;color:#40584a;border-color:#bdcfc3}
html body :is(.panel-link,.pitch-link){background:#f1f6f3;color:#26593a;border-color:#cbdcd0}
.pitch .pitch-caption{color:#f2fff3;font-size:calc(10px + 2pt);opacity:1}
.milestone:not(.earned){background:#f3f6f4;opacity:1}.milestone:not(.earned) strong,.milestone:not(.earned) h4{color:#40584a}.milestone:not(.earned) p{color:#52645a}
body{background:var(--bg);color:var(--text)}
.onboarding-card,.career-start-info{box-shadow:0 10px 30px #1739240a}
html body :is(.victory-scene-credit,.victory-scene-credit>span,.victory-scene-credit>small,.victory-wins>span,.victory-wins b,.victory-controls .text-button,.victory-controls .text-button:last-child,.victory-motion-note){color:#41583f}
.formation-banner strong{white-space:nowrap;flex-shrink:0}.formation-banner>div:first-child{min-width:0}
@media(max-width:650px){html body .player-table td{font-size:calc(12px + 2pt)}html body .player-identity strong{font-size:calc(13px + 2pt)}html body .player-price{font-size:calc(12px + 2pt)}.formation-banner strong{font-size:calc(12px + 2pt)}}
.connection{background:#fff;border-color:#c9d8ce}.connection p,.connection small{color:#425c4c}
html body :is(input,select,textarea){background:#fff;color:var(--text);border-color:#9bab9f;min-height:44px}
input::placeholder,textarea::placeholder{color:#5e7064;opacity:1}
html body :is(.sidebar,.topbar,.mobile-bottom-nav,.modal,.onboarding-card,.career-start-info,.preparation-card,.review-summary,.career-legacy,.legacy-cover,.weekly-entry,.weekly-hero,.story-rival,.story-teaser,.manager-profile){background:#fff;color:var(--text);border-color:var(--line)}
.topbar{background:#fff}.modal{box-shadow:0 20px 80px #14291e26}.modal-backdrop{background:#13261d80}.nav-backdrop{background:#17291f66}
html body :is(.nav-item,.breadcrumbs strong,.sidebar-caption,.version,.section-kicker,.micro-label,.eyebrow,.sidebar-help,.footer,.source-rights,.sidebar-club span:not(.crest),.division-picker>small,.source-leagues span,.source-links,.crest-fallback,.breadcrumbs,.save-state){color:#52645a}
html body :is(.sidebar-club,.avatar,.top-avatar,.formation-banner,.subtle-card,.planning-note,.rules-strip,.market-banner,.manager-portrait,.local-save-note,.import-preview,.game-rules,.scout-note,.source-leagues,.facility-icon,.facility-mini strong>span,.step-number,.sim-orbit,.segmented,.table-footnote,.career-start-info,.legacy-tribute,.legacy-honors article,.legacy-best,.legacy-moments article,.legacy-player-records article,.legacy-preview,.legacy-ending-link,.weekly-conditions>span,.weekly-banner,.weekly-report-card,.training-target,.training-item,.story-protege,.story-choice,.story-season-cards article,.review-summary-grid article,.preparation-item,.report-fold,.fan-post,.report-comp,.report-insights,.report-development,.report-actions,.report-title){background:#f1f6f3;color:var(--text);border-color:var(--line)}
html body :is(.nav-item:hover,.panel-link:hover,.club-picker>button:hover,.lineup-slot:hover,.lineup-option:hover,.lineup-option.currently-starting,.preparation-item:hover,.manager-settings-row:hover){background:#edf5ef;color:#185333;border-color:#9fbaab}
html body :is(.nav-item.active,.mobile-bottom-nav .active,.segmented>button.selected,.club-picker>button.selected,.league-picker>button.selected,.division-picker>button.selected,.tactic-style-buttons button.selected,.story-choice.selected,.lineup-slot.is-preferred,.lineup-auto-option){background:#e2f1e7;color:#185333;border-color:#7baf8e}
html body :is(.button.secondary,.league-picker>button,.club-picker>button,.division-picker>button,.tactic-style-buttons button,.modal-close){background:#fff;color:#284e37;border-color:#a9bdae}
html body .button.primary{background:#216e43;color:#fff;border-color:#216e43}
html body .button.primary:hover:not(:disabled){background:#185333;color:#fff}
html body .formation-choices>button.selected{background:#216e43;color:#fff;border-color:#216e43}
html body :is(.button.secondary:hover:not(:disabled),.division-picker>button.selected span){color:#185333;background:#e8f2eb}
html body :is(.positive,.excellent,.good,.training-wallet,.training-tag,.training-jump,.training-preview,.story-growth,.story-tag,.story-choice>span,.text-button:hover,.active-mark,.nav-dot){color:#1d693f}
html body :is(.negative,.retirement-warning,.danger-outline){color:#ad271c}
html body :is(.average,.ovr.muted,.gold,.source-links a){color:#735515}
html body :is(.badge,.position,.ovr,.rank-number,.competition-icon,.facility-icon,.milestone>span,.story-step,.priority-chip){background:#eef3f0;color:#344c3e;border-color:#c8d8cc}
html body :is(.badge.green,.ovr.excellent,.ovr.good,.rank-number.elite,.rank-number.promotion,.competition-icon.comp-league,.result-square.win,.movement-result,.story-missions .completed .story-step,.milestone.earned,.priority-chip){background:#e3f2e8;color:#185b33;border-color:#9ec3ab}
html body :is(.badge.gold,.badge.orange,.position.pos-GK,.comp-cup,.comp-super,.comp-csuper,.rank-number.secondary,.result-square.draw,.intake-warning){background:#fff3d8;color:#795000;border-color:#d8bd75}
html body :is(.position.pos-DF,.comp-continental){background:#e5effb;color:#204f88;border-color:#afc4df}
html body .position.pos-MF{background:#e4f3eb;color:#215c3a;border-color:#a4c8b3}
html body :is(.position.pos-FW,.result-square.loss,.movement-result.relegated,.rank-number.relegation){background:#fcebe8;color:#9e3127;border-color:#d5a59c}
html body .comp-world{background:#f2eaff;color:#62408d;border-color:#c4addb}
html body :is(th,.weekly-table th){background:#edf3ef;color:#425c4c;border-color:var(--line)}
html body :is(tbody tr:hover,.own-team,.weekly-table .my-record){background:#eaf4ed}
html body :is(.report-comp.winner,.report-title.treble-achieved,.milestone.earned,.movement-result){background:#e8f5ec;color:#185333;border-color:#93ba9f}
html body :is(.alert,.alert.success){background:#edf6ef;color:#205c36;border-color:#a5c6af}
html body :is(.alert:not(.success),.save-recovery,.save-warning){color:#805119;background:#fff4df;border-color:#d9bd85}
html body :is(.story-move,.story-old-rival,.story-honors,.training-receipt,.playing-time-field,.fan-reply){border-color:var(--line);color:var(--soft)}
html body :is(.story-protege>p,.story-rival-name small,.story-choice small,.story-choice p,.story-mentor-locked,.training-target span,.training-target small,.training-item small,.training-item p,.playing-time-field small,.playing-time-actions [role=status],.playing-time-results small,.fan-post header span,.fan-post footer,.media-fiction-note,.news-byline){color:#52645a}
html body :is(.fan-post p,.fan-reply p,.fan-post header strong,.story-choice strong,.legacy-cover h2,.legacy-cover p,.legacy-tribute p,.legacy-preview p){color:#263f30}
.fan-post header>small{color:#216e43}.fan-reply{border-left-color:#94b7a0}
.club-hero{background:linear-gradient(110deg,#e9f4ed,#fff);border-color:#cadcd0}.hero-club-emblem .crest{filter:drop-shadow(0 5px 6px #14291e18)}
.report-title.has-celebration,.victory-ceremony,.victory-heading{background:#fff;border-color:#d2ddd6;color:#17291f}
html body :is(.victory-kicker,.victory-meta,.victory-heading p,.victory-heading small,.victory-heading h2,.victory-heading strong,.victory-heading>span){color:#344c3e}
.victory-stage{background:#173020}.victory-stage .victory-label{color:#fff}
.pitch{background:repeating-linear-gradient(0deg,#245432 0,#245432 14.285%,#2b5d39 14.285%,#2b5d39 28.57%);border-color:#527d5e}
.pitch .kit{background:#d2f87c;color:#193015}.pitch .kit.keeper{background:#ffdc84;color:#4b360b}
html body .pitch-player-name{color:#fff;background:#173620eb;border-radius:3px;padding:2px 4px}
html body .preferred-player .pitch-player-name{color:#f3ffb9;background:#173620f2;outline-color:#d2f87c}
.pitch-lines,.halfway,.center-circle,.penalty-box,.six-yard-box,.pitch-box{border-color:#ffffff66}.center-circle:after{background:#ffffff99}
.pitch .pitch-label{color:#ecf8e9}.lineup-pitch-panel .pitch-player:focus-visible{outline-color:#c6f477}
.reputation-meter>div,.trust-bar,.sim-progress,.attribute-bar{background:#e3eae5}.attribute-bar i,.reputation-meter i,.trust-bar i{background:#3c8a57}.power-bars i{background:#cddad0}.power-bars i.on{background:#216e43}
html body :is(.manager-portrait>span,.history-year>span,.milestone>span,.story-rival-symbol){color:#246b41;background:#e2eee5}
html body :is(.legacy-title,.legacy-rating,.legacy-eyebrow,.legacy-keystone,.legacy-honors strong,.legacy-honors span,.legacy-cover small,.legacy-preview small,.legacy-list small,.legacy-seasons small,.legacy-archive small){color:#52645a}
.legacy-tribute{border-color:#a9c5b1}.legacy-modal .modal-close{background:#fff;color:#263f30}
.media-verdict{background:#eef5f0;border-color:#bed1c3}.media-grade.grade-S,.media-grade.grade-A,.media-grade.grade-B{background:#e2f3e7;color:#1c6339;border-color:#9fc5ad}.media-grade.grade-C{background:#fff0cf;color:#795400;border-color:#d5bb76}.media-grade.grade-D,.media-grade.grade-F{background:#fbe9e5;color:#a13327;border-color:#d6aaa1}
.season-newspaper{background:#fffdf7;color:#283427;border-color:#d8d7c6;box-shadow:0 4px 15px #22331b0a}
.weekly-start input{background:#fff;color:#17291f}.weekly-entry p,.weekly-hero p,.weekly-banner p,.weekly-report-card p{color:#3f5948}
.onboarding-shell{background:var(--bg)}.onboarding-intro h1,.onboarding-card h2{color:#17291f}.onboarding-shell .brand-symbol,.sidebar .brand-symbol{color:#216e43}.brand-symbol span{background:#216e43}
html body .mobile-bottom-nav{background:#fff;border-top-color:#becfc3;box-shadow:0 -4px 18px #1f432410}.mobile-bottom-nav button{color:#4a6152}.mobile-bottom-nav .active{color:#175a31;background:#e2f1e7}
html body #toast{background:#203d2b;color:#fff;border-color:#476f54;box-shadow:0 8px 30px #14291e26}
button:disabled{opacity:.65}::-webkit-scrollbar-thumb{background:#a6b9ac}::-webkit-scrollbar-track{background:#f1f5f2}
@media(max-width:650px){html body input,html body select,html body textarea{font-size:calc(14px + 2pt)}.name-button,.lineup-slot-name strong{font-size:calc(13px + 2pt)}.roster-table td,.squad-table td,.tactic-fields label>span{font-size:calc(12px + 2pt)}.section-kicker,.sidebar-caption{font-size:calc(10px + 2pt)}.table-footnote,.rules-strip p,.story-note{font-size:calc(12px + 2pt)}.button{font-size:calc(12px + 2pt)}.onboarding-card .manager-input{font-size:calc(13px + 2pt)}.onboarding-card .club-picker strong{font-size:calc(12px + 2pt)}}
/* Keep dense football data smaller than prose and page headings. */
html body #app :is(input,select,textarea){background-color:#fff;color:#203f2b}
html body .formation-mini select{background:#fff;color:#203f2b;border-color:#a7b9ac;min-height:40px;min-width:104px;font-size:13px;padding:6px 26px 6px 10px}
html body .pitch .pitch-player-name{word-break:keep-all;overflow-wrap:anywhere;line-height:1.3}
html body .stats-grid>.stat-card{min-width:0}
html body .stat-foot{white-space:normal;overflow-wrap:anywhere;line-height:1.5}
@media(max-width:760px){
 html body .player-table th{font-size:12px;padding-top:12px;padding-bottom:12px}
 html body .player-table td{font-size:13px;padding-top:10px;padding-bottom:10px;border-bottom-color:#d2ddd6}
 html body .player-table .player-identity strong{font-size:14px;line-height:1.45}
 html body .player-table .player-identity small{font-size:11px;line-height:1.4}
 html body .player-table .position{font-size:11px}
 html body .player-table .ovr{font-size:16px}
 html body .player-table .player-price{font-size:12px}
 html body .table-footnote{font-size:12.5px;line-height:1.7}
 html body .lineup-panel .pitch .pitch-player-name{font-size:10.5px;padding:2px 3px}
 html body .lineup-pitch-panel .pitch .pitch-player-name{font-size:11px;padding:2px 3px}
 html body .lineup-panel .pitch-caption{font-size:10px}
 html body .lineup-pitch-panel .pitch-caption{font-size:10.5px}
}

/* Generated foreground fallbacks for retained literal-color components. */
input::placeholder{color:#424843}
.good{color:#4e6426}
.average{color:#464c3e}
.sidebar-caption{color:#414841}
.nav-item{color:#424940}
.avatar,.top-avatar{color:#425832}
.version{color:#414942}
.breadcrumbs strong{color:#44503a}
.slash{color:#4b574b}
.eyebrow span{color:#424d3c}
.button.primary{color:#1c2b11}
.button.secondary{color:#445238}
.hero-season{color:#475931}
.hero-season>span:last-child{color:#475436}
.hero-copy p{color:#424f3b}
.hero-link{color:#435634}
.hero-club-emblem>span:last-child{color:#445139}
.hero-goal .micro-label{color:#475337}
.treble-icons>div{color:#4a5a30}
.treble-icons .icon{color:#4a5d2d}
.treble-icons span{color:#445139}
.treble-icons>b{color:#455139}
.hero-goal p{color:#455039}
.stat-label .icon{color:#434c3e}
.panel-heading .section-kicker{color:#434b3f}
.subtle-pill{color:#445139}
.competition-icon{color:#485d2c}
.comp-cup{color:#634f27}
.comp-continental{color:#223667}
.comp-world{color:#223967}
.comp-super,.comp-csuper{color:#502c5e}
.priority-chip{color:#485a30}
.competition-row>.icon{color:#444a40}
.competition-row.inactive .priority-chip{color:#414941}
.planning-note{color:#434a40}
.planning-note .icon{color:#495337}
.formation-mini select{color:#475d2d}
.step-number{color:#475831}
.club-project>.panel-heading>.icon{color:#44503a}
.facility-icon{color:#475732}
.facility-mini strong>span{color:#475633}
.facility-mini .icon-button{color:#475d2d}
.club-project>p{color:#444b3f}
.last-result .icon{color:#46503a}
.footer{color:#424a40}
.footer b{color:#434c3e}
.footer button{color:#444d3d}
th{color:#434b3f}
td{color:#434d3d}
.position{color:#445732}
.position.pos-GK{color:#675222}
.position.pos-DF{color:#224367}
.position.pos-MF{color:#2d5d33}
.position.pos-FW{color:#673822}
.table-footnote{color:#434c3e}
.subtle-card>.icon{color:#465b2f}
.formation-choices>button{color:#464f3b}
.formation-choices>button.selected{color:#25341b}
.badge{color:#434d3d}
.badge.green{color:#476722}
.badge.gold{color:#675122}
.badge.orange{color:#674522}
.tactic-style-buttons button{color:#444e3c}
.checkbox-row{color:#444c3d}
.rules-strip .icon{color:#445337}
.rules-strip p{color:#444d3d}
.market-banner .section-kicker{color:#455732}
.market-banner p{color:#434f3a}
.market-banner>div:last-child>span{color:#445336}
.search-box>.icon{color:#444d3c}
.empty-state>.icon{color:#455435}
.rank-number.elite{color:#223c67}
.rank-number.secondary{color:#475c2d}
.points{color:#445b2f}
.result-square.win{color:#4a6722}
.result-square.draw{color:#525436}
.result-square.loss{color:#672f22}
.fixture-opponent>span{color:#434f3a}
.fixture-score span{color:#434e3c}
.manager-portrait{color:#486722}
.manager-profile-copy>p{color:#435139}
.reputation-meter b{color:#465b2f}
.career-numbers span{color:#455039}
.board-panel .panel-heading>.icon{color:#445634}
.board-panel>p>b{color:#445733}
.board-panel>small{color:#434c3e}
.milestone>span{color:#444e3c}
.history-year{color:#455535}
.history-titles>span{color:#5d502c}
.history-row>b{color:#455535}
.alert{color:#644f26}
.alert>button{color:#675122}
.alert.success{color:#476722}
.modal-close{color:#434f3b}
.settings-content>p,.help-content>p{color:#434f3b}
.settings-option>.icon:first-child{color:#476228}
.settings-option>.icon:last-child{color:#444e3c}
.local-save-note{color:#45503a}
.import-preview p{color:#435435}
.help-step>b{color:#475e2b}
.game-rules summary{color:#445832}
.game-rules p{color:#444e3c}
.player-detail-top p{color:#445139}
.detail-attributes>div>span{color:#44503a}
.scout-note>.icon{color:#465a30}
.scout-note p{color:#445139}
.scout-note p>span{color:#434f3b}
.player-detail-bottom b{color:#425535}
.danger-outline{color:#624028!important}
.manager-input{color:#445237}
.league-picker>button{color:#43503a}
.club-picker small{color:#424f3b}
.new-career-bottom>span{color:#434e3c}
.simulation>p{color:#445139}
.sim-steps{color:#43503a}
.report-trophy{color:#675323}
.report-title .section-kicker{color:#475436}
.report-title p{color:#44503a}
.treble-achieved h2{color:#675022}
.report-comp>.icon{color:#465337}
.report-comp>span{color:#444f3a}
.report-comp>strong{color:#445634}
.report-comp.winner>.icon,.report-comp.winner>strong{color:#675122}
.report-comp.winner>span{color:#584e31}
.report-insights>article>span{color:#444e3c}
.report-insights>article>strong small{color:#43503a}
.report-insights>article>small{color:#445238}
.report-analysis .icon,.report-development .icon{color:#475e2c}
.report-analysis p{color:#43503a}
.report-finance>span{color:#435139}
.report-finance b{color:#495832}
.growth-row small{color:#435139}
.growth-row>span:nth-child(2){color:#445238}
.retirement-note{color:#444f3a}
#toast{color:#243716}
.real-crest.image-unavailable:after{color:#455832}
.crest-fallback{color:#455336}
.division-picker>button{color:#445139}
.division-picker>button span{color:#44503a}
.division-picker>button.selected{color:#4b6722}
.division-picker>button.selected span{color:#476228}
.division-picker>small{color:#445039}
.rank-number.relegation{color:#673522}
.rank-number.promotion{color:#4c6722}
.movement-result{color:#4b6722}
.movement-result.relegated{color:#673c22}
.source-leagues span{color:#455238}
.source-links{color:#486722}
.source-rights{color:#434f3a!important}
.birth-date-detail{color:#425139}
.birth-date-detail a{color:#486426}
.rating-source-detail{color:var(--text-secondary,#3c4a4d)}
.rating-source-detail a{color:var(--accent,#226755)}
.career-start-info strong{color:#436624}
.career-start-info strong span{color:#445436}
.career-start-info p{color:#435336}
.club-picker .club-start-continental{color:#435931}
.start-resources b{color:#4b6722}
.onboarding-tag{color:#434f3a}
.onboarding-intro p{color:#415039}
.onboarding-footer{color:#434f3a}
.scout-fit{color:#4a6722}
.intake-warning{color:#675022}
.retirement-warning{color:#674822}
.lineup-position{color:#455535}
.lineup-slot.is-preferred small{color:#486426}
.lineup-change{color:#455634}
.lineup-candidate-name .lineup-fit-warning{color:#674a22}
.weekly-entry span{color:#4c5832}
.weekly-entry strong{color:#4f5c2e}
.weekly-entry p{color:#454e3b}
.weekly-period{color:#465139}
.weekly-hero h2{color:#526426}
.weekly-hero-title p{color:#424e3c}
.weekly-conditions>span{color:#485634}
.weekly-conditions b{color:#516722}
.weekly-deadline{color:#5b512f}
.weekly-start>label{color:#434f3b}
.weekly-start input{color:#465832}
.weekly-disclosure{color:#424c3e}
.weekly-stats article>span{color:#455139}
.weekly-stats strong{color:#4f6722}
.weekly-stats small{color:#434e3c}
.weekly-current p{color:#455138}
.weekly-table th{color:#465337}
.weekly-table td:first-child{color:#465c2e}
.weekly-table td>small{color:#444f3b}
.weekly-table td b{color:#546722}
.weekly-empty{color:#435139}
.weekly-empty strong{color:#465633}
.weekly-empty p{color:#444e3c}
.weekly-footnote{color:#434f3b}
.weekly-rules summary{color:#465831}
.weekly-rules>p{color:#445138}
.weekly-rules>div>span{color:#445138}
.weekly-rules b{color:#4c6425}
.weekly-personal-row small{color:#445139}
.weekly-personal-row strong{color:#496623}
.weekly-banner b{color:#4f6624}
.weekly-banner span{color:#455634}
.weekly-banner>strong{color:#546722}
.weekly-report-card>span{color:#485b2f}
.weekly-report-card>strong{color:#536722}
.weekly-report-card strong small{color:#445435}
.weekly-report-card p{color:#485733}
.review-step{color:#435138}
@media(max-width:600px){.mobile-bottom-nav button{color:#414a40}
}
.story-rival-symbol{color:#2d435d}
.playing-time-field small{color:var(--muted,#424941)}
.playing-time-field input{color:#486722}
.playing-time-actions [role=status]{color:var(--muted,#424941)}
.playing-time-results small{color:var(--muted,#424941)}
.legacy-overline{color:#485733}
.legacy-period{color:#444f3b}
.legacy-cover h2>span{color:#455039}
.legacy-epithet{color:#4d6722}
.legacy-letter{color:#675522}
.legacy-award>div>span{color:#485237}
.legacy-award strong{color:#675422}
.legacy-award small{color:#464f3a}
.legacy-totals span{color:#445336}
.legacy-tribute{color:#2b3229}
.legacy-tribute .section-kicker{color:#474d3c}
.legacy-honors span{color:#465336}
.legacy-honors strong{color:#675822}
.legacy-honors small{color:#485237}
.legacy-best .section-kicker{color:#5f502b}
.legacy-best h3{color:#625328}
.legacy-best>strong{color:#675322}
.legacy-best>strong>span{color:#585e2c}
.legacy-best>p{color:#544e36}
.legacy-best>div>span{color:#675622}
.legacy-best>small{color:#4f4b3b}
.legacy-moments article>span{color:#495a2f}
.legacy-badges article>span{color:#665524}
.legacy-badges strong{color:#675722}
.legacy-player-records p{color:#4a5b2f}
.legacy-timeline article>span{color:#4d5b2f}
.legacy-score-breakdown b{color:#4d6129}
.media-grade.grade-S,.media-grade.grade-A{color:#675122}
.media-grade.grade-D,.media-grade.grade-F{color:#672d22}
.season-newspaper{color:#252c25}
.newspaper-masthead small{color:#454a3f}
.news-category{color:#464c3e}
.news-byline{color:#454b3f}
.fan-post header>small{color:#4e6128}
.fan-post p{color:#40503a}
