#wheel{display:none;overflow:auto;overscroll-behavior:contain;background:#080c1b;color:#eefbff;border:1px solid #37677e;border-radius:22px;text-align:left;scrollbar-width:thin}
#wheel.on{display:block}
#wheel *{box-sizing:border-box}
#wheel button{font-family:inherit;font-weight:800;cursor:pointer;touch-action:manipulation;margin:0;min-height:48px;line-height:1.5}
#wheel button:focus-visible{outline:3px solid #fff4aa;outline-offset:3px}
#wheel button:disabled{opacity:.45;cursor:default}
#wheel .w-page{min-height:100%;padding:0 14px 22px;background:radial-gradient(ellipse at 15% 25%,#07384677,transparent 65%),radial-gradient(ellipse at 95% 40%,#4c125a44,transparent 60%),#080c1b}
#wheel .w-nav{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;align-items:center;background:#080c1bf5;border-bottom:1px solid #25465c;margin:0 -14px;padding:3px 12px}
#wheel .w-back{width:auto;border:0;color:#c4e8f3;background:transparent;padding:7px 3px;font-size:15px}
#wheel .w-bank{font:800 17px/1.5 system-ui,sans-serif;color:#ffe394}
#wheel h1{font-size:27px;line-height:1.5;margin:15px 0 5px;color:#e7fbff;text-shadow:0 0 20px #51eaff55;letter-spacing:1px}
#wheel .w-scene{height:340px;margin:0 -6px;position:relative;overflow:hidden;border-radius:14px;background:radial-gradient(ellipse at 50% 45%,#183047,#050916 75%)}
#wheel .w-scene>canvas,#wheel .w-scene>svg{display:block;width:100%;height:100%}
#wheel .w-scene [data-wheel-fallback]{position:absolute;inset:0}
#wheel .w-render-note{font-size:14px;color:#c5dbe5;line-height:1.7;margin:8px 0}
#wheel .w-render-note:empty{display:none}
#wheel .w-render-note button{background:transparent;border:0;color:#7ef6ff;text-decoration:underline;font-size:14px;padding:0 5px}
#wheel .w-status{min-height:29px;text-align:center;margin:9px 0 12px;font-size:18px;line-height:1.6;color:#d3eaf8}
#wheel .w-result{padding:12px;border:1px solid #65e9f3;border-radius:12px;background:linear-gradient(125deg,#123543,#222041);box-shadow:0 0 22px #18d0ec19;text-align:center;margin:9px 0 14px}
#wheel .w-result[hidden]{display:none}
#wheel .w-result strong{font:900 36px/1.35 system-ui,sans-serif;color:#a4fbff}
#wheel .w-result span{display:block;font-size:19px;margin-top:4px;color:#fff2cf}
#wheel .w-primary{width:100%;min-height:58px;border:1px solid #84eff7;border-bottom:4px solid #207c9c;border-radius:11px;color:#06131e;background:linear-gradient(110deg,#99faff,#46d1ed);font-size:21px;padding:11px;box-shadow:0 0 26px #21d8fb24}
#wheel .w-secondary{width:100%;background:#19243d;border:1px solid #769bb3;color:#e7f9ff;border-radius:10px;font-size:18px;padding:10px;margin-top:12px}
#wheel .w-collect{background:linear-gradient(110deg,#c2afff,#f0b9ff);border-color:#ead5ff;border-bottom-color:#7856ae;color:#1a1231}
#reward .wheel-enter{width:100%;min-height:58px;margin-top:14px;border:1px solid #8fefff;border-bottom:4px solid #2b6c91;border-radius:12px;background:linear-gradient(120deg,#173955,#362452);color:#d2fbff;font-size:18px;box-shadow:0 0 20px #4cdbff1a}
#reward .back,#gacha .back{min-width:48px;min-height:48px}
#reward #openParent{min-height:48px}
@media(max-width:360px){#wheel .w-page{padding-left:10px;padding-right:10px}#wheel .w-nav{margin-left:-10px;margin-right:-10px;padding:3px 10px}#wheel h1{font-size:24px;margin-top:12px}#wheel .w-scene{height:300px;margin:0 -3px}#wheel .w-status{font-size:17px;margin:8px 0}#wheel .w-primary{font-size:20px;min-height:54px}}
@media(prefers-reduced-motion:reduce){#wheel,#wheel *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

@media(max-width:350px){#gacha .coin-plate{width:52px}}
