#game-room[data-game=wheel] #stage{padding:0;font-size:14px;display:block;min-height:0;background:transparent;border:0;margin-top:0}
#game-room[data-game=wheel] .history-bar,#game-room[data-game=wheel] .roulette-history,#game-room[data-game=wheel] .round-history-label,#game-room[data-game=wheel] #round-history,#game-room[data-game=wheel] #roulette-history-label{display:none}
.pw-scene{position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 42%,#20505f68,transparent 65%),linear-gradient(145deg,#102a3b,#111d30 65%,#16213a);border:1px solid #47738b66;border-radius:16px;padding:25px 26px 18px;box-shadow:inset 0 1px #abcfe10c}
.pw-scene:before{content:'';position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(#7bbac408 1px,transparent 1px),linear-gradient(90deg,#7bbac408 1px,transparent 1px);background-size:46px 46px;mask-image:radial-gradient(ellipse at center,#000,transparent 75%)}
.pw-top,.pw-bottom{position:relative;display:flex;justify-content:space-between;align-items:center;gap:12px;color:#91b2c5;font-size:10px;letter-spacing:1.5px;font-weight:800}.pw-top small{font-size:9px;font-weight:700;letter-spacing:2.2px;color:#79a9b9}.pw-top h2{font-size:28px;color:#effaff;letter-spacing:-.7px;margin:5px 0 0;line-height:1.1}.pw-live-badge{display:flex;align-items:center;gap:7px;padding:9px 10px;border:1px solid #67d8bd33;border-radius:7px;background:#33cba80a;color:#94decf;font-size:9px;letter-spacing:1.1px}.pw-live-badge i{width:5px;height:5px;background:#56dfbf;border-radius:50%;box-shadow:0 0 6px #56dfbf55}
.pw-wheel-wrap{position:relative;width:min(100%,470px);margin:17px auto 12px;aspect-ratio:1}.pw-wheel-wrap:before{content:'';position:absolute;inset:1%;border:1px solid #7ccac017;border-radius:50%;box-shadow:0 0 65px #46b6af0c}.pw-wheel-wrap canvas{display:block;position:relative;width:100%;height:100%;filter:drop-shadow(0 12px 20px #0005)}.pw-pointer{position:absolute;top:1px;left:50%;z-index:2;transform:translateX(-50%);width:29px;height:35px;background:linear-gradient(90deg,#b9dce3,#fff7d7 55%,#8cc4d3);clip-path:polygon(0 0,100% 0,50% 100%);filter:drop-shadow(0 3px 4px #000)}
.pw-center{position:absolute;inset:30%;border-radius:50%;background:radial-gradient(circle at 40% 20%,#234559,#101f31 70%);border:4px solid #99ccd0;box-shadow:0 0 0 7px #102536aa,0 8px 25px #0006,inset 0 1px 8px #c6f5ff0d;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:8px;pointer-events:none}.pw-center small{font-size:clamp(7px,1vw,9px);color:#8fb6c8;letter-spacing:1.7px;font-weight:800}.pw-center strong{font-size:clamp(25px,4vw,43px);color:#f2fcff;line-height:1.4;letter-spacing:-1px}.pw-center>span{font-size:clamp(9px,1.3vw,13px);color:#8de0cb;max-width:100%;overflow-wrap:anywhere}.pw-caption{position:relative;text-align:center;color:#abc3d2;min-height:36px;font-size:12px;padding:4px 0 14px;line-height:1.5}.pw-bottom{border-top:1px solid #89b7cc20;padding-top:15px;color:#789eb5;font-size:9px;letter-spacing:1.2px}.pw-bottom b{color:#d9f0f4;font-size:12px;letter-spacing:0;margin-right:4px}
.pw-your-slice{width:100%;padding:19px 16px 14px;border:1px solid #79bcb93d;border-radius:12px;background:linear-gradient(145deg,#21495766,#142a40);box-shadow:inset 0 1px #dcffff08}.pw-your-heading{display:flex;align-items:center;gap:7px;color:#b2d3dc;font-size:9px;letter-spacing:1.7px;font-weight:800}.pw-your-heading i{width:7px;height:7px;border-radius:2px;background:#31c9ad}.pw-your-slice>strong{display:block;margin:12px 0 0;font-size:39px;line-height:1.1;letter-spacing:-1.7px;color:#e5fff7}.pw-chance-label{display:block;margin-top:5px;font-size:12px;color:#a9c6cf}.pw-chance-track{height:5px;border-radius:5px;background:#0d2131;overflow:hidden;margin:18px 0}.pw-chance-track i{display:block;height:100%;width:0;border-radius:5px;background:#31c9ad;transition:width .35s ease}.pw-your-entry{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#a0bccb}.pw-your-entry b{color:#e1f0f4}.pw-your-slice p{font-size:11px;line-height:1.6;color:#85a6b9;margin:12px 0 0}.pw-entry-note{color:#91acbe;font-size:11px;line-height:1.7;padding:10px 1px 0}
#game-room[data-game=wheel] #choices{display:block}.pw-players,.pw-recent{margin-top:16px;padding:20px;border:1px solid #84b0c32b;border-radius:13px;background:linear-gradient(145deg,#192f40,#172538)}.pw-list-head{display:flex;justify-content:space-between;margin-bottom:14px;font-size:13px}.pw-list-head>span{color:#7fd9c3;font-size:12px}.pw-player{display:grid;grid-template-columns:12px 1fr auto 70px;align-items:center;gap:10px;padding:12px 0;border-top:1px solid #84b0c31a;font-size:13px}.pw-player i{width:10px;height:10px;border-radius:3px}.pw-player b{font-size:9px;color:#81e1c9;margin-left:5px}.pw-player small{text-align:right;color:#a3c0d0}.pw-recent h3{font-size:14px;margin:0 0 12px}.pw-recent #pw-history>div{display:flex;align-items:center;gap:14px;border-top:1px solid #84b0c31a;padding:12px 0;font-size:12px}.pw-recent strong{margin-left:auto;color:#d5f6e9}.pw-recent small,.pw-empty{color:#8caabc;font-size:12px;line-height:1.7}
@media(max-width:600px){.pw-scene{padding:19px 12px 14px}.pw-top{gap:8px}.pw-top small{font-size:8px;letter-spacing:1.4px}.pw-top h2{font-size:24px}.pw-live-badge{font-size:8px;padding:8px}.pw-center{inset:30%;border-width:3px}.pw-wheel-wrap{margin-top:16px}.pw-player{grid-template-columns:10px 1fr auto 55px;gap:7px}.pw-players,.pw-recent{padding:15px}.pw-recent small{display:none}.pw-center strong{font-size:29px}.pw-bottom{font-size:8px;letter-spacing:.8px;gap:6px}.pw-bottom b{font-size:10px}.pw-your-slice{padding:16px}.pw-your-slice>strong{font-size:33px}}
@media(prefers-reduced-motion:reduce){.pw-chance-track i{transition:none}}
/* Wheel-first layout, with the entry and participant list together on the right. */
#game-room[data-game=wheel] .room-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:18px;align-items:start}
#game-room[data-game=wheel] .table-panel{grid-column:1;grid-row:1;display:flex;flex-direction:column;min-width:0;padding:0;border:0;background:transparent}
#game-room[data-game=wheel] .table-heading,#game-room[data-game=wheel] .game-topline{display:none}
#game-room[data-game=wheel] #stage{order:1}
#game-room[data-game=wheel] #game-extras{order:0;margin:0 0 14px}
#game-room[data-game=wheel] #result{order:2;font-size:12px;margin:10px 0 0;min-height:18px}
#game-room[data-game=wheel] #game-outcome{order:3}
#game-room[data-game=wheel] .control-panel{grid-column:2;grid-row:1;display:flex;flex-direction:column;gap:14px;padding:18px;border:1px solid #84b0c32b;border-radius:13px;background:linear-gradient(145deg,#192f40,#172538);align-self:start;min-width:0}
#game-room[data-game=wheel] .control-panel>h3,#game-room[data-game=wheel] .control-caption{display:none}
#game-room[data-game=wheel] .play-controls{display:contents}
#game-room[data-game=wheel] .play-controls>label{order:0;margin:0}
#game-room[data-game=wheel] #actions{order:1;display:grid;gap:8px;margin:0;position:static}
#game-room[data-game=wheel] #actions button{width:100%;min-height:45px}
#game-room[data-game=wheel] #choices{order:2;display:block}
#game-room[data-game=wheel] .game-rules{order:3;margin:0;font-size:11px}
#game-room[data-game=wheel] .bet-limits{order:4;margin:0;font-size:10px}
.pw-your-slice{display:grid;grid-template-columns:1fr auto;gap:3px 10px;padding:12px;background:#10263866;border-color:#80c1c329;box-shadow:none}
.pw-your-heading{grid-column:1;font-size:8px;letter-spacing:1px}.pw-your-slice>strong{grid-column:2;grid-row:1 / span 2;margin:0;align-self:center;font-size:24px;letter-spacing:-.7px}.pw-chance-label{grid-column:1;font-size:10px;margin:0}.pw-chance-track,.pw-your-slice>p{display:none}.pw-your-entry{grid-column:1 / -1;border-top:1px solid #84b0c31a;margin-top:8px;padding-top:9px;font-size:11px}.pw-entry-note{padding:7px 0 2px;font-size:10px}
.pw-players{margin:14px -18px -2px;padding:17px 16px 6px;border:0;border-top:1px solid #84b0c32b;border-radius:0;background:transparent;max-height:355px;overflow:auto}.pw-list-head{align-items:center;margin-bottom:12px;font-size:12px}.pw-list-head strong>span{display:inline-grid;place-items:center;min-width:21px;height:20px;margin-left:5px;padding:0 5px;border-radius:5px;background:#9bc9d315;color:#a8c7d7;font-size:10px}.pw-list-head>span{font-size:11px}.pw-player{grid-template-columns:9px minmax(0,1fr) auto;gap:5px 8px;padding:11px 0;font-size:12px}.pw-player>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pw-player strong{font-size:11px}.pw-player small{grid-column:2 / -1;text-align:left;font-size:10px;color:#8daaba}.pw-player i{width:8px;height:8px;grid-row:1 / span 2}.pw-empty{min-height:100px;display:flex;align-items:center;justify-content:center;text-align:center;color:#87a5b8;padding:12px;font-size:11px}
.pw-recent{display:flex;align-items:center;gap:16px;margin:0;padding:12px 15px;min-height:60px;max-width:100%;border-radius:11px;background:#182b3c}.pw-recent h3{flex-shrink:0;color:#8aaabc;font-size:9px;text-transform:uppercase;letter-spacing:1.1px;margin:0;max-width:55px;line-height:1.6}.pw-recent #pw-history{display:flex;gap:10px;overflow-x:auto;min-width:0;align-items:center}.pw-recent #pw-history>div{display:grid;grid-template-columns:auto auto;gap:4px 9px;flex-shrink:0;padding:7px 10px;border:1px solid #8db8cc1c;border-radius:6px;background:#0e21313d;font-size:11px}.pw-recent #pw-history>div>span{max-width:115px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pw-recent strong{margin:0;font-size:11px}.pw-recent small{display:none}.pw-recent .pw-empty{min-height:0;padding:0;margin:0;white-space:nowrap;font-size:11px}
.pw-scene{padding:20px 22px 16px}.pw-top h2{font-size:24px}.pw-top small{font-size:8px}.pw-wheel-wrap{width:min(100%,480px);margin:15px auto 8px}.pw-center{inset:24%;border-width:2px;box-shadow:0 0 0 5px #102536c9,0 8px 25px #0004;background:radial-gradient(circle at 50% 30%,#25485b,#102335 75%);padding:15px}.pw-center small{font-size:9px;letter-spacing:1.2px}.pw-center strong{font-size:38px;line-height:1.2;margin:5px 0 10px}.pw-center .pw-timer-label{font-size:8px;color:#7e9eae;margin:0 0 5px}.pw-center>span{font-size:22px;font-weight:800;font-variant-numeric:tabular-nums;color:#d9ecf3;line-height:1.2;letter-spacing:1px}.pw-center-odds{margin-top:13px;padding-top:10px;border-top:1px solid #a2cdd51c;width:80%}.pw-center-odds small{display:block;font-size:8px;color:#8cabbc}.pw-center-odds b{display:block;font-size:18px;line-height:1.3;margin-top:4px;color:#71dcc0}.pw-caption{font-size:11px;padding:4px 0 11px;min-height:30px}
@media(max-width:1050px){#game-room[data-game=wheel] .room-layout{grid-template-columns:minmax(0,1fr) 255px;gap:12px}.pw-scene{padding:18px 12px 13px}.pw-center strong{font-size:30px;margin:4px 0 7px}.pw-center>span{font-size:18px}.pw-center-odds{margin-top:9px;padding-top:7px}.pw-center-odds b{font-size:16px}}
@media(max-width:980px){#game-room[data-game=wheel] .room-layout{display:flex;flex-direction:column;gap:14px}#game-room[data-game=wheel] .table-panel{width:100%;order:0;padding:0}#game-room[data-game=wheel] .control-panel{width:100%;order:1;padding:16px;gap:12px}.pw-players{margin:14px -16px 0;padding:16px}.pw-scene{padding:18px 13px 14px}.pw-top h2{font-size:23px}.pw-recent{gap:10px;padding:10px 12px;min-height:55px}.pw-center{padding:10px}.pw-center strong{font-size:30px}.pw-center>span{font-size:17px;letter-spacing:0}.pw-center small{font-size:8px}.pw-center-odds{margin-top:8px;padding-top:7px}.pw-center-odds b{font-size:16px}.pw-center .pw-timer-label{font-size:7px}.pw-center-odds small{font-size:7px}.pw-your-slice>strong{font-size:25px}}
@media(max-width:390px){.pw-center strong{font-size:25px;margin:3px 0 5px}.pw-center>span{font-size:14px}.pw-center-odds{margin-top:6px;padding-top:5px}.pw-center-odds b{font-size:14px}.pw-center small{font-size:7px}}
