:root{color-scheme:light;--surface:#fcf7ee;--surface-alt:#f5ebdf}
:root[data-theme=dark]{color-scheme:dark;--cream:#171419;--surface:#231d24;--surface-alt:#2c232b;--red:#f07168;--red-dark:#dd4946;--ink:#f4e5d7;--muted:#c1a59d;--line:#644548}
.header-right{gap:14px}.theme-toggle{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--red);padding:9px}.theme-toggle:hover{border-color:var(--red);background:#bf28280a}.theme-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.game,.mint-card,.wallet-option{background:var(--surface)}.lookup-disclosure{background:var(--surface-alt)}.hero .intro,.market-note,.mint-intro,.account-line,.balances span,.treasury-split,.card-message,.lookup-message,.last-updated,footer,.footer-links a,.footer-links button,.allocation>span:last-child{color:var(--muted)}.balances strong{color:var(--red)}.game-round,.launch{border-color:var(--line)}.manual-actions{display:flex;align-items:center;gap:17px;flex-wrap:wrap}.manual-actions #history-refresh,.manual-actions .see-game{display:inline-flex;align-items:center;min-height:42px;font-size:11px;line-height:1.4;padding:0;margin:0;color:var(--red)}footer{border-top:1px solid var(--line);margin-top:4px}.hero{padding-bottom:30px}
.game-scene{position:relative}.game-scene>svg{display:block;width:100%;height:auto}.game-scene svg svg{overflow:visible}.game-next{position:absolute;transform:translate(-50%,-50%);width:46px;height:46px;min-height:46px;padding:0;background:transparent;color:#ffdd9b;border:2px dashed currentColor;border-radius:50%;line-height:1;cursor:pointer;z-index:2;box-shadow:0 0 0 4px #24192330;touch-action:manipulation}.game-next::before{content:'';position:absolute;inset:-5px;border:1px solid currentColor;border-radius:50%;opacity:.25}.game-next:hover,.game-next:focus-visible{background:#fff1d524;border-style:solid;outline:2px solid currentColor;outline-offset:4px}.game-next-number{position:absolute;right:-5px;top:-9px;min-width:18px;height:18px;display:grid;place-items:center;border-radius:50%;background:#bd302b;color:#fff1d5;font:700 10px/1 Arial,sans-serif;border:1px solid #ffdd9b}.game[data-mode=flight] .game-next{color:#a02d30;box-shadow:0 0 0 4px #f8f2e740}.game-next:disabled{opacity:.32;cursor:default}.game-next:disabled:hover{background:transparent;outline:0;border-style:dashed}.game-next-round{transform:none;width:auto;height:auto;min-height:40px;border-radius:0;border-style:solid;right:13px;bottom:15px;padding:9px 12px;background:#301d29;color:#fff0d1;font-size:11px}.game-next-round::before{display:none}
:root[data-theme=dark] .example-banner{background:#382932;border-color:#a2695d}:root[data-theme=dark] .split b,:root[data-theme=dark] .treasury-split b{color:#c1a59d}:root[data-theme=dark] .claim-button{background:#d84944;color:#fff1df}:root[data-theme=dark] .game-score progress,:root[data-theme=dark] .game-score progress::-webkit-progress-bar{background:#4c333b}:root[data-theme=dark] .wallet-option,:root[data-theme=dark] #wallet-account{background:var(--surface)}:root[data-theme=dark] .wallet-badge{background:#463139}:root[data-theme=dark] .wallet-error{background:#3c252e}:root[data-theme=dark] .review-actions #wallet-confirm{background:#d84944;color:#fff1df}:root[data-theme=dark] .toast{background:#d84944;color:#fff1df;box-shadow:4px 4px 0 #583a42}
@media(max-width:650px){.header{gap:12px}.header-right{gap:9px}.theme-toggle{width:38px;height:38px;flex-basis:38px;padding:8px}.connect{padding:11px 10px;gap:10px;font-size:10px}.game-next{width:44px;height:44px;min-height:44px}.game-next-round{width:auto;height:auto;min-height:40px}.manual-actions{gap:18px}}
@media(max-width:360px){.brand{gap:5px}.brand img{width:44px;height:44px}.brand>span{font-size:21px}.brand-caption{font-size:5px;letter-spacing:1.4px}.header{gap:8px}.header-right{gap:7px}.connect{padding:10px 8px;gap:7px}.theme-toggle{width:36px;height:36px;flex-basis:36px}}
