:root{color-scheme:light;--ink:#304b32;--muted:#78916b;--gold:#bf8f38;--green:#6c9b4d;--line:#bbd19f;background:#d3e3bd;color:var(--ink)}
body{background:#d3e3bd}
.game-window{border-color:#aec48e;background:#dfebcd;box-shadow:0 10px 65px #526d3820,inset 0 1px #fff9}
.game-topbar{background:linear-gradient(110deg,#f1f5e7,#e4edcf);border-bottom-color:#a4bf8270}
.game-brand svg{stroke:#61864c;filter:drop-shadow(0 1px 0 #fff)}
.game-brand strong{color:#466e36;text-shadow:0 1px 0 #f8ffe9,0 3px 0 #c0d29d}
.game-brand>span{color:#7c9567}
.round-status{color:#71865f}.round-status i{background:#93a77b}.round-status i.live{background:#679840;box-shadow:0 0 9px #83a74c44}
.wallet strong{color:#3d5b31;text-shadow:0 1px #fff8}.wallet small,.wallet-unit{color:#7c906c}
.coin-icon{background:linear-gradient(145deg,#fff2ac,#e0b34f);border-color:#eed587;color:#8c6c31;box-shadow:inset -2px -2px #c59b45,0 2px 0 #ad9153}
.icon-control{color:#70865f;border-color:#bccd9e;background:#f6f9ec77;box-shadow:0 2px 0 #b6c99555,inset 0 1px #fff9}
.icon-control:hover{background:#f8fbef;border-color:#8ca96b;color:#496b35}.sound-toggle.muted:after{background:#7f8f65;box-shadow:0 0 2px #eff5df}
.stage{background:radial-gradient(ellipse at 41% 25%,#f2f6d7 0,#d7e7b5 36%,#b4d293 76%,#a5c584)}
.stage-sky{background:radial-gradient(ellipse at 15% -12%,#fff8cfb5,transparent 52%),radial-gradient(ellipse at 90% 70%,#8fc09a25,transparent 60%)}
.stage-vignette{background:radial-gradient(ellipse at 50% 45%,transparent 42%,#65945214 80%,#5a83451a);box-shadow:inset 0 -12px 50px #7ba45e15}
.stage-score,.round-result{text-shadow:0 2px 1px #fbffe390,0 8px 26px #c0d69588}
.stage-score>span{color:#819762;font-weight:700}.stage-score>div{color:#3e6331;font-weight:700}.stage-score small{color:#819462}
.banked-hud{text-shadow:0 1px #f7ffe388}.banked-hud>span{color:#718a57}.banked-hud strong{color:#57793b;font-weight:600}.banked-hud small{color:#839766}
.stage-clock,.stage-clock svg{color:#6d8951}.stage-clock i{background:#739b4d}
.scene-caption{color:#8ba569;text-shadow:0 1px #f7ffe599}
.tree-label{background:linear-gradient(145deg,#f6fae9ed,#e4efcfed);border-color:#b5ca92;box-shadow:0 4px 0 #96b16e55,0 6px 17px #6c8e4722,inset 0 1px #fff;color:#3e6333;backdrop-filter:blur(6px)}
.tree-label small{color:#85976d;font-weight:700}.tree-label strong{font-weight:700}.tree-label:after{background:#8fad61aa}.tree-label:hover{background:#faffec;border-color:#83a55e}
.tree-label.merged{background:linear-gradient(#fff2cced,#efdfa8ed);border-color:#d0b963;color:#7a632e}.tree-label.merged small{color:#a88d49}.tree-label.merged:after{background:#c5b068}
.control-deck{background:linear-gradient(#e7efd6,#dce8c5);border-top-color:#b0c58e;box-shadow:inset 0 1px #fff7}
.stake-control>label{color:#8c9d75}.stake-input{background:#f5f8eb;border-color:#bdcea2;box-shadow:inset 0 2px 3px #708a4620,0 1px #fff8}.stake-input input{color:#496a36;font-weight:700}.stake-input>span{color:#8b9d75}.stake-input>button{color:#78925e}.stake-input>button:hover:not(:disabled){background:#e5edcc}.stake-input:focus-within{border-color:#7da45a}
.tree-toolbar{border-bottom-color:#afc48d70}.tree-chip{background:#d0e2b955;--tree-color:#88ad5c!important}.tree-chip.selected{background:#f2f6df;outline-color:#96b76e}
.tree-select span{border-color:#adbf90;color:#7c9662}.tree-select input:checked+span{background:#789f50;color:#fff9dd;border-color:#789f50}.chip-collect{color:#56763e}.chip-collect small{color:#90a179}.chip-collect:hover{background:#f8fbeb}.chip-split{color:#7e9c5e}.chip-split:hover:not(:disabled){color:#466f31;background:#f2f7e1}.merge-button{color:#809c60;border-color:#a9bf8670;background:#c6dbaa33}.merge-button.ready{color:#587e38;background:#d3e4b7;border-color:#a0bc78}.merge-button:hover:not(:disabled){background:#eef5d7;color:#426c29}
.play-button{background:linear-gradient(140deg,#a4d372,#8cbe58);border-color:#b8dc8b;color:#375b28;box-shadow:0 4px 0 #709543,inset 0 2px 0 #dcf0b8}
.play-button.collect{background:linear-gradient(145deg,#f6df94,#e8c468);border-color:#ffeba4;color:#785629;box-shadow:0 4px 0 #bb9348,inset 0 2px 0 #fff2c1}.play-button:disabled{opacity:.75}.play-button.harvesting{opacity:1;filter:saturate(.85)}
.recent-strip{background:#d0dfb7;border-top-color:#b9cd9a}.recent-heading,.round-counter{color:#7f9469}.history-chip{background:#e6f1ce;border-color:#b5ca8a;color:#5a7c3d}.history-chip.win{background:#def0bc;color:#48722d}.history-chip.low{background:#dedfbb;border-color:#bfc18f;color:#8b8d5d}.history-chip.zero{background:#e7d5b8;border-color:#d3bc98;color:#ad8763}.history-empty{background:#dbe6c6;border-color:#b9cd9b55;color:#a9bd8b}
.round-result>span{color:#819567;font-weight:700}.round-result>strong{color:#587b3d;font-weight:700}.round-result>p{color:#859566}.round-result.profit>strong{color:#517e32}.round-result.profit>p{color:#6d934c}.inline-error{color:#976d46;background:#f4e8cf}
.toast{background:#f1f7e5ec;border-color:#acc58a;color:#648248;box-shadow:0 5px 20px #65824525}
.boost-flare{background:radial-gradient(ellipse at 50% 15%,#fff6b770,transparent 65%);mix-blend-mode:screen}.boost-label{color:#a18d45;text-shadow:0 1px 0 #fffbd5,0 0 18px #fff6a3}
.harvest-flare{position:absolute;inset:0;z-index:4;pointer-events:none;opacity:0;background:radial-gradient(ellipse at 48% 68%,#fffad5d0,transparent 55%);mix-blend-mode:screen}
.stage.harvesting .harvest-flare{animation:harvest-glow .7s .65s ease-out both}
.wallet.receiving{animation:wallet-receive 1.7s ease-in-out both}
@keyframes harvest-glow{0%{opacity:0;transform:scale(.7)}18%{opacity:.9}100%{opacity:0;transform:scale(1.3)}}
@keyframes wallet-receive{0%,40%,100%{transform:scale(1)}59%{transform:scale(1.08);filter:brightness(1.15)}}
.loading-screen{background:radial-gradient(ellipse at 50% 44%,#edf4d2,#c1dba1 68%,#a7c787)}
.loading-halo{border-color:#e6f0b955;background:radial-gradient(circle,#f1f5bd44,transparent 70%);box-shadow:0 0 140px #eff4b766}
.loading-brand svg{stroke:#7e9e55;filter:drop-shadow(0 2px 0 #f4f8da)}
.loading-brand strong{color:#5a813c;text-shadow:0 2px 0 #eef7d4,0 5px 0 #a1bf76,0 8px 0 #96b56f55}.loading-brand>span{color:#88a36a;font-weight:700}.loading-track{background:#9fba7780;border-color:#eff7d366;box-shadow:inset 0 2px 3px #567b3322}.loading-track i{background:linear-gradient(90deg,#6f9848,#a8cb69,#e1eab0);box-shadow:0 0 14px #ecf5a888}.loading-label{color:#7d9961}.loading-sparks{color:#eff7bf}.loading-sparks i,.loading-sparks b{color:#f5f9dc}
dialog{background:linear-gradient(140deg,#f6f9ed,#e4edcf);color:#456334;border-color:#b5c995;box-shadow:0 25px 100px #3b5e3988}dialog::backdrop{background:#4e6e4870}.dialog-heading>button{background:#d6e4bd;border-color:#b3c996;color:#6c8752}.dialog-intro,.dialog-note,.rule-list p,.info-footnote{color:#81946d}.eyebrow{color:#92a674}.info-actions>button{background:#dce9c4;border-color:#c2d2a4;color:#5c7c43}.info-actions>button:hover{background:#edf5d9}.formula{background:#d9e7be;border-color:#bfd49d}.formula>span,.formula p{color:#809667}.formula code{color:#58793f}.math-table>div{border-color:#bdd09e;color:#719058}.math-table strong{color:#5c7c42}.math-example{background:#d4e7ae;border-color:#b1cc82}.math-example span,.math-example p{color:#7e9660}.math-example strong{color:#5a7e3e}.rule-list>li>span{color:#8fac65}.rule-list h3{color:#628047}.primary-button{background:#9ec871;border-color:#bbd98e;color:#42642e}.source-link{color:#7a9b56}
@media(prefers-reduced-motion:reduce){.stage.harvesting .harvest-flare,.wallet.receiving{animation:none}}
