:root[data-theme="dark"]{color-scheme:dark;--ink:#ededed;--blue:#f80615;background:#191919;color:#ebebeb}
:root[data-theme="dark"] body,:root[data-theme="dark"].embedded-game body{background:#191919;color:#ebebeb}
:root[data-theme="dark"] header,:root[data-theme="dark"] .hud,:root[data-theme="dark"] .game-card,:root[data-theme="dark"] .leaderboard{background:#252525;border-color:#414141;color:#ebebeb;box-shadow:none}
:root[data-theme="dark"] .brand,:root[data-theme="dark"] h1,:root[data-theme="dark"] h1>span:not(.title-arrow),:root[data-theme="dark"] .hud-money strong,:root[data-theme="dark"] .time,:root[data-theme="dark"] .leaderboard h2{color:#ebebeb}
:root[data-theme="dark"] .tiny,:root[data-theme="dark"] .leaderboard-sub,:root[data-theme="dark"] .ranking-columns,:root[data-theme="dark"] .ranking-note p,:root[data-theme="dark"] .support-empty,:root[data-theme="dark"] .pitch>p{color:#ababab}
:root[data-theme="dark"] .stages i{background:#474747}:root[data-theme="dark"] .stages i.active{background:#f80615}
:root[data-theme="dark"] .pause-btn,:root[data-theme="dark"] .icon-btn{background:#313131;color:#ebebeb;border-color:#494949}
:root[data-theme="dark"] .collected-panel{background:#282828;border-color:#414141}:root[data-theme="dark"] .collected-heading{color:#a8a8a8}
:root[data-theme="dark"] .collected-chip{background:#363636;border-color:#f80615;color:#c3c3c3}:root[data-theme="dark"] .collected-chip.used{background:transparent;color:#8d8d8d;border-color:#4b4b4b}
:root[data-theme="dark"] #armor,:root[data-theme="dark"] .play-layout #armor{background:#2d2d2d;border-color:#4b4b4b;color:#9d9d9d}:root[data-theme="dark"] #armor.charged{background:#363636;color:#c0c0c0;box-shadow:none}
:root[data-theme="dark"] .ranking-columns,:root[data-theme="dark"] .ranking-note,:root[data-theme="dark"] .ranking-row{border-color:#424242}
:root[data-theme="dark"] .ranking-row.podium{background:#303030}:root[data-theme="dark"] .ranking-row.podium-1{background:#f80615;color:#ffffff}:root[data-theme="dark"] .ranking-name,:root[data-theme="dark"] .podium .ranking-name{color:#e9e9e9}:root[data-theme="dark"] .ranking-row strong{color:#e9e9e9}:root[data-theme="dark"] .ranking-place{color:#a0a0a0}:root[data-theme="dark"] .podium-1 .ranking-place{color:white}:root[data-theme="dark"] #ranking-status{color:#a9a9a9}
:root[data-theme="dark"] .overlay,:root[data-theme="dark"] .overlay.welcome-overlay,:root[data-theme="dark"].embedded-game .overlay.welcome-overlay{background:#151515a8;backdrop-filter:blur(4px)}
:root[data-theme="dark"] .overlay-card,:root[data-theme="dark"] .support-card{background:#282828;border-color:#474747;box-shadow:0 12px 40px #00000044}
:root[data-theme="dark"] .overlay h2,:root[data-theme="dark"] .quick-rules b,:root[data-theme="dark"] #program-amount{color:#efefef}
:root[data-theme="dark"] .overlay p,:root[data-theme="dark"] .quick-rules li,:root[data-theme="dark"] .start-hint,:root[data-theme="dark"] .name-entry label,:root[data-theme="dark"] #program-info p{color:#b4b4b4}
:root[data-theme="dark"] .quick-rules li:before{background:#363636;color:#b5b5b5}:root[data-theme="dark"] .small-stamp{color:#a2a2a2}
:root[data-theme="dark"] .name-entry input{background:#1f1f1f;color:#ececec;border-color:#545454}:root[data-theme="dark"] .name-entry input::placeholder{color:#999999}
:root[data-theme="dark"] #program-info{background:#333333}:root[data-theme="dark"] #program-link{color:#bbbbbb;border-color:#696969}
:root[data-theme="dark"] .toast{background:#333333;color:#dfdfdf;border-color:#6a6a6a}:root[data-theme="dark"] .toast.urgent{background:#3a3a3a;border-color:#f80615;color:#e7e7e7}
:root[data-theme="dark"] .program-section,:root[data-theme="dark"] footer{border-color:#424242}:root[data-theme="dark"] .program-tile{background:#262626;border-color:#434343}:root[data-theme="dark"] .program-section h2{color:#e9e9e9}
