:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none;background:#ecebed;color:#463d45;--accent:#e85d94;--muted:#aaa1a7}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overscroll-behavior:none}body{display:flex;align-items:center;justify-content:center}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;border:0}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #c85e97;outline-offset:3px}svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.app{width:100%;max-width:440px;height:100dvh;max-height:980px;min-height:530px;display:grid;grid-template-rows:58px minmax(0,1fr) 69px 26px;background:#f8f6f4;position:relative;overflow:hidden;box-shadow:0 20px 90px #3d293c0c}.header{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:12px;padding:0 20px;z-index:20;background:#f8f6f4}.back-button{display:grid;place-items:center;width:28px;height:34px;background:none;color:#766b72;padding:2px}.back-button svg{height:21px;width:21px}.wordmark{font-weight:720;font-size:16px;letter-spacing:-.45px;color:#4e454b}.balances{display:flex;gap:12px}.balance{display:flex;align-items:center;gap:3px;font-size:12px;color:#70626b;font-weight:650;font-variant-numeric:tabular-nums;min-width:30px}.balance img{width:25px;height:25px;object-fit:contain}.balance:last-child img{width:25px;height:21px}.content{position:relative;min-height:0;overflow:hidden}.view{position:absolute;inset:0;visibility:hidden;pointer-events:none;opacity:0;transition:opacity .16s ease}.view.active{visibility:visible;pointer-events:auto;opacity:1}#roulette-view{background:#f8f6f4}.scene{position:absolute;inset:0;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at 50% 42%,#fffefb 0,#faf7f5 56%,#f7f1f2 100%)}.scene-title{position:absolute;top:12px;left:0;right:0;margin:0;text-align:center;font-weight:760;font-size:25px;letter-spacing:-.9px;color:#66535f;z-index:4;transition:opacity .22s,transform .3s}.playing .scene-title{opacity:0;transform:translateY(-15px)}.decor{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}.decoration{position:absolute;object-fit:contain;opacity:.23;animation:drift 7s ease-in-out infinite alternate}.h1{width:40px;top:18%;left:7%;rotate:-18deg}.h2{width:30px;top:66%;right:5%;animation-delay:-3s;opacity:.18}.f1{width:44px;top:38%;right:6%;animation-delay:-4s;opacity:.2}.f2{width:40px;top:73%;left:6%;animation-delay:-2s;opacity:.2}.view:not(.active) .decoration{animation-play-state:paused}.drum{position:absolute;inset:0;z-index:2;transform:scale(1);transform-origin:50% 45%;transition:transform .48s cubic-bezier(.2,.9,.25,1)}.playing .drum{transform:scale(.89)}.scene.extracting .drum,.scene.throwing .drum,.scene.impact .drum{transform:scale(.87)}.stream{position:absolute;inset:0;pointer-events:none}.gift{position:absolute;left:50%;top:0;display:flex;flex-direction:column;align-items:center;justify-content:center;will-change:transform;pointer-events:none;gap:4px}.gift img{display:block;width:var(--art-w);height:var(--art-h);max-height:calc(100% - 22px);object-fit:contain;filter:drop-shadow(0 7px 5px #84657515);user-select:none;-webkit-user-drag:none;transition:filter .2s}.gift-label{font-size:11px;font-weight:650;line-height:1.3;color:#8a697a;white-space:nowrap;letter-spacing:-.15px}.gift.caught{opacity:0!important;transition:none!important}.scene.extracting .gift,.scene.throwing .gift,.scene.impact .gift{opacity:.35;transition:opacity .2s}.basket{position:absolute;bottom:82px;left:50%;width:85%;height:auto;max-height:24%;object-fit:contain;pointer-events:none;transform:translateX(-50%);transform-origin:50% 80%;filter:drop-shadow(0 6px 5px #9e7d7e14);transition:bottom .5s cubic-bezier(.2,.8,.2,1);will-change:transform}.basket-back{z-index:3}.basket-front{z-index:9;clip-path:polygon(0 27%,10% 44%,25% 54%,40% 59%,50% 60%,65% 58%,82% 49%,94% 35%,100% 27%,100% 100%,0 100%)}.playing .basket{bottom:21px}.basket-light{position:absolute;left:23%;right:23%;bottom:110px;height:18px;background:#fff3d9;filter:blur(16px);border-radius:50%;opacity:.3;z-index:1}.catch-zone{position:absolute;top:43%;height:96px;left:0;right:0;transform:translateY(-50%);pointer-events:none;z-index:8}.grabber{position:absolute;top:0;width:128px;height:90px;will-change:transform;opacity:0;transform-origin:0 50%}.grabber.left{left:0}.grabber.right{right:0}.hand-svg{position:absolute;inset:0;width:128px;height:86px;overflow:visible;filter:drop-shadow(0 4px 3px #584f7416)}.forearm{position:absolute;left:-79px;top:25px;width:116px;height:34px;object-fit:fill;z-index:-1}.finger-root,.finger-tip{transform-origin:var(--pivot);transform:rotate(var(--angle,0deg));will-change:transform}.catch-flash{position:absolute;width:140px;height:140px;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(#fff5c7aa,transparent 65%);opacity:0;z-index:-1}.scene.grabbing .catch-flash{animation:flash .42s ease-out}.captured-prize{position:absolute;top:0;left:50%;display:flex;align-items:center;justify-content:center;z-index:7;will-change:transform;pointer-events:none}.captured-prize img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 10px 8px #88657825)}.spin-controls{position:absolute;bottom:17px;left:0;right:0;padding:0 24px;z-index:12;pointer-events:none}.spin-button{pointer-events:auto;display:flex;align-items:center;justify-content:center;gap:13px;width:100%;height:55px;border-radius:20px;background:#e96598;color:white;font-size:17px;font-weight:720;letter-spacing:-.2px;box-shadow:0 5px 14px #d8659824,inset 0 1px 0 #ffffff27;transition:background .16s,transform .2s,opacity .22s,filter .18s}.spin-button:hover{background:#e65a91}.spin-button:active{transform:scale(.98)}.spin-button:disabled{cursor:default}.playing .spin-controls .spin-button{opacity:0;transform:translateY(75px) scale(.88);pointer-events:none;transition:opacity .18s,transform .4s cubic-bezier(.5,-.2,.8,.2)}.spin-cost{display:flex;align-items:center;gap:3px;font-size:12px;font-weight:550;padding-left:12px;border-left:1px solid #ffffff40;opacity:.9}.spin-cost svg{height:14px;width:14px}.tabbar{display:grid;grid-template-columns:1fr 1fr 1.15fr 1fr 1fr;align-items:center;padding:2px 12px 0;background:#fdfcfd;border-top:1px solid #eee9ed;z-index:20}.tabbar button{position:relative;height:62px;background:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#a49aa2;padding:4px 0;font-size:9px;font-weight:600;line-height:1.2;letter-spacing:-.1px}.nav-symbol{height:30px;width:43px;display:grid;place-items:center;border-radius:11px;transition:color .16s,background .16s}.nav-symbol svg{width:22px;height:22px;stroke-width:1.8}.tabbar .selected{color:#d8528c}.tabbar .selected .nav-symbol{background:#fae8f0}.roulette-tab .nav-symbol{height:35px;width:45px;margin-top:-5px}.roulette-tab .nav-symbol svg{height:25px;width:25px}.tabbar i{position:absolute;width:4px;height:4px;background:#e85d94;border-radius:50%;right:22px;top:8px}.legal{display:flex;justify-content:center;align-items:center;gap:2px;background:#fdfcfd;font-size:7.5px;color:#b4a9b1;white-space:nowrap;padding-bottom:4px;z-index:20}.legal a{padding:6px 0;color:inherit;text-decoration:underline;text-underline-offset:2px}.scroll-view{background:#faf9fa;overflow-y:auto;overscroll-behavior:contain;padding:25px 22px 28px;scrollbar-width:none}.scroll-view>h1{font-size:27px;letter-spacing:-.8px;font-weight:740;color:#54434f;margin:0 0 24px}.game-card{position:relative;display:flex;align-items:center;gap:17px;width:100%;padding:12px;background:#fff;border:1px solid #eee8ed;border-radius:24px;text-align:left;color:#5c4856}.game-thumb{display:block;position:relative;width:108px;height:116px;flex-shrink:0;background:radial-gradient(#fffefb,#f3edf4);border-radius:17px;overflow:hidden}.thumb-prize{position:absolute;object-fit:contain;left:34px;top:7px;width:42px;height:70px;rotate:-8deg}.thumb-basket{position:absolute;left:6px;bottom:7px;width:96px}.game-copy{flex:1}.game-copy strong{font-size:17px;letter-spacing:-.4px;font-weight:700}.card-arrow{width:21px;color:#b69baa;padding-right:5px}.card-arrow svg{width:19px;height:19px}.prize-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.prize-card{min-height:166px;border-radius:21px;background:#fff;border:1px solid #eee7ed;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:14px 12px;gap:10px}.prize-card img{height:115px;width:115px;object-fit:contain}.prize-card.phone img,.prize-card.dryer img{width:90px}.prize-card.spin img,.prize-card.ticket img{height:90px;width:90px}.prize-card b{font-size:11px;font-weight:600}.task{padding:18px 14px;border-radius:20px;border:1px solid #eee6ec;background:white;display:flex;align-items:center;gap:12px;margin-bottom:12px}.task-mark{height:32px;width:32px;border-radius:11px;background:#faebf2;display:grid;place-items:center;color:#db80a7;font-size:18px}.task-body{flex:1}.task h2{font-size:12px;font-weight:650;margin:0 0 6px}.task p{font-size:10px;color:#bca7b3;margin:0;font-variant-numeric:tabular-nums}.task button{padding:10px 12px;min-width:68px;font-size:10px;font-weight:600;background:#fae7f0;color:#c75c8c;border-radius:11px}.task button:disabled{background:#f6f1f4;color:#bfafba}.empty{min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:#bc9eae;font-size:13px}.empty img{width:118px;height:100px;object-fit:contain;opacity:.7}.top-row{display:flex;align-items:center;gap:12px;padding:13px 10px;border-bottom:1px solid #eee7eb}.top-row img{height:49px;width:49px;object-fit:contain}.top-row .rank{font-size:12px;font-weight:650;color:#c689a7;width:19px}.top-row div{font-size:12px;font-weight:600;flex:1}.top-row time{font-size:9px;font-weight:400;color:#b49eaa;display:block;margin-top:6px}.win-screen{position:absolute;inset:0;z-index:15;background:#fff8fb;display:flex;align-items:center;justify-content:center;overflow:hidden}.close{position:absolute;right:17px;top:13px;height:32px;width:32px;border-radius:50%;background:#f3e6ed;color:#b08b9f;font-size:24px;line-height:1;z-index:5}.win-content{width:100%;padding:0 30px 25px;text-align:center;z-index:3;position:relative;animation:win-in .55s cubic-bezier(.15,.85,.2,1)}.win-eyebrow{font-size:16px;font-weight:600;color:#bd789b;margin:0 0 12px}.win-art{height:260px;margin:0 -6px;display:flex;align-items:center;justify-content:center;position:relative}.win-art>img{width:73%;height:77%;object-fit:contain;filter:drop-shadow(0 12px 12px #b2638220);animation:prize-in .75s cubic-bezier(.15,.85,.2,1)}.win-content h1{font-size:32px;font-weight:750;letter-spacing:-1px;color:#944c70;line-height:1.1;margin:18px 0 35px}.win-content>.spin-button{margin:auto;max-width:270px}.win-sun{position:absolute;inset:-25%;background:repeating-conic-gradient(from 0deg,#fff7fb00 0deg 15deg,#fff 15deg 30deg);opacity:.65;animation:sun 40s linear infinite}.confetti,.impact-particles{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:11}.confetti i{position:absolute;top:-20px;left:var(--x);height:11px;width:5px;border-radius:2px;background:var(--color);animation:fall var(--duration) ease-out var(--delay) both}.impact-particles img{position:absolute;left:50%;top:var(--y);width:22px;height:22px;object-fit:contain;animation:pop .65s cubic-bezier(.1,.6,.3,1) both}.impact .basket{animation:basket-hit .55s ease-out}.paused .decoration,.paused .win-sun{animation-play-state:paused}[hidden]{display:none!important}@keyframes drift{from{translate:-2px -8px;rotate:-8deg}to{translate:4px 8px;rotate:8deg}}@keyframes flash{0%{opacity:0;scale:.5}35%{opacity:1}100%{opacity:0;scale:1.4}}@keyframes basket-hit{0%{transform:translateX(-50%) scale(1,1)}20%{transform:translateX(-50%) translateY(5px) scale(1.045,.91)}48%{transform:translateX(-50%) translateY(-5px) scale(.98,1.04)}75%{transform:translateX(-50%) translateY(1px) scale(1.01,.99)}100%{transform:translateX(-50%)}}@keyframes pop{from{opacity:1;transform:translate(-50%,0) scale(.3)}to{opacity:0;transform:translate(calc(-50% + var(--dx)),var(--dy)) rotate(var(--r)) scale(.8)}}@keyframes win-in{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}@keyframes prize-in{0%{opacity:0;transform:scale(.55) rotate(-12deg)}70%{opacity:1;transform:scale(1.04) rotate(2deg)}100%{transform:scale(1) rotate(0)}}@keyframes sun{to{transform:rotate(360deg)}}@keyframes fall{to{opacity:0;transform:translate(20px,730px) rotate(550deg)}}@media(min-width:600px){.app{height:calc(100dvh - 32px);max-height:940px;border-radius:28px;border:1px solid #e7e1e6}}@media(max-height:720px){.app{grid-template-rows:52px minmax(0,1fr) 63px 24px}.header{padding:0 17px}.scene-title{font-size:22px;top:8px}.basket{bottom:73px;max-height:22%}.spin-controls{bottom:14px;padding:0 21px}.spin-button{height:49px;border-radius:17px}.tabbar button{height:58px}.scene-title{font-size:22px}.win-art{height:200px}.win-content h1{font-size:27px;margin-bottom:26px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.decoration{animation:none!important}}
.basket-loot{position:absolute;bottom:82px;left:50%;width:85%;aspect-ratio:1900/828;max-height:24%;transform:translateX(-50%);z-index:4;pointer-events:none;transition:bottom .5s cubic-bezier(.2,.8,.2,1)}.playing .basket-loot{bottom:21px}.basket-loot img{position:absolute;object-fit:contain;filter:drop-shadow(0 4px 3px #75536315)}.loot-phone{left:14%;bottom:37%;height:78%;width:28%;rotate:-17deg}.loot-console{left:38%;bottom:36%;height:74%;width:34%;rotate:2deg}.loot-dryer{right:10%;bottom:34%;height:76%;width:28%;rotate:17deg}.impact .basket-loot{animation:basket-hit .55s ease-out}.h1{width:62px;opacity:.29}.h2{width:49px;opacity:.22}.f1{width:75px;opacity:.25}.f2{width:66px;opacity:.27}.thumb-prize{left:18px;top:14px;width:30px;height:64px;z-index:1}.thumb-console{position:absolute;left:44px;top:12px;height:69px;width:46px;object-fit:contain;rotate:8deg}.thumb-dryer{position:absolute;left:70px;top:22px;height:53px;width:27px;object-fit:contain;rotate:18deg}.thumb-basket{z-index:2}.win-art>img{max-height:260px}@media(max-height:720px){.basket-loot{bottom:73px;max-height:22%}}
.stream{clip-path:inset(58px 0 98px);mask-image:linear-gradient(to bottom,transparent 50px,#000 84px,#000 calc(100% - 130px),transparent calc(100% - 98px));-webkit-mask-image:linear-gradient(to bottom,transparent 50px,#000 84px,#000 calc(100% - 130px),transparent calc(100% - 98px))}.playing .stream{clip-path:inset(0 0 38px);mask-image:linear-gradient(to bottom,transparent,#000 38px,#000 calc(100% - 65px),transparent calc(100% - 38px));-webkit-mask-image:linear-gradient(to bottom,transparent,#000 38px,#000 calc(100% - 65px),transparent calc(100% - 38px))}
/* Slow, restrained idle motion. The right rig mirrors around its own center. */
.grabber{transform-origin:50% 50%}.basket{width:90%;height:auto;max-height:none;aspect-ratio:1900/828;object-fit:fill}.basket-front{clip-path:url(#basket-front-mask)}.asset-masks{position:absolute;pointer-events:none}.header{background:linear-gradient(to bottom,#f8f6f4 60%,#f8f6f400)}.scene:before{content:"";position:absolute;top:0;left:0;right:0;height:56px;background:linear-gradient(#f8f6f4 10%,#f8f6f480 50%,#f8f6f400);z-index:5;pointer-events:none}.playing .scene:before{height:34px}.scene-title{z-index:6}.stream{clip-path:inset(62px 0 100px);mask-image:linear-gradient(to bottom,transparent 20px,#000 56px,#000 calc(100% - 135px),transparent calc(100% - 100px));-webkit-mask-image:linear-gradient(to bottom,transparent 20px,#000 56px,#000 calc(100% - 135px),transparent calc(100% - 100px))}.playing .stream{clip-path:inset(0 0 35px);mask-image:linear-gradient(to bottom,transparent,#000 34px,#000 calc(100% - 75px),transparent calc(100% - 35px));-webkit-mask-image:linear-gradient(to bottom,transparent,#000 34px,#000 calc(100% - 75px),transparent calc(100% - 35px))}.game-card{display:block;padding:18px 20px 22px;background:#f5eef3;border:0;border-radius:27px}.game-preview{display:block;position:relative;width:100%;height:235px;overflow:hidden}.game-preview img{position:absolute;object-fit:contain}.preview-basket{left:0;bottom:8px;width:100%;height:auto;aspect-ratio:1900/828;object-fit:fill!important}.preview-back{z-index:1}.preview-front{z-index:4;clip-path:url(#basket-front-mask)}.preview-phone{left:15%;bottom:43px;height:139px;width:26%;rotate:-12deg;z-index:2}.preview-console{left:37%;bottom:41px;height:150px;width:36%;rotate:2deg;z-index:2}.preview-dryer{right:9%;bottom:43px;height:134px;width:25%;rotate:14deg;z-index:2}.preview-decor{right:6%;top:4px;width:60px;height:60px;opacity:.2}.game-name{display:block;font-size:22px;font-weight:750;letter-spacing:-.6px;margin-top:16px;color:#774e65}.card-arrow{position:absolute;right:23px;bottom:26px;color:#b18c9f}.card-arrow svg{height:21px;width:21px}
.stream{clip-path:inset(0 0 100px)}
/* Hands use the visible prize contour as their contact target. */
.catch-zone{inset:0;height:auto;transform:none}.grabber,.grabber.left,.grabber.right{top:0;left:0;right:auto;width:110px;height:74px;transform-origin:0 0}.hand-svg{width:110px;height:73.333px}.forearm{left:-68px;top:21px;width:100px;height:29px}.scene.extracting .drum,.scene.throwing .drum,.scene.impact .drum{transform:scale(.89)}
.app:not([data-ready]) .gift{visibility:hidden!important}.review-freeze .drum,.review-freeze .basket,.review-freeze .scene-title,.review-freeze .spin-button{transition:none!important}
/* Articulated hands and the held prize share a depth-tested 3D scene. */
.hands-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:8;pointer-events:none}.catch-zone{display:none}.hands-ready .captured-prize{opacity:0}.scene.preparing .drum{transform:scale(.89)}

.basket{width:82%}

/* One physical scale for scene assets; navigation retains its touch targets. */
.app{--scene-scale:1;--control-height:max(44px,calc(55px * var(--scene-scale)));min-height:min(530px,100dvh)}
.scene-title{top:calc(12px * var(--scene-scale));font-size:clamp(19px,calc(25px * var(--scene-scale)),25px)}
.scene:before{height:calc(56px * var(--scene-scale))}
.playing .scene:before{height:calc(34px * var(--scene-scale))}
.gift{gap:calc(4px * var(--scene-scale))}
.gift img{position:absolute;left:50%;top:50%;width:calc(var(--art-width,125px) * var(--scene-scale));height:calc(var(--art-height,125px) * var(--scene-scale));max-height:none;flex-shrink:0;transform:translate(calc(-50% + var(--art-x,0px) * var(--scene-scale)),calc(-50% + var(--art-y,0px) * var(--scene-scale)));filter:drop-shadow(0 calc(7px * var(--scene-scale)) calc(5px * var(--scene-scale)) #84657515)}
.gift-label{position:absolute;top:calc(50% + 70px * var(--scene-scale));font-size:clamp(9px,calc(11px * var(--scene-scale)),11px)}
.basket{width:min(76%,calc(334.4px * var(--scene-scale)));bottom:calc(var(--control-height) + 27px * var(--scene-scale))}
.playing .basket{bottom:calc(21px * var(--scene-scale))}
.basket-light{bottom:calc(var(--control-height) + 55px * var(--scene-scale));height:calc(18px * var(--scene-scale));filter:blur(calc(16px * var(--scene-scale)))}
.h1{width:calc(62px * var(--scene-scale))}.h2{width:calc(49px * var(--scene-scale))}.f1{width:calc(75px * var(--scene-scale))}.f2{width:calc(66px * var(--scene-scale))}
.stream{clip-path:inset(0 0 calc(100px * var(--scene-scale)));mask-image:linear-gradient(to bottom,transparent calc(20px * var(--scene-scale)),#000 calc(56px * var(--scene-scale)),#000 calc(100% - 135px * var(--scene-scale)),transparent calc(100% - 100px * var(--scene-scale)));-webkit-mask-image:linear-gradient(to bottom,transparent calc(20px * var(--scene-scale)),#000 calc(56px * var(--scene-scale)),#000 calc(100% - 135px * var(--scene-scale)),transparent calc(100% - 100px * var(--scene-scale)))}
.playing .stream{clip-path:inset(0 0 calc(35px * var(--scene-scale)));mask-image:linear-gradient(to bottom,transparent,#000 calc(34px * var(--scene-scale)),#000 calc(100% - 75px * var(--scene-scale)),transparent calc(100% - 35px * var(--scene-scale)));-webkit-mask-image:linear-gradient(to bottom,transparent,#000 calc(34px * var(--scene-scale)),#000 calc(100% - 75px * var(--scene-scale)),transparent calc(100% - 35px * var(--scene-scale)))}
.spin-controls{bottom:calc(17px * var(--scene-scale));padding:0 calc(24px * var(--scene-scale))}
.spin-button{height:var(--control-height);font-size:clamp(15px,calc(17px * var(--scene-scale)),17px);border-radius:clamp(14px,calc(20px * var(--scene-scale)),20px)}
.spin-controls .spin-button{max-width:calc(392px * var(--scene-scale));margin-inline:auto}
.playing .spin-controls .spin-button{transform:translateY(calc(75px * var(--scene-scale))) scale(.88)}
.impact-particles img{width:calc(22px * var(--scene-scale));height:calc(22px * var(--scene-scale))}
.win-content{padding:0 clamp(18px,calc(30px * var(--scene-scale)),30px) calc(25px * var(--scene-scale))}
.win-art{height:calc(260px * var(--scene-scale));margin:0 calc(-6px * var(--scene-scale))}
.win-art>img{max-height:calc(260px * var(--scene-scale))}
.win-eyebrow{font-size:clamp(14px,calc(16px * var(--scene-scale)),16px);margin-bottom:calc(12px * var(--scene-scale))}
.win-content h1{font-size:clamp(24px,calc(32px * var(--scene-scale)),32px);margin:calc(18px * var(--scene-scale)) 0 calc(35px * var(--scene-scale))}
.win-content>.spin-button{max-width:max(210px,calc(270px * var(--scene-scale)))}
.game-preview{height:calc(235px * var(--scene-scale))}
.preview-basket{bottom:calc(8px * var(--scene-scale))}
.preview-phone{bottom:calc(43px * var(--scene-scale));height:calc(139px * var(--scene-scale))}
.preview-console{bottom:calc(41px * var(--scene-scale));height:calc(150px * var(--scene-scale))}
.preview-dryer{bottom:calc(43px * var(--scene-scale));height:calc(134px * var(--scene-scale))}
.preview-decor{width:calc(60px * var(--scene-scale));height:calc(60px * var(--scene-scale))}
.prize-grid{gap:clamp(8px,calc(12px * var(--scene-scale)),12px)}
.prize-card{min-height:calc(166px * var(--scene-scale));padding:calc(14px * var(--scene-scale)) calc(12px * var(--scene-scale));gap:calc(10px * var(--scene-scale))}
.prize-card img{height:calc(115px * var(--scene-scale));width:calc(115px * var(--scene-scale))}
.prize-card.phone img,.prize-card.dryer img{width:calc(90px * var(--scene-scale))}
.prize-card.spin img,.prize-card.ticket img{height:calc(90px * var(--scene-scale));width:calc(90px * var(--scene-scale))}
.empty img{width:calc(118px * var(--scene-scale));height:calc(100px * var(--scene-scale))}

/* Compact bottom navigation. Legal copy belongs to the entry panel. */
.app{--header-height:58px;--nav-height:56px;--nav-button-height:48px;grid-template-rows:var(--header-height) minmax(0,1fr) calc(var(--nav-height) + env(safe-area-inset-bottom,0px))}
.tabbar{min-height:0;padding:0 10px env(safe-area-inset-bottom,0px);align-items:center}
.tabbar button{height:var(--nav-button-height);min-height:44px;min-width:44px;padding:2px 0;gap:2px;font-size:9px;line-height:10px}
.nav-symbol{width:40px;height:26px;border-radius:10px}
.nav-symbol svg{width:20px;height:20px}
.roulette-tab .nav-symbol{width:42px;height:28px;margin-top:0}
.roulette-tab .nav-symbol svg{width:22px;height:22px}
.tabbar i{top:6px;right:calc(50% - 19px)}
@media(max-height:720px){.app{--header-height:52px;--nav-height:52px;--nav-button-height:44px}}

.sound-toggle{width:28px;height:34px;flex-shrink:0;padding:5px;background:transparent;color:#97617d;display:grid;place-items:center;border-radius:9px}.sound-toggle svg{width:18px;height:18px;stroke-width:1.7}.sound-toggle .sound-off{display:none}.sound-toggle[aria-pressed="false"] .sound-on{display:none}.sound-toggle[aria-pressed="false"] .sound-off{display:block}.balances{align-items:center;gap:9px}@media(max-width:350px){.header{gap:8px;padding-inline:14px}.balances{gap:6px}.wordmark{font-size:15px}.balance{font-size:11px}}

.view:not(.active) .gift{visibility:hidden!important}

/* Idle artwork and captions start below both the title and account balances. */
#roulette-view:not(.playing) #stream{
 clip-path:inset(var(--idle-stream-top,80px) 0 calc(100px * var(--scene-scale)));
 mask-image:linear-gradient(to bottom,transparent var(--idle-stream-top,80px),#000 calc(var(--idle-stream-top,80px) + 28px * var(--scene-scale)),#000 calc(100% - 135px * var(--scene-scale)),transparent calc(100% - 100px * var(--scene-scale)));
 -webkit-mask-image:linear-gradient(to bottom,transparent var(--idle-stream-top,80px),#000 calc(var(--idle-stream-top,80px) + 28px * var(--scene-scale)),#000 calc(100% - 135px * var(--scene-scale)),transparent calc(100% - 100px * var(--scene-scale)));
}
