.b2-wheel-page{background:radial-gradient(ellipse at 50% 20%,#213d4b,#111d29 65%);color:#fff4d5;padding:18px 12px 25px;min-height:calc(100dvh - 160px);box-sizing:border-box}.b2-wheel-balance{text-align:center;font-size:14px;margin:0 0 14px}.b2-wheel-balance img,.b2-wheel-spin img{width:25px;height:25px;object-fit:contain;vertical-align:middle}.b2-wheel-stage{position:relative;width:min(100%,460px);aspect-ratio:1;margin:auto;filter:none}.b2-wheel-disc{display:block;width:100%;height:100%;will-change:auto}.b2-wheel-pointer{position:absolute;z-index:3;top:-6px;left:calc(50% - 13px);width:0;height:0;border-left:13px solid transparent;border-right:13px solid transparent;border-top:32px solid #ffe6a3;filter:drop-shadow(0 2px 2px #301400)}.b2-wheel-hub{position:absolute;inset:34%;border-radius:50%;border:5px ridge #f6d89a;background:radial-gradient(circle at 40% 25%,#248fc9,#063655 60%,#041d31);box-shadow:0 0 0 3px #443326,0 4px 10px #000a;display:flex;flex-direction:column;align-items:center;justify-content:center;text-shadow:0 2px 3px #000}.b2-wheel-hub img{width:37%;height:30%;object-fit:contain}.b2-wheel-hub strong{font-size:clamp(22px,6vw,36px);line-height:1.1;color:#d1f5ff}.b2-wheel-hub span{font-size:clamp(8px,2.3vw,12px);letter-spacing:1px}.b2-wheel-cost{text-align:center;font-size:13px;color:#e6cf9b;margin:14px 0 10px}.b2-wheel-form{text-align:center}.b2-wheel-spin{min-height:48px;min-width:210px;background:linear-gradient(#ffe09b,#d99a28 50%,#93601b);border:2px solid #f8db99;box-shadow:inset 0 0 0 2px #966523,0 4px 8px #0008;color:#2d1c09;font-size:18px;font-weight:bold;border-radius:7px;padding:8px 24px;cursor:pointer}.b2-wheel-spin:disabled{filter:grayscale(.8);opacity:.65;cursor:default}.b2-wheel-result{padding:13px;border:1px solid #e6c276;border-radius:7px;text-align:center;background:#193d37;margin:10px 0;display:flex;flex-direction:column;gap:5px}.b2-wheel-result strong{color:#fff0a7;font-size:20px}.b2-wheel-help{text-align:center;color:#ffd299}.b2-wheel-odds{margin:20px 0 0;border:1px solid #74684d;border-radius:6px;background:#ffffff08;padding:12px}.b2-wheel-odds summary{cursor:pointer;color:#f7d99c;font-weight:bold}.b2-wheel-odds p{font-size:12px;line-height:1.5;color:#dbdbd0}.b2-wheel-odds ul{padding:0;margin:0;list-style:none}.b2-wheel-odds li{display:flex;justify-content:space-between;align-items:center;padding:7px 0;border-bottom:1px solid #ffffff16;font-size:12px;gap:8px}.b2-wheel-odds li span{display:flex;align-items:center;gap:7px}.b2-wheel-odds img,.b2-wheel-history img{width:24px;height:24px;object-fit:contain;vertical-align:middle}.b2-wheel-history{margin:20px 0 0;font-size:12px}.b2-wheel-history h3{font-size:14px;color:#f7d99c}.b2-wheel-history p{display:flex;gap:8px;align-items:center}.wk-window-apps:has(.b2-wheel-fab){width:198px;gap:10px;flex-wrap:wrap}.b2-wheel-mini{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;border:3px ridge #ffda7b;background:conic-gradient(#a35d0c 0deg 90deg,#285d30 90deg 180deg,#124f7d 180deg 270deg,#6a3118 270deg);box-shadow:0 2px 3px #0009;color:#fff2ae;font-size:25px}.b2-wheel-fab b{color:#fff}.b2-wheel-stage[data-spinning="1"]+.b2-wheel-cost{opacity:.7}@media(prefers-reduced-motion:reduce){.b2-wheel-disc{will-change:auto}}@media(max-width:350px){.wk-window-apps:has(.b2-wheel-fab){width:128px}.b2-wheel-page{padding-left:8px;padding-right:8px}}

.page.b2-wheel-page{background:radial-gradient(ellipse at 50% 20%,#213d4b,#111d29 65%);color:#fff4d5}.b2-wheel-balance{display:flex;align-items:center;justify-content:center;gap:6px}.b2-wheel-spin img{display:inline-block}.b2-wheel-page .b2-wheel-odds summary{color:#f7d99c}.b2-wheel-page .b2-wheel-odds li b{color:#fff4d5}

main.page.b2-wheel-page{background-color:#111d29!important;background-image:radial-gradient(ellipse at 50% 20%,#213d4b,#111d29 65%)!important}

.b2-wheel-page{width:100%;max-width:var(--w,560px)}.b2-wheel-spin{height:auto;line-height:1.4}

.b2-wheel-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.b2-wheel-actions .b2-wheel-spin{min-width:0;display:flex;align-items:center;justify-content:center;gap:10px;padding:10px 7px;margin-top:0}.b2-wheel-actions .b2-wheel-spin>b{font-size:23px}.b2-wheel-actions .b2-wheel-spin>span{font-size:15px;white-space:nowrap}.b2-wheel-actions .b2-wheel-spin img{width:22px;height:22px}.b2-wheel-batch{margin-top:20px;padding:14px 12px;border:1px solid #d6b46c;border-radius:9px;background:#183c35;scroll-margin-top:105px;outline:none}.b2-wheel-batch h2{font-size:18px;color:#ffedaa;text-align:center;margin:0 0 12px}.b2-wheel-batch ol{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0;margin:0}.b2-wheel-batch li{position:relative;display:grid;grid-template-columns:30px 1fr;align-items:center;gap:2px 6px;padding:12px 6px 8px;border-radius:6px;background:#0d2427;border:1px solid #56604c;font-size:11px}.b2-wheel-batch li>img{width:29px;height:29px;object-fit:contain;grid-row:1/3}.b2-wheel-batch li>strong{font-size:17px;color:#fff2bf}.b2-wheel-number{position:absolute;top:1px;right:5px;font-size:9px;color:#99b7ac}.b2-wheel-totals{border-top:1px solid #7d8d6f;margin-top:14px;padding-top:10px}.b2-wheel-totals h3{font-size:14px;color:#ffedaa;margin:0 0 8px}.b2-wheel-totals p{display:flex;align-items:center;gap:8px;margin:6px 0}.b2-wheel-totals img{width:24px;height:24px;object-fit:contain}@media(max-width:350px){.b2-wheel-actions{gap:7px}.b2-wheel-actions .b2-wheel-spin{gap:5px}.b2-wheel-actions .b2-wheel-spin>span{font-size:13px}}

.b2-wheel-hub{color:#fff4d5;padding:0;cursor:pointer;font:inherit;z-index:2;min-width:0;min-height:0;height:auto;margin:0}.b2-wheel-hub>b{font-size:clamp(10px,2.6vw,14px);color:#ffe8aa;margin-top:3px}.b2-wheel-hub:disabled{cursor:default;filter:grayscale(.5);opacity:.8}.b2-wheel-hub:focus-visible{outline:3px solid #fff;outline-offset:5px}.b2-wheel-actions{border:0;padding:0;margin:18px 0 0;min-width:0}.b2-wheel-actions legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.b2-wheel-choice{cursor:pointer;position:relative}.b2-wheel-choice input{position:absolute;opacity:0;width:1px;height:1px}.b2-wheel-choice>span{display:flex;align-items:center;justify-content:center;gap:8px;min-height:45px;background:#22343e;border:2px solid #6e6653;border-radius:7px;color:#eee2c3;font-size:16px}.b2-wheel-choice img{width:23px;height:23px;object-fit:contain}.b2-wheel-choice b{font-size:22px}.b2-wheel-choice input:checked+span{background:linear-gradient(#ffdda0,#ca8c22);color:#302009;border-color:#ffe7a5}.b2-wheel-choice input:focus-visible+span{outline:3px solid white;outline-offset:3px}.b2-wheel-choice input:disabled+span{opacity:.6}.resbar .ri>div:has(.b2-vault-hud){display:flex;flex-wrap:wrap;align-items:center;justify-content:center;column-gap:2px;line-height:1.15;font-size:clamp(9px,2.5vw,13px)}.resbar .b2-vault-hud,.resbar .b2-vault-hud *{color:#ff6464!important;text-shadow:0 1px 2px #000;font-weight:bold}.b2-vault-hud{white-space:nowrap}

.resbar .ri>div:has(.b2-vault-hud){display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:center;gap:2px}.resbar .b2-vault-hud{display:flex;align-items:baseline;gap:3px;min-width:0;max-width:100%}.resbar .b2-vault-hud .hud-amount{flex:1;min-width:0}.resbar .ri>div:has(.b2-vault-hud)>.hud-amount{width:100%}

/* Normal and wheel reserves share one compact line. */
.resbar .ri>div:has(.b2-vault-hud){display:flex;flex-direction:row;flex-wrap:nowrap;align-items:baseline;justify-content:flex-start;gap:2px;white-space:nowrap;font-size:clamp(8px,2.3vw,12px);letter-spacing:-.2px}
.resbar .b2-vault-hud{display:inline-flex;align-items:baseline;gap:2px;flex:none;white-space:nowrap}
.resbar .ri .b2-res-amount{display:inline;flex:none;font-size:inherit;line-height:1.15;white-space:nowrap;overflow:visible;text-overflow:clip}

/* A lightweight jewel-toned wheel: only the SVG rotates, never the page. */
.b2-wheel-page{background:radial-gradient(ellipse at 50% 15%,#203d50 0,#112333 40%,#0b1724 80%);padding-top:20px}
.b2-wheel-balance{width:fit-content;max-width:100%;margin:0 auto 24px;padding:9px 16px;background:#091724b3;border:1px solid #637585;border-radius:24px;color:#c9d8e1;font-size:13px;box-sizing:border-box}
.b2-wheel-balance strong{color:#fff2be;font-size:16px}.b2-wheel-balance img{width:22px;height:22px}
.b2-wheel-stage{border-radius:50%;box-shadow:0 12px 25px #0005;filter:none;isolation:isolate}
.b2-wheel-pointer{top:-8px;border-top-color:#ffe9a0;border-left-width:11px;border-right-width:11px;left:calc(50% - 11px);border-top-width:32px}
.b2-wheel-hub{inset:34%;background:radial-gradient(circle at 40% 25%,#287ca0,#103d5d 60%,#071d32);border:4px solid #edce87;box-shadow:0 0 0 3px #775322,inset 0 0 0 2px #ffffff30,0 5px 9px #0007;transition:border-color .15s,box-shadow .15s}
.b2-wheel-hub:not(:disabled):hover{border-color:#fff4c9;box-shadow:0 0 0 3px #ae8041,inset 0 0 0 2px #ffffff30,0 5px 9px #0007}
.b2-wheel-hub:not(:disabled):active{box-shadow:0 0 0 3px #775322,inset 0 3px 9px #0006}
.b2-wheel-hub img{width:33%;height:27%}.b2-wheel-hub strong{font-size:clamp(21px,6vw,33px)}
.b2-wheel-actions{max-width:400px;margin:24px auto 0;gap:12px}.b2-wheel-choice>span{border-radius:12px;border:1px solid #64758a;background:linear-gradient(#233b4e,#122536);min-height:52px;box-shadow:inset 0 1px #ffffff14;color:#d4dfeb}
.b2-wheel-choice input:checked+span{background:linear-gradient(#f6dc99,#d4a44c);border-color:#ffeabb;box-shadow:0 3px 10px #0003,inset 0 1px #fff8;color:#33230f}
.b2-wheel-cost{font-size:11px;color:#b1c2ce;letter-spacing:.2px;margin:12px 0 18px}.b2-wheel-result{background:linear-gradient(120deg,#234637,#162c31);border-color:#a4aa71;border-radius:12px}
.b2-wheel-batch{background:linear-gradient(145deg,#1a3443,#102431);border-color:#7b7355;border-radius:14px}.b2-wheel-batch li{background:linear-gradient(145deg,#244455,#112937);border-color:#506777;border-radius:10px;min-height:42px}.b2-wheel-batch h2{font-size:17px}.b2-wheel-totals{border-color:#526978}.b2-wheel-odds{border-color:#465d70;border-radius:12px;background:#09172460}.b2-wheel-odds li b{white-space:nowrap;font-size:11px}.b2-wheel-history{padding:0 8px}.b2-wheel-error{padding:12px;border:1px solid #dc9e73;border-radius:8px}
@media(max-width:380px){.b2-wheel-balance{font-size:12px;padding:8px 12px}.b2-wheel-actions{gap:8px}.b2-wheel-choice>span{font-size:14px}.b2-wheel-hub>b{margin-top:1px}}

/* Home shortcut stays below the resource bar, independent of scene zoom/panning. */
.b2-wheel-home{position:relative;height:0;z-index:7;pointer-events:none}.b2-wheel-home .b2-wheel-fab{position:absolute;top:15px;left:50%;transform:translateX(-50%);width:58px;pointer-events:auto;touch-action:manipulation;text-decoration:none;display:flex;align-items:center;flex-direction:column;gap:3px}.b2-wheel-home .b2-wheel-mini{box-sizing:border-box;width:44px;height:44px;border-width:4px;background:repeating-conic-gradient(#b87e26 0deg 30deg,#195782 30deg 60deg,#417448 60deg 90deg,#8b4625 90deg 120deg);position:relative;font-size:28px}.b2-wheel-home .b2-wheel-mini::before{content:"";position:absolute;top:-9px;left:12px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:11px solid #fff0b0;filter:drop-shadow(0 1px 1px #321900)}.b2-wheel-home .wk-round-slot{display:flex;align-items:center;justify-content:center}.b2-wheel-home .b2-wheel-fab b{font-size:11px;line-height:1.15;text-align:center;text-shadow:0 1px 2px #000,0 0 3px #000}.b2-wheel-home .b2-wheel-fab:focus-visible{outline:2px solid #fff1b3;outline-offset:4px;border-radius:5px}

.live-wheel-timer{display:block;font-variant-numeric:tabular-nums;font-weight:700;color:#ffe69b;text-align:center;white-space:nowrap}.b2-wheel-home .live-wheel-timer{font-size:12px;background:#17212bcc;border:1px solid #b99756;border-radius:5px;padding:2px 5px;text-shadow:0 1px 2px #000}.b2-wheel-page>.live-wheel-timer{margin:0 0 10px}.b2-wheel-fab.is-expired{pointer-events:none;opacity:.7}.b2-vault-hud{white-space:nowrap}

/* Keep each reserve immediately to the right of its own compact resource amount. */
.resbar .ri>div:has(.b2-vault-hud)>.hud-amount{width:auto;flex:0 0 auto;order:0}
.resbar .ri>div:has(.b2-vault-hud)>.b2-vault-hud{order:1;margin-left:2px;color:#ff5d5d}
