.theme-picker{display:flex;align-items:center;gap:8px;margin-left:16px}.theme-picker label{margin:0;font-size:12px}.theme-picker select{width:auto;min-height:40px;padding:8px 28px 8px 10px;font-size:14px}header{gap:12px;flex-wrap:wrap}.theme-picker+*{margin-left:auto}
html[data-theme=dark]{color-scheme:dark;--paper:#101d18;--ink:#eceee2;--line:#354a3d;--green:#b2cf9e;--muted:#a6b4a7}
html[data-theme=dark] .card,html[data-theme=dark] .tooltile{background:#192a21}
html[data-theme=dark] input,html[data-theme=dark] textarea,html[data-theme=dark] select{background:#122219;border-color:#4a6150;color:var(--ink)}
html[data-theme=dark] .btn,html[data-theme=dark] nav button.active,html[data-theme=dark] .mark{background:#b2cf9e;color:#132319}
html[data-theme=dark] .outline{background:transparent;border-color:#637b63;color:var(--ink)}
html[data-theme=dark] nav button{color:#bac7b9}
html[data-theme=dark] .tier,html[data-theme=dark] .resultrow,html[data-theme=dark] .checkrow,html[data-theme=dark] .slot:disabled{background:#203429;border-color:#3b5140;color:var(--ink)}
html[data-theme=dark] .tierlabel{color:#202820}
html[data-theme=dark] .chip{background:#2a4032;color:var(--ink);border-color:#546c56;box-shadow:none}
html[data-theme=dark] .badge,html[data-theme=dark] .note,html[data-theme=dark] .history span{background:#293e2c;border-color:#4c6249;color:#c8dbb8}
html[data-theme=dark] .choicebig{background:#263e2d;border-color:#5c795b;color:#d7e8c8}
html[data-theme=dark] .choicebig:hover{background:#36523b}
html[data-theme=dark] .hint,html[data-theme=dark] .bottom{color:#a6b4a7}
html[data-theme=dark] .error{color:#ffb4a5}
html[data-theme=dark] .mysterycard{background:#2a4933;border-color:#8ea67e;color:#e2e9ce}
html[data-theme=dark] .mysterycard.revealed{background:#293e2c;color:#e2e9ce}
html[data-theme=dark] .starts button{background:#2d4532;border-color:#637b63;color:#e2e9ce}
html[data-theme=dark] .ladderbox path[stroke="#c8d2c2"]{stroke:#59705d}
html[data-theme=dark] .ladderbox path[stroke="#315f49"]{stroke:#d9c17d}
html[data-theme=dark] canvas{filter:drop-shadow(0 8px 0 #0a140e)}
html[data-theme=dark] .elimwheel{border-color:#38523d;box-shadow:0 0 0 1px #637b63}
html[data-theme=dark] .elimwheel span{background:#192a21;color:#dce6ce}
@media(max-width:500px){.theme-picker{margin-left:auto}.theme-picker label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.theme-picker select{font-size:16px;max-width:140px}header .brand{font-size:23px}}
