:root{color-scheme:dark;font-family:Inter,system-ui,sans-serif;color:#fff6e4;background:#070c18}
*{box-sizing:border-box}
body{margin:0;min-height:100vh;background:linear-gradient(#03061038,#03061095),url('./assets/ui/arena.webp') center/cover fixed}
main{width:min(930px,100%);margin:auto;padding:12px 18px 26px}
header{text-align:center;margin-bottom:8px}
header img{width:clamp(145px,23vw,275px);display:block;margin:auto}
header p,footer{letter-spacing:.22em;font-size:.72rem;font-weight:750;color:#ffe1a2}
header p{margin:0}
.cabinet{position:relative;overflow:hidden;border:2px solid #dba858;border-radius:16px;background:linear-gradient(150deg,#171427,#070e20);box-shadow:0 0 32px #ff9e442d,inset 0 0 30px #15030d}
.grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:6px}
.cell{display:grid;place-items:center;height:clamp(52px,10vh,96px);border-inline-end:1px solid #efdca224}
.cell:nth-child(5n){border:0}
.cell img{width:100%;height:100%;max-height:clamp(49px,9.7vh,93px);padding:3px;object-fit:contain}
.cell.line img{filter:drop-shadow(0 0 7px #fbad27)}
.cell.hit img{filter:drop-shadow(0 0 9px #21ccff);animation:charge .42s ease-out}
@keyframes charge{50%{transform:scale(1.13);filter:drop-shadow(0 0 15px #cefaff)}}
.spinning img{animation:reel .28s ease-in-out infinite alternate}
@keyframes reel{to{transform:translateY(10%);opacity:.38;filter:blur(4px)}}
.lightning{position:absolute;inset:0;pointer-events:none;opacity:0}
.lightning svg{width:100%;height:100%;filter:drop-shadow(0 0 8px #09c4ff)}
.lightning path{stroke:#a9efff;stroke-width:2.5;stroke-linejoin:round;fill:none;vector-effect:non-scaling-stroke}
.lightning.active{animation:bolt .62s ease-out}
@keyframes bolt{0%{opacity:0}30%{opacity:1}100%{opacity:0}}
.controls{display:grid;grid-template-columns:1.2fr 1fr 1fr 1.2fr auto;align-items:center;gap:8px;margin-top:9px;padding:10px;border-radius:12px;background:#101622f5;border:1px solid #534632}
.metric{display:grid;gap:3px;min-width:0}
.metric span,label{color:#cfcbc7;font-size:.77rem}
.metric strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
label{display:grid;gap:4px}
button,select{min-height:38px;border:1px solid #8f744c;border-radius:8px;padding:6px 10px;background:#242232;color:#fff1d5;font:inherit;cursor:pointer}
button:disabled,select:disabled{opacity:.5;cursor:default}
button:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #72e1ff;outline-offset:3px}
#spin{background:linear-gradient(#bc2833,#721727);font-weight:900;letter-spacing:.1em}
#status{min-height:1.25em;margin:8px 0;color:#fdd689}
#previews:not([hidden]){display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
details{padding:9px 12px;background:#101622ee;border-radius:8px;font-size:.875rem}
summary{cursor:pointer}
footer{text-align:center;margin-top:12px}
dialog{width:min(510px,94%);background:#101827ee;color:#ffdfa2;border:2px solid #dfb472;border-radius:18px;text-align:center;padding:18px}
dialog::backdrop{background:#050a15ce}
dialog img{width:90%;max-height:36vh;object-fit:contain}
dialog p{margin:0}
dialog strong{display:block;font-size:2.35rem;margin:.2em 0}
@media(max-width:560px){main{padding-inline:8px}.controls{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:7px}#reset{grid-column:1/-1;justify-self:end;min-height:32px;font-size:.75rem}.metric strong{font-size:.85rem}}

main{width:min(1260px,100%);padding:8px 20px 24px}
header img{width:clamp(170px,24vw,310px);animation:logo-float 4.2s ease-in-out infinite;filter:drop-shadow(0 5px 18px #177fff6e)}
@keyframes logo-float{50%{transform:translateY(-5px);filter:drop-shadow(0 5px 26px #20bcffb8)}}
.cabinet{--cell:clamp(65px,12.3vh,131px);border:3px solid #e9b15f;box-shadow:0 0 0 4px #5e371e,0 0 0 6px #c68a49,0 0 34px #e78d4774;background:linear-gradient(90deg,#0d101f 19.7%,#563c27 20%,#151625 20.3%,#121426 39.7%,#503923 40%,#131827 40.3%,#151625 59.7%,#503923 60%,#101325 60.3%,#151625 79.7%,#503923 80%,#101224 80.3%);margin:10px 4px}
.cabinet::after{content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;box-shadow:inset 0 10px 18px #0007,inset 0 -10px 18px #0007}
.grid{padding:0}
.cell{height:var(--cell);border:0}
.cell img,#reels img{width:100%;height:var(--cell);max-height:none;padding:0;object-fit:contain}
.cell.line img{animation:winning-symbol .86s ease-in-out 3;filter:drop-shadow(0 0 12px #ffb222)}
.cell.hit img{animation:winning-symbol .58s ease-in-out 3;filter:drop-shadow(0 0 13px #29d9ff)}
.cell.edge img{animation:winning-symbol .65s ease-in-out 3;filter:drop-shadow(0 0 18px #ffc665)}
@keyframes winning-symbol{40%{transform:scale(1.16) translateY(-3px);filter:drop-shadow(0 0 16px #ffe392)}}
#reels{position:absolute;inset:0;pointer-events:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));overflow:hidden}
.reel-mask{height:100%;overflow:hidden}
.reel-strip{display:grid;grid-auto-rows:var(--cell);width:100%;will-change:transform}
.lightning{z-index:2}
.lightning.active{animation:bolt 1.05s ease-out}
.lightning path{stroke-width:4;filter:drop-shadow(0 0 9px #53dfff)}
.cabinet.impact{animation:impact .48s ease-out}
@keyframes impact{20%{transform:translateX(-4px)}45%{transform:translateX(4px)}70%{transform:translateX(-2px)}}
#spin{min-height:52px;font-size:1.1rem;box-shadow:inset 0 1px #ffe0aa,0 0 19px #f63f373a}
#spin:not(:disabled):hover{filter:brightness(1.24);transform:translateY(-1px)}
.metric strong{font-size:clamp(.9rem,2vw,1.5rem)}
#multiplier{color:#ffcd6d;font-weight:800}
#sound{float:right;min-height:32px;margin-left:6px;font-size:.76rem}
#previews button{min-height:34px;font-size:.8rem}
dialog{isolation:isolate;overflow:hidden;max-width:none;width:min(760px,94vw);padding:20px 16px 24px;background:radial-gradient(ellipse at 50% 25%,#245979,#050c1b 76%);box-shadow:0 0 55px #31bcef7a}
dialog[data-tier=major]{background:radial-gradient(ellipse at 50% 25%,#5c236d,#100717 75%);box-shadow:0 0 65px #b93de6a0}
dialog[data-tier=grand]{background:radial-gradient(ellipse at 50% 25%,#812914,#160706 75%);box-shadow:0 0 95px #f7a23da8}
dialog[open]{animation:award-enter .66s cubic-bezier(.2,.85,.34,1.18) both}
@keyframes award-enter{from{opacity:0;transform:translateY(24px) scale(.76)}to{opacity:1;transform:translateY(0) scale(1)}}
dialog img{width:min(85%,560px);max-height:37vh;animation:award-art 2.6s ease-in-out infinite;filter:drop-shadow(0 0 24px #ffc85090)}
@keyframes award-art{50%{transform:translateY(-6px) scale(1.035)}}
dialog strong{font-size:clamp(2.3rem,7vw,4.7rem);line-height:1.05;text-shadow:0 0 22px #fdb34c88}
#award-stages{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;margin:8px auto;min-height:28px}
#award-stages span{padding:5px 9px;border:1px solid #eecb7780;border-radius:20px;background:#110d1cb5;color:#ffe3a0;font-size:.84rem;animation:award-enter .32s ease-out both}
#particles{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1}
#particles i{position:absolute;left:50%;top:43%;width:7px;height:7px;border-radius:2px;background:var(--color);box-shadow:0 0 12px var(--color);animation:spark var(--duration) ease-out var(--delay) both}
@keyframes spark{0%{transform:translate(0,0);opacity:0}16%{opacity:.95}100%{transform:translate(var(--x),var(--y)) rotate(220deg);opacity:0}}
@media(max-width:650px){main{padding:8px 9px 16px}.cabinet{--cell:clamp(57px,11vh,100px)}header img{width:185px}.controls{gap:6px}.metric strong{font-size:.9rem}#spin{min-height:42px;font-size:.82rem}}
@media(max-height:530px) and (orientation:landscape){header img{width:114px}.cabinet{--cell:clamp(36px,12vh,64px)}header p{font-size:.62rem}}

:root{--brass:#f9c579;--ivory:#fff0d5;--dim:#c5a883}
html,body{height:100%;overflow:hidden;overscroll-behavior:none}
body{background-position:center;background-size:cover}
main{width:min(1440px,100%);height:100dvh;padding:clamp(6px,1.4vh,16px) clamp(9px,2.3vw,34px) 6px;display:grid;grid-template-rows:clamp(42px,19dvh,190px) minmax(0,1fr) auto 18px;gap:clamp(4px,1vh,12px);position:relative}
header{min-height:0;margin:0;display:flex;align-items:center;justify-content:center;gap:4px;flex-direction:column}
header img{height:calc(100% - 14px);width:auto;max-width:45vw;object-fit:contain;min-height:0}
header p{font-size:clamp(.49rem,1.3vh,.7rem);line-height:1}
.cabinet{--cell:100%;min-height:0;margin:1px 3px 4px}
.grid{height:100%;grid-template-rows:repeat(4,minmax(0,1fr))}
.cell{height:auto;min-height:0;overflow:visible}
.cell img{height:100%;width:100%;max-height:100%;transform:scale(1.1)}
.reel-strip{grid-auto-rows:var(--reel-cell,80px)}
#reels img{height:var(--reel-cell,80px);transform:scale(1.1)}
.controls{min-height:0;margin:0;padding:clamp(4px,1vh,12px) clamp(6px,1.2vw,18px);grid-template-columns:1fr 1.8fr 1fr 1fr;gap:clamp(4px,1.3vw,18px);background:linear-gradient(180deg,#34251f,#140d17 22%,#22121d 76%,#412d22);border:1px solid #a86f37;box-shadow:inset 0 1px #ffdf9e85,0 5px 20px #0008;border-radius:13px}
.metric,.bet-group{min-width:0}
.metric{background:#070b15a8;border:1px solid #b88b503d;border-radius:8px;padding:4px clamp(5px,1vw,12px);min-height:42px}
.metric span,.bet-group>span{color:var(--dim);font-size:clamp(.55rem,1.1vw,.72rem);letter-spacing:.11em;text-transform:uppercase;font-weight:800}
.metric strong{font-size:clamp(.73rem,2vw,1.46rem);white-space:nowrap}
.metric.win{position:relative;padding-right:30px}
#multiplier{position:absolute;right:5px;top:5px;font-size:.68rem}
.bet-bar{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:3px;align-items:stretch}
.bet-bar button,.toolbar button,.flyout button{color:var(--ivory);background:linear-gradient(#483223,#24171b 58%,#322326);border:1px solid #b98449;box-shadow:inset 0 1px #eab67455;font-weight:800}
.bet-bar button{min-height:29px;padding:0 clamp(4px,1vw,11px)}
.bet-bar output{display:grid;place-items:center;white-space:nowrap;background:#090d17;border:1px solid #805c3a;border-radius:6px;color:#ffddb0;font-weight:900;font-size:clamp(.65rem,1.7vw,1.15rem)}
#bet-max{font-size:.59rem}
#spin{position:relative;min-height:38px;height:100%;font-size:clamp(.72rem,2vw,1.22rem);padding:3px;border:2px solid #e6a45d;background:radial-gradient(ellipse at top,#f74739,#a81527 46%,#5d101d);text-shadow:0 2px #5e100d;box-shadow:inset 0 0 0 2px #ffe3a23d,0 0 17px #f53e4d42}
#status{margin:0;text-align:center;line-height:18px;font-size:clamp(.62rem,1.3vw,.8rem);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.toolbar{z-index:5;position:absolute;top:clamp(6px,1.5vh,16px);right:clamp(9px,2.3vw,34px);display:flex;gap:4px}
.toolbar button{min-width:34px;min-height:33px;margin:0;padding:3px 6px;border-radius:7px;font-size:1.04rem;float:none!important}
.toolbar button small{font-size:.55rem;color:#ffdda0}
.toolbar button[aria-expanded=true],.toolbar button[aria-pressed=true]{outline:1px solid #81d9ff;color:#a9edff}
.flyout{z-index:6;position:absolute;top:48px;right:clamp(9px,2.3vw,34px);width:min(370px,calc(100% - 18px));max-height:calc(100dvh - 58px);overflow:auto;padding:13px;border:1px solid #b68547;border-radius:9px;background:#100e19f5;box-shadow:0 12px 38px #000b;color:var(--ivory);font-size:.86rem}
.flyout h2{margin:0 0 8px;font-size:1rem;color:#ffd699}
#reset{float:none;min-height:32px;margin:2px}
dialog{position:fixed;inset:0;margin:0;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;border:0;border-radius:0;padding:0;background:#06111d!important;box-shadow:none}
dialog[open]{display:grid;place-items:center}
dialog[open]::before{content:'';position:absolute;inset:0;z-index:-2;background:linear-gradient(#02071322,#02071082),var(--reward-bg) center/cover no-repeat;animation:scene-in 1.1s ease-out both}
@keyframes scene-in{from{transform:scale(1.07);opacity:.22}to{transform:scale(1);opacity:1}}
.reward-content{width:min(90vw,800px);max-height:100%;display:grid;justify-items:center;align-content:center;padding:6px}
dialog img{width:min(82vw,680px);height:min(54dvh,570px);max-height:none;object-fit:contain;filter:drop-shadow(0 0 28px #ffca696a)}
dialog[data-tier=thunder] img{filter:drop-shadow(0 0 28px #62c7ff91)}
dialog[data-tier=major] img{filter:drop-shadow(0 0 28px #d74bff8a)}
dialog strong{color:#fff1c9;margin:.09em 0 .24em;font-variant-numeric:tabular-nums}
dialog form button{background:linear-gradient(#5e3530,#290f19);border:1px solid #e4b569;font-weight:800}
#award-stages{margin:4px auto;min-height:0}
#particles{z-index:-1}
@media(max-width:600px){main{grid-template-rows:clamp(70px,18dvh,135px) minmax(0,1fr) auto 18px}header{justify-content:end}header img{height:calc(100% - 39px);max-width:55vw}.toolbar button{min-height:27px;min-width:26px;font-size:.85rem;padding:2px 4px}.controls{grid-template-columns:.9fr 1.5fr .8fr .9fr}.metric.win{padding-right:3px}#multiplier{position:static;font-size:.57rem}.metric{min-height:35px}}
@media(max-height:430px) and (orientation:landscape){main{grid-template-rows:42px minmax(0,1fr) auto 12px;gap:3px}.toolbar button{min-height:25px}.metric{min-height:30px;padding-block:2px}.controls{padding-block:3px}#status{line-height:12px}dialog img{height:50dvh}dialog strong{font-size:2rem}.reward-content{padding:0}}
main{width:min(1600px,100%);height:100dvh;grid-template-columns:minmax(0,1fr) clamp(140px,15.5vw,226px);grid-template-rows:clamp(52px,15dvh,146px) minmax(0,1fr);gap:7px clamp(9px,1.5vw,22px);padding:7px clamp(10px,2vw,30px) 11px}
main>header{grid-column:1/-1}
header img{height:calc(100% - 12px);max-width:45vw}
.game-board{min-width:0;min-height:0;display:grid;grid-template-rows:clamp(46px,8.8dvh,86px) minmax(0,1fr) 15px;gap:8px}
.prizes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(4px,.9vw,12px)}
.prize{position:relative;display:grid;align-content:center;justify-items:center;min-width:0;min-height:0;padding:2px 0;overflow:hidden;color:#fff1ca;border:1px solid var(--metal);background:radial-gradient(ellipse at 50% 125%,var(--color),#140d1b 85%);border-radius:11px;box-shadow:inset 0 0 0 2px #ffd48125,inset 0 0 16px #080510ba,0 3px 12px #0007}
.prize::before,.prize::after{content:'✦';color:var(--metal);position:absolute;top:50%;transform:translateY(-50%);font-size:clamp(.49rem,1.5vw,1.1rem)}
.prize::before{left:7%}.prize::after{right:7%}
.prize.grand{--color:#941b2a;--metal:#eda451}.prize.major{--color:#693378;--metal:#d2a278}.prize.strike{--color:#116886;--metal:#74d1e6}
.prize span{font:900 clamp(.52rem,1.8vw,1.4rem)/1.05 Georgia,serif;letter-spacing:.07em;text-shadow:0 2px #120b10}
.prize strong{font-size:clamp(.72rem,2.2vw,1.52rem);line-height:1.25;font-variant-numeric:tabular-nums}
.prize small{font-size:clamp(.45rem,.78vw,.65rem);letter-spacing:.13em;color:#ffe5b2b8}
.prize:not(:disabled):hover{filter:brightness(1.23)}
.cabinet{margin:1px 3px 2px;--cell:auto}
.grid{height:100%;width:100%;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr))}
.cell{position:relative;display:block;min-width:0;min-height:0;height:auto;overflow:hidden;isolation:isolate}
.cell img{position:absolute;inset:7%;width:86%;height:86%;max-width:86%;max-height:86%;padding:0;object-fit:contain;transform:none}
.cell.line img,.cell.hit img,.cell.edge img{animation-name:contained-win}
@keyframes contained-win{42%{transform:scale(1.11);filter:drop-shadow(0 0 12px #ffe392)}}
#reels img{align-self:center;justify-self:center;width:86%;height:calc(.86 * var(--reel-cell));max-width:86%;max-height:none;transform:none}
.command{position:relative;min-height:0;min-width:0;display:flex;flex-direction:column;gap:8px;padding:clamp(5px,1vw,13px);border:1px solid #b98246;border-radius:13px;background:linear-gradient(145deg,#3c211e,#100d17 25%,#25161c 83%,#4c301e);box-shadow:inset 0 0 0 2px #ffd28331,0 4px 16px #0009}
.command .controls{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:7px;background:none;border:0;box-shadow:none;padding:0}
.command .metric{min-height:0;padding:4px 8px}
.command .metric strong{font-size:clamp(.85rem,1.8vw,1.5rem)}
.command .metric.win{padding-right:6px}
.command #multiplier{position:static;line-height:1}
.command #spin{min-height:clamp(42px,8.5dvh,80px);font-size:clamp(.85rem,2.1vw,1.6rem)}
.command #spin b{color:#ffd084}
.command .bet-bar{gap:3px}
.command .bet-bar button{min-height:29px;padding-inline:5px}
.command .toolbar{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.command .toolbar button{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:2px 4px;min-width:0;min-height:34px;padding:2px}
.command .toolbar button b{font-size:1.15rem;line-height:1}
.command .toolbar button small,.command .toolbar button em{font-size:.53rem;font-style:normal;color:#ffe2b4}
.command .flyout{top:auto;bottom:7px;right:calc(100% + 8px);width:min(340px,65vw);max-height:68dvh}
#status{font-size:clamp(.52rem,1.2vw,.76rem);line-height:15px}
dialog[data-tier=grand]{--award-metal:#ffcb6a;--award-fill:#931c2e}
dialog[data-tier=major]{--award-metal:#edc77f;--award-fill:#6e247d}
dialog[data-tier=thunder]{--award-metal:#97eaff;--award-fill:#123f66}
dialog .continue-marquee{display:flex;align-items:center;justify-content:center;gap:13px;min-height:53px;padding:6px clamp(13px,3vw,35px);border:2px solid var(--award-metal);border-radius:9px;box-shadow:inset 0 0 0 3px #fff1ab23,0 0 24px color-mix(in srgb,var(--award-metal),transparent 62%),0 4px 0 #0c0711;background:linear-gradient(#fff2ba30,transparent 55%),var(--award-fill);color:#fff0c4;font:900 clamp(.79rem,2.6vw,1.18rem) Georgia,serif;letter-spacing:.13em;text-shadow:0 2px 2px #0c0711}
dialog .continue-marquee span{color:var(--award-metal)}
dialog .continue-marquee:not(:disabled):hover{filter:brightness(1.28);transform:translateY(-2px)}
@media(max-width:660px){main{grid-template-columns:minmax(0,1fr) clamp(101px,23vw,143px);grid-template-rows:clamp(52px,14dvh,114px) minmax(0,1fr);gap:6px 8px;padding-inline:7px}header img{height:calc(100% - 13px)}.game-board{gap:5px}.command{padding:4px;gap:5px}.command .controls{gap:5px}.command .metric{padding:3px 4px}.command .toolbar button{min-height:28px}.command .toolbar button b{font-size:.9rem}.command .toolbar button small{font-size:.46rem}.prize::before,.prize::after{display:none}.prize span{letter-spacing:0}}
@media(max-height:540px){main{grid-template-rows:clamp(34px,12dvh,71px) minmax(0,1fr);padding-block:3px 6px;gap:4px 8px}.game-board{grid-template-rows:36px minmax(0,1fr) 13px;gap:4px}.command,.command .controls{gap:4px}.command .toolbar button{min-height:24px}.command .metric{grid-template-columns:auto 1fr;align-items:center;gap:3px}.command .metric strong{text-align:right;font-size:.84rem}.command .metric.win small{grid-column:1/-1}.command #spin{min-height:37px}.command .bet-bar button{min-height:23px}dialog img{height:45dvh}dialog .continue-marquee{min-height:36px}}
#previews.demo-stack:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr);gap:4px;overflow:auto;min-height:0;margin:0}
.demo-stack h2{font-size:.66rem;letter-spacing:.12em;margin:3px 0;color:#f4c37d}
.demo-stack button{min-height:25px;padding:1px 6px;display:flex;align-items:center;gap:5px;color:#ffedc5;border-color:#7e573c;background:linear-gradient(#402a25,#17101a);font-size:clamp(.48rem,1vw,.73rem);text-align:left}
.demo-stack button img,.demo-stack button>span[aria-hidden]{width:29px;height:23px;object-fit:contain;text-align:center;color:#ffc269;font-weight:900}
.demo-stack #reset{margin:0;min-height:22px}
.cabinet[data-charge=grand]{--surge:#ffb553}.cabinet[data-charge=major]{--surge:#d281fe}.cabinet[data-charge=thunder]{--surge:#4ae9ff}
.cabinet.jolt{animation:surge .58s ease-out}
@keyframes surge{18%{transform:translateX(-3px);box-shadow:0 0 40px 5px var(--surge)}40%{transform:translateX(2px)}}
#reels .landed-feature{filter:drop-shadow(0 0 10px #80e6ff);animation:contained-win .53s ease-out}
#info-dialog{background:#090610eb!important}
#info-dialog::before{display:none}
.info-book{width:min(92vw,820px);max-height:92dvh;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:10px;padding:clamp(8px,2vw,22px);background:radial-gradient(ellipse at top,#35223c,#0d1021 80%);border:2px solid #ad7b4c;border-radius:16px}
.info-book header,.info-book nav{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:12px}
.info-book h2{font:800 clamp(1rem,3vw,1.8rem) Georgia,serif;margin:0;color:#fbd093}
#info-content{min-height:0;overflow:auto;text-align:left;font-size:clamp(.72rem,1.55vw,1rem)}
#info-content p{margin:0 0 8px}
.paylist{display:grid;gap:3px}.paylist>div{display:grid;grid-template-columns:40px minmax(0,1fr) repeat(3, minmax(39px,76px));gap:3px;align-items:center;background:#ffffff0c;padding:1px 3px;border-radius:6px}
#info-dialog .paylist img{width:37px;height:34px;animation:none}
#info-dialog .featurelist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;text-align:center}
#info-dialog .featurelist img{width:100%;height:clamp(62px,22vh,174px);animation:none}
#info-dialog .featurelist strong{font-size:clamp(.85rem,3vw,1.65rem)}
.linelist{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.linelist>div{text-align:center;background:#ffffff0b;padding:4px;border-radius:9px}
.lineart{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px}.lineart i{display:block;aspect-ratio:1.3;background:#353348;border-radius:2px}.lineart i.lit{background:#ffbe63;box-shadow:0 0 6px #f69a53}
.lightning.active{animation:bolt-strike .84s ease-out}
@keyframes bolt-strike{0%{opacity:0}8%{opacity:1}27%{opacity:.7}68%{opacity:.24}100%{opacity:0}}
.lightning svg{filter:none;overflow:visible}
.lightning svg path{stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.lightning .bolt-glow{stroke:#11b9ff;stroke-width:17;filter:url(#boltGlow)}
.lightning .bolt-core{stroke:#e9fcff;stroke-width:3.4;filter:drop-shadow(0 0 4px #64dbff) drop-shadow(0 0 9px #008aff)}
.lightning .bolt-forks{stroke:#8ae5ff;stroke-width:1.1;filter:drop-shadow(0 0 3px #24b6ff)}
.cabinet[data-charge=major].jolt{animation:major-hit .68s ease-out}
@keyframes major-hit{13%{transform:translateX(-5px);box-shadow:0 0 38px 5px #cf67fa}27%{transform:translateX(4px)}42%{transform:translateX(-3px)}64%{transform:translateX(2px)}}
.cabinet[data-charge=staggered]{--surge:#7bafff}
dialog[data-tier=staggered]{--award-metal:#a3c5ff;--award-fill:#192e5b}
dialog[data-tier=staggered] img{height:min(38dvh,350px);filter:drop-shadow(0 0 28px #89cfff)}
.command .toolbar button#speed{gap:0}
.command button#speed>b,.command button#speed>small{display:none}
.command button#speed>.speed-arrows{font:bold 1.7rem/1 Georgia,serif;letter-spacing:.04em}
#info-dialog .featurelist{grid-template-columns:repeat(4,minmax(0,1fr))}
#info-dialog .featurelist b{font-size:clamp(.49rem,1.5vw,.9rem)}
#info-dialog .featurelist strong{white-space:nowrap;font-size:clamp(.58rem,2.1vw,1.5rem)}
.command .metric strong{font-size:clamp(.59rem,1.65vw,1.42rem)}
/* Layout fixes after the November 2026 audit (MONOFRAME GAMING). */
/* The prize row grows to fit its text instead of clipping the titles. */
.game-board{grid-template-rows:minmax(clamp(46px,8.8dvh,86px),auto) minmax(0,1fr) 15px}
/* Command column: credits, bet, SPIN, win and the menu keep their size; only the preview list scrolls. */
.command>.controls,.command>.toolbar,.command .controls>*{flex-shrink:0}
#previews.demo-stack:not([hidden]){flex:1 1 auto;min-height:0;overflow:auto}
.command .metric strong{white-space:normal;overflow-wrap:anywhere}
/* Narrow screens: the bet amount gets its own row above the buttons, so it never collapses to zero width. */
@media(max-width:660px){
  .command .bet-bar{grid-template-columns:repeat(3,minmax(0,1fr))}
  .command .bet-bar output{grid-column:1/-1;grid-row:1;min-height:26px}
}
/* Short landscape screens: smaller prize titles, no "fixed award" line. */
@media(max-height:540px){
  .game-board{grid-template-rows:auto minmax(0,1fr) 13px}
  .prize small{display:none}
  .prize span{font-size:.6rem}
}

/* AUTO: under SPIN, lit while auto play runs. */
#auto{display:flex;align-items:center;justify-content:center;gap:6px;min-height:32px;width:100%;padding:2px 6px;color:var(--ivory,#fff1ca);font-weight:900;letter-spacing:.1em;background:linear-gradient(#483223,#24171b 58%,#322326);border:1px solid #b98449;border-radius:8px;box-shadow:inset 0 1px #eab67455;cursor:pointer}
#auto b{color:#ffd084;font-size:1.05rem;line-height:1}
#auto em{font-style:normal;font-size:.6rem;color:#ffe2b4;letter-spacing:.08em}
#auto:not(:disabled):hover{filter:brightness(1.2)}
#auto.active{border-color:#81d9ff;color:#a9edff;box-shadow:inset 0 1px #bff2ff66,0 0 14px #49c9ff66}
#auto.active b{animation:auto-turn 1.2s linear infinite}
#auto:disabled{opacity:.55;cursor:default}
@keyframes auto-turn{to{transform:rotate(360deg)}}
@media(max-height:540px){#auto{min-height:26px}}
#auto{font-size:clamp(.66rem,1.5vw,1rem)}
@media(max-width:660px){#auto{gap:3px;padding:2px;letter-spacing:.04em}#auto em{display:none}}

/* AUTO spin count picker: opens from AUTO, placed by script next to it. */
#auto-menu{position:fixed;z-index:20;display:grid;grid-template-columns:repeat(5,minmax(40px,auto));gap:5px;padding:9px;border:1px solid #b68547;border-radius:9px;background:#100e19f5;box-shadow:0 12px 38px #000b}
#auto-menu[hidden]{display:none}
#auto-menu p{grid-column:1/-1;margin:0 0 2px;font-size:.62rem;font-weight:900;letter-spacing:.14em;color:#ffd699;text-align:center}
#auto-menu button{min-height:34px;padding:3px 6px;color:var(--ivory,#fff1ca);font-weight:900;font-size:.9rem;background:linear-gradient(#483223,#24171b 58%,#322326);border:1px solid #b98449;border-radius:7px;box-shadow:inset 0 1px #eab67455;cursor:pointer}
#auto-menu button:hover,#auto-menu button:focus-visible{border-color:#81d9ff;color:#a9edff;outline:none}
@media(max-width:420px){#auto-menu{grid-template-columns:repeat(5,minmax(34px,auto));padding:7px;gap:4px}#auto-menu button{min-height:30px;font-size:.8rem}}
