[data-theme=dark]{
 --ink:#edf7f1;
 --muted:#a9bbb2;
 --paper:#0b1713;
 --surface:#13221d;
 --line:#2b4238;
 --green:#61d0a4;
 --lime:#d3ed78;
 --yellow:#efbd42;
 --gray:#66736d;
 --shadow:0 24px 65px rgba(0,0,0,.42);
}
[data-theme=dark] body{background:radial-gradient(circle at 78% 5%,rgba(45,126,94,.09),transparent 32%),var(--paper)}
[data-theme=dark] .topbar{border-color:#284138}
[data-theme=dark] .brand,[data-theme=dark] .topbar nav>a,[data-theme=dark] .nav-button{color:#f4fbf7}
[data-theme=dark] .brand b,[data-theme=dark] .eyebrow{color:#66d9ad}
[data-theme=dark] .welcome{background:#12241e;border-color:#315044;color:#b9cbc2}
[data-theme=dark] .welcome b{color:#fff}
[data-theme=dark] .welcome small{background:#203c32;color:#aee8cf}
[data-theme=dark] .theme-button,[data-theme=dark] .game-help{background:#13251f;border-color:#315044;color:#f5fbf8}

[data-theme=dark] .game-heading h1,[data-theme=dark] .attempt b{color:#fff}
[data-theme=dark] .game-heading p,[data-theme=dark] .message{color:#b5c8be}
[data-theme=dark] .attempt{background:#13251f;border-color:#315044}
[data-theme=dark] .tile{background:#11221c;border-color:#345046;color:#fff}
[data-theme=dark] .tile.filled{border-color:#9fc9b8}
[data-theme=dark] .correct{background-color:#28996c!important;border-color:#42bc8b!important;color:#fff!important}
[data-theme=dark] .present{background-color:#e2aa27!important;border-color:#f1c04f!important;color:#1b1608!important}
[data-theme=dark] .absent{background-color:#59665f!important;border-color:#708078!important;color:#fff!important}
[data-theme=dark] .keyboard button{background:#263a32;color:#f7fbf9;border:1px solid #314a40}
[data-theme=dark] .keyboard button:hover{background:#345046}

[data-theme=dark] .game-result,
[data-theme=dark] .game-page.finished>.game-result.visible,
[data-theme=dark] .guest-game.finished>.game-result.visible{
 background:linear-gradient(155deg,#16382d 0%,#102a22 72%,#0e241d 100%);
 color:#f5fbf8;
 border-color:#365e4e;
 box-shadow:0 30px 85px rgba(0,0,0,.55);
}
[data-theme=dark] .game-result:after{color:rgba(211,237,120,.045)}
[data-theme=dark] .game-result h2,[data-theme=dark] .game-result>p b{color:#fff}
[data-theme=dark] .game-result>p{color:#b9cbc2}
[data-theme=dark] .result-kicker{color:#d3ed78}
[data-theme=dark] .share-preview{background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.15)}
[data-theme=dark] .result-stats article{background:rgba(5,20,15,.22);border-color:rgba(255,255,255,.16)}
[data-theme=dark] .result-stats span,[data-theme=dark] .next-game span{color:#a9beb4}
[data-theme=dark] .result-stats b,[data-theme=dark] .next-game strong{color:#fff}
[data-theme=dark] .next-game{border-color:rgba(255,255,255,.17)}
[data-theme=dark] .whatsapp-share{background:#25d366!important;border-color:#25d366!important;color:#082517!important}
[data-theme=dark] .whatsapp-share:hover{background:#46df7f!important;border-color:#46df7f!important}
[data-theme=dark] .game-result .button.ghost{background:rgba(255,255,255,.045);color:#f4fbf7;border-color:rgba(255,255,255,.25)}
[data-theme=dark] .game-result .button.ghost:hover{background:rgba(255,255,255,.1)}

[data-theme=dark] .join-reward{background:linear-gradient(145deg,rgba(211,237,120,.12),rgba(255,255,255,.025));border-color:rgba(211,237,120,.35)}
[data-theme=dark] .join-reward h3{color:#fff}
[data-theme=dark] .join-reward>p,[data-theme=dark] .join-benefits span{color:#d5e2dc}
[data-theme=dark] .join-email{color:#eef8f3}

[data-theme=dark] .button.primary,[data-theme=dark] .pill{background:#2fa476;color:#fff;border-color:#3eba8a}
[data-theme=dark] .button.ghost{background:#14251f;color:#eff8f3;border-color:#365046}
[data-theme=dark] .form-card,[data-theme=dark] .league-section,[data-theme=dark] .public-profile-card,[data-theme=dark] .profile-content>div,[data-theme=dark] .profile-settings,[data-theme=dark] .admin-menu-grid a,[data-theme=dark] .admin-upcoming,[data-theme=dark] .visitor-stats{background:#13221d;border-color:#2d463b}
[data-theme=dark] .form-card input,[data-theme=dark] .form-card select,[data-theme=dark] .profile-settings input,[data-theme=dark] .profile-settings select{background:#0e1c17;color:#f5fbf8;border-color:#355044}
[data-theme=dark] .profile-banner,[data-theme=dark] .hero-card,[data-theme=dark] .city-strip{background:#12372b;color:#f4fbf7}
[data-theme=dark] .rank-list li,[data-theme=dark] .medal-section,[data-theme=dark] .season-history{border-color:#2d463b}
[data-theme=dark] .medal,[data-theme=dark] .season-history-list article,[data-theme=dark] .season-numbers span{background:#0f1e19;border-color:#2e483d}
[data-theme=dark] .league-tabs{background:rgba(11,23,19,.92)}
[data-theme=dark] .league-tabs a{background:#13241e;border-color:#315044;color:#eaf5ef}
[data-theme=dark] .league-tabs a.active{background:#2d9f73;border-color:#43bd8d;color:#fff}
[data-theme=dark] .date-chip,[data-theme=dark] .status-chip{background:#1e3b30;color:#9ee0c4}
[data-theme=dark] .help-dialog{background:#14251f;color:#f4fbf7;border-color:#365046}

@media(max-width:760px){
 [data-theme=dark] .mobile-menu>div{background:#13241e;border-color:#355044}
 [data-theme=dark] .mobile-user{background:#1b382e}
}
