*{box-sizing:border-box}body{margin:0;background:#080f1b;color:#f5f3ec;font:15px system-ui,sans-serif}main{max-width:1120px;margin:auto;padding:24px}nav{display:flex;gap:24px;align-items:center;border-bottom:1px solid #2a3547;padding-bottom:18px}nav b{font-size:25px}nav b span{color:#ff5968}a{color:#e9ba68;text-decoration:none}.badge{margin-left:auto;color:#91a1b8;font-size:10px;letter-spacing:1.5px}header{padding:24px 0 12px}.eyebrow{font-size:10px;letter-spacing:2px;color:#efc578}h1{font-size:38px;margin:8px 0}header>p:last-child{color:#a6b5c9}.game{border:1px solid #394657;border-radius:14px;overflow:hidden;background:#121d30}.hud{display:flex;justify-content:space-between;padding:16px 24px;gap:10px}.hud small{display:block;color:#8798b3;font-size:9px;letter-spacing:1.5px}.hud b{display:block;font-size:21px;margin-top:5px}canvas{display:block;width:100%;background:#101c30;touch-action:none}#overlay{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;background:#091323d9}#overlay h2{font-size:32px;margin:8px}#overlay p{color:#c2ccda;line-height:1.6}button{cursor:pointer;color:#fff;background:#ff5268;border:0;border-radius:8px;padding:14px 22px;font-size:13px;font-weight:800;touch-action:manipulation}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #efc578;outline-offset:3px}.controls{display:flex;gap:14px;padding:15px}.controls>button{flex:1;touch-action:none}.controls small{display:block;font-size:8px;letter-spacing:1px;margin-top:5px;color:#ffffffa8}#slide{background:#d9aa51;color:#151c29}#pause{flex:0;background:#293951}.preview{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:20px 0 10px;font-size:13px;color:#aebed2}select{margin-left:10px;background:#19273d;color:#fff;border:1px solid #4b5e7b;border-radius:6px;padding:10px}.preview span{font-size:11px}#status{font-size:12px;color:#9aaec7}footer{display:flex;gap:16px;align-items:center;font-size:11px;color:#8da0b9;margin:22px 0}footer button{background:#22324b;font-size:10px;padding:10px}footer span{margin-left:auto}@media(max-width:600px){main{padding:12px}nav{gap:16px}.badge{font-size:8px;letter-spacing:0}h1{font-size:28px}.hud{padding:12px}.hud small{font-size:7px;letter-spacing:0}.hud b{font-size:14px}.controls{gap:8px;padding:10px}.controls button{padding:12px 6px}.controls small{font-size:6px}.preview,footer{flex-wrap:wrap}.preview span{display:none}#overlay h2{font-size:22px}#overlay p{font-size:11px;margin:5px}#overlay button{padding:10px}.stage{min-height:200px}}.controls{flex-wrap:wrap}.controls #stop{flex:.8;background:#354861}.controls #dash{background:#755abb}.hud b{font-size:17px}@media(max-width:600px){.controls #stop,.controls #pause{flex:1}.controls{gap:6px}.controls button{min-width:85px}.hud b{font-size:10px}}#returnToGame{background:#e5b761;color:#152035;white-space:nowrap}.preview{flex-wrap:wrap}.audio-library{padding:20px;margin:18px 0;background:#152237;border-radius:12px}.audio-library summary{cursor:pointer;color:#ecc77f}.audio-library select{max-width:100%;padding:10px}.audio-library p{line-height:1.5}.world-controls{padding:16px;background:#152237;border-radius:12px;margin-bottom:18px}.world-controls select,.world-controls input{padding:9px;background:#263953;color:#fff;border:1px solid #586b83;border-radius:6px}.world-controls input{width:150px}.world-controls p{margin:12px 0 4px;color:#c5d5e8}#boostInfo{color:#ffd28a}.hint-toggle{display:inline-flex;align-items:center;gap:8px;margin-left:16px;font-size:13px;color:#bbcbdc}.hint-toggle input{width:16px;height:16px;accent-color:#efc78d}.risk-hud{display:flex;flex-wrap:wrap;gap:14px;padding:12px 18px;background:#253046;color:#ecd1a6;font-size:12px}.risk-hud span{flex:1;white-space:nowrap}.shop,.weather-preview{padding:20px;margin:18px 0;background:#152237;border-radius:12px}.shop summary,.weather-preview summary{cursor:pointer;color:#ecc77f}.wallet{display:flex;flex-wrap:wrap;gap:18px;margin:18px 0}.shop select,.weather-preview select{padding:10px;background:#293c52;color:#fff;border:1px solid #71839b;border-radius:6px}.shop button{margin:5px 0}.shop p,.weather-preview p{line-height:1.5;color:#bbcadd}#shopMessage{color:#f4d49b}.world-controls label{margin-right:8px}nav #openCustomization{padding:9px 12px;background:#263953;font-size:10px}.shop:modal{color:#f5f3ec;width:min(720px,92vw);max-height:88vh;overflow:auto;border:1px solid #7d91ab;box-shadow:0 30px 100px #000a;margin:auto}.shop::backdrop{background:#040a15dc;backdrop-filter:blur(7px)}.menu-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.menu-heading h2{margin:8px 0 20px}.menu-heading button{background:#354861}.shop:not([open]){display:none}.embedded main{max-width:none;padding:0}.embedded header,.embedded .preview,.embedded .weather-preview,.embedded .audio-library,.embedded footer,.embedded #status{display:none}.embedded nav{padding:8px 12px;justify-content:flex-end}.embedded nav>b,.embedded nav>a,.embedded nav>.badge{display:none}.embedded .world-controls{margin:0;padding:8px 12px;background:transparent}.embedded .world-controls>label:not(:has(#leverage)):not(:has(#tutorialHints)),.embedded .world-controls>p,.embedded .world-controls>b{display:none}.embedded .game{border:0;border-radius:0}.embedded .hint-toggle{margin-left:12px}.embedded .hud b{font-size:14px}.embedded .risk-hud{font-size:10px}.embedded .controls{gap:7px}.embedded .controls button{padding:12px 10px}.embedded .shop{margin:auto}@media(max-width:600px){.embedded .hud{padding:10px;gap:6px}.embedded .hud b{font-size:9px}.embedded .risk-hud{font-size:8px;gap:8px}.embedded .controls button{padding:10px 6px;min-width:75px}.embedded .hint-toggle{font-size:11px}}body,button,input,select{font-family:Segoe UI Variable,Segoe UI,Arial,sans-serif}h1,h2,h3,nav b{font-family:Bahnschrift,Segoe UI,sans-serif;letter-spacing:-.025em}button{font-weight:650;letter-spacing:.04em}.character-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.character-card{min-height:230px;border:1px solid #435168;border-radius:16px;padding:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse at top,#334568,#101925);position:relative;overflow:hidden}.character-card span,.character-card small{color:#b2c1d4;font-size:12px}.character-card.active{border-color:#edbc6d}.mike-strip{width:128px;height:128px;object-fit:cover;object-position:left}.mystery img{width:140px;height:145px;object-fit:contain;filter:brightness(0);opacity:.75}.lock-symbol{position:absolute;top:75px;font-size:38px;text-shadow:0 0 20px #dfba65}.roll-controls{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.roll-window{position:relative;overflow:hidden;height:116px;margin-top:20px;background:#080e18;border:1px solid #536175;border-radius:12px}.roll-pointer{position:absolute;left:50%;height:100%;width:3px;background:#fff;z-index:2;box-shadow:0 0 18px #fff}#rollStrip{display:flex;gap:8px;height:100%;align-items:center;width:max-content}.roll-card{flex:0 0 88px;height:88px;display:grid;place-items:center;border-radius:8px;font-size:10px;color:#fff;text-shadow:0 1px 3px #000,0 0 6px #000;border:2px solid #ffffff55}.owned-color{margin:0 8px 8px 0;background:linear-gradient(90deg,var(--swatch) 0 24px,#243246 24px);padding:12px 16px 12px 34px;color:#fff;border:1px solid #465773}.owned-color.selected{outline:2px solid #edc16c}#colorLocker h4{margin:16px 0 8px}#scoreboard table{width:100%;border-collapse:collapse}#scoreboard th,#scoreboard td{text-align:left;padding:12px;border-bottom:1px solid #344459}#colorLocker,#scoreboard{border-top:1px solid #394657;margin-top:28px;padding-top:12px}@media(max-width:600px){.character-grid{gap:8px}.character-card{padding:12px}.roll-controls{gap:8px}}.mystery img{height:140px;width:140px;object-fit:cover;object-position:left}.mystery .lock-symbol{top:85px}.character-card{cursor:default}.music-menu{background:#101b2c;color:#edf1f8;border:1px solid #526683;border-radius:20px;width:min(680px,90vw);max-height:85vh;padding:24px;overflow:auto}.music-menu::backdrop{background:#050913c9}.music-menu header{display:flex;align-items:center;justify-content:space-between;gap:20px}.music-menu header h2{margin:0}.music-menu p{color:#b9c6d9;line-height:1.5}.music-track{display:flex;flex-direction:column;align-items:flex-start;text-align:left;width:100%;padding:15px;margin:8px 0;border:1px solid #405470;border-radius:12px;background:linear-gradient(110deg,#243b55,#16263b);color:#f2f5fb}.music-track span{font-size:12px;color:#a9bed7;margin-top:6px;letter-spacing:0;font-weight:400}.music-track.locked{opacity:.6;background:#172133}.music-track.selected{border-color:#f5bf6e;box-shadow:inset 3px 0 #f5bf6e}.music-controls{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin-top:18px}.music-controls label{display:flex;gap:8px;align-items:center;font-size:13px}.music-menu #musicNow{color:#f5bf6e}.embedded nav #openMusic{display:block}#musicTracks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.music-track{margin:0;padding:16px;align-items:center;text-align:center;min-width:0;position:relative}.music-track strong{font-size:14px;letter-spacing:0;margin-top:8px}.music-track span{line-height:1.5}.cassette{width:190px;max-width:100%;filter:drop-shadow(0 7px 6px #0007);transform:rotate(-3deg);transition:transform .2s}.music-track:nth-child(2n) .cassette{transform:rotate(3deg)}.music-track:hover:not(:disabled) .cassette{transform:rotate(0) translateY(-3px)}.music-track.locked{opacity:1;color:#bdc8d8}.music-track.locked .cassette{filter:drop-shadow(0 7px 6px #0007) brightness(.72)}.music-track.selected{background:linear-gradient(150deg,#364558,#1a2b42)}@media(max-width:430px){#musicTracks{gap:8px}.music-track{padding:10px}.music-track strong{font-size:12px}.music-track span{font-size:11px}}#customizationMenu{width:calc(100vw - 48px);max-width:1320px;box-sizing:border-box}.roll-window{height:202px;background:radial-gradient(ellipse at center,#1c293a,#090e17);border:1px solid #637087;box-shadow:inset 0 0 32px #0009;isolation:isolate;overflow:hidden}.roll-window:before,.roll-window:after{content:"";position:absolute;top:0;bottom:0;width:8%;z-index:3;pointer-events:none}.roll-window:before{left:0;background:linear-gradient(90deg,#080d17,transparent)}.roll-window:after{right:0;background:linear-gradient(-90deg,#080d17,transparent)}.roll-pointer{width:2px;background:#e9c482;box-shadow:0 0 12px #ffd992;z-index:4}.roll-pointer:before,.roll-pointer:after{content:"";position:absolute;left:-6px;border-left:7px solid transparent;border-right:7px solid transparent}.roll-pointer:before{top:0;border-top:11px solid #ffcf75}.roll-pointer:after{bottom:0;border-bottom:11px solid #ffcf75}#rollStrip{gap:12px;will-change:transform}.roll-card{flex:0 0 142px;width:142px;height:158px;box-sizing:border-box;display:flex;flex-direction:column;gap:9px;padding:13px;justify-content:space-between;background:linear-gradient(150deg,#344155,#17212e);border:1px solid #4c596c;border-bottom:4px solid var(--card-color);border-radius:5px;color:#e2e7ef;text-shadow:none}.roll-card small{font-size:9px;letter-spacing:.15em;color:#b9c4d3}.roll-card b{font:600 12px Segoe UI,sans-serif}.roll-swatch{height:76px;border:1px solid #ffffff35;border-radius:5px;box-shadow:inset 0 10px 18px #ffffff12,inset 0 -15px 18px #0004}.roll-card.won{border-color:#e3c27f;box-shadow:0 0 22px #e3c27f35;transform:translateY(-3px)}.fair-details{margin:18px 0;border:1px solid #46566e;padding:12px;border-radius:8px}.fair-details input:not([type=checkbox]){width:min(560px,90%)}#fairHash{font:11px monospace;overflow-wrap:anywhere;color:#a8b8ce}.reel-caption{font-size:12px;color:#a8b8ce}.roll-controls{padding:16px 0}@media(max-width:600px){#customizationMenu{width:calc(100vw - 16px);padding:14px}.roll-window{height:188px}}.roll-swatch{flex-shrink:0;width:86px;height:78px;position:relative;clip-path:polygon(25% 0,40% 0,43% 10%,57% 10%,60% 0,75% 0,100% 20%,82% 38%,74% 30%,74% 100%,26% 100%,26% 30%,18% 38%,0 20%);border:0;border-radius:0}.roll-card[data-slot=jersey] .roll-swatch:after{content:"23";position:absolute;inset:26px 0 0;text-align:center;font:700 26px Bahnschrift,sans-serif;color:#fff;text-shadow:0 1px 3px #0009}.roll-card[data-slot=pants] .roll-swatch{clip-path:polygon(16% 0,84% 0,93% 100%,57% 100%,50% 45%,43% 100%,7% 100%)}.roll-card[data-slot=shoes] .roll-swatch{clip-path:polygon(12% 30%,40% 30%,50% 54%,86% 61%,100% 78%,98% 94%,5% 94%,0 71%)}.roll-card[data-slot=hair] .roll-swatch{clip-path:polygon(8% 30%,14% 10%,38% 0,67% 5%,89% 20%,100% 48%,85% 95%,70% 86%,71% 47%,48% 28%,18% 75%,0 58%)}.appearance-inventory{display:grid;grid-template-columns:minmax(260px,360px) minmax(0,1fr);gap:24px;margin:24px 0}.mike-preview{background:radial-gradient(ellipse at 50% 38%,#3b4b65,#162133 65%);border:1px solid #54617a;border-radius:16px;padding:16px;align-self:start;position:sticky;top:0;text-align:center}.mike-preview h4{letter-spacing:.12em;color:#edc985;margin:0}.mike-preview canvas{display:block;width:100%;height:auto;margin:-12px auto -28px;filter:drop-shadow(0 10px 6px #0005)}.mike-preview label{display:block;text-align:left;margin:12px 0;font-size:12px;color:#bdc9dc}.mike-preview label select{width:100%;margin-top:6px}.mike-preview button{margin:5px;padding:10px;font-size:11px}.mike-preview details{font-size:12px;border-top:1px solid #465570;padding:12px 0;text-align:left}.mike-preview input[type=color]{width:68px;height:34px;vertical-align:middle}.wardrobe-note{font-size:11px;color:#9eafc6;line-height:1.5}.color-inventory{border:1px solid #465570;border-radius:16px;padding:20px;background:#101b2a}.color-inventory>h4{margin-top:0;color:#edc985;letter-spacing:.1em}.color-inventory>p{font-size:13px;color:#b1bfd3;line-height:1.5}.color-inventory section{border-top:1px solid #31445c;padding:12px 0}.color-inventory section h4{font-size:12px;letter-spacing:.1em;margin-top:0}.owned-color{min-width:125px;text-align:left;cursor:pointer}.owned-color:disabled{opacity:.6}.character-card canvas{width:180px;height:180px;margin-top:-14px}.appearance-inventory #appearanceStatus{font-size:12px;min-height:32px;color:#e6ca90}.mike-preview #equipPreview{background:#304e45;border:1px solid #6ba584}.mike-preview #equipPreview:disabled{opacity:.45}@media(max-width:720px){.appearance-inventory{grid-template-columns:1fr;gap:14px}.mike-preview{position:static;max-width:340px;width:100%;box-sizing:border-box;margin:auto}.color-inventory{padding:14px}}.mike-preview canvas{background:transparent;margin:-12px auto 0}.mike-preview #appearanceStatus{position:relative;z-index:1;margin:0 0 10px}.character-card canvas{background:transparent}.mike-preview #tryColorCode{width:110px;max-width:45%;padding:8px;background:#19283d;border:1px solid #5d6d85;border-radius:6px;color:#fff;margin-left:6px}.roll-window{height:244px}.roll-card{height:208px;padding:12px 10px;gap:4px;background:radial-gradient(ellipse at 50% 40%,#48546b,#1a2637 75%);border-radius:10px}.reel-item-art{width:120px;height:140px;align-self:center;filter:drop-shadow(0 5px 3px #0005)}.reel-item-art svg{display:block;width:100%;height:100%}.roll-card b{text-align:center}.roll-card.won .reel-item-art{filter:drop-shadow(0 0 8px #efd29a66)}@media(max-width:600px){.roll-window{height:236px}}main{max-width:1440px}.game-intro h1{font-size:32px;margin:8px 0}.game-intro .eyebrow{display:none}.game-toolbar{display:flex;gap:16px;align-items:center;flex-wrap:wrap;padding:16px;background:#131e30;border:1px solid #34435b;border-radius:14px;margin:12px 0}.game-toolbar button{padding:10px;font-size:11px}.leverage-desk{display:grid;grid-template-columns:1fr auto;gap:6px;min-width:240px}.leverage-desk span{font-size:10px;color:#adbdce;letter-spacing:.15em}.leverage-desk output{color:#ffcc78;font-weight:800}.leverage-desk input{grid-column:1/-1;width:100%;accent-color:#e94d60}.leverage-desk small{grid-column:1/-1;font-size:10px;color:#9eafc4}.game-toolbar .hint-toggle{font-size:16px;margin:0}.game-toolbar .hint-toggle input{width:22px;height:22px}.stage{position:relative}.game-dock{position:absolute;bottom:14px;left:50%;transform:translate(-50%);display:flex;gap:8px;align-items:center;z-index:5;padding:5px;border-radius:18px;background:#101722a8;backdrop-filter:blur(5px)}.game-dock button{display:block!important;background:#a52b40b8!important;color:#fff2f0;font-size:24px!important;width:46px;height:42px;padding:4px!important;border:1px solid #f0778666;border-radius:12px;transition:background .15s,transform .15s}.game-dock button:hover,.game-dock button:focus-visible{background:#df3f56!important;transform:translateY(-2px)}#dockLife{white-space:nowrap;font-size:12px;color:#ffd9de;padding:0 9px}.public-scoreboard{background:linear-gradient(120deg,#1f3046,#111c2e);border:1px solid #415470;border-radius:16px;padding:20px!important;margin-top:20px!important}.public-scoreboard h3{font-size:23px;margin-top:0}.public-scoreboard #scores{max-height:330px;overflow:auto}.public-scoreboard th{position:sticky;top:0;background:#1c2b40}.public-scoreboard tbody tr:first-child{color:#ffd48c;background:#efd08c0d}.touch-pad{display:none;position:absolute;bottom:16px;left:16px;right:16px;justify-content:space-between;align-items:end;pointer-events:none;z-index:4}.touch-enabled .touch-pad{display:flex}.touch-pad button{pointer-events:auto;touch-action:none;user-select:none;background:#23324e99;border:1px solid #adbbd977;backdrop-filter:blur(3px);color:#fff;padding:0;width:46px;height:46px;border-radius:12px}.touch-pad button:active{background:#d3445bbd}.direction-pad{display:grid;grid-template-columns:repeat(3,46px);grid-template-rows:repeat(3,46px);gap:3px}.direction-pad button:nth-child(1){grid-column:2}.direction-pad button:nth-child(2){grid-column:1;grid-row:2}.direction-pad button:nth-child(3){grid-column:3;grid-row:2}.direction-pad button:nth-child(4){grid-column:2;grid-row:3}.touch-actions{display:flex;gap:10px;padding-bottom:30px}.touch-actions button{border-radius:50%;width:58px;height:58px;font-size:11px;background:#98283d99}.game:fullscreen,.game.expanded{width:100vw;height:100dvh;background:#09111e;border:0;border-radius:0;display:flex;flex-direction:column}.game:fullscreen .stage,.game.expanded .stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center}.game:fullscreen canvas,.game.expanded canvas{width:100%;height:100%;object-fit:contain}.game:fullscreen .controls,.game.expanded .controls{padding:6px}.game:fullscreen .controls button,.game.expanded .controls button{padding:8px}.embedded .public-scoreboard{margin:8px!important}.embedded .game-toolbar{margin:0;border-radius:0}.world-controls{padding:8px 16px}#developerTools{background:#17253a;border:1px solid #68768b;border-radius:16px;padding:20px;margin:20px 0}#developerTools label{display:block;margin:12px 0}#developerTools .preview,#developerTools .weather-preview,#developerTools .audio-library{display:block}.touch-enabled .controls{display:none}@media(max-width:700px){main{padding:8px}.game-intro h1{font-size:24px}.game-toolbar{gap:10px;padding:10px}.leverage-desk{flex:1;min-width:160px}.game-toolbar button{font-size:9px}.risk-hud{gap:6px;padding:8px;font-size:9px}.hud{padding:8px;gap:6px}.hud b{font-size:11px}.game-dock{bottom:8px}.game-dock button{width:36px;height:34px;font-size:20px!important}#dockLife{font-size:10px;padding:0 3px}.touch-pad{left:8px;right:8px;bottom:8px}.direction-pad{grid-template-columns:repeat(3,35px);grid-template-rows:repeat(3,35px)}.touch-pad .direction-pad button{width:35px;height:35px}.touch-actions{gap:6px;padding-bottom:20px}.touch-actions button{width:44px;height:44px;font-size:9px}.public-scoreboard{padding:12px!important}}@media(orientation:landscape)and (max-height:550px){.game-intro{display:none}.game-toolbar{padding:6px;margin:6px 0}.game:fullscreen .hud,.game:fullscreen .risk-hud{padding:4px;font-size:9px}.game:fullscreen .hud b{font-size:11px}}.game-dock #openMusic{font-size:0!important}.game-dock #openMusic:before{content:"\266b";font-size:24px}.embedded .game-dock #openCustomization{display:block!important}.game-toolbar #pause{flex:initial}.game:fullscreen .game-dock{bottom:14px}.stage-pause{position:absolute;top:12px;right:12px;z-index:5;background:#18273ca8;padding:8px 12px;border:1px solid #a3b3ce55}.game-dock #openMusic{overflow:hidden}.game:fullscreen .stage-pause{display:block}.exit-expanded{display:none;position:absolute;top:12px;left:12px;z-index:5;background:#18273ca8;padding:8px;font-size:10px}.game:fullscreen .exit-expanded,.game.expanded .exit-expanded{display:block}.game.expanded{position:fixed;inset:0;z-index:30}.game:fullscreen .shop{flex:none}.game-dock #openMusic{white-space:nowrap;color:transparent}.game-dock #openMusic:before{color:#fff2f0}#betaNotice{padding:12px 16px;background:#342330;border:1px solid #a25166;border-radius:10px;color:#f4c5cc;font-size:12px;line-height:1.5}.run-mode-label{display:grid;gap:8px;margin:16px auto;max-width:360px;font-size:12px;letter-spacing:1px}.run-mode-label select{padding:12px;background:#172334;color:#fff;border:1px solid #8c4956;border-radius:8px;max-width:100%}#dailyInfo{font-size:12px;color:#a6cdda}.touch-pad{justify-content:flex-start;gap:12px}.direction-pad{grid-template-columns:repeat(3,52px);grid-template-rows:repeat(3,52px);gap:4px}.touch-pad .direction-pad button{width:52px;height:52px;min-width:48px;min-height:48px;touch-action:none;user-select:none;-webkit-user-select:none}.touch-guide{font-size:10px;line-height:1.6;align-self:flex-end;color:#fff;text-shadow:0 1px 3px #000;margin-bottom:8px;pointer-events:none}.touch-pad .direction-pad button:active{background:#ed4d69}@media(max-width:700px){.direction-pad{grid-template-columns:repeat(3,48px);grid-template-rows:repeat(3,48px)}.touch-pad .direction-pad button{width:48px;height:48px}.touch-pad{bottom:max(8px,env(safe-area-inset-bottom));left:8px}}.touch-pad{position:relative;left:auto;right:auto;bottom:auto;padding:8px 12px;box-sizing:border-box;background:#101a2a;border-top:1px solid #334158}.game:fullscreen .touch-pad,.game.expanded .touch-pad{flex:none}.touch-guide{margin-left:auto}body:has(.touch-enabled) .game-intro #controlsHelp{display:none}@media(max-width:700px){.game-intro{display:none}#betaNotice{font-size:10px;margin:8px 0;padding:8px}.game-toolbar{margin:8px 0}.game-toolbar small{display:none}.world-controls{padding:0 8px}.touch-guide{font-size:9px}}@media(max-width:700px){.stage:has(#overlay:not([hidden])) canvas{display:none}.stage:has(#overlay:not([hidden])) #overlay{position:relative;inset:auto;min-height:240px;padding:12px;box-sizing:border-box}.stage:has(#overlay:not([hidden])) .game-dock,.stage:has(#overlay:not([hidden])) .stage-pause{display:none}#overlay>p:first-of-type{display:none}#overlay h2{font-size:20px;margin:6px}#overlay p{font-size:11px;line-height:1.35;margin:5px}#overlay #dailyInfo{font-size:9px;margin:3px}}.touch-pad{justify-content:center}.direction-pad{margin-inline:auto}.direction-pad button:nth-child(5){grid-column:2;grid-row:2;background:#ba3550;font-size:23px}.touch-guide{position:absolute;right:10px;bottom:8px;font-size:8px;text-align:right;max-width:90px;margin:0}@media(max-width:420px){.touch-guide{display:none}}#gameGuide{max-width:620px;text-align:left;margin:10px auto;font-size:13px;line-height:1.5}#gameGuide summary{cursor:pointer;color:#efb95f;font-weight:700}#gameGuide[open]{max-height:240px;overflow:auto;padding:12px;background:#121820;border-radius:10px}#loginGate,#afterRunActions{max-width:620px;margin:10px auto}#loginGate button,#afterRunActions button{margin:4px;padding:10px}#overlay{max-height:100%;overflow:auto}[hidden]{display:none!important}.crate-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.crate-card{display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px;background:linear-gradient(145deg,#28303d,#141922);border:1px solid #8c6e44;border-radius:14px;color:#f9e7c4}.crate-card svg{width:100%;max-width:150px;filter:drop-shadow(0 6px 8px #0006)}.crate-card span{font-size:11px}.crate-card[aria-pressed=true]{border-color:#ef5964;box-shadow:0 0 0 2px #ef596433}.crate-lid{transform-origin:80px 48px}.opening .crate-lid{animation:crate-open .65s ease-out}.opening svg{animation:crate-glow .65s ease-out}@keyframes crate-open{50%,to{transform:translateY(-24px) rotate(-9deg)}}@keyframes crate-glow{50%{filter:drop-shadow(0 0 20px #f9cb73)}}@media(max-width:600px){.crate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){.opening .crate-lid,.opening svg{animation:none}}.crate-card .crate-art{width:100%;max-width:none;height:230px;filter:none;background:#111922;border-radius:8px}.crate-card:disabled{opacity:.72}.crate-card.opening .crate-art{animation:crate-art-reveal .65s ease-out}@keyframes crate-art-reveal{0%{transform:scale(1)}35%{transform:scale(1.06) rotate(-2deg);filter:drop-shadow(0 0 18px #68ffee)}70%{transform:scale(1.03) rotate(2deg)}to{transform:scale(1);filter:none}}@media(max-width:600px){.crate-card .crate-art{height:170px}}@media(prefers-reduced-motion:reduce){.crate-card.opening .crate-art{animation:none}}.perfect-color-benchmarks{padding:16px;border:1px solid #94c5bb66;border-radius:12px;background:#111c25;margin:18px 0}.perfect-color-benchmarks h4{margin-top:0}.perfect-color-swatch{display:inline-block;width:22px;height:22px;border:1px solid #c9d4dc;border-radius:5px;vertical-align:middle;margin-right:10px}.perfect-color-benchmarks p{font-size:13px;line-height:1.5}
