/* v52: larger desktop stage, compact vertical framing and restrained glass. */
:root{--ssp-cubic:cubic-bezier(.22,1,.36,1)}
.fortune-page .machine,.olympus-page .board,.double-page .hero{border-color:#ffffff32;box-shadow:0 24px 64px #0005,inset 0 1px #fff2;border-radius:28px}
.fortune-page .controls,.olympus-page .controls{border:1px solid #ffffff24;background:linear-gradient(145deg,#ffffff12,#ffffff05);border-radius:22px;box-shadow:inset 0 1px #ffffff16}
.fortune-page .spin,.olympus-page .spin{border-radius:18px;box-shadow:0 8px 24px #0004,inset 0 1px #ffffff65;min-height:58px}
.fortune-page #reels,.olympus-page #grid{position:relative}
.ssp-reel-overlay{position:absolute;inset:0;z-index:5;pointer-events:none;overflow:hidden;border-radius:inherit}
.ssp-reel-window{position:absolute;overflow:hidden;contain:paint}
.ssp-reel-strip{will-change:transform}
.ssp-fortune-roll .ssp-reel-window{border-radius:12px;box-shadow:inset 0 10px 18px #0002,inset 0 -10px 18px #0002}
.ssp-fortune-roll .ssp-reel-window.ssp-reel-settled{box-shadow:inset 0 0 0 1px #cce9b970,0 0 20px #73dfb320}
.ssp-fortune-roll .ssp-roll-tile .symbol-medal{box-shadow:0 7px 14px #0008,inset 0 1px #ffffff50}
.ssp-roll-tile{box-sizing:border-box;flex-shrink:0;position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:auto!important;animation:none!important;transition:none!important;opacity:1!important;transform:none!important}
.ssp-roll-tile img{object-fit:contain;max-width:100%;max-height:100%;pointer-events:none}
.ssp-reels-running>.reel>.cell,.ssp-reels-running>.symbol{visibility:hidden}
.fortune-page #reels .ssp-reel-window.reel{padding:0;gap:0;border:0;border-radius:0;background:transparent;display:block}
.ssp-fortune-roll .ssp-roll-tile{width:100%;margin-inline:0}
.ssp-olympus-roll .ssp-roll-tile img{width:82%;height:82%}
.olympus-page .grid>.symbol.drop{animation:none!important;transform:none;opacity:1}
.olympus-page .offer{background:linear-gradient(145deg,#35253ee6,#181426f0);border-color:#ffffff2e}
.olympus-page .offer h2{font:800 19px/1.12 -apple-system,BlinkMacSystemFont,system-ui,sans-serif;letter-spacing:-.035em;text-shadow:none}
.olympus-page .offer p,.olympus-page .offer>span{color:#c5b9d3}
.olympus-page .offer #sideBet{color:#f5e9ff;font-size:20px}
.olympus-page .offer #buyBonus{width:100%;min-height:78px;border-radius:18px;padding:12px 7px;border:1px solid #ffffff3a;background:linear-gradient(145deg,#9c7df0,#6647b9);color:#fff;box-shadow:inset 0 1px #fff4,0 8px 20px #0003}
.olympus-page .offer #buyBonus b{font-size:18px;white-space:nowrap}
.olympus-page .offer #chance{width:100%;border:1px solid #ffffff3b;font-size:10px;letter-spacing:.05em}
.olympus-page #personalBest{font-size:clamp(12px,1.2vw,19px)}
.ssp-video-retry{position:absolute;z-index:120;left:50%;top:50%;transform:translate(-50%,-50%);padding:16px 24px;border:1px solid #ffffff65;border-radius:18px;background:#17213aee;color:white;font-size:16px;cursor:pointer}
.ssp-video-error{position:absolute;z-index:120;left:10%;right:10%;top:38%;padding:20px;background:#111d;color:white;text-align:center;border-radius:18px}
.fortune-page .negative-takeover video{object-fit:contain}
.olympus-page .maxwin video,.olympus-page .pizza-loss video{max-height:78dvh;object-fit:contain}
@media(min-width:901px){
 .fortune-page header,.olympus-page header{height:64px;min-height:64px}
 body.fortune-page main{width:min(1420px,calc(100% - 56px));max-width:none;padding-top:18px}
 .fortune-page .stage-title{margin-bottom:14px}
 .fortune-page .stage-title h1{font-size:44px}
 .fortune-page .machine .machine-top{height:106px!important;min-height:0;padding:8px 28px}
 .fortune-page .machine-crown{height:24px}
 .fortune-page .tiger{width:150px;height:135px}
 .fortune-page .feature-strip{min-height:32px;padding:7px 14px}
 .fortune-page .reel-frame{padding:12px 18px}
 .fortune-page .reels{flex-basis:620px;width:min(620px,calc(100% - 70px));max-width:620px;gap:8px}
 .fortune-page #reels .reel .cell{height:clamp(76px,calc((100dvh - 555px)/3),142px)!important;aspect-ratio:auto}
 .fortune-page #reels .reel .cell .symbol-medal{width:min(94px,74%);max-height:calc(100% - 18px)}
 .fortune-page .message{padding:9px;min-height:34px}
 .fortune-page .machine .controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(140px,1.15fr) 92px 78px minmax(0,1fr)!important;margin:0 18px 10px;padding:13px 18px;gap:12px!important}
 .fortune-page .machine .controls>*{grid-column:auto!important;grid-row:auto!important}
 .fortune-page .machine-footer{min-height:32px;padding:8px 22px}
 .fortune-page .metric strong{font-size:clamp(16px,1.55vw,24px)}
 .olympus-page main{padding:18px 24px}
 .olympus-page .game-shell{width:min(1880px,100%);grid-template-columns:150px minmax(0,1fr) 220px 260px;gap:12px}
 .olympus-page .offer,.olympus-page .board,.olympus-page .mascot,.olympus-page .ranking{min-height:0}
 .olympus-page .grid{height:clamp(300px,calc(100dvh - 395px),600px)}
 .olympus-page .board .controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(125px,1fr) minmax(0,1fr)!important;padding:12px;gap:10px}
 .olympus-page .controls #turbo,.olympus-page .controls #autoSpin{grid-row:2}
 .olympus-page .mascot{min-height:520px}
 .olympus-page .ranking{max-height:calc(100dvh - 140px);overflow:auto}
 .double-page main{width:min(1600px,calc(100% - 48px));max-width:none}
 .double-page header{padding-block:6px;min-height:64px}
 .double-page .wheel-shell{border-radius:24px;background:linear-gradient(145deg,#1c2738,#0d1420);border:1px solid #ffffff2d;box-shadow:inset 0 1px #ffffff20,0 16px 40px #0004}
}
@media(min-width:901px) and (max-height:800px){.double-page main{margin-top:14px}.double-page .wheel-shell{height:138px;margin-block:14px}.double-page .hero{min-height:96px;padding-block:12px}.double-page .colors button{min-height:96px}}
@media(min-width:901px) and (max-width:1450px){.olympus-page .game-shell{grid-template-columns:125px minmax(0,1fr) 175px}.olympus-page .ranking{grid-column:1/-1;max-height:none}.olympus-page .mascot{min-height:0}}
@media(min-width:901px) and (max-height:780px){.fortune-page .stage-title{margin-bottom:8px}.fortune-page .stage-title h1{font-size:34px}.fortune-page .machine .machine-top{height:78px!important}.fortune-page .tiger{height:100px;width:115px}.fortune-page #reels .reel .cell{height:clamp(72px,calc((100dvh - 525px)/3),112px)!important}.fortune-page .machine .controls{padding:8px 12px}.olympus-page .grid{height:clamp(260px,calc(100dvh - 395px),460px)}}
@media(max-width:900px){.fortune-page .controls,.olympus-page .controls{border-radius:18px}.fortune-page #spin,.olympus-page #spin{scroll-margin-bottom:20px}.olympus-page .controls{position:relative}.olympus-page .grid{height:clamp(260px,52dvh,430px)}}
@media(min-width:621px) and (max-width:1100px){
 .olympus-page .game-shell{grid-template-columns:minmax(0,1fr)}
 .olympus-page .game-shell>.board{grid-column:1;grid-row:auto;order:0}
 .olympus-page .game-shell>.mascot{grid-column:1;grid-row:auto;order:1;min-height:140px}
 .olympus-page .game-shell>.ranking{grid-column:1;order:2}
 .olympus-page .board-head{min-height:0;padding:7px 9px 13px}
}
@media(max-width:620px){
 body.fortune-page header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;height:auto!important;min-height:0;padding:8px 12px}
 .fortune-page header .brand{grid-column:1;grid-row:1}
 .fortune-page header .top-actions{grid-column:1/-1;grid-row:2;justify-content:center}
 .fortune-page header #globalLevel{grid-column:2;grid-row:1;width:145px!important;min-width:0;max-width:145px;padding:5px 7px}
 .fortune-page #globalLevel .ssp-xp-track,.fortune-page #globalLevel .ssp-xp-details,.fortune-page #globalLevel .ssp-xp-percentage small{display:none}
 .fortune-page #globalLevel .ssp-medal-svg{width:28px;height:28px}
 body.fortune-page main{padding-top:12px!important}
 .fortune-page .stage-title{margin-bottom:10px!important}
 .fortune-page .machine .machine-top{height:76px!important}
 .fortune-page .machine-top .tiger{height:92px;width:94px}
 .fortune-page .machine-top h2{font-size:25px}
 .fortune-page .machine-top p{display:none}
 .fortune-page #reels .reel .cell{height:clamp(64px,calc((100dvh - 555px)/3),90px)!important;aspect-ratio:auto}
 .fortune-page #reels .reel .cell .symbol-medal{width:min(54px,74%);max-height:calc(100% - 13px)}
 .fortune-page .message{min-height:32px;padding:7px;font-size:10px}
 .fortune-page .machine .controls{padding:8px;gap:6px!important}
 body.olympus-page header{min-height:0;height:auto;padding:8px 10px;gap:6px}
 .olympus-page header #globalLevel{width:160px!important;min-width:0;max-width:160px;padding:5px 7px}
 .olympus-page #globalLevel .ssp-xp-track,.olympus-page #globalLevel .ssp-xp-details{display:none}
 .olympus-page .game-shell>.board{order:0;grid-row:auto}
 .olympus-page .game-shell>.offer{order:1;grid-row:auto}
 .olympus-page .game-shell>.mascot{order:2;grid-row:auto!important}
 .olympus-page .game-shell>.ranking{order:3}
 .olympus-page .grid{height:clamp(230px,calc(100dvh - 445px),400px)}
}
