/* Scoped to the playable room: the landing page keeps its original design. */
#playModal{padding:24px;background:rgba(3,4,9,.88);backdrop-filter:blur(14px)}
#playModal .game-modal{width:1180px;max-width:100%;max-height:94dvh;padding:0;border:1px solid #33333e;border-radius:22px;overflow:auto;background:#111118;box-shadow:0 32px 140px #000;color:#f5f5fa}
.room-header{display:flex;align-items:center;gap:14px;padding:20px 24px;border-bottom:1px solid #292932;position:sticky;top:0;z-index:10;background:#111118}
.room-mark{background:linear-gradient(135deg,#6d5cff,#e0449b);width:38px;height:38px;display:grid;place-items:center;border-radius:12px;font:bold 19px var(--font)}
#playModal .room-header h3{font-size:17px;margin:0;font-family:var(--font)}
.room-kicker{font-size:10px;letter-spacing:2px;color:#9696ac;margin-bottom:5px}
.room-demo{margin-left:auto;background:#24382f;color:#92e8b4;padding:6px 9px;border-radius:5px;font-size:10px;font-weight:700;letter-spacing:1px;white-space:nowrap}
.room-icon{border:1px solid #383842;width:36px;height:36px;border-radius:9px;font-size:19px;flex-shrink:0}
.room-layout{display:flex;flex-direction:column}
.room-controls{order:1;padding:18px 24px;background:linear-gradient(#20202a,#16161f);border-top:1px solid #56505c;display:grid;grid-template-columns:160px 190px minmax(190px,1fr) 115px 180px;gap:22px;align-items:center}
.room-label{font-size:10px;font-weight:600;letter-spacing:1.6px;color:#a0a0b2;text-transform:uppercase;display:block;margin-bottom:10px}
.room-wallet{border:0;padding:0}
.room-wallet strong{font:700 29px var(--font);letter-spacing:-1px}.room-wallet small{color:#9c9caf;font-size:11px;margin-left:7px}
.room-bet{display:flex;align-items:center;background:#101016;border:1px solid #3b3b4b;border-radius:9px;padding:5px;gap:5px}
.room-bet button{width:35px;height:35px;background:#292933;border-radius:6px;font-size:20px}
.room-bet input{width:100%;min-width:0;border:0;background:none;color:#fff;text-align:center;font:600 20px var(--font);appearance:textfield;outline:none}
.room-bet input::-webkit-inner-spin-button{appearance:none}
.room-presets{display:flex;gap:6px;margin-top:8px}.room-presets button{flex:1;padding:8px 0;border:1px solid #35353f;border-radius:6px;color:#b9b9c8;font-size:11px}
.room-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.room-choice{padding:12px 8px;border:1px solid #383843;border-radius:8px;text-align:center;display:flex;flex-direction:column;gap:5px;justify-content:space-between;font-size:11px;color:#bebecd;background:#202029}.room-choice b{color:#f5f5fa}.room-choice[aria-pressed=true]{background:#322a55;border-color:#8875ed;color:#fff}
.room-summary{display:flex;flex-direction:column;gap:8px;justify-content:space-between;font-size:10px;color:#9595aa}.room-summary b{color:#fff;font:600 18px var(--font)}
.room-action{width:100%;min-height:52px;border-radius:9px;background:linear-gradient(105deg,#7965ff,#aa60df);box-shadow:0 5px 24px #7354ef30;font:700 14px var(--font);letter-spacing:1px;transition:filter .2s,transform .2s}
@media (hover: hover) and (pointer: fine) {.room-action:hover{filter:brightness(1.15);transform:translateY(-1px)}}
@media (hover: none) {.room-action:active{filter:brightness(1.15);transform:translateY(-1px)}}
#playModal button:disabled{opacity:.42;cursor:not-allowed;transform:none}.room-footnote{display:none}
#playModal :focus-visible{outline:2px solid #b6a8ff;outline-offset:3px}
.room-main{display:contents}.room-scene{order:0;--accent:#efc77b;min-height:500px;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:26px;background:radial-gradient(ellipse at 50% 40%,#54262d 0%,#22121c 48%,#110d16 85%)}
.room-scene::before{content:'';position:absolute;inset:0;pointer-events:none;opacity:.15;background-image:radial-gradient(#fce2a7 1px,transparent 1px);background-size:29px 29px;mask-image:linear-gradient(transparent,#000,transparent)}
.room-scene>*{position:relative}.room-scene[data-game=wheel]{background:linear-gradient(#140c1c22,#120a18aa 78%),url('assets/mega-wheel-palace.png') center 48%/cover no-repeat}
.room-scene[data-game=dice]{--accent:#6bdfff;background:linear-gradient(#04101818,#06101888 80%),url('assets/lightning-dice-arena.png') center 52%/cover no-repeat}
.room-scene[data-game=coin]{background:linear-gradient(#1a120818,#120e08aa 80%),url('assets/golden-coin-vault.png') center 52%/cover no-repeat}
.room-scene[data-game=hilo]{--accent:#94d5b7;background:linear-gradient(#0a181418,#07141099 80%),url('assets/hilo-royal-club.png') center 48%/cover no-repeat}
.room-scene[data-game=scratch]{background:linear-gradient(#1a0a1018,#14081099 80%),url('assets/lucky-sevens-lounge.png') center 46%/cover no-repeat}
.scene-edition{font:600 9px var(--font);letter-spacing:4px;color:var(--accent);text-align:center;margin-bottom:8px}
.scene-title{font:700 clamp(25px,3.3vw,39px) var(--font);letter-spacing:2px;color:#fff6df;text-align:center;line-height:1.05;text-shadow:0 3px 20px #0006}
.scene-sub{font-size:10px;letter-spacing:2px;color:#ad9caa;text-align:center;margin-top:9px;text-transform:uppercase}
.scene-object{width:100%;display:grid;place-items:center;min-height:290px;padding:22px 0 15px}
.scene-caption{font-size:10px;letter-spacing:2px;color:var(--accent);text-transform:uppercase;text-align:center}
.slot-machine{width:min(100%,450px);position:relative;padding:14px;border:2px solid #edbd73;border-radius:18px;background:linear-gradient(140deg,#8c4432,#2c1220 38%,#8a5134);box-shadow:0 0 0 5px #3c242a,0 0 0 6px #966443,0 20px 60px #0008,inset 0 0 15px #ffc78055}
.slot-window{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;border-radius:9px;overflow:hidden;background:#180c16;padding:5px}
.slot-column{background:linear-gradient(#6c3943,#f7e6cd 29%,#fff7e7 60%,#81505a);height:210px;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;border-radius:5px}
.slot-symbol{width:78px;height:78px;display:block;filter:drop-shadow(0 4px 2px #40202333);flex-shrink:0}.slot-column .slot-symbol:first-child,.slot-column .slot-symbol:last-child{width:48px;height:48px;opacity:.38;filter:blur(1px)}
.slot-machine::after{content:'';position:absolute;left:6px;right:6px;top:50%;border-top:1px solid #e94d64;box-shadow:0 0 8px #ff326b;pointer-events:none}
.slot-payline{position:absolute;left:-12px;top:calc(50% - 10px);color:#f9db9d;font-size:18px;z-index:2}.slot-column.spinning .slot-symbol{animation:room-reel .12s linear infinite}
@keyframes room-reel{from{transform:translateY(-17px);filter:blur(3px)}to{transform:translateY(20px);filter:blur(5px)}}
.room-pays{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin-top:19px}.room-pays span{display:flex;align-items:center;gap:5px;font-size:10px;color:#dac8b8;background:#140e1580;border:1px solid #73543f66;padding:4px 8px;border-radius:5px}.room-pays svg{width:21px;height:21px}
.prize-wheel{width:260px;height:260px;position:relative;border-radius:50%;border:10px solid #d4ad6c;box-shadow:0 0 0 4px #5e3b35,0 0 0 7px #ba8b51,0 20px 50px #000a,inset 0 0 0 2px #ffe6a5;transition:transform 3.2s cubic-bezier(.12,.7,.13,1)}
.prize-wheel span{position:absolute;left:50%;top:50%;width:42px;margin-left:-21px;margin-top:-12px;transform:rotate(var(--angle)) translateY(-91px);text-align:center;font:700 15px var(--font);color:#fff3d6;text-shadow:0 1px 4px #000}
.wheel-device{position:relative;margin-top:12px}.wheel-device::before{content:'';position:absolute;left:calc(50% - 12px);top:-13px;border-left:12px solid transparent;border-right:12px solid transparent;border-top:27px solid #fff1c0;z-index:3;filter:drop-shadow(0 2px 4px #000)}
.wheel-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;width:66px;height:66px;border:4px solid #eed49c;background:linear-gradient(135deg,#ecbd67,#8b5527);display:grid;place-items:center;color:#4e2d18;font:700 17px var(--font);box-shadow:0 5px 13px #0007}
.dice-platform{display:flex;gap:30px;align-items:center;justify-content:center;position:relative;padding:35px 25px 46px;isolation:isolate}.dice-platform::before{content:'';position:absolute;z-index:-1;bottom:4px;left:-28px;right:-28px;height:94px;border:1px solid #69dfff50;border-radius:50%;background:radial-gradient(ellipse,#3295b538,#16324b00 70%);box-shadow:0 15px 0 -10px #0c142f,0 16px 0 -10px #478fb7}
.room-die{width:96px;height:96px;border-radius:19px;background:linear-gradient(145deg,#fff,#a9dbed);box-shadow:inset -7px -7px 0 #78a6c3,0 12px 0 -3px #345875,0 20px 23px #0007;padding:19px;display:grid;grid-template-columns:repeat(3,1fr);gap:7px;transform:rotate(-12deg)}.room-die:nth-child(2){transform:rotate(13deg);margin-top:22px}.room-die i{border-radius:50%;background:#143f5a;box-shadow:inset 1px 2px 2px #001729}.room-die i.off{visibility:hidden}.rolling .room-die{animation:room-dice .25s ease-in-out infinite alternate}@keyframes room-dice{to{transform:translateY(-28px) rotate(25deg)}}
.dice-total{display:flex;justify-content:center;gap:6px;margin-top:10px}.dice-total span{width:25px;height:26px;display:grid;place-items:center;border-radius:5px;border:1px solid #45617c;color:#789bb7;font-size:10px}.dice-total span.active{background:#9aebff;color:#0c2d42;border-color:#9aebff;box-shadow:0 0 16px #6adcff55}
.gold-coin{width:176px;height:176px;display:flex;flex-direction:column;justify-content:center;align-items:center;border-radius:50%;border:7px double #fff0b0;background:radial-gradient(circle at 30% 22%,#ffefb4,#d7a945 58%,#9e6822);color:#74501a;box-shadow:0 5px 0 #936222,0 9px 0 #684618,0 20px 35px #0008,inset 0 0 0 7px #c9953780,inset 0 0 0 9px #fff0a899;position:relative}.gold-coin svg{width:83px;height:83px;filter:drop-shadow(0 2px 0 #fff1b4)}.gold-coin small{font:700 10px var(--font);letter-spacing:3px;margin-top:7px}.gold-coin.flipping{animation:room-flip .65s linear infinite}@keyframes room-flip{50%{transform:translateY(-25px) rotateY(180deg)}to{transform:rotateY(360deg)}}
.coin-orbit{border:1px solid #b38c4544;border-radius:50%;width:276px;height:276px;display:grid;place-items:center;position:relative;background:radial-gradient(ellipse at bottom,#d9b46110,transparent 65%)}.coin-orbit::after{content:'';position:absolute;inset:15px;border:1px dashed #b38c452a;border-radius:50%;pointer-events:none}
.card-table{display:flex;gap:28px;align-items:center;padding:18px}.playing-card{width:128px;height:180px;border-radius:12px;background:linear-gradient(135deg,#fffdf4,#dce7dd);color:#163830;position:relative;box-shadow:0 12px 25px #0005,0 3px 0 #b7c5bc;display:grid;place-items:center;font-size:58px;transition:transform .25s}.playing-card.red{color:#b93653}.playing-card small{position:absolute;top:10px;left:12px;font:700 23px var(--font)}.playing-card small:last-child{top:auto;left:auto;bottom:10px;right:12px;transform:rotate(180deg)}.card-back{transform:rotate(7deg);border:6px solid #afc8b8;background:repeating-linear-gradient(45deg,#275b51 0 3px,#214b45 3px 9px);color:#bed0b8;font-size:33px;outline:1px solid #5d8f7f;outline-offset:-12px}.card-back::after{content:'M';width:65px;height:85px;border:1px solid #a6bda9;display:grid;place-items:center;border-radius:50%;font:700 35px var(--font)}.card-back.dealing{animation:room-deal .65s ease}@keyframes room-deal{50%{transform:translateX(-45px) rotateY(90deg)}}
.card-arrow{color:#759b89;font-size:22px}.scratch-ticket{width:min(100%,350px);padding:15px;border:1px solid #d0a076;background:linear-gradient(140deg,#af6565,#572b47);border-radius:13px;box-shadow:0 14px 40px #0006;position:relative}.ticket-heading{display:flex;justify-content:space-between;font:700 10px var(--font);letter-spacing:2px;color:#ffe6bf;margin-bottom:12px}.ticket-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.ticket-cell{aspect-ratio:1.15;border-radius:7px;overflow:hidden;position:relative;display:grid;place-items:center;background:#f2dfc5}.ticket-cell svg{width:54px;height:54px}.ticket-cell canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair}.ticket-cell.covered::after{content:'✦';position:absolute;inset:0;display:grid;place-items:center;color:#eee6ec;font-size:27px;background:linear-gradient(135deg,#b6a2b7,#79687f);pointer-events:none}.ticket-cell.winner{box-shadow:inset 0 0 0 3px #ffc963,0 0 12px #ffce6655}.ticket-caption{margin-top:12px;font-size:9px;letter-spacing:1px;color:#e6c4cb;text-align:center}
.room-status{order:2;display:flex;align-items:center;gap:13px;min-height:70px;padding:15px 24px;border-top:1px solid #292932;background:#16161f}.status-dot{width:9px;height:9px;border-radius:50%;background:#8272d4;box-shadow:0 0 13px #8272d466;flex-shrink:0}.room-status.win .status-dot{background:#75e4b2}.room-status.win{background:#16251f}.room-status strong{font:600 14px var(--font);display:block}.room-status p{font-size:11px;color:#9d9db2;margin-top:5px}.room-last{margin-left:auto;text-align:right;white-space:nowrap}.room-last small{display:block;font-size:9px;color:#9d9db2;letter-spacing:1px;margin-bottom:4px}.room-last b{font:600 20px var(--font);color:#f0d18b}
.room-bottom{order:3;padding:18px 24px;border-top:1px solid #292932}.room-bottom-head{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:1.5px;color:#9999ab}.room-bottom-head button{font-size:11px;color:#c8c1ef;letter-spacing:0;padding:5px}.room-history{display:flex;align-items:center;gap:7px;min-height:45px;overflow:auto;padding-top:10px}.room-history span{font-size:11px;padding:7px 11px;border-radius:6px;border:1px solid #343440;white-space:nowrap;color:#b7b7c9}.room-history span.won{background:#18312a;color:#91dfbc;border-color:#2a4b3d}.room-history em{font-size:11px;color:#68687f;font-style:normal}
.room-rules{padding:16px 0 0;font-size:12px;line-height:1.9;color:#b4b4c7}.room-rules[hidden]{display:none}.room-rules b{color:#efdaab}
@media(max-width:760px){#playModal{padding:8px}#playModal .game-modal{border-radius:15px;max-height:97dvh}.room-header{padding:14px;gap:10px}#playModal .room-header h3{font-size:13px}.room-kicker{font-size:8px}.room-mark{width:31px;height:31px}.room-demo{font-size:8px;padding:5px}.room-layout{display:flex;flex-direction:column}.room-main{display:contents}.room-scene{order:0;min-height:375px;padding:22px 18px 18px}.scene-object{min-height:253px;padding:19px 0 13px}.room-status{order:1;padding:12px 16px}.room-controls{order:2;border-right:0;border-top:1px solid #303039;padding:18px;display:grid;grid-template-columns:1fr 1fr;gap:16px}.room-wallet{padding:0;border:0}.room-wallet strong{font-size:25px}.room-label{font-size:9px;margin-bottom:7px}.room-choices{grid-template-columns:repeat(3,1fr);grid-column:1/-1}.room-choice{flex-direction:column;gap:5px;padding:10px}.room-summary{align-items:center}.room-action{grid-column:1/-1}.room-footnote{grid-column:1/-1;font-size:9px}.room-bottom{order:3;padding:15px}.room-bet input{font-size:17px}.room-bet button{width:30px;height:29px}.slot-column{height:180px}.slot-symbol{width:66px;height:66px}.room-pays{gap:4px;margin-top:15px}.room-pays span{padding:3px 5px;font-size:9px}.prize-wheel{width:238px;height:238px}.prize-wheel span{transform:rotate(var(--angle)) translateY(-81px)}.coin-orbit{width:235px;height:235px}.ticket-grid{gap:6px}.scratch-ticket{width:290px}.ticket-cell svg{width:43px;height:43px}.scene-title{font-size:30px}.room-last b{font-size:17px}.room-status strong{font-size:12px}}
@media(max-width:760px){.dice-total{width:100%;max-width:335px;gap:4px}.dice-total span{flex:1;min-width:0;width:auto}.card-table{gap:16px;padding:8px}.playing-card{width:clamp(82px,25vw,110px);height:155px}.room-choices:empty{display:none}}
@media(max-width:360px){.room-mark{display:none}.room-header{gap:7px;padding:12px 10px}.room-scene{padding-inline:12px}.room-die{width:80px;height:80px;padding:16px;gap:5px}.dice-platform{gap:24px;padding-inline:14px}.dice-platform::before{left:-12px;right:-12px}.coin-orbit{width:225px;height:225px}.scratch-ticket{width:100%}.room-controls{padding:14px;gap:12px}.room-wallet strong{font-size:23px}.room-status{gap:9px;padding:12px}.room-last b{font-size:15px}}
/* The reference separates an immersive stage from its compact control dock. */
#playModal.expanded{padding:8px}#playModal.expanded .game-modal{width:1600px;max-height:98dvh}
.room-icon[aria-pressed=true]{background:#493777;border-color:#aa91ff;color:#fff}
.room-scene[data-game=slots]{min-height:540px;background:linear-gradient(#02101222,#00121011 65%,#021714aa),url('assets/fortune-tiger-temple.png') center 52%/cover no-repeat}
.room-scene[data-game=slots]::before{opacity:.12}.room-scene[data-game=slots] .scene-title{font:700 46px Georgia,serif;letter-spacing:4px;color:#fff0b2;text-shadow:0 2px 0 #75532a,0 4px 1px #262319,0 0 24px #000}
.room-scene[data-game=slots] .scene-sub{color:#f0d8a7;text-shadow:0 2px 5px #000}.room-scene[data-game=slots] .scene-edition{color:#ffe5a0}
.room-scene[data-game=slots] .scene-object{padding-top:15px;min-height:370px;align-content:center}
.slot-crown{font:700 11px var(--font);letter-spacing:3px;color:#f9dd8b;background:linear-gradient(90deg,transparent,#123e34,#123e34,transparent);padding:9px 25px;text-align:center;text-shadow:0 2px #000}
.slot-crown span{margin:0 12px}.slot-machine{width:min(100%,380px);padding:11px;border-radius:13px;background:linear-gradient(135deg,#cfb070,#816139 35%,#e6bf6f 70%,#655534);box-shadow:0 0 0 4px #1e3b30,0 0 0 6px #a58a4b,0 16px 35px #0009,inset 0 0 12px #ffec9e}
.slot-machine::after{display:none}.slot-window{gap:5px;padding:3px;background:#172d25;border-radius:5px}.slot-column{--reel-h:270px;height:var(--reel-h);display:block;overflow:hidden;position:relative;background:none;border-radius:3px}
.slot-strip{display:flex;flex-direction:column;width:100%;will-change:transform}
.slot-cell{flex:0 0 calc(var(--reel-h)/3);height:calc(var(--reel-h)/3);min-height:0;display:grid;place-items:center;background:linear-gradient(135deg,#fff5d4,#d7c495);border-radius:4px;box-shadow:inset 0 0 0 1px #fff4c4,inset 0 -5px 8px #987b4933;transition:background .2s}
.slot-column .slot-symbol,.slot-column .slot-symbol:first-child,.slot-column .slot-symbol:last-child{width:70px;height:70px;opacity:1;filter:drop-shadow(0 3px 2px #422b1b40)}
.slot-cell.hit{background:linear-gradient(145deg,#fff4a0,#e8ac38);box-shadow:inset 0 0 0 2px #ffe8a3,0 0 15px #ffd45c}
.slot-lines{position:absolute;left:14px;top:14px;width:calc(100% - 28px);height:calc(100% - 28px);pointer-events:none;overflow:visible}.slot-lines polyline{fill:none;stroke:#fff7b6;stroke-width:2;stroke-linecap:round;opacity:0;filter:drop-shadow(0 0 4px #ffaa00)}.slot-lines polyline.lit{opacity:.9}
.line-legend{display:flex;gap:7px;margin-top:15px}.line-legend span{display:flex;align-items:center;gap:5px;font-size:9px;color:#a9c4b5;padding:3px 7px;background:#102a22d9;border:1px solid #6c825a88;border-radius:4px}.line-legend svg{width:26px;height:20px}.line-legend polyline{fill:none;stroke:currentColor;stroke-width:2}.line-legend .lit{color:#ffe498;border-color:#ffd36a;background:#5c4822}
.room-scene[data-game=slots] .scene-caption{font-size:9px;letter-spacing:1.5px;color:#ffedc0;background:#071b18b0;padding:6px 12px;border-radius:3px}
.room-scene[data-game=wheel]::after{content:'';position:absolute;inset:18px;border:1px solid #ae8b6728;outline:1px solid #ae8b6710;outline-offset:6px;border-radius:180px 180px 12px 12px;pointer-events:none}
.wheel-device{isolation:isolate}.wheel-device::after{content:'';position:absolute;inset:-17px;border-radius:50%;border:5px dotted #f8d99a;filter:drop-shadow(0 0 5px #ffe5a1);pointer-events:none}.prize-wheel{width:292px;height:292px}.prize-wheel span{transform:rotate(var(--angle)) translateY(-106px)}
.room-scene[data-game=wheel]::before,.room-scene[data-game=dice]::before,.room-scene[data-game=coin]::before,.room-scene[data-game=hilo]::before,.room-scene[data-game=scratch]::before{opacity:.08}
.room-scene[data-game=wheel] .scene-title,.room-scene[data-game=dice] .scene-title,.room-scene[data-game=coin] .scene-title,.room-scene[data-game=hilo] .scene-title,.room-scene[data-game=scratch] .scene-title{text-shadow:0 2px 0 #0008,0 4px 18px #000c}
.room-scene[data-game=wheel] .scene-sub,.room-scene[data-game=dice] .scene-sub,.room-scene[data-game=coin] .scene-sub,.room-scene[data-game=hilo] .scene-sub,.room-scene[data-game=scratch] .scene-sub{text-shadow:0 2px 6px #000}
.scene-win{position:absolute;left:50%;top:51%;transform:translate(-50%,-50%);pointer-events:none;opacity:0;text-align:center;min-width:245px;padding:24px 38px;border:1px solid #ffd181;border-radius:14px;background:radial-gradient(#55441cec,#181511ee);box-shadow:0 0 70px #ffd46244;color:#ffe49f;z-index:4}.scene-win small{display:block;font:700 13px var(--font);letter-spacing:5px}.scene-win strong{display:block;font:700 55px var(--font);margin:7px 0;text-shadow:0 0 20px #e1b34377}.scene-win span{font-size:9px;letter-spacing:3px}.scene-win.celebrate{animation:room-win 2.5s ease forwards}@keyframes room-win{0%{opacity:0;transform:translate(-50%,-50%) scale(.7)}15%,75%{opacity:1;transform:translate(-50%,-50%) scale(1)}100%{opacity:0;transform:translate(-50%,-65%) scale(1.03)}}
.visual-paytable{display:grid;grid-template-columns:repeat(6,1fr);gap:9px;margin-bottom:20px}.visual-paytable>div{display:flex;flex-direction:column;align-items:center;gap:7px;border:1px solid #48404a;background:#25212b;padding:12px;border-radius:8px}.visual-paytable svg{width:58px;height:58px}.visual-paytable span{font-size:8px;letter-spacing:1px}.visual-paytable b{font:700 22px var(--font)}
.room-controls .room-action{min-height:65px;border:1px solid #ba9eec;box-shadow:inset 0 1px #decaff70,0 4px 0 #402953,0 6px 24px #6c47ac44}.room-controls:has(.room-choices:empty){grid-template-columns:180px 200px 1fr 120px 190px}.room-choices:empty{display:block}
@media(min-width:761px) and (max-width:1100px){.room-controls,.room-controls:has(.room-choices:empty){grid-template-columns:130px 160px minmax(150px,1fr) 130px;gap:14px}.room-summary{display:none}.room-wallet strong{font-size:25px}}
@media(max-width:760px){.room-controls,.room-controls:has(.room-choices:empty){grid-template-columns:1fr 1fr;gap:14px;order:1}.room-status{order:2}.room-choices{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}.room-choices:empty{display:none}.room-summary{grid-column:1/-1;flex-direction:row;align-items:center}.room-summary b{font-size:14px}.room-header{flex-wrap:wrap;gap:8px}.room-demo{display:none}.room-header>div:nth-child(2){margin-right:auto;max-width:160px}.room-icon{width:30px;height:30px}.room-header .room-mark{display:none}.room-scene[data-game=slots]{min-height:475px;background-position:43% center}.room-scene[data-game=slots] .scene-title{font-size:32px;letter-spacing:2px}.room-scene[data-game=slots] .scene-object{min-height:335px}.slot-column{height:240px}.slot-column .slot-symbol,.slot-column .slot-symbol:first-child,.slot-column .slot-symbol:last-child{width:60px;height:60px}.slot-crown{font-size:9px;padding:9px 10px;letter-spacing:2px}.slot-crown span{margin:0 5px}.room-scene[data-game=slots] .scene-caption{font-size:8px;letter-spacing:.5px}.line-legend{gap:4px}.line-legend span{padding:2px 4px}.prize-wheel{width:238px;height:238px}.prize-wheel span{transform:rotate(var(--angle)) translateY(-81px)}.wheel-device::after{inset:-12px;border-width:3px}.visual-paytable{grid-template-columns:repeat(3,1fr)}.room-controls .room-action{min-height:52px}.scene-win strong{font-size:40px}}
@media(max-width:360px){.room-header>div:nth-child(2){max-width:137px}.room-header{gap:5px}.room-icon{width:28px}.slot-column{height:222px}.slot-column .slot-symbol,.slot-column .slot-symbol:first-child,.slot-column .slot-symbol:last-child{width:55px;height:55px}}
@media(min-width:761px) and (max-height:850px){.room-header{padding:12px 24px}.room-scene,.room-scene[data-game=slots]{min-height:0;padding:14px 24px}.scene-title{font-size:28px}.room-scene[data-game=slots] .scene-title{font-size:34px}.scene-sub{font-size:9px;margin-top:5px}.scene-object,.room-scene[data-game=slots] .scene-object{min-height:0;padding:12px 0}.slot-column{height:174px}.slot-machine{width:310px}.slot-column .slot-symbol,.slot-column .slot-symbol:first-child,.slot-column .slot-symbol:last-child{width:47px;height:47px}.slot-crown{padding:4px 14px}.line-legend{margin-top:10px}.room-controls{padding-block:12px}.room-controls .room-action{min-height:54px}.room-label{margin-bottom:6px}.room-status{min-height:57px;padding-block:10px}.prize-wheel{width:235px;height:235px}.prize-wheel span{transform:rotate(var(--angle)) translateY(-79px)}.coin-orbit{width:225px;height:225px}.scratch-ticket{width:270px}.ticket-cell svg{width:40px;height:40px}.room-bottom{padding-block:12px}}
@media(max-width:760px){
  .room-scene[data-game=wheel]{background-position:16% 50%}
  .room-scene[data-game=dice]{background-position:10% 50%}
  .room-scene[data-game=coin]{background-position:12% 58%}
  .room-scene[data-game=hilo]{background-position:10% 50%}
  .room-scene[data-game=scratch]{background-position:12% 50%}
}
.scene-hint,.scene-verdict{max-width:540px;margin:8px auto 0;text-align:center;font-size:12px;line-height:1.45;color:#efe7d2;text-shadow:0 2px 8px #000;letter-spacing:.2px;text-transform:none}
.scene-hint{background:#0b0b12cc;border:1px solid #ffffff22;padding:8px 12px;border-radius:8px}
.scene-verdict{min-height:18px;color:#ffe7b0;font-weight:600}
.slot-math{max-width:380px;margin:10px auto 0;font-size:11px;line-height:1.5;color:#f3e3c0;text-align:center;text-shadow:0 2px 6px #000}
.dice-sum,.coin-call,.card-call,.ticket-counts{margin-top:10px;font-size:13px;color:#f2ead7;text-align:center;text-shadow:0 2px 8px #000}
.dice-sum b{font:700 20px var(--font);margin:0 4px;color:#9aebff}
.card-slot{display:flex;flex-direction:column;align-items:center;gap:8px}
.card-slot.is-ref .playing-card{box-shadow:0 0 0 3px #ffe08a,0 12px 25px #0005}
.card-tag{font-size:9px;letter-spacing:1.5px;color:#d7ecdf;text-transform:uppercase}
.room-next-ref{grid-column:1/-1;font-size:12px;color:#efe4b8;margin:0 0 2px;text-align:center}
.room-next-ref[hidden]{display:none}
.prize-wheel span.hit{color:#fff8d0;text-shadow:0 0 10px #ffe38a,0 1px 4px #000;transform:rotate(var(--angle)) translateY(-106px) scale(1.15)}
.room-history span.lost{background:#2a171c;color:#f0a3b0;border-color:#5a2d36}
.room-history span.push{background:#2a2618;color:#e6d7a2;border-color:#5a5230}
.room-status.push{background:#241f16}
.room-status.push .status-dot{background:#e6d7a2}
#playModal .game-modal{position:relative}
.room-coach{order:0;position:static;transform:none;width:auto;margin:0;background:#1a1628;border:0;border-top:1px solid #3d3558;border-radius:0;padding:10px 24px;text-align:left;display:flex;align-items:center;gap:14px;box-shadow:none;z-index:1}
.room-coach[hidden]{display:none}
.room-coach p{font-size:13px;line-height:1.5;color:#e8e4f8;margin:0;flex:1}
.room-coach button{padding:8px 16px;border-radius:999px;background:#fff;color:#111;font:600 12px var(--font);flex-shrink:0;white-space:nowrap}
@media(max-width:760px){
  .slot-column{--reel-h:240px}
  .scene-hint{font-size:11px;margin-top:6px}
  .room-coach{padding:10px 16px;flex-wrap:wrap}
  .prize-wheel span.hit{transform:rotate(var(--angle)) translateY(-81px) scale(1.1)}
}
@media(max-width:360px){.slot-column{--reel-h:222px}}
@media(min-width:761px) and (max-height:850px){.slot-column{--reel-h:174px}.room-coach{padding-block:8px}}
@media(prefers-reduced-motion:reduce){#playModal *,#playModal *::before,#playModal *::after{animation:none!important;transition:none!important}}
