/* One 1080 × 1920 scene. cqw keeps every layer aligned at preview widths. */
body[data-wheel-presentation=studio]{margin:0;padding:0;background:transparent;color:#f7f8ff;font-family:Tahoma,"Segoe UI",Arial,sans-serif}
.studio-scene{width:min(100%,1080px);aspect-ratio:9/16;position:relative;isolation:isolate;container-type:inline-size;margin-inline:auto;overflow:hidden;background:transparent}
.scene-surface{position:absolute;z-index:-1;background:#090c16;pointer-events:none}
.scene-top{inset:0 0 auto;height:14.074074cqw;background:radial-gradient(ellipse at 12% 0,#251c42,transparent 65%),#0c0e19}
.scene-bottom{inset:66.990741cqw 0 0;background:radial-gradient(ellipse at 100% 100%,#211830,transparent 55%),#0b0e18}
.scene-side{top:14.074074cqw;width:2.962963cqw;height:52.916667cqw}.scene-left{left:0}.scene-right{right:0}
.studio-header{position:absolute;inset:2.962963cqw 2.962963cqw auto;height:8.888889cqw;display:flex;align-items:center;justify-content:space-between;gap:2cqw}
.studio-brand{display:flex;align-items:center;gap:1.481481cqw}.animated-brand{position:relative;display:block;flex:none;width:12.222222cqw;height:12.222222cqw;overflow:hidden;border-radius:1.296296cqw;background:#130d20;box-shadow:0 .462963cqw 2.777778cqw #864dd72a}.animated-brand video{position:absolute;left:0;bottom:0;width:100%;height:177.777778%;display:block;object-fit:fill;pointer-events:none}
.studio-brand h1{font:900 5.185185cqw/1.04 "Segoe UI",Arial,sans-serif;letter-spacing:.12cqw;color:#fff}.studio-brand h1 span{color:#bb8dff}.studio-brand p{font:700 1.851852cqw/1.5 "Segoe UI",Arial,sans-serif;letter-spacing:.15cqw;color:#aeb6ce;margin-top:.555556cqw;max-width:42cqw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right}
.studio-connection{display:flex;flex-direction:column;align-items:flex-end;gap:.555556cqw}.studio-status{display:inline-flex;align-items:center;gap:.740741cqw;padding:.648148cqw 1.296296cqw;border:1px solid #5c5b79;border-radius:4cqw;color:#c3ccdf;font-size:2.037037cqw;font-weight:700;line-height:1.3;white-space:nowrap}.studio-status:before{content:"";width:.648148cqw;height:.648148cqw;border-radius:50%;background:currentColor}.studio-status[data-state=live]{color:#83f4cf;border-color:#245b55;background:#102b2b}.studio-status[data-state=demo]{color:#ffe1a1;border-color:#675436;background:#30291e}.studio-status[data-state=offline]{color:#c4b8d9}.studio-demo-label{font-size:1.666667cqw;color:#eacb88;font-weight:700}
.game-window{position:absolute;left:2.962963cqw;top:14.074074cqw;width:94.074074cqw;height:52.916667cqw;background:transparent;border:.185185cqw solid #655181;border-radius:1.481481cqw;box-shadow:0 0 0 .462963cqw #10101d;overflow:hidden}
.game-guide{position:absolute;inset:0;background:linear-gradient(180deg,#16202b,#0d171f);overflow:hidden;color:#e6f6ff}.guide-horizon{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 58%,#38645d77,transparent 48%),linear-gradient(180deg,transparent 65%,#1d3b40 65.2%,transparent 65.6%);opacity:.8}.guide-horizon:after{content:"";position:absolute;inset:67% -30% -50%;background-image:linear-gradient(#71918e44 1px,transparent 1px),linear-gradient(90deg,#71918e44 1px,transparent 1px);background-size:4cqw 4cqw;transform:perspective(35cqw) rotateX(60deg);transform-origin:top center}.guide-game-badge{position:absolute;left:2.222222cqw;top:1.851852cqw;color:#91b9c8;font:700 1.666667cqw/1.4 "Segoe UI",Arial,sans-serif;letter-spacing:.2cqw}.game-guide-copy{position:absolute;inset:22% 8% auto;text-align:center}.game-crosshair{display:block;font:200 6.666667cqw/1 "Segoe UI",Arial,sans-serif;color:#6b9899}.game-guide-copy h2{font-size:4.259259cqw;line-height:1.4;margin:.740741cqw 0;color:#dcecf0}.game-guide-copy p{font-size:2.592593cqw;color:#9fbec7}.game-guide-copy>span:last-child{display:block;margin-top:1.111111cqw;font-size:1.851852cqw;color:#8ba8b4}.game-dimensions{position:absolute;bottom:1.851852cqw;inset-inline:2cqw;text-align:center;font:600 1.666667cqw/1.4 "Segoe UI",Arial,sans-serif;color:#8aa4b5}
.studio-rule{position:absolute;left:2.962963cqw;top:69.259259cqw;width:94.074074cqw;height:6.481481cqw;display:flex;align-items:center;gap:1.296296cqw;padding:0 2.222222cqw;border:1px solid #253443;border-radius:1.296296cqw;background:#101b24}.rule-heart{color:#62e5d0;font-size:3.333333cqw;line-height:1}.studio-rule p{flex:1;min-width:0;font-size:2.777778cqw;font-weight:800;color:#e9fdf7;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rule-tag{font-size:1.851852cqw;white-space:nowrap;color:#aabfc9;padding-inline-start:1.296296cqw;border-inline-start:1px solid #354652}
/* The freed chat area gives the wheel a full square panel below the game. */
.studio-wheel-panel{position:absolute;left:2.962963cqw;top:77.777778cqw;width:94.074074cqw;height:94.074074cqw;background:radial-gradient(ellipse at 50% 38%,#251d36,transparent 70%),#101422;border:1px solid #2e2941;border-radius:2.222222cqw;overflow:hidden;box-shadow:0 .740741cqw 2.962963cqw #0002}
body[data-wheel-presentation=studio] .wheel-overlay{width:100%;height:100%;text-shadow:none;position:relative;line-height:1.3}
body[data-wheel-presentation=studio] :is(#demoLabel,.wheel-rule,.eyebrow,.embedded-demo-controls,.wheel-overlay>footer){display:none!important}
body[data-wheel-presentation=studio] .wheel-header{position:absolute;left:2.777778cqw;right:2.777778cqw;top:1.851852cqw;height:5cqw;padding:0;gap:1cqw}
body[data-wheel-presentation=studio] .wheel-header h1{font-size:3.888889cqw;font-weight:900;line-height:1.25;letter-spacing:0;color:#f4edff}
body[data-wheel-presentation=studio] .wheel-status{font-size:2.037037cqw;padding:.555556cqw 1.111111cqw;border-radius:3cqw;max-width:28cqw;line-height:1.3}
body[data-wheel-presentation=studio] .wheel-stats{position:absolute;left:2.777778cqw;right:2.777778cqw;top:8.148148cqw;padding:0;display:flex;justify-content:center;gap:.555556cqw 2.777778cqw;font-size:2.222222cqw;line-height:1.4}
body[data-wheel-presentation=studio] .wheel-stats strong{font-size:2.962963cqw;color:#f6d58e}
body[data-wheel-presentation=studio] .wheel-stats>span:last-child{font-size:1.851852cqw;color:#adb6cd}
body[data-wheel-presentation=studio] .wheel-stage{position:absolute;left:17.037037cqw;top:12.5cqw;width:60cqw;height:60cqw;aspect-ratio:1;margin:0}
body[data-wheel-presentation=studio] .wheel-pointer{top:-.277778cqw;left:calc(50% - 1.851852cqw);width:3.703704cqw;height:4.444444cqw}
body[data-wheel-presentation=studio] .wheel-hub>span{font-size:2.222222cqw;line-height:1.3;color:#c9d9e9}
body[data-wheel-presentation=studio] .wheel-hub strong{font-size:5.185185cqw;line-height:1.2;color:#ffe09a}
body[data-wheel-presentation=studio] .wheel-hub>span:last-child{font-size:1.851852cqw}
body[data-wheel-presentation=studio] .wheel-legend{position:absolute;left:2.777778cqw;right:2.777778cqw;top:73.037037cqw;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.740741cqw 3.703704cqw;padding:0}
body[data-wheel-presentation=studio] .wheel-legend li{min-height:2.962963cqw;gap:.925926cqw;line-height:1.3}
body[data-wheel-presentation=studio] .legend-dot{width:.925926cqw;height:.925926cqw}
body[data-wheel-presentation=studio] .legend-name{font-size:2.962963cqw;color:#f4f2fb;line-height:1.15}
body[data-wheel-presentation=studio] .legend-count{font-size:2.592593cqw;line-height:1.25}
body[data-wheel-presentation=studio] .group-note{position:absolute;left:2.777778cqw;right:2.777778cqw;bottom:.370370cqw;padding:0;font-size:1.481481cqw;line-height:1.4;color:#a5aec5;text-align:center}
body[data-wheel-presentation=studio] .empty-message{position:absolute;left:7.407407cqw;right:7.407407cqw;top:79.629630cqw;padding:0;font-size:2.777778cqw;line-height:1.6;color:#c5d4e4;text-align:center}
body[data-wheel-presentation=studio] .wheel-message{position:absolute;left:7.407407cqw;right:7.407407cqw;top:86.111111cqw;padding:0;font-size:1.851852cqw;line-height:1.5;color:#e8bd8d;text-align:center}
body[data-wheel-presentation=studio] .spin-caption{font-size:2.777778cqw;line-height:1.4;bottom:7%;color:#fff0b8;text-shadow:0 1px 3px #000}
body[data-wheel-presentation=studio] .winner-result{inset:19% 7% auto}.winner-result strong{overflow-wrap:anywhere}
body[data-wheel-presentation=studio] .winner-star{font-size:6.481481cqw;line-height:1}
body[data-wheel-presentation=studio] .winner-caption{font-size:2.777778cqw;margin-top:.555556cqw}
body[data-wheel-presentation=studio] .winner-result strong{font-size:5.185185cqw;line-height:1.25;margin:.925926cqw 0 .555556cqw}
body[data-wheel-presentation=studio] .winner-result>span:last-of-type{font-size:2.222222cqw;line-height:1.3}
body[data-wheel-presentation=studio] .winner-result>p:last-child{font-size:2.407407cqw;margin-top:.925926cqw;line-height:1.4}
/* After a draw, reserve a separate row for previous winners. */
body[data-wheel-presentation=studio] .wheel-overlay[data-has-history=true] .wheel-stage{left:19.037037cqw;width:56cqw;height:56cqw}
body[data-wheel-presentation=studio] .legend-caption{position:absolute;left:2.777778cqw;right:2.777778cqw;top:68.518519cqw;padding:0;text-align:center;font-size:1.481481cqw;line-height:1.3;color:#a5aec5}
body[data-wheel-presentation=studio] .wheel-overlay[data-has-history=true] .wheel-legend{top:71.111111cqw}
body[data-wheel-presentation=studio] .winner-history{position:absolute;left:2.777778cqw;right:2.777778cqw;top:83.333333cqw;margin:0;padding:.740741cqw 0 0;border-color:#3a3448}
body[data-wheel-presentation=studio] .history-heading{font-size:1.851852cqw;line-height:1.4;gap:.5cqw}
body[data-wheel-presentation=studio] .winner-history ol{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.851852cqw;padding:.740741cqw 0 0}
body[data-wheel-presentation=studio] .history-person{gap:.740741cqw;min-height:2.962963cqw}
body[data-wheel-presentation=studio] .history-rank{font-size:2.222222cqw}
body[data-wheel-presentation=studio] .history-name{font-size:2.962963cqw;line-height:1.15;color:#ffe5a8}
.studio-footer{position:absolute;left:3.703704cqw;right:3.703704cqw;top:173.703704cqw;display:flex;align-items:center;gap:1.5cqw;font-size:1.851852cqw;line-height:1.4;color:#848ba5}.footer-brand{font:900 2.037037cqw/1.4 "Segoe UI",Arial,sans-serif;letter-spacing:.15cqw;color:#a799c0}.studio-footer>span:nth-child(2){flex:1;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.footer-accent{color:#a98bd2;font-size:2.222222cqw}
.studio-preview-controls,.studio-setup-guide{max-width:1080px;margin:16px auto;padding:18px;border:1px solid #c5c9da;border-radius:14px;background:#f5f5fc;color:#26334b;font-size:15px;line-height:1.7}.studio-preview-controls h2,.studio-setup-guide h2{font-size:20px;color:#26334b;margin:0 0 7px}.studio-preview-controls>div{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.studio-preview-controls button{font:700 14px/1.5 Tahoma,"Segoe UI",sans-serif;padding:9px 15px;background:#654698;color:white;border:1px solid #654698;border-radius:9px;cursor:pointer}.studio-preview-controls button:disabled{opacity:.45;cursor:default}.studio-preview-controls button:focus-visible{outline:3px solid #e6b746;outline-offset:3px}.studio-setup-guide ol{padding-inline-start:24px}.studio-setup-guide strong{display:inline-block;unicode-bidi:isolate}
@media(prefers-reduced-motion:reduce){.studio-scene *{animation:none!important;scroll-behavior:auto!important}}



