/* Opt in only: auto, aviator, chicken and native Fortune clients keep their styles. */
.room-polished{--classic-accent:#a5f4d0;--classic-panel:#0a201ceb;--classic-border:#a4e5c638;font-family:Inter,system-ui,-apple-system,sans-serif}
.browser-player .room-polished>.game-room-header{background:linear-gradient(145deg,#102d27f5,#071c1af5);border-bottom:1px solid #b4e3cc26;border-radius:0 0 14px 14px}
.room-polished.room-olympus{--classic-accent:#ffe39a;--classic-panel:#24182fed;--classic-border:#f3d49855}
.room-polished.room-sweet,.room-polished.room-sugar{--classic-accent:#ffe5ab;--classic-panel:#31183eea;--classic-border:#f7c4e75c}
.room-polished.room-bass{--classic-accent:#9deaf1;--classic-panel:#082c38eb;--classic-border:#94dae65c}
.room-polished.room-dog{--classic-accent:#ffe5a7;--classic-panel:#251b12ed;--classic-border:#f3c78466}
.browser-player .room-polished .browser-instant-panel{gap:8px}
.browser-player .room-polished .room-bet-controls{border:1px solid var(--classic-border);background:linear-gradient(145deg,#ffffff0b,transparent 70%),var(--classic-panel);box-shadow:0 8px 24px #0005,inset 0 1px #ffffff12;border-radius:20px;padding:10px 8px;gap:6px;grid-template-columns:44px 44px 74px 44px 44px;justify-content:space-evenly}
.browser-player .room-polished .room-spin-button{width:72px;height:72px;max-width:72px;min-height:72px;border:1px solid #eaffda;background:radial-gradient(ellipse at 35% 10%,#e2f7b5,#7bcba9 48%,#246c59);color:#082d24;box-shadow:inset 0 0 0 4px #143e2355,inset 0 2px 4px #fff9,0 4px 0 #103c32,0 6px 20px #0006}
.room-polished .room-spin-button>span{width:64%;height:64%}.room-polished .room-spin-button svg{filter:drop-shadow(0 1px 0 #e3ffcf88)}
.browser-player .room-polished.room-olympus .room-spin-button,.browser-player .room-polished.room-dog .room-spin-button{background:radial-gradient(ellipse at 35% 15%,#fff3ca,#f5cc71 48%,#a97324);color:#4a2e0c;border-color:#fff3c3;box-shadow:inset 0 0 0 4px #59390733,inset 0 2px 4px #fff8,0 4px 0 #674219,0 6px 20px #0006}
.browser-player .room-polished:is(.room-sweet,.room-sugar) .room-spin-button{background:radial-gradient(ellipse at 35% 10%,#fff0e8,#f4abc9 45%,#a44c9b);color:#532450;border-color:#fff0e2}
.browser-player .room-polished .room-round-button{background:linear-gradient(150deg,#ffffff12,#0003);border-color:var(--classic-border);box-shadow:inset 0 1px #fff1,0 2px 5px #0004;color:#f4f7ed}
.room-polished .room-round-button .jade-ui{width:21px;height:21px}.room-polished #roomSound{position:relative}.room-polished #roomSound[aria-pressed=false]::after{content:'';position:absolute;width:23px;height:1.5px;background:currentColor;transform:rotate(-45deg);box-shadow:0 1px 1px #081b15}
.browser-player .room-polished .room-stake-label{color:#e3dfca;letter-spacing:.02em;font-size:12px}
.browser-player .room-polished #roomStake{border-color:var(--classic-border);background:#030e1199;color:#fff8e9;border-radius:10px;font-weight:700;font-variant-numeric:tabular-nums}
.browser-player .room-polished .browser-round-status{border-radius:10px;border:1px solid var(--classic-border);background:var(--classic-panel);box-shadow:inset 0 1px #fff1}
.browser-player .room-polished #roomGameMessage{font-size:12px;font-weight:600;letter-spacing:0;background:none;border:0;text-shadow:none;color:#f2ecd9}
.room-polished .browser-instant-panel{position:relative}
.room-polished:is(.room-bass,.room-dog,.room-sugar) .browser-round-status :is(#roomGameMessage,#roomResult){padding-right:44px}
.browser-player .room-polished .browser-round-status>.browser-animation-skip{position:absolute;right:2px;top:1px;z-index:4;width:36px;height:24px;min-height:24px;padding:0;border-radius:7px;font-size:21px;line-height:1}
.room-polished .browser-animation-skip::before{content:'';position:absolute;inset:-6px -4px}
.browser-player .room-polished .browser-instant-panel>.feature-meter{position:absolute;inset:0 0 auto;z-index:3;display:flex;align-items:center;gap:6px;height:28px;min-height:28px;max-height:28px;width:100%;margin:0;padding:1px 5px;border-radius:10px;clip-path:none}
.browser-player .room-polished .browser-instant-panel>.feature-meter:not(:has(button:not([hidden]))){display:none}
.room-polished .browser-instant-panel:has(>.feature-meter .feature-skip:not([hidden]))>.browser-round-status{visibility:hidden}
.room-polished .browser-instant-panel>.feature-meter>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:18px}
.room-polished .browser-instant-panel>.feature-meter>strong{flex:none;white-space:nowrap;margin:0;font-size:10px;line-height:18px}
.room-polished .browser-instant-panel>.feature-meter .feature-skip{flex:none;width:36px;height:24px;min-height:24px;padding:0;font-size:21px;line-height:1}
.browser-player .room-polished.room-dog .room-round-status:has(#roomResult:not(:empty)) #roomResult{clip-path:none}
.room-polished .browser-game-stage{isolation:isolate;overflow:hidden}
.room-polished :is(.slot-frame,.sweet-frame,.room-olympus-grid,.slot-meter,.slot-total,.feature-meter){position:relative;z-index:2}
.room-polished .sweet-cascade-bar{position:relative;z-index:2}
.room-polished:is(.room-bass,.room-sugar,.room-dog) .slot-hero{position:relative;z-index:0}
.classic-atmosphere{position:absolute;inset:0;overflow:hidden;z-index:-1;pointer-events:none}
.classic-atmosphere i{position:absolute;width:4px;height:4px;border-radius:50%;background:var(--classic-accent);box-shadow:0 0 12px 4px color-mix(in srgb,var(--classic-accent) 25%,transparent);opacity:.16;animation:classic-mote 6s ease-in-out infinite;animation-delay:var(--delay)}
@keyframes classic-mote{0%,100%{transform:translate(0,12px) scale(.6);opacity:.08}50%{transform:translate(var(--drift),-12px) scale(1);opacity:.34}}
.browser-player .room-polished.room-bass .slot-arena{background:linear-gradient(180deg,#061e2022,#051c3255),url("../../images/bass/scene-v1.a200b3098012.webp") center/cover;border-color:#b2dbca88}
.browser-player .room-polished.room-sugar .slot-arena{background:linear-gradient(180deg,#5a1d7422,#34174355),url("../../images/sugar/scene-v1.093fe92a688a.webp") center/cover;border-color:#ffe0e6aa}
.browser-player .room-polished:is(.room-bass,.room-sugar) .slot-hero{height:clamp(58px,16cqh,104px);padding:15px 12px 0;background:none}
.browser-player .room-polished:is(.room-bass,.room-sugar) .slot-hero::before{background:linear-gradient(#071c3177,transparent)}
.browser-player .room-polished:is(.room-bass,.room-sugar) .slot-hero::after{display:none}
.browser-player .room-polished .slot-eyebrow{display:block;font-size:8px;letter-spacing:3px;color:#ffffffbd}
.browser-player .room-polished:is(.room-bass,.room-sugar) .slot-hero h1{font-size:clamp(23px,6.5vw,34px);max-width:100%;margin-top:6px;letter-spacing:-1px;text-shadow:0 2px #583540,0 4px 8px #0008}
.browser-player .room-polished .slot-meter{margin-top:auto;border-top:1px solid var(--classic-border);background:var(--classic-panel);color:#e6eadc;font-weight:600;height:28px;min-height:28px}
.browser-player .room-polished .slot-total{background:var(--classic-panel);height:38px;min-height:38px;color:#fff4d8}
.browser-player .room-polished .slot-total strong{font-size:23px;color:var(--classic-accent)}
.room-polished .slot-frame,.room-polished .sweet-frame,.room-polished .mines-frame{box-shadow:inset 0 1px #fff8,0 0 0 1px #fff3,0 12px 28px #0007}
.room-polished :is(.slot-cell,.sweet-cell,.room-olympus-symbol).is-rolling{overflow:hidden}
.room-polished .slot-cell.is-win,.room-polished .sweet-cell.is-win,.room-polished .room-olympus-symbol.is-win{background:radial-gradient(ellipse,#ffe69a66,transparent 80%)}
.room-polished .is-win :is(.slot-symbol,.feature-symbol){animation:classic-symbol-win .8s ease-in-out infinite;transform-origin:50% 70%}
.room-polished .slot-lines polyline{stroke-width:2.5;stroke-dasharray:800;stroke-dashoffset:800;animation:classic-line .45s ease-out forwards;stroke:#fff1a6}
.room-polished .slot-spot{border-radius:6px;background:linear-gradient(#fad987,#ca853c);color:#512447;text-shadow:none;font-weight:900;box-shadow:0 1px 5px #0005}
.classic-particles{position:absolute;inset:0;width:100%;height:100%;z-index:14;pointer-events:none}
.classic-win{position:absolute;z-index:16;inset:25% 6% auto;display:grid;justify-items:center;gap:4px;padding:23px 12px 15px;border:1px solid #ffe7a1;border-radius:22px;background:radial-gradient(ellipse at 50% 0,#746136,#152a23 80%);box-shadow:0 15px 60px #000b,inset 0 1px #fff8;text-align:center;animation:classic-win-in .3s cubic-bezier(.2,.7,.2,1.2)}
.classic-win>span{font-size:13px;font-weight:700;letter-spacing:.08em;color:#ffedbd}.classic-win>strong{font-size:clamp(30px,9vw,52px);font-weight:800;line-height:1.15;font-variant-numeric:tabular-nums;letter-spacing:-1.4px;color:#fff0be;text-shadow:0 2px 0 #694c21}
.classic-win>small{font-size:12px;color:#f0d79d}.classic-win>button{margin-top:9px;min-height:40px;padding:8px 14px;background:#ffffff12;border:1px solid #e8d99a44;border-radius:10px;color:#fff7df;font:inherit;font-size:11px;cursor:pointer}
.room-polished .mines-cell{border-color:#6cb1b46e;background:linear-gradient(145deg,#43727e,#193f4e 55%,#0b2535);box-shadow:inset 0 1px 1px #d2fff944,0 3px 0 #021420,0 5px 8px #0006;transition:filter .15s,box-shadow .15s}
.room-polished .mines-cell::after{content:attr(data-label);position:absolute;right:5px;bottom:3px;font-size:7px;letter-spacing:1px;color:#bdd9df40;pointer-events:none}
.room-polished .mines-cell:not(:disabled):hover{filter:brightness(1.18);border-color:#a7f2df}
.room-polished .mines-cell.is-safe{border-color:#9fffe1;background:radial-gradient(#66d9be55,#102d3b)}
.room-polished .mines-cell.is-safe::after,.room-polished .mines-cell.is-mine::after{display:none}
.room-polished .mines-cell.is-safe .mines-diamond{filter:drop-shadow(0 3px 2px #021b24) drop-shadow(0 0 7px #70ffe666)}
.room-polished .room-decision-strip{border-color:var(--classic-border);box-shadow:inset 0 1px #fff1}
.room-polished .room-decision-strip>span{background:var(--classic-panel)}
.room-polished .mines-celebration{border-color:#ffe7a7;background:linear-gradient(#2d5145f5,#092a39f5)}
.browser-player .room-polished.room-mines .room-arena-heading>span{display:block;min-height:14px;font-size:10px;line-height:14px;letter-spacing:.04em;font-weight:700}
.browser-player .room-polished.room-mines[data-round-state=active] .room-arena-heading>span{color:#a8ffdc}
.browser-player .room-polished.room-mines[data-round-state=lost] .room-arena-heading>span{color:#ffb5a3}
.browser-player .room-polished.room-mines .mines-frame{width:min(calc(100cqw - 16px),calc(100cqh - 90px))}
.browser-player .room-polished.room-mines .browser-round-status{min-height:36px}
.browser-player .room-polished.room-mines .browser-round-status :is(#roomGameMessage,#roomResult){height:100%;min-height:34px;line-height:1.25;padding:3px 6px;overflow-wrap:anywhere}
.browser-player .room-polished.room-mines[data-round-state=active] #roomPlay:disabled{opacity:.85;color:#c1e5da;background:#183d36;border-color:#67b89955;filter:none}
.browser-player .room-polished.room-mines .mines-grid[data-status=idle]{opacity:.6}
.room-polished.is-presentation-paused *{animation-play-state:paused!important}
/* Keep the five-by-five field usable on short portrait screens. The round
   state remains visible; the decorative title retains its accessible heading. */
@media(max-height:620px) and (orientation:portrait){
 .browser-player .room-polished.room-mines .room-arena-heading{padding:4px 6px}
 .browser-player .room-polished.room-mines .room-arena-heading h1{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .browser-player .room-polished.room-mines .mines-frame{width:min(calc(100cqw - 16px),calc(100cqh - 48px))}
}
@keyframes classic-symbol-win{50%{transform:scale(1.09);filter:brightness(1.15)}}
@keyframes classic-line{to{stroke-dashoffset:0}}
@keyframes classic-win-in{from{transform:translateY(10px) scale(.8);opacity:0}to{transform:none;opacity:1}}
@media(max-height:700px){.browser-player .room-polished .room-bet-controls{padding:5px 6px;gap:4px}.browser-player .room-polished .room-spin-button{width:58px;height:58px;min-height:58px}.browser-player .room-polished .room-bet-controls{grid-template-columns:40px 40px 60px 40px 40px}.browser-player .room-polished:is(.room-bass,.room-sugar) .slot-hero{height:46px;padding:5px 10px 0}.browser-player .room-polished .slot-eyebrow{display:none}.browser-player .room-polished:is(.room-bass,.room-sugar) .slot-hero h1{margin-top:0;font-size:22px}.browser-player .room-polished .slot-meter{height:23px;min-height:23px}.browser-player .room-polished .slot-total{height:31px;min-height:31px}}
@media(prefers-reduced-motion:reduce){.room-polished *,.room-polished *::before,.room-polished *::after{animation:none!important;transition:none!important}.classic-particles{display:none}}
