.theme-toggle{width:34px;height:34px;border:1px solid var(--line);border-radius:9px;background:transparent;display:grid;place-items:center;flex-shrink:0}.theme-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.theme-toggle:hover{background:#e8eddf}
:root[data-theme=dark]{--ink:#e9e9e9;--muted:#a7a7a7;--green:#c6e99e;--lime:#d4f783;--paper:#171717;--line:#363636;--white:#222222;color-scheme:dark}
[data-theme=dark] body{background:#171717;color:#e9e9e9}
[data-theme=dark] .sidebar{background:#1d1d1d;border-color:#363636}
[data-theme=dark] .brandmark{background:#404040;color:#d4f783}
[data-theme=dark] .brand small{color:#a8a8a8}
[data-theme=dark] .side-caption{color:#939393}
[data-theme=dark] .nav{color:#adadad}
[data-theme=dark] .nav:hover{background:#2b2b2b}
[data-theme=dark] .nav.active{background:#353535;color:#e2e2e2}
[data-theme=dark] .nav b{background:#c6e99e;color:#2a2a2a}
[data-theme=dark] .edition strong{color:#e7e7e7}
[data-theme=dark] .edition,[data-theme=dark] .edition p,[data-theme=dark] .local-note{color:#9e9e9e}
[data-theme=dark] .topbar{background:#1b1b1b;border-color:#363636}
[data-theme=dark] .breadcrumb{color:#999999}
[data-theme=dark] .breadcrumb strong{color:#d8d8d8}
[data-theme=dark] .breadcrumb span{color:#606060}
[data-theme=dark] .avatar{background:#363636;color:#d1d1d1;border-color:#494949}
[data-theme=dark] .theme-toggle{color:#d4d4d4}
[data-theme=dark] .theme-toggle:hover{background:#373737}
[data-theme=dark] .account-button{background:#343434;color:#dadada;border-color:#494949}
[data-theme=dark] .sync-status{color:#b9b9b9}
[data-theme=dark] .sync-status.pending{color:#bababa}
[data-theme=dark] .sync-status.warning{color:#adadad}
[data-theme=dark] .eyebrow{color:#a6a6a6}
[data-theme=dark] .page-heading p{color:#a6a6a6}
[data-theme=dark] .button{background:#c6e99e;color:#2c2c2c;border-color:#c6e99e}
[data-theme=dark] .button.light{background:#262626;color:#dadada;border-color:#414141}
[data-theme=dark] .button.lime{background:#d4f783;color:#2e2e2e;border-color:#d4f783}
[data-theme=dark] .button.danger{color:#b2b2b2;background:#252525;border-color:#4b4b4b}
[data-theme=dark] .hero{background:#3a3a3a;border:1px solid #505050}
[data-theme=dark] .hero:before{background:radial-gradient(ellipse at 70% 0,#56565644,transparent 70%)}
[data-theme=dark] .hero p{color:#c9c9c9}
[data-theme=dark] .hero-meta{color:#dadada}
[data-theme=dark] .hero .eyebrow{color:#cdcdcd}
[data-theme=dark] .stat,[data-theme=dark] .card,[data-theme=dark] .catalog-toolbar{background:#222222;border-color:#383838}
[data-theme=dark] .stat-label{color:#a9a9a9}
[data-theme=dark] .stat-foot,[data-theme=dark] .stat-value small{color:#9d9d9d}
[data-theme=dark] .mini-bar{background:#373737}
[data-theme=dark] .mini-bar span{background:#bbbbbb}
[data-theme=dark] .card p{color:#b1b1b1}
[data-theme=dark] .text-button{color:#c7c7c7}
[data-theme=dark] .notice{background:#2c2c2c;border-color:#404040;color:#bbbbbb}
[data-theme=dark] .notice button{color:#d2d2d2}
[data-theme=dark] .section-top .count,[data-theme=dark] .tag{background:#363636;color:#c4c4c4}
[data-theme=dark] .tag.warm{background:#313131;color:#c5c5c5}
[data-theme=dark] .event-card{border-left-color:#a1a1a1}
[data-theme=dark] .event-meta{color:#9b9b9b}
[data-theme=dark] .due{color:#b2b2b2}
[data-theme=dark] .commitment{border-left-color:#8e8e8e}
[data-theme=dark] .empty{background:#1f1f1f;border-color:#474747}
[data-theme=dark] .empty p{color:#9e9e9e}
[data-theme=dark] .empty-symbol{color:#aeaeae}
[data-theme=dark] .rule-line,[data-theme=dark] .fixture{border-color:#373737}
[data-theme=dark] .rule-line span{color:#bfbfbf}
[data-theme=dark] .fixture small{color:#9c9c9c}
[data-theme=dark] .result{background:#3d3d3d;color:#d9d9d9}
[data-theme=dark] .result.loss{background:#323232;color:#afafaf}
[data-theme=dark] .result.draw{background:#373737;color:#c1c1c1}
[data-theme=dark] .quote{background:#303030;border-color:#3e3e3e}
[data-theme=dark] .quote p{color:#cacaca}
[data-theme=dark] .quote .eyebrow,[data-theme=dark] .quote small{color:#a4a4a4}
[data-theme=dark] .icon-button{background:#373737;color:#dadada}
[data-theme=dark] .club-monogram{background:#3b3b3b;color:#dedede;border-color:#4c4c4c}
[data-theme=dark] .career-card.selected{border-color:#9d9d9d}
[data-theme=dark] .badge-demo{background:#3c3c3c;color:#c6c6c6}
[data-theme=dark] .history-filters button{background:#272727;color:#b9b9b9;border-color:#414141}
[data-theme=dark] .history-filters button.active{background:#c6e99e;color:#2c2c2c}
[data-theme=dark] .timeline{border-color:#474747}
[data-theme=dark] .timeline-item p{color:#afafaf}
[data-theme=dark] .timeline-item small{color:#a0a0a0}
[data-theme=dark] .timeline-item:before{background:#b6b6b6}
[data-theme=dark] dialog{background:#222222;color:#e9e9e9;border-color:#474747;box-shadow:0 25px 100px #0009}
[data-theme=dark] dialog::backdrop{background:#0b0b0bb0}
[data-theme=dark] dialog p{color:#b5b5b5}
[data-theme=dark] label.field{color:#c7c7c7}
[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea{background-color:#1d1d1d;color:#e3e3e3;border-color:#494949}
[data-theme=dark] input::placeholder,[data-theme=dark] textarea::placeholder{color:#878787}
[data-theme=dark] .choice{background:#282828;border-color:#4a4a4a;color:#e0e0e0}
[data-theme=dark] .choice:hover{background:#363636;border-color:#aeaeae}
[data-theme=dark] .choice small{color:#b3b3b3}
[data-theme=dark] .consequence{background:#343434;color:#cbcbcb}
[data-theme=dark] .form-note,[data-theme=dark] .fine-print{color:#9e9e9e}
[data-theme=dark] .auth-error{color:#b8b8b8}
[data-theme=dark] .catalog-tabs button{color:#a7a7a7}
[data-theme=dark] .catalog-tabs button.active{background:#3a3a3a;color:#dfdfdf}
[data-theme=dark] .search-box{background:#1d1d1d;border-color:#494949}
[data-theme=dark] .search-box input{background:none}
[data-theme=dark] .special-filter,[data-theme=dark] .catalog-result-count{color:#acacac}
[data-theme=dark] .database-meta{border-color:#3d3d3d;color:#acacac}
[data-theme=dark] .potential{color:#a1a1a1}
[data-theme=dark] .potential strong{color:#cccccc}
[data-theme=dark] .catalog-source,[data-theme=dark] .catalog-pagination span{color:#9f9f9f}
[data-theme=dark] .catalog-source a{color:#c8c8c8}
[data-theme=dark] .player-portrait{background:linear-gradient(145deg,#414141,#2f2f2f);border-color:#4d4d4d}
[data-theme=dark] .photo-fallback{color:#c1c1c1}
[data-theme=dark] .portrait-rating{border-color:#222222;background:#c6e99e;color:#2c2c2c}
[data-theme=dark] .club-logo{background:none;border:0}
[data-theme=dark] #toast{background:#dfdfdf;color:#2e2e2e;box-shadow:0 6px 30px #0006}
[data-theme=dark] footer{border-color:#363636;color:#9c9c9c}
[data-theme=dark] footer button{color:#bebebe}
@media(max-width:650px){.top-actions .sync-status{display:none}.top-actions{gap:7px}.theme-toggle{width:31px;height:31px}[data-theme=dark] .sidebar{background:#1d1d1df5;border-color:#363636}.theme-toggle svg{width:16px;height:16px}}

:root[data-theme=dark]{--ink:#efeff1;--muted:#aaaab0;--green:#c6e99e;--paper:#0b0b0c;--line:#303033;--white:#171719}
[data-theme=dark] body{background:#0b0b0c;color:#efeff1}[data-theme=dark] .sidebar{background:#111113}[data-theme=dark] .topbar{background:#0e0e10}[data-theme=dark] .stat,[data-theme=dark] .card,[data-theme=dark] .catalog-toolbar,[data-theme=dark] dialog{background:#171719;border-color:#303033}[data-theme=dark] .hero{background:#1c1c1f;border-color:#37373b}[data-theme=dark] .hero:before{background:radial-gradient(ellipse at 70% 0,#ffffff08,transparent 70%)}[data-theme=dark] .nav.active{background:#28282b;color:#e6e6e8}[data-theme=dark] .brandmark{background:#2b2b2e;color:#d4f783}[data-theme=dark] .notice,[data-theme=dark] .quote,[data-theme=dark] .consequence{background:#222225;border-color:#36363a}[data-theme=dark] .player-portrait{background:linear-gradient(145deg,#303034,#202023)}[data-theme=dark] .portrait-rating{color:#20211d;border-color:#171719}[data-theme=dark] .club-logo{background:none}[data-theme=dark] .button{color:#20211d}[data-theme=dark] .button.light{color:#dedee2;background:#202023;border-color:#3a3a3e}[data-theme=dark] .button.lime{color:#20211d}[data-theme=dark] .button.danger{color:#efac91;background:#2b2020;border-color:#654138}[data-theme=dark] .result.loss{color:#e4a383;background:#342522}[data-theme=dark] .result.draw{color:#d4c283;background:#302c22}[data-theme=dark] .sync-status.warning,[data-theme=dark] .auth-error{color:#efac91}[data-theme=dark] .sync-status.pending{color:#d7b873}[data-theme=dark] .tag.warm{color:#dfc38d;background:#302920}[data-theme=dark] .rule-line span,[data-theme=dark] .text-button{color:#c0d4a5}[data-theme=dark] .sidebar nav .nav.active>span{color:#d4f783}
@media(max-width:650px){[data-theme=dark] .sidebar{background:#111113f5}}
