/* Generated by tools/build_dark_theme.py; edit style.css or theme.css. */
:root[data-theme="dark"] body{color:var(--theme-text)}
:root[data-theme="dark"] .strong-link:hover{color:var(--theme-muted)}
:root[data-theme="dark"] .site-header{background:var(--theme-surface);border-bottom:1px solid var(--theme-border)}
:root[data-theme="dark"] .brand-logo{background:var(--theme-surface)}
:root[data-theme="dark"] .brand-accent{color:var(--theme-text)}
:root[data-theme="dark"] .brand small{color:var(--theme-muted)}
:root[data-theme="dark"] .nav-links>a,:root[data-theme="dark"] .login-link{color:var(--theme-muted)}
:root[data-theme="dark"] .nav-links>a.active,:root[data-theme="dark"] .nav-links>a:hover,:root[data-theme="dark"] .login-link:hover{color:var(--theme-text)}
:root[data-theme="dark"] .btn-primary{color:var(--theme-text)}
:root[data-theme="dark"] .btn-primary:hover{background:var(--theme-soft)}
:root[data-theme="dark"] .btn-quiet{border:1px solid var(--theme-border);color:var(--theme-text);background:var(--theme-surface)}
:root[data-theme="dark"] .btn-quiet:hover{background:var(--theme-soft)}
:root[data-theme="dark"] .btn-outline{border:1px solid var(--theme-border)}
:root[data-theme="dark"] .btn-outline-dark{border:1px solid var(--theme-border);color:var(--theme-text);background:var(--theme-surface)}
:root[data-theme="dark"] .notice-success{background:var(--theme-soft);color:var(--theme-text)}
:root[data-theme="dark"] .notice-error{background:var(--theme-soft);color:var(--theme-muted)}
:root[data-theme="dark"] .notice-info{background:var(--theme-soft);color:var(--theme-text)}
:root[data-theme="dark"] .eyebrow{color:var(--theme-text)}
:root[data-theme="dark"] .eyebrow.dark{color:var(--theme-muted)}
:root[data-theme="dark"] .hero h1 em,:root[data-theme="dark"] .page-banner h1 em,:root[data-theme="dark"] .auth-pitch h1 em{color:var(--theme-text)}
:root[data-theme="dark"] .art-top{color:var(--theme-muted)}
:root[data-theme="dark"] .art-status{color:var(--theme-text)}
:root[data-theme="dark"] .board-box{border:1px solid var(--theme-border)}
:root[data-theme="dark"] .square.light{background:var(--theme-soft)}
:root[data-theme="dark"] .black-king,:root[data-theme="dark"] .black-knight,:root[data-theme="dark"] .black-pawn{color:var(--theme-text)}
:root[data-theme="dark"] .floating-chip{background:var(--theme-surface);color:var(--theme-text)}
:root[data-theme="dark"] .floating-chip small{color:var(--theme-muted)}
:root[data-theme="dark"] .chip-symbol{background:var(--theme-soft);color:var(--theme-text)}
:root[data-theme="dark"] .chip-symbol.trophy{color:var(--theme-muted);background:var(--theme-soft)}
:root[data-theme="dark"] .stats-strip{background:var(--theme-soft);border-bottom:1px solid var(--theme-border)}
:root[data-theme="dark"] .stats-grid>div{border-right:1px solid var(--theme-border)}
:root[data-theme="dark"] .stats-grid strong{color:var(--theme-text)}
:root[data-theme="dark"] .stats-grid span{color:var(--theme-muted)}
:root[data-theme="dark"] .accent-dot{color:var(--theme-muted)}
:root[data-theme="dark"] .text-link{color:var(--theme-text)}
:root[data-theme="dark"] .market-card{background:var(--theme-surface);border:1px solid var(--theme-border)}
:root[data-theme="dark"] .pill-live{background:var(--theme-soft);color:var(--theme-muted)}
:root[data-theme="dark"] .pill-muted{background:var(--theme-soft);color:var(--theme-muted)}
:root[data-theme="dark"] .pill-winner{background:var(--theme-soft);color:var(--theme-text)}
:root[data-theme="dark"] .avatar{background:var(--theme-soft);color:var(--theme-muted)}
:root[data-theme="dark"] .card-rule{background:var(--theme-soft)}
:root[data-theme="dark"] .card-bottom small,:root[data-theme="dark"] .bid-highlight small{color:var(--theme-muted)}
:root[data-theme="dark"] .card-bottom strong span{color:var(--theme-muted)}
:root[data-theme="dark"] .card-cta{background:var(--theme-soft);color:var(--theme-text)}
:root[data-theme="dark"] .empty-state{background:var(--theme-surface)}
:root[data-theme="dark"] .empty-icon{color:var(--theme-muted)}
:root[data-theme="dark"] .how-section{background:var(--theme-soft)}
:root[data-theme="dark"] .how-section .eyebrow{color:var(--theme-muted)}
:root[data-theme="dark"] .how-grid>div{border-top:1px solid var(--theme-border)}
:root[data-theme="dark"] .how-number{color:var(--theme-muted)}
:root[data-theme="dark"] .how-icon{color:var(--theme-muted)}
:root[data-theme="dark"] .how-grid p{color:var(--theme-muted)}
:root[data-theme="dark"] .footer{color:var(--theme-muted)}
:root[data-theme="dark"] .count-bubble{background:var(--theme-soft);color:var(--theme-muted)}
:root[data-theme="dark"] .budget-badge{color:var(--theme-muted)}
:root[data-theme="dark"] .budget-badge strong{color:var(--theme-text)}
:root[data-theme="dark"] .table-scroll{background:var(--theme-surface)}
:root[data-theme="dark"] .data-table th{background:var(--theme-soft);color:var(--theme-muted)}
:root[data-theme="dark"] .data-table td{border-top:1px solid var(--theme-border);color:var(--theme-muted)}
:root[data-theme="dark"] .data-table td strong,:root[data-theme="dark"] .data-table td a{color:var(--theme-text)}
:root[data-theme="dark"] .tiny-avatar{background:var(--theme-soft);color:var(--theme-muted)}
:root[data-theme="dark"] .table-note{color:var(--theme-muted)}
:root[data-theme="dark"] .rank{color:var(--theme-muted)}
:root[data-theme="dark"] .rank-gold{color:var(--theme-muted)}
:root[data-theme="dark"] .score{color:var(--theme-text)}
:root[data-theme="dark"] .auth-background{background:linear-gradient(110deg,var(--pine) 0 50%,var(--theme-soft) 50% 100%)}
:root[data-theme="dark"] .form-card{background:var(--theme-surface);border:1px solid var(--theme-border)}
:root[data-theme="dark"] .form-kicker{color:var(--theme-muted)}
:root[data-theme="dark"] .form-intro{color:var(--theme-muted)}
:root[data-theme="dark"] .stack-form label{color:var(--theme-muted)}
:root[data-theme="dark"] .stack-form input,:root[data-theme="dark"] .stack-form select,:root[data-theme="dark"] .points-form input{border:1px solid var(--theme-border);background:var(--theme-surface);color:var(--theme-text)}
:root[data-theme="dark"] .stack-form input:focus,:root[data-theme="dark"] .stack-form select:focus,:root[data-theme="dark"] .points-form input:focus{border-color:var(--theme-border)}
:root[data-theme="dark"] .form-footer{color:var(--theme-muted)}
:root[data-theme="dark"] .form-footer a,:root[data-theme="dark"] .form-hint a{color:var(--theme-muted)}
:root[data-theme="dark"] .optional{color:var(--theme-muted)}
:root[data-theme="dark"] .detail-avatar{background:var(--theme-soft);color:var(--theme-muted)}
:root[data-theme="dark"] .detail-player p{color:var(--theme-muted)}
:root[data-theme="dark"] .player-specs>div{background:var(--theme-soft)}
:root[data-theme="dark"] .player-specs small{color:var(--theme-muted)}
:root[data-theme="dark"] .player-specs strong{color:var(--theme-text)}
:root[data-theme="dark"] .panel,:root[data-theme="dark"] .bid-panel,:root[data-theme="dark"] .admin-box{background:var(--theme-surface)}
:root[data-theme="dark"] .bid-entry{border-top:1px solid var(--theme-border)}
:root[data-theme="dark"] .bid-entry small{color:var(--theme-muted)}
:root[data-theme="dark"] .bid-team-avatar{background:var(--theme-soft);color:var(--theme-muted)}
:root[data-theme="dark"] .empty-inline{color:var(--theme-muted)}
:root[data-theme="dark"] .bid-highlight{background:var(--theme-soft)}
:root[data-theme="dark"] .bid-highlight strong{color:var(--theme-text)}
:root[data-theme="dark"] .bid-meta span{color:var(--theme-muted)}
:root[data-theme="dark"] .bid-meta strong{color:var(--theme-text)}
:root[data-theme="dark"] .available-credits{color:var(--theme-muted)}
:root[data-theme="dark"] .available-credits strong{color:var(--theme-text)}
:root[data-theme="dark"] .form-hint{color:var(--theme-muted)}
:root[data-theme="dark"] .closed-box{background:var(--theme-soft);color:var(--theme-muted)}
:root[data-theme="dark"] .tip-box{border:1px solid var(--theme-border)}
:root[data-theme="dark"] .tip-box strong{color:var(--theme-text)}
:root[data-theme="dark"] .tip-box p{color:var(--theme-muted)}
:root[data-theme="dark"] .metric-card{background:var(--theme-surface)}
:root[data-theme="dark"] .metric-card>span{color:var(--theme-muted)}
:root[data-theme="dark"] .metric-card>strong{color:var(--theme-text)}
:root[data-theme="dark"] .metric-card>small{color:var(--theme-muted)}
:root[data-theme="dark"] .admin-box .box-icon{color:var(--theme-muted)}
:root[data-theme="dark"] .admin-box p{color:var(--theme-muted)}
:root[data-theme="dark"] .nav-links{background:var(--theme-surface)}
:root[data-theme="dark"] .user-mini-list li span{color:var(--theme-muted)}
:root[data-theme="dark"] .team-assign-form select{border:1px solid var(--theme-border);background:var(--theme-surface)}
:root[data-theme="dark"] .team-assign-form .checkline{color:var(--theme-muted)}
:root[data-theme="dark"] .member-chip{border:1px solid var(--theme-border);background:var(--theme-soft);color:var(--theme-muted)}
:root[data-theme="dark"] .profile-status{background:var(--theme-surface)}
:root[data-theme="dark"] .profile-status p{color:var(--theme-muted)}
:root[data-theme="dark"] .danger-zone{border-color:var(--theme-border);background:var(--theme-surface)}
:root[data-theme="dark"] .danger-zone h3{color:var(--theme-muted)}
:root[data-theme="dark"] .profile-tabs a{color:var(--theme-muted)}
:root[data-theme="dark"] .profile-tabs a:hover,:root[data-theme="dark"] .profile-tabs a:focus-visible{background:var(--theme-soft);color:var(--theme-text)}
:root[data-theme="dark"] .team-directory-card{background:var(--theme-surface)}
:root[data-theme="dark"] .team-directory-card:hover{border-color:var(--theme-border)}
:root[data-theme="dark"] .team-emblem{background:var(--theme-soft);color:var(--theme-muted)}
:root[data-theme="dark"] .team-directory-copy p{color:var(--theme-muted)}
:root[data-theme="dark"] .team-directory-copy small{color:var(--theme-muted)}
:root[data-theme="dark"] .team-directory-stats{color:var(--theme-muted)}
:root[data-theme="dark"] .team-directory-stats strong{color:var(--theme-text)}
:root[data-theme="dark"] .team-directory-arrow{color:var(--theme-muted)}
:root[data-theme="dark"] .team-overview{background:var(--theme-surface)}
:root[data-theme="dark"] .team-overview-main h3,:root[data-theme="dark"] .team-manager-link{color:var(--theme-text)}
:root[data-theme="dark"] .team-manager-link:hover{color:var(--theme-muted)}
:root[data-theme="dark"] .team-overview-main p{color:var(--theme-muted)}
:root[data-theme="dark"] .team-overview-metrics>div{border-left:1px solid var(--theme-border)}
:root[data-theme="dark"] .team-overview-metrics span{color:var(--theme-muted)}
:root[data-theme="dark"] .team-overview-metrics strong{color:var(--theme-text)}
:root[data-theme="dark"] .season-tabs a{border:1px solid var(--theme-border);background:var(--theme-surface);color:var(--theme-muted)}
:root[data-theme="dark"] .season-summary p{color:var(--theme-muted)}
:root[data-theme="dark"] .history-note{background:var(--theme-soft);border:1px solid var(--theme-border);color:var(--theme-muted)}
:root[data-theme="dark"] .history-tag{color:var(--theme-muted)}
:root[data-theme="dark"] .team-history-entry{background:var(--theme-surface)}
:root[data-theme="dark"] .team-history-entry span{color:var(--theme-muted)}
:root[data-theme="dark"] .team-history-entry small{color:var(--theme-muted)}
:root[data-theme="dark"] .member-profile-identity{background:var(--theme-surface)}
:root[data-theme="dark"] .member-photo{border:2px solid var(--theme-border);background:var(--theme-soft)}
:root[data-theme="dark"] .photo-placeholder{color:var(--theme-muted)}
:root[data-theme="dark"] .tiny-avatar-photo{border:1px solid var(--theme-border)}
:root[data-theme="dark"] .photo-upload-form label{color:var(--theme-text)}
:root[data-theme="dark"] .directory-filters{background:var(--theme-surface);border:1px solid var(--theme-border)}
:root[data-theme="dark"] .filter-field{color:var(--theme-text)}
:root[data-theme="dark"] .filter-field input,:root[data-theme="dark"] .filter-field select{background:var(--theme-surface);border:1px solid var(--theme-border);color:var(--theme-text)}
:root[data-theme="dark"] .filter-field input:focus-visible,:root[data-theme="dark"] .filter-field select:focus-visible{outline:2px solid var(--theme-border)}
:root[data-theme="dark"] .directory-result-count{color:var(--theme-muted)}
:root[data-theme="dark"] .transfer-status-in{color:var(--theme-text)}
:root[data-theme="dark"] .transfer-status-out{color:var(--theme-muted)}
:root[data-theme="dark"] .games-summary>div{background:var(--theme-surface)}
:root[data-theme="dark"] .games-summary span,:root[data-theme="dark"] .game-side>span,:root[data-theme="dark"] .game-result-panel>span{color:var(--theme-muted)}
:root[data-theme="dark"] .games-summary strong{color:var(--theme-text)}
:root[data-theme="dark"] .game-list-card{background:var(--theme-surface)}
:root[data-theme="dark"] .versus{color:var(--theme-muted)}
:root[data-theme="dark"] .color-disc{background:var(--theme-soft)}
:root[data-theme="dark"] .game-status{background:var(--theme-soft);color:var(--theme-muted)}
:root[data-theme="dark"] .game-status.finished{background:var(--theme-soft);color:var(--theme-text)}
:root[data-theme="dark"] .game-watch{color:var(--theme-muted)}
:root[data-theme="dark"] .game-matchup{background:var(--theme-surface)}
:root[data-theme="dark"] .game-side small{color:var(--theme-muted)}
:root[data-theme="dark"] .game-piece-token{background:var(--theme-soft);color:var(--theme-text)}
:root[data-theme="dark"] .game-result-panel{background:var(--theme-soft)}
:root[data-theme="dark"] .game-result-panel strong{color:var(--theme-text)}
:root[data-theme="dark"] .replay-layout:focus-visible{outline:2px solid var(--theme-border)}
:root[data-theme="dark"] .replay-coords{color:var(--theme-muted)}
:root[data-theme="dark"] .replay-sidebar{background:var(--theme-surface)}
:root[data-theme="dark"] .replay-move-number{color:var(--theme-muted)}
:root[data-theme="dark"] .replay-move{background:var(--theme-soft);color:var(--theme-text)}
:root[data-theme="dark"] .replay-move:hover,:root[data-theme="dark"] .replay-move:focus-visible{border-color:var(--theme-border)}
:root[data-theme="dark"] .replay-move.selected{background:var(--theme-soft);color:var(--theme-text);outline:2px solid var(--theme-border)}
:root[data-theme="dark"] .replay-progress{background:var(--theme-soft);color:var(--theme-muted)}
:root[data-theme="dark"] .replay-controls button{background:var(--theme-surface);border:1px solid var(--theme-border);color:var(--theme-text)}
:root[data-theme="dark"] .replay-controls button:hover:not(:disabled){background:var(--theme-soft)}
:root[data-theme="dark"] .replay-tip{color:var(--theme-muted)}
:root[data-theme="dark"] .replay-no-pgn{background:var(--theme-surface)}
:root[data-theme="dark"] .role-indicator.role-active{background:var(--theme-soft);border-color:var(--theme-border);color:var(--theme-text)}
:root[data-theme="dark"] .role-indicator.role-inactive{background:var(--theme-soft);border-color:var(--theme-border);color:var(--theme-muted)}
:root[data-theme="dark"] .role-settings{background:var(--theme-surface)}
:root[data-theme="dark"] .role-settings summary{color:var(--theme-text)}
:root[data-theme="dark"] .role-settings-content p{color:var(--theme-muted)}
:root[data-theme="dark"] .language-toggle{border:1px solid var(--theme-border);background:var(--theme-surface)}
:root[data-theme="dark"] .language-toggle:focus-visible,:root[data-theme="dark"] .language-menu button:focus-visible{outline:2px solid var(--theme-border)}
:root[data-theme="dark"] .language-arrow{color:var(--theme-muted)}
:root[data-theme="dark"] .language-menu{background:var(--theme-surface);border:1px solid var(--theme-border)}
:root[data-theme="dark"] .language-menu button{color:var(--theme-text)}
:root[data-theme="dark"] .language-menu button:hover,:root[data-theme="dark"] .language-menu button[aria-pressed="true"]{background:var(--theme-soft)}
:root[data-theme="dark"] .flag-icon{border:1px solid var(--theme-border)}
:root[data-theme="dark"] .account-toggle{border:1px solid var(--theme-border);background:var(--theme-surface);color:var(--theme-text)}
:root[data-theme="dark"] .account-toggle:hover,:root[data-theme="dark"] .account-toggle[aria-expanded="true"]{background:var(--theme-soft)}
:root[data-theme="dark"] .account-toggle:focus-visible,:root[data-theme="dark"] .account-menu a:focus-visible,:root[data-theme="dark"] .account-menu button:focus-visible{outline:2px solid var(--theme-border)}
:root[data-theme="dark"] .account-chevron{color:var(--theme-muted)}
:root[data-theme="dark"] .account-menu{border:1px solid var(--theme-border);background:var(--theme-surface)}
:root[data-theme="dark"] .account-menu a,:root[data-theme="dark"] .account-menu button{color:var(--theme-text)}
:root[data-theme="dark"] .account-menu a:hover,:root[data-theme="dark"] .account-menu button:hover{background:var(--theme-soft)}
:root[data-theme="dark"] .account-menu form{border-top:1px solid var(--theme-border)}
:root[data-theme="dark"] .role-card-player{background:var(--theme-soft);color:var(--theme-text)}
:root[data-theme="dark"] .role-card-symbol{background:var(--theme-soft);color:var(--theme-text)}
:root[data-theme="dark"] .role-card-eyebrow{color:var(--theme-muted)}
:root[data-theme="dark"] .role-card h1 em,:root[data-theme="dark"] .role-card h2 em{color:var(--theme-muted)}
:root[data-theme="dark"] .role-card-manager h2 em{color:var(--theme-muted)}
:root[data-theme="dark"] .role-card-description{color:var(--theme-muted)}
:root[data-theme="dark"] .role-benefits li::before{background:var(--theme-soft);color:var(--theme-text)}
:root[data-theme="dark"] .role-card-manager .role-benefits li::before{color:var(--theme-muted)}
:root[data-theme="dark"] body.home-theme{background:var(--theme-surface);color:var(--theme-text)}
:root[data-theme="dark"] body.home-theme .site-header{border-bottom-color:var(--theme-border)}
:root[data-theme="dark"] body.home-theme .nav-links>a,:root[data-theme="dark"] body.home-theme .login-link{color:var(--theme-muted)}
:root[data-theme="dark"] body.home-theme .nav-links>a:hover,:root[data-theme="dark"] body.home-theme .nav-links>a.active,:root[data-theme="dark"] body.home-theme .login-link:hover{color:var(--theme-text)}
:root[data-theme="dark"] body.home-theme .brand-accent{color:var(--theme-text)}
:root[data-theme="dark"] body.home-theme .role-card-player{background:var(--theme-surface);color:var(--theme-text);border:1px solid var(--theme-border)}
:root[data-theme="dark"] body.home-theme .role-card-player::after{color:var(--theme-text)}
:root[data-theme="dark"] body.home-theme .role-card-manager{border:1px solid var(--theme-border)}
:root[data-theme="dark"] body.home-theme .role-card-symbol{background:var(--theme-soft);color:var(--theme-text)}
:root[data-theme="dark"] body.home-theme .role-card-eyebrow{color:var(--theme-muted)}
:root[data-theme="dark"] body.home-theme .role-card h1 em,:root[data-theme="dark"] body.home-theme .role-card h2 em{color:var(--theme-muted)}
:root[data-theme="dark"] body.home-theme .role-card-description{color:var(--theme-muted)}
:root[data-theme="dark"] body.home-theme .role-benefits li::before{background:var(--theme-soft);color:var(--theme-text)}
:root[data-theme="dark"] body.home-theme .role-card-player .role-main-cta{border-color:var(--theme-border)}
:root[data-theme="dark"] body.home-theme .role-card-manager .role-main-cta{background:var(--theme-surface);color:var(--theme-text);border-color:var(--theme-border)}
:root[data-theme="dark"] body.home-theme .role-card-manager .role-main-cta:hover{background:var(--theme-soft)}
:root[data-theme="dark"] body.home-theme .role-secondary-link:focus-visible,:root[data-theme="dark"] body.home-theme .role-main-cta:focus-visible{outline:3px solid var(--theme-border)}
:root[data-theme="dark"] body.home-theme .stats-strip{border-bottom:1px solid var(--theme-border)}
:root[data-theme="dark"] body.home-theme .stats-grid>div{border-right-color:var(--theme-border)}
:root[data-theme="dark"] body.home-theme .section{background:var(--theme-surface)}
:root[data-theme="dark"] body.home-theme .section-heading .eyebrow,:root[data-theme="dark"] body.home-theme .section-heading .eyebrow.dark{color:var(--theme-muted)}
:root[data-theme="dark"] body.home-theme .section-heading h2{color:var(--theme-text)}
:root[data-theme="dark"] body.home-theme .section-heading p{color:var(--theme-muted)}
:root[data-theme="dark"] body.home-theme .accent-dot{color:var(--theme-text)}
:root[data-theme="dark"] body.home-theme .text-link{color:var(--theme-text)}
:root[data-theme="dark"] body.home-theme .market-card{border-color:var(--theme-border)}
:root[data-theme="dark"] body.home-theme .market-card .pill-live{background:var(--theme-soft);color:var(--theme-text)}
:root[data-theme="dark"] body.home-theme .market-card .avatar{background:var(--theme-soft);color:var(--theme-text)}
:root[data-theme="dark"] body.home-theme .market-card .card-rule{background:var(--theme-soft)}
:root[data-theme="dark"] body.home-theme .market-card .card-bottom small{color:var(--theme-muted)}
:root[data-theme="dark"] body.home-theme .market-card .card-bottom strong span{color:var(--theme-muted)}
:root[data-theme="dark"] body.home-theme .market-card .card-cta{color:var(--theme-text)}
:root[data-theme="dark"] body.home-theme .empty-state{border-color:var(--theme-border)}
:root[data-theme="dark"] body.home-theme .empty-icon{color:var(--theme-muted)}
:root[data-theme="dark"] body.home-theme .btn-outline-dark{border-color:var(--theme-border);color:var(--theme-text)}
:root[data-theme="dark"] body.home-theme .how-section{background:var(--theme-soft)}
:root[data-theme="dark"] body.home-theme .how-section .eyebrow{color:var(--theme-muted)}
:root[data-theme="dark"] body.home-theme .how-grid>div{border-top-color:var(--theme-border)}
:root[data-theme="dark"] body.home-theme .how-number{color:var(--theme-muted)}
:root[data-theme="dark"] body.home-theme .how-icon{color:var(--theme-text)}
:root[data-theme="dark"] body.home-theme .how-grid p{color:var(--theme-muted)}
:root[data-theme="dark"] body.home-theme .footer{color:var(--theme-muted)}
:root[data-theme="dark"] body{background:var(--theme-surface);color:var(--theme-text)}
:root[data-theme="dark"] .site-header{border-bottom-color:var(--theme-border)}
:root[data-theme="dark"] .brand small{color:var(--theme-muted)}
:root[data-theme="dark"] .nav-links>a,:root[data-theme="dark"] .login-link{color:var(--theme-muted)}
:root[data-theme="dark"] .nav-links>a.active,:root[data-theme="dark"] .nav-links>a:hover,:root[data-theme="dark"] .login-link:hover{color:var(--theme-text)}
:root[data-theme="dark"] .btn-primary{border-color:var(--theme-border)}
:root[data-theme="dark"] .btn-primary:hover:not(:disabled){border-color:var(--theme-border)}
:root[data-theme="dark"] .btn-quiet,:root[data-theme="dark"] .btn-outline-dark{border-color:var(--theme-border);color:var(--theme-text);background:var(--theme-surface)}
:root[data-theme="dark"] .btn-quiet:hover,:root[data-theme="dark"] .btn-outline-dark:hover{background:var(--theme-soft)}
:root[data-theme="dark"] .btn:focus-visible,:root[data-theme="dark"] a:focus-visible,:root[data-theme="dark"] input:focus-visible,:root[data-theme="dark"] select:focus-visible,:root[data-theme="dark"] textarea:focus-visible,:root[data-theme="dark"] button:focus-visible{outline:2px solid var(--theme-border)}
:root[data-theme="dark"] .eyebrow.dark{color:var(--theme-muted)}
:root[data-theme="dark"] .notice{border:1px solid var(--theme-border);border-left:4px solid var(--theme-border)}
:root[data-theme="dark"] .notice-success{background:var(--theme-soft);color:var(--theme-text)}
:root[data-theme="dark"] .notice-error{background:var(--theme-soft);color:var(--theme-text);border-left-color:var(--theme-border)}
:root[data-theme="dark"] .notice-info{background:var(--theme-soft);color:var(--theme-text)}
:root[data-theme="dark"] .pill-live{background:var(--theme-soft);color:var(--theme-text)}
:root[data-theme="dark"] .pill-winner{background:var(--theme-soft);color:var(--theme-text)}
:root[data-theme="dark"] .pill-muted{background:var(--theme-soft);color:var(--theme-muted)}
:root[data-theme="dark"] .role-indicator.role-active{border-color:var(--theme-border)}
:root[data-theme="dark"] .role-indicator.role-inactive{background:var(--theme-soft);color:var(--theme-muted);border-color:var(--theme-border)}
:root[data-theme="dark"] .role-settings summary{color:var(--theme-text)}
:root[data-theme="dark"] .profile-tabs a.selected,:root[data-theme="dark"] .season-tabs a.selected{border-color:var(--theme-border)}
:root[data-theme="dark"] .account-toggle:hover,:root[data-theme="dark"] .account-toggle[aria-expanded="true"],:root[data-theme="dark"] .account-menu a:hover,:root[data-theme="dark"] .account-menu button:hover,:root[data-theme="dark"] .language-menu button:hover,:root[data-theme="dark"] .language-menu button[aria-pressed="true"]{background:var(--theme-soft)}
:root[data-theme="dark"] .filter-field input:focus-visible,:root[data-theme="dark"] .filter-field select:focus-visible{outline:2px solid var(--theme-border)}
:root[data-theme="dark"] .transfer-status-in,:root[data-theme="dark"] .transfer-status-out{color:var(--theme-text)}
:root[data-theme="dark"] .danger-zone{border-color:var(--theme-border);background:var(--theme-surface)}
:root[data-theme="dark"] .danger-zone h3{color:var(--theme-text)}
:root[data-theme="dark"] .replay-progress{background:var(--theme-soft);color:var(--theme-text)}
:root[data-theme="dark"] .replay-move.selected{background:var(--theme-soft);color:var(--theme-text);outline:2px solid var(--theme-border)}
:root[data-theme="dark"] .replay-move:hover,:root[data-theme="dark"] .replay-move:focus-visible{border-color:var(--theme-border)}
:root[data-theme="dark"] .replay-controls .play-button{border-color:var(--theme-border)}
:root[data-theme="dark"] .footer{color:var(--theme-muted)}
:root[data-theme="dark"] .form-intro,:root[data-theme="dark"] .form-hint,:root[data-theme="dark"] .form-footer,:root[data-theme="dark"] .optional,:root[data-theme="dark"] .admin-box p,:root[data-theme="dark"] .metric-card>span,:root[data-theme="dark"] .metric-card>small,:root[data-theme="dark"] .card-bottom small,:root[data-theme="dark"] .card-bottom strong span,:root[data-theme="dark"] .bid-highlight small,:root[data-theme="dark"] .bid-meta span,:root[data-theme="dark"] .bid-entry small,:root[data-theme="dark"] .player-specs small,:root[data-theme="dark"] .detail-player p,:root[data-theme="dark"] .tip-box p,:root[data-theme="dark"] .budget-badge,:root[data-theme="dark"] .table-note,:root[data-theme="dark"] .data-table th,:root[data-theme="dark"] .user-mini-list li span,:root[data-theme="dark"] .role-settings-content p,:root[data-theme="dark"] .empty-inline,:root[data-theme="dark"] .replay-tip,:root[data-theme="dark"] .replay-move-number,:root[data-theme="dark"] .floating-chip small{color:var(--theme-muted)}
:root[data-theme="dark"] .team-directory-copy p,:root[data-theme="dark"] .team-directory-copy small,:root[data-theme="dark"] .team-directory-stats,:root[data-theme="dark"] .team-overview-main p,:root[data-theme="dark"] .team-overview-metrics span,:root[data-theme="dark"] .season-summary p,:root[data-theme="dark"] .team-history-entry span,:root[data-theme="dark"] .team-history-entry small,:root[data-theme="dark"] .games-summary span,:root[data-theme="dark"] .game-side>span,:root[data-theme="dark"] .game-side small,:root[data-theme="dark"] .game-result-panel>span,:root[data-theme="dark"] .versus,:root[data-theme="dark"] .stats-grid span,:root[data-theme="dark"] .form-kicker{color:var(--theme-muted)}
:root[data-theme="dark"] .data-table th{background:var(--theme-soft)}
:root[data-theme="dark"] .how-grid p,:root[data-theme="dark"] .how-section .eyebrow,:root[data-theme="dark"] .how-number{color:var(--theme-muted)}
:root[data-theme="dark"] .skip-link{background:var(--theme-surface);color:var(--theme-text);border:2px solid var(--theme-border)}
:root[data-theme="dark"] a:focus-visible,:root[data-theme="dark"] button:focus-visible,:root[data-theme="dark"] summary:focus-visible,:root[data-theme="dark"] input:focus-visible,:root[data-theme="dark"] select:focus-visible,:root[data-theme="dark"] textarea:focus-visible{outline:3px solid var(--theme-border)}
:root[data-theme="dark"] .page-banner a:focus-visible,:root[data-theme="dark"] .auth-pitch a:focus-visible,:root[data-theme="dark"] .role-card-manager a:focus-visible{outline-color:var(--theme-border)}
:root[data-theme="dark"] .pagination>span{color:var(--theme-muted)}
:root[data-theme="dark"] .time-zone-note{color:var(--theme-muted)}
:root[data-theme="dark"] .auction-recovery-form input{border:1px solid var(--theme-border)}
:root[data-theme="dark"] .replay-options button,:root[data-theme="dark"] .replay-options select{border:1px solid var(--theme-border);background:var(--theme-surface);color:var(--theme-text)}
:root[data-theme="dark"] .replay-options label{color:var(--theme-muted)}
:root[data-theme="dark"] .mobile-cards tr{background:var(--theme-surface)}
:root[data-theme="dark"] .mobile-cards td{border-top:1px solid var(--theme-border)}
:root[data-theme="dark"] .mobile-cards td::before{color:var(--theme-muted)}
:root[data-theme="dark"] .footer-logo{background:var(--theme-surface)}
:root[data-theme="dark"] body.home-theme .market-card .card-bottom strong span{color:var(--theme-muted)}
:root[data-theme="dark"] .team-fixture-card{border:1px solid var(--theme-border)}
:root[data-theme="dark"] .season-picker select{background:var(--theme-surface);color:var(--theme-text);border:1px solid var(--theme-border)}
:root[data-theme="dark"] .season-picker .btn{background:var(--theme-surface);color:var(--theme-text)}
:root[data-theme="dark"] .season-metrics{background:var(--theme-surface)}
:root[data-theme="dark"] .round-number{border:1px solid var(--theme-border);color:var(--theme-muted)}
:root[data-theme="dark"] .fixture-card{background:var(--theme-surface)}
:root[data-theme="dark"] .fixture-card:hover{border-color:var(--theme-border)}
:root[data-theme="dark"] .fixture-top{border-bottom:1px solid var(--theme-border)}
:root[data-theme="dark"] .result-status{background:var(--theme-soft);color:var(--theme-muted)}
:root[data-theme="dark"] .team-emblem{border:1px solid var(--theme-border)}
:root[data-theme="dark"] .team-emblem-light{background:var(--theme-soft);color:var(--theme-text);border-color:var(--theme-border)}
:root[data-theme="dark"] .fixture-bottom{background:var(--theme-surface);border-top:1px solid var(--theme-border)}
:root[data-theme="dark"] .fixture-progress{border-top:1px solid var(--theme-border)}
:root[data-theme="dark"] .competition-empty{background:var(--theme-surface);border:1px dashed var(--theme-border)}
:root[data-theme="dark"] .empty-chess{color:var(--theme-muted)}
:root[data-theme="dark"] .empty-season{background:var(--theme-soft)}
:root[data-theme="dark"] .match-heading-dot{color:var(--theme-muted)}
:root[data-theme="dark"] .scoreboard-team .team-emblem-light{background:var(--theme-soft);color:var(--theme-text)}
:root[data-theme="dark"] .scoreboard-team>span:last-child{color:var(--theme-muted)}
:root[data-theme="dark"] .scoreboard-dash{color:var(--theme-muted)}
:root[data-theme="dark"] .scoreboard-result p{color:var(--theme-muted)}
:root[data-theme="dark"] .match-meta>div>span{color:var(--theme-muted)}
:root[data-theme="dark"] .board-result-card{background:var(--theme-surface)}
:root[data-theme="dark"] .board-result-card:hover{border-color:var(--theme-border)}
:root[data-theme="dark"] .board-result-heading{background:var(--theme-surface);border-bottom:1px solid var(--theme-border)}
:root[data-theme="dark"] .piece-dot{border:1px solid var(--theme-border)}
:root[data-theme="dark"] .piece-white{background:var(--theme-surface)}
:root[data-theme="dark"] .piece-black{border-color:var(--theme-border)}
:root[data-theme="dark"] .board-result-link{border-top:1px solid var(--theme-border);color:var(--theme-muted)}
:root[data-theme="dark"] .submitted-lineup{background:var(--theme-surface)}
:root[data-theme="dark"] .submitted-lineup-header{border-bottom:1px solid var(--theme-border)}
:root[data-theme="dark"] .submitted-lineup li{border-bottom:1px solid var(--theme-border)}
:root[data-theme="dark"] .lineup-board-number{background:var(--theme-soft);border:1px solid var(--theme-border)}
:root[data-theme="dark"] .manager-lineup-panel{background:var(--theme-surface)}
:root[data-theme="dark"] .lineup-instructions{border-top:1px solid var(--theme-border)}
:root[data-theme="dark"] .season-honour-card{background:var(--theme-surface)}
:root[data-theme="dark"] .season-honour-card:hover{border-color:var(--theme-border)}
:root[data-theme="dark"] .medal-face{color:var(--theme-text)}
:root[data-theme="dark"] .season-honour-copy .honour-season{color:var(--theme-text)}
:root[data-theme="dark"] .player-game-result{background:var(--theme-soft);color:var(--theme-muted)}
:root[data-theme="dark"] .player-result-win{background:var(--theme-soft)}
:root[data-theme="dark"] .player-result-loss{background:var(--theme-soft)}
:root[data-theme="dark"] .player-result-draw,:root[data-theme="dark"] .player-result-upcoming{border:1px solid var(--theme-border)}
:root[data-theme="dark"] .admin-hero .competition-eyebrow{color:var(--theme-muted)}
:root[data-theme="dark"] .admin-summary-card{background:var(--theme-surface)}
:root[data-theme="dark"] .admin-summary-arrow{color:var(--theme-muted)}
:root[data-theme="dark"] .admin-summary-card:hover{border-color:var(--theme-border)}
:root[data-theme="dark"] .admin-workspace-card{background:var(--theme-surface)}
:root[data-theme="dark"] .admin-workspace-card:hover{border-color:var(--theme-border)}
:root[data-theme="dark"] .admin-workspace-icon{background:var(--theme-soft);color:var(--theme-text)}
:root[data-theme="dark"] .admin-workspace-count{color:var(--theme-muted)}
:root[data-theme="dark"] .admin-workspace-link{border-top:1px solid var(--theme-border)}
:root[data-theme="dark"] .admin-panel{background:var(--theme-surface)}
:root[data-theme="dark"] .admin-panel-heading{border-bottom:1px solid var(--theme-border)}
:root[data-theme="dark"] .admin-task-list a{border-bottom:1px solid var(--theme-border)}
:root[data-theme="dark"] .admin-task-list a>strong{background:var(--theme-soft)}
:root[data-theme="dark"] .admin-task-list a:hover{background:var(--theme-surface)}
:root[data-theme="dark"] .admin-all-clear>span{background:var(--theme-soft)}
:root[data-theme="dark"] .admin-member-list li{border-bottom:1px solid var(--theme-border)}
:root[data-theme="dark"] .admin-member-initial{background:var(--theme-soft)}
:root[data-theme="dark"] .admin-panel-footer{border-top:1px solid var(--theme-border)}
:root[data-theme="dark"] .admin-season-shortcut p{color:var(--theme-muted)}
:root[data-theme="dark"] .admin-game-list a{border-bottom:1px solid var(--theme-border)}
:root[data-theme="dark"] .admin-game-list a:hover{background:var(--theme-surface)}
:root[data-theme="dark"] .admin-activity-list li{border-bottom:1px solid var(--theme-border)}
:root[data-theme="dark"] .admin-navigation select{background:var(--theme-surface);color:var(--theme-text)}
:root[data-theme="dark"] .admin-navigation select:focus-visible{outline:2px solid var(--theme-border)}
:root[data-theme="dark"] .team-profile-picture{border:1px solid var(--theme-border)}
:root[data-theme="dark"] .manager-remove-button{background:var(--theme-surface)}
:root[data-theme="dark"] .lineup-private svg{color:var(--theme-text)}
