@font-face{font-family:Chakra;src:url('fonts/ChakraPetch-SemiBold.ttf');font-weight:600;font-display:swap}*{box-sizing:border-box}html,body{margin:0;background:#100b19;color:#f6e8cd;font-family:-apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif}button{font:inherit;color:inherit;cursor:pointer;border:0;touch-action:manipulation}button:disabled{cursor:default;opacity:.45}button:focus-visible{outline:2px solid #fff1af;outline-offset:4px}[x-cloak]{display:none!important}.app{--gold:#ffca67;position:relative;height:100svh;min-height:640px;width:100%;max-width:500px;margin:auto;overflow:hidden;background:#100b19}.scene,.scene canvas,.poster{position:absolute;inset:0;width:100%;height:100%;display:block}.poster{object-fit:cover}.scene.ready .poster{display:none}.scene.failed canvas{display:none}.topbar{position:absolute;top:4.2%;left:7.5%;right:7.5%;display:flex;align-items:center;justify-content:space-between;z-index:2}.wallet{display:flex;align-items:center;gap:7px}.wallet img{width:36px;height:36px;object-fit:contain}.wallet span{display:block;font-size:11px;color:#a89bb0;letter-spacing:2px}.balance{font:600 30px/1.2 Chakra,sans-serif;letter-spacing:.3px;color:#fff2ca;text-shadow:0 1px 8px #f8a74935}.supply{border:1px solid #91744766;border-radius:8px;background:#32243488;padding:8px 13px;color:#e5bb75;font:600 17px Chakra,sans-serif;min-height:40px}.machine-mark{position:absolute;top:17.6%;left:19%;right:19%;display:flex;align-items:center;gap:13px;justify-content:center;font-weight:500;font-size:17px;letter-spacing:5px;color:#e5c693;text-shadow:0 1px #000;pointer-events:none}.mark-line{height:1px;flex:1;background:linear-gradient(90deg,transparent,#b6965b)}.mark-line:last-child{transform:rotate(180deg)}.reel-access{position:absolute;inset:26% 12% 37%;pointer-events:none}.lever-hit{position:absolute;right:0;top:31%;width:48px;height:235px;opacity:1!important;background:transparent;touch-action:none}.first-hint{position:absolute;top:22.8%;left:0;right:0;text-align:center;color:#d9bf95;font-size:12px;pointer-events:none}.result{position:absolute;top:57.7%;left:13%;right:13%;height:65px;text-align:center;pointer-events:none}.result-name{color:#e4c28d;font-size:11px;letter-spacing:3px}.prize{display:flex;align-items:center;justify-content:center;gap:5px;font:600 40px/1.1 Chakra,sans-serif;color:#ffe3a0;text-shadow:0 0 22px #ffb64065}.prize>span{font-size:30px}.prize img{width:35px;height:35px}.quiet-result{color:#ad9fae;font-size:13px;margin:23px 0}.stop-lamps{display:flex;justify-content:center;gap:15px;padding-top:31px}.stop-lamps i{width:8px;height:8px;border-radius:50%;background:#332335;box-shadow:0 0 0 2px #171019}.stop-lamps i.on{background:#ffcb66;box-shadow:0 0 15px #ffb22d}.status-strip{position:absolute;bottom:23%;left:10%;right:10%;text-align:center;font-size:12px;line-height:1.4;background:#342031e8;border:1px solid #856d4d55;padding:7px;border-radius:6px;z-index:5}.controls{position:absolute;bottom:10.7%;left:11%;right:11%;height:76px;display:flex;align-items:center;gap:19px}.bet-control{display:flex;align-items:center;justify-content:space-between;width:144px;height:64px;background:linear-gradient(#18121c,#281d2b);border:1px solid #846c4855;border-radius:11px;box-shadow:0 2px 0 #000,0 -1px 0 #d2b67c55}.bet-control button{height:56px;width:37px;background:transparent;color:#bb9762;font-size:23px;flex-shrink:0}.stake{text-align:center}.stake span{display:block;font-size:11px;color:#a79aa8}.stake b{font:600 26px Chakra,sans-serif;color:#e5d5be}.spin-button{position:relative;flex:1;height:68px;border-radius:17px;background:linear-gradient(135deg,#ffe7a3,#e9b452 55%,#f5d582);color:#423017;box-shadow:inset 0 2px 1px #fff3c3,inset 0 -3px 2px #bf8a32,0 7px 0 #775327,0 10px 20px #0009,0 0 25px #fca84325;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;font-size:17px;font-weight:700;transition:transform .12s,box-shadow .12s;min-width:110px}.spin-button:active:not(:disabled){transform:translateY(5px);box-shadow:inset 0 2px #fff4c5,0 2px 0 #775327}.spin-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.utility{position:absolute;bottom:3.3%;left:13%;right:13%;display:flex;align-items:center;gap:20px}.utility div{height:1px;flex:1;background:#8d745633}.utility button{background:transparent;color:#a79a98;height:44px;padding:0;font-size:12px}.utility svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linejoin:round}.coin-flight{position:absolute;inset:0;z-index:4;pointer-events:none;overflow:hidden}.flying-coin{position:absolute;width:32px;height:32px;object-fit:contain;filter:drop-shadow(0 0 5px #ffd17a)}.confetti{position:absolute;width:5px;height:9px;border-radius:1px}.rules-sheet{width:min(350px,92%);max-height:90svh;overflow:auto;border:1px solid #94764e;border-radius:18px;padding:22px;background:linear-gradient(135deg,#302332,#17101c);color:#edddc1;box-shadow:0 25px 80px #000a}.rules-sheet::backdrop{background:#08050dbb;backdrop-filter:blur(7px)}.sheet-head{display:flex;align-items:center;justify-content:space-between}.sheet-head h2{font-size:20px;margin:0}.sheet-head button{width:44px;height:44px;background:transparent;font-size:28px;color:#b5a299}.rules-sheet p{font-size:13px;line-height:1.8;color:#b5a7b4}.payout-row{display:flex;align-items:center;height:53px;border-bottom:1px solid #bda16e22;gap:13px;font-size:14px}.payout-row img{width:44px;height:44px;object-fit:contain}.payout-row b{margin-left:auto;font:600 23px Chakra;color:#f3c576}.sheet-close{width:100%;height:48px;margin-top:10px;border-radius:8px;background:#d9b46d;color:#2b1e18;font-weight:600}.app:not(.captured) .topbar{animation:enter .5s both}.app:not(.captured) .controls{animation:enter .55s .08s both}@keyframes enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.big-win .prize{font-size:44px;color:#ffebac}.big-win .result-name{color:#ffe1a0}@media(max-height:720px){.controls{bottom:9%;height:65px}.spin-button{height:60px}.result{top:57.5%}.prize{font-size:35px}.machine-mark{font-size:15px}.utility{bottom:1%}.first-hint{top:24%}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

.supply{display:flex;align-items:center;gap:7px;padding:8px 10px}.supply span{font:11px -apple-system,sans-serif;color:#ab9277}.supply b{font:600 16px Chakra,sans-serif}

.fallback-reels{display:none;position:absolute;top:24%;left:9.4%;right:9.4%;height:32.3%;background:#2e2739;pointer-events:none}.scene.failed .fallback-reels{display:grid;grid-template-rows:repeat(3,1fr)}.fallback-row{display:grid;grid-template-columns:repeat(3,1fr);align-items:center;background:linear-gradient(90deg,#17121c,#43384d,#17121c)}.fallback-row img{width:100%;height:86px;object-fit:contain}.fallback-row.hit{box-shadow:inset 0 1px #f9bd46,inset 0 -1px #f9bd46}.fallback-row.hit img{filter:drop-shadow(0 0 3px #ffc565)}

.big-win .result{top:57.5%}
.result{z-index:5}

.fallback-reels.has-win .fallback-row:not(.hit){filter:brightness(.30)}.fallback-row.hit{background:#513b33;box-shadow:inset 0 0 25px #f4bb4050}.fallback-row.hit img{transform:scale(1.085);filter:drop-shadow(0 0 5px #ffc565)}
