:root{--red:#a71935;--red-deep:#6b142d;--ink:#382432;--gold:#e7bb65;--ivory:#fbf5e9;--blue:#163e78;--muted:#8a7480;--accent:#e7bb65;color-scheme:light}*{box-sizing:border-box}body{margin:0;background:var(--ivory);color:var(--ink);font-family:Arial,Helvetica,sans-serif}button,input,a{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #2e82da;outline-offset:4px}[hidden]{display:none!important}.masthead{height:106px;padding:0 4.3%;display:flex;gap:38px;align-items:center;background:#a71935;color:#fff2d0;border-bottom:1px solid #edcc7b;position:relative;z-index:20}.wordmark{font-size:34px;font-weight:900;letter-spacing:-1.8px;white-space:nowrap;font-style:italic}.wordmark>span:not(.brand-star){color:#efd18c}.brand-star{font-size:40px;color:var(--gold);vertical-align:middle;margin-right:6px}.wordmark small{display:block;font-size:8px;font-weight:500;font-style:normal;letter-spacing:3px;margin:4px 0 0 44px}.masthead nav{display:flex;gap:25px;margin-right:auto;align-items:center}.nav-link{border:0;background:none;font-size:12px;color:#f1cbd0;white-space:nowrap;padding:14px 0}.nav-link.selected{color:#fff3cc;border-bottom:2px solid var(--gold)}.header-right{display:flex;align-items:center;gap:12px}.demo-pill{font-size:8px;letter-spacing:1px;white-space:nowrap}.demo-pill i{display:inline-block;width:6px;height:6px;background:#8adcb4;border-radius:50%;margin-right:4px}.wallet{position:relative;padding:10px 40px 10px 16px;background:#f4dfa7;border:1px solid #ffeeb5;border-radius:10px;text-align:left;color:#701b30;min-width:155px}.wallet small{display:block;font-size:7px;letter-spacing:1.4px;margin-bottom:4px}.wallet b{font-size:18px;white-space:nowrap}.wallet>span{position:absolute;right:12px;top:18px;font-size:24px}.round-button{width:39px;height:39px;border:1px solid #d78796;border-radius:50%;color:#fff3d4;background:none;font-size:23px}.welcome{display:flex;justify-content:space-between;padding:25px 0 20px;font-size:9px;letter-spacing:1.4px;color:#977282}#lobbyView{max-width:1560px;margin:auto;padding:0 4.3%}.hero{height:500px;position:relative;overflow:hidden;background:#63172c;border-radius:7px;color:#fff0cd;box-shadow:0 16px 40px #8f24301b;border:1px solid #d1ad63}.hero-art{position:absolute;inset:0;background:linear-gradient(90deg,#62182ce8,transparent 80%),url('/static/assets/studio9/hero.webp') center/cover}.hero-copy{position:relative;z-index:2;padding:50px 5%;max-width:60%}.eyebrow{font-size:9px;font-weight:700;letter-spacing:2px;color:#edcd8e}.eyebrow.red{color:#a25a4d}.hero h1{font-family:Georgia,serif;font-weight:400;font-size:86px;letter-spacing:-3.5px;line-height:.97;margin:22px 0}.hero h1 em{color:#efcf7c;font-weight:400}.hero p{font-size:14px;line-height:1.7;color:#f4d9d9}.gold-button{height:54px;border-radius:5px;border:1px solid #fbe6a5;color:#541c28;background:linear-gradient(120deg,#f9e4a5,#d9aa4f);padding:0 24px;font-weight:700;font-size:12px;box-shadow:0 4px 15px #0002}.gold-button>span{margin-left:40px;font-size:20px}.hero-footnote{margin-top:29px;font-size:7px;letter-spacing:2px;color:#e3bcbf}.hero-footnote span{color:#f7d375;margin:0 12px}.hero-stamp{position:absolute;right:4%;bottom:35px;transform:rotate(-9deg);width:140px;height:140px;border:1px solid #eac871;border-radius:50%;outline:1px solid #eac871;outline-offset:5px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#56142b88;gap:10px}.hero-stamp span{font-size:7px;letter-spacing:1px}.hero-stamp b{font:18px Georgia,serif}.benefit-strip{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #decdbb;padding:23px 10px;color:#956b5d;font-size:10px}.benefit-strip b{font-size:19px;margin-right:8px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:44px 0 23px}.section-heading h2{font:42px Georgia,serif;letter-spacing:-1.3px;margin:10px 0 0;color:#702a3b}.search{width:285px;background:#fffaf1;border:1px solid #decebb;border-radius:7px;display:flex;align-items:center;padding:10px 12px;gap:10px}.search>span{font-size:25px;color:#a71935}.search input{border:0;background:none;width:100%;outline:none;font-size:12px;color:#583643}.filters{display:flex;gap:8px;overflow-x:auto;padding-bottom:15px;margin-bottom:15px}.filters button{border:1px solid #dfcfb9;background:#fffbf2;color:#93756e;border-radius:5px;padding:12px 17px;white-space:nowrap;font-size:10px}.filters button.active{background:var(--red);color:#fff0d0;border-color:var(--red);box-shadow:0 4px 12px #a7193522}.filters b{margin-left:7px;font-size:8px;opacity:.6}.game-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px 18px}.game-card{position:relative;min-width:0}.poster-button{display:block;width:100%;padding:0;border:1px solid #d8ac5b;background:#391c2d;border-radius:8px;overflow:hidden;aspect-ratio:4/5;position:relative;box-shadow:0 9px 18px #63273313;transition:transform .25s,box-shadow .25s;text-align:left;color:#fff1d4}.poster-button:hover{transform:translateY(-5px);box-shadow:0 16px 28px #63273333}.poster-art,.game-world,.portrait-medallion{background-image:url('/static/assets/studio9/worlds.webp');background-size:500% 600%;background-position:var(--art-x) var(--art-y)}.poster-art{position:absolute;inset:0;transition:transform .7s}.poster-button:hover .poster-art{transform:scale(1.04)}.poster-shade{position:absolute;inset:0;background:linear-gradient(0deg,#241120f2,transparent 75%)}.poster-content{position:absolute;left:15px;right:15px;bottom:18px}.poster-content small{font-size:7px;letter-spacing:1.6px;color:#eed28f}.poster-content b{display:block;font:28px/.96 Georgia,serif;margin:10px 0 12px;letter-spacing:-.5px}.poster-content span{font-size:8px;font-weight:700;letter-spacing:1px}.fav-button{position:absolute;right:10px;top:10px;border:1px solid #f5db9c66;border-radius:50%;background:#24152899;backdrop-filter:blur(5px);color:#fff2ca;width:31px;height:31px;font-size:20px}.fav-button.active{background:#a71935;color:#ffe4a2}.game-card>h3{font-size:12px;margin:12px 0 6px}.game-card>p{font-size:8px;color:#a68472;margin:0;letter-spacing:.4px}.empty-state{padding:60px;text-align:center}.lobby-footer{text-align:center;padding:64px 20px 38px}.lobby-footer strong{font-size:25px;letter-spacing:-1px;color:#a71935;font-style:italic}.lobby-footer p{font:19px Georgia,serif;color:#8d6d69}.lobby-footer small{font-size:9px;color:#a18c81}.resume-banner{border:1px solid #d9aa55;padding:14px;background:#fff0b9;color:#7a462b;margin-bottom:20px;font-size:12px;cursor:pointer}
/* Cabinet stage */
#gameView{position:relative;min-height:calc(100dvh - 106px);background:#171a30;color:#f9efdc;overflow:hidden}.game-world{position:absolute;inset:-2%;filter:blur(6px);opacity:.2}.game-world:after{content:'';position:absolute;inset:0;background:linear-gradient(#121b3366,#121b33bb)}.game-top{display:flex;align-items:center;gap:18px;position:relative;padding:20px 3%}.game-top h1{font:32px Georgia,serif;margin:5px 0 0;color:#ffe9b1}.back-button,.glass-button{background:#ffffff08;border:1px solid #f2d6923d;color:#f4e1b9;border-radius:6px;padding:12px 16px;font-size:10px}.back-button{font-size:21px}.back-button span{font-size:10px}.game-top-tools{margin-left:auto;display:flex;gap:8px}.cabinet-layout{position:relative;display:grid;grid-template-columns:minmax(130px,19%) minmax(0,1fr) minmax(140px,17%);gap:25px;padding:5px 3% 20px;max-width:1600px;margin:auto}.title-panel{padding:20px 0}.title-panel h2{font:35px/1.06 Georgia,serif;color:#f4d285;margin:16px 0}.title-panel p{font-size:11px;line-height:1.7;color:#c0b8c4}.portrait-medallion{width:135px;aspect-ratio:1;border-radius:50%;border:3px double #dab66b;margin:24px auto;box-shadow:0 0 40px #dcb35822}.math-medallion{border-top:1px solid #f2d69235;padding:17px 0;display:flex;gap:12px;align-items:center}.math-medallion>b{font:31px Georgia,serif;color:#e7c578}.math-medallion>span{font-size:7px;letter-spacing:.9px;line-height:1.5;max-width:100px}.title-panel>small{font-size:8px;color:#a8a1b2;line-height:1.5}.stage{min-width:0}.stage-caption{height:31px;display:flex;align-items:center;justify-content:space-between;letter-spacing:1.4px;font-size:8px;color:#d4b77a}.marquee-frame{position:relative;aspect-ratio:5/4;max-height:66dvh;border:7px solid transparent;border-radius:14px;background:linear-gradient(#eee1c4,#f6efdc) padding-box,linear-gradient(135deg,#fff1ba,#9c662b 35%,#ecd17e 65%,#9d642d) border-box;padding:9px;box-shadow:0 0 0 1px #ffe7a5,0 20px 70px #0008,inset 0 0 40px #bf915633}.marquee-frame:before{content:'';position:absolute;inset:-5px;border:1px dashed #fff5bc;pointer-events:none;border-radius:10px}.reels{height:100%;display:grid;grid-template-columns:repeat(5,1fr);gap:4px;border-radius:5px;overflow:hidden;background:#eadfc9}.sr-reel{position:relative;overflow:hidden;background:#f6efdf;min-width:0}.sr-strip{position:absolute;left:0;right:0;will-change:transform;filter:blur(var(--sr-blur,0px))}.sr-tile{position:relative;padding:3px;overflow:hidden}.sr-tile img{width:100%;height:100%;object-fit:contain;display:block;border-radius:7px;box-shadow:0 2px 4px #39203021}.sr-win img{outline:3px solid #efbf4d;outline-offset:-3px;filter:brightness(1.15)}.sr-win{animation:winPulse 700ms ease-in-out 3}.sr-anticipate{box-shadow:inset 0 0 0 3px #f5cc73}.result-ribbon{height:38px;display:flex;align-items:center;justify-content:center;font-size:11px;color:#efd5a0;letter-spacing:.3px;background:#ffffff06;margin-top:10px;border:1px solid #d9b56b22;border-radius:4px}.feature-panel{margin-top:32px;padding:25px 16px;border:1px solid #d3ae6233;background:#131d3688;border-radius:8px;align-self:start}.feature-state{display:flex;flex-direction:column;text-align:center;gap:12px;margin:27px 0 20px}.feature-state small{font-size:8px;color:#bfab84;letter-spacing:1.6px}.feature-state strong{font:64px Georgia,serif;color:#edcf86;line-height:1}.feature-state span{font-size:7px;color:#a7a2b5;letter-spacing:1.2px}.progress-track{height:4px;background:#ffffff16;border-radius:8px;overflow:hidden}.progress-track i{height:100%;display:block;background:#e8bf68;transition:width .4s;width:0}.feature-total{margin-top:25px;display:flex;flex-direction:column;gap:10px}.feature-total small{font-size:7px;letter-spacing:1.2px;color:#baa988}.feature-total b{font-size:21px;color:#fff1b4}.feature-panel p{font-size:10px;color:#aba5b8;line-height:1.7}.feature-panel button{width:100%;font-size:8px;padding:11px 5px}.control-deck{position:relative;margin:0 3%;display:grid;grid-template-columns:1.1fr 1fr 1.5fr .65fr .65fr 1.6fr;gap:12px;align-items:center;border-top:1px solid #c9a95b55;background:#111a2e;padding:17px 19px;border-radius:9px;box-shadow:0 8px 35px #0005}.meter{padding:4px 14px;border-right:1px solid #ffffff16}.meter small,.bet-control small{display:block;font-size:7px;letter-spacing:1.4px;color:#ae9e80;margin-bottom:9px}.meter strong{font-size:22px;white-space:nowrap}.win-meter strong{color:#f0ce79}.bet-control{display:flex;align-items:center;justify-content:space-between;border:1px solid #d2b16a44;border-radius:6px;overflow:hidden}.bet-control>div{text-align:center;min-width:65px}.bet-control small{margin-bottom:6px;font-size:6px}.bet-control strong{font-size:17px}.bet-control button{height:66px;width:40px;border:0;background:#ffffff05;color:#ecd9ad;font-size:23px}.deck-secondary{height:68px;border:1px solid #d2b16a44;border-radius:6px;background:#ffffff04;color:#e8d9ba;font-size:25px}.deck-secondary small{display:block;font-size:6px;letter-spacing:1px;margin-top:6px}.deck-secondary.active{background:#a71935;color:#ffeac2}.spin-button{height:75px;display:flex;align-items:center;justify-content:center;gap:20px;border-radius:12px;border:1px solid #ffeab5;background:linear-gradient(140deg,#fff0bf,#d9a548);color:#57252b;box-shadow:0 0 28px #d3aa5822,inset 0 1px 2px white;font-size:23px;font-weight:900;letter-spacing:2px}.spin-button i{font-style:normal;font-size:38px}.game-bottom-line{position:relative;display:flex;justify-content:space-between;padding:17px 4%;font-size:7px;letter-spacing:1px;color:#9d92a3}.pick-board{height:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:18px;background:#1a2546}.pick-board button{border:1px solid #d5b56b;background:radial-gradient(ellipse at top,#44466b,#1c2441);border-radius:10px;color:#f4d586;font:35px Georgia,serif;box-shadow:inset 0 0 0 4px #d5b56b22;transition:transform .2s}.pick-board button:hover{transform:scale(1.04)}.pick-board button.revealed{background:#b18035;color:#fff4cc;font-size:25px}.coin-labels{position:absolute;inset:9px;pointer-events:none;display:grid;grid-template-columns:repeat(5,1fr);grid-template-rows:repeat(4,1fr);gap:4px}.coin-value{align-self:end;justify-self:center;z-index:5;border-radius:3px;padding:4px 6px;background:#4a2730;color:#ffe7a3;font-size:11px;margin-bottom:10px;box-shadow:0 1px 8px #0006}.win-announcement{position:absolute;inset:22% 6%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;background:#8c1631ed;border:2px solid #edca75;box-shadow:0 0 0 6px #8c1631bb,0 20px 60px #0005;color:#ffe6a1;border-radius:12px;animation:pop .5s cubic-bezier(.16,1,.3,1);pointer-events:none}.win-announcement small{font-size:12px;letter-spacing:3px}.win-announcement strong{font:clamp(30px,5vw,70px) Georgia,serif}.dialog-backdrop{position:fixed;inset:0;background:#21182bcc;z-index:100;display:grid;place-items:center;padding:20px;backdrop-filter:blur(9px)}.dialog{position:relative;background:#fff8e9;border:1px solid #d9b46b;border-radius:12px;max-width:640px;width:100%;max-height:88dvh;overflow:auto;padding:35px;color:#56313e;box-shadow:0 30px 100px #0007}.dialog h2{font:34px Georgia,serif;margin:13px 0 22px}.dialog p,.dialog li{font-size:12px;line-height:1.8;color:#86626b}.dialog button:not(.dialog-close){min-height:42px}.dialog-close{position:absolute;right:15px;top:14px;border:0;background:none;font-size:28px;color:#9c5768}.dialog table{width:100%;border-collapse:collapse;font-size:11px}.dialog th,.dialog td{text-align:left;padding:10px;border-bottom:1px solid #d9c7aa}.dialog .action-row{display:flex;gap:10px;margin-top:20px}.dialog .action-row button{flex:1}.dialog input{width:100%;padding:12px;margin:7px 0 15px;border:1px solid #d6b994;border-radius:5px;background:#fffdf5}.toast{position:fixed;bottom:35px;left:50%;transform:translate(-50%,30px);background:#fff1d2;color:#6d1e36;border:1px solid #d9b46b;border-radius:8px;padding:16px 24px;font-size:12px;box-shadow:0 15px 50px #0004;z-index:150;max-width:90%;opacity:0;pointer-events:none;transition:.2s}.toast.visible{transform:translate(-50%,0);opacity:1}.confetti-piece{position:fixed;top:0;width:7px;height:11px;background:var(--c);z-index:110;pointer-events:none;animation:confetti 1.8s ease-in forwards}@keyframes confetti{to{transform:translateY(110dvh) rotate(720deg);opacity:0}}@keyframes pop{from{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes winPulse{50%{transform:scale(1.025)}}
@media(min-width:1650px){.marquee-frame{max-height:640px}.cabinet-layout{max-width:1450px}}@media(max-width:1150px){.masthead{gap:20px;padding:0 3%;height:90px}.masthead nav{gap:15px}.demo-pill{display:none}.wordmark{font-size:28px}.wordmark small{font-size:6px;letter-spacing:2px}.game-grid{grid-template-columns:repeat(4,1fr)}.hero{height:440px}.hero h1{font-size:74px}.cabinet-layout{grid-template-columns:150px minmax(0,1fr);gap:20px}.feature-panel{display:none}.title-panel h2{font-size:28px}.title-panel p{font-size:10px}.marquee-frame{max-height:none}.control-deck{gap:6px;padding:12px}.meter{padding:4px 9px}.meter strong{font-size:17px}.spin-button{font-size:20px;gap:10px}}
@media(max-width:760px){.masthead{height:82px;gap:10px;padding:0 18px}.masthead nav{display:none}.wordmark{font-size:25px;letter-spacing:-1.1px}.brand-star{font-size:28px;margin-right:2px}.wordmark small{margin-left:28px;font-size:5px;letter-spacing:1.2px}.header-right{margin-left:auto;gap:7px}.wallet{min-width:114px;padding:9px 24px 9px 10px}.wallet b{font-size:14px}.wallet small{font-size:5px}.wallet>span{font-size:19px;right:6px;top:15px}.round-button{width:30px;height:30px;font-size:19px}#settingsBtn{display:none}#lobbyView{padding:0 18px}.welcome{font-size:6px;letter-spacing:.7px;padding:21px 0 15px}.welcome span:first-child{max-width:65%;line-height:1.5}.hero{height:455px;border-radius:8px}.hero-copy{padding:34px 24px;max-width:95%}.hero-art{background-position:62% center}.hero-art:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#721831b0,#72183133)}.hero h1{font-size:68px;letter-spacing:-3px;margin:22px 0}.hero p{font-size:12px}.hero .eyebrow{font-size:7px;letter-spacing:1.5px}.gold-button{height:50px;padding:0 18px;font-size:10px}.gold-button>span{margin-left:25px}.hero-footnote{font-size:5px;letter-spacing:1px;max-width:75%;line-height:1.8}.hero-stamp{width:80px;height:80px;right:20px;bottom:23px;gap:5px}.hero-stamp b{font-size:10px}.hero-stamp span{font-size:4px}.benefit-strip{display:grid;grid-template-columns:1fr 1fr;gap:15px;font-size:8px;padding:20px 2px}.benefit-strip b{font-size:15px}.section-heading{display:block;margin-top:33px}.section-heading h2{font-size:35px}.section-heading .eyebrow{font-size:7px}.search{margin-top:19px;width:100%;padding:9px 12px}.filters{gap:7px}.filters button{font-size:9px;padding:11px 13px}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}.poster-content{left:12px;bottom:14px;right:10px}.poster-content b{font-size:25px}.poster-content small{font-size:5px;letter-spacing:1px}.poster-content span{font-size:7px}.game-card>h3{font-size:11px}.game-card>p{font-size:7px}.lobby-footer{padding:45px 0 30px}.lobby-footer small{font-size:7px}#gameView{min-height:calc(100dvh - 82px)}.game-top{padding:14px;gap:12px}.game-top h1{font-size:24px}.game-top .eyebrow{font-size:6px}.back-button{padding:8px 12px}.back-button span{display:none}.game-top-tools{gap:5px}.game-top-tools button{font-size:0;padding:8px}.game-top-tools button:after{content:'ⓘ';font-size:20px}#recallBtn:after{content:'↺'}.cabinet-layout{display:block;padding:0 14px 12px}.title-panel{display:none}.marquee-frame{padding:5px;border-width:5px;border-radius:9px;aspect-ratio:5/4}.stage-caption{height:25px;font-size:6px}.reels{gap:2px}.sr-tile{padding:1px}.sr-tile img{border-radius:4px}.result-ribbon{font-size:9px;height:32px;margin-top:7px}.control-deck{margin:0 14px;padding:10px;grid-template-columns:1fr 1fr 1.4fr;gap:9px}.meter{padding:4px 5px}.meter strong{font-size:16px}.meter small{font-size:6px;margin-bottom:5px}.bet-control button{height:51px;width:29px;font-size:19px}.bet-control strong{font-size:14px}.bet-control>div{min-width:55px}.bet-control small{font-size:5px}.deck-secondary{height:55px;font-size:22px}.deck-secondary small{font-size:6px}.spin-button{height:61px;font-size:18px;gap:10px}.spin-button i{font-size:28px}.game-bottom-line{padding:15px;font-size:5px;letter-spacing:.3px}.game-bottom-line>span:last-child{display:none}.dialog{padding:27px 23px}.dialog h2{font-size:28px}.dialog td,.dialog th{padding:8px 4px;font-size:9px}.pick-board{padding:10px;gap:7px}.pick-board button{font-size:25px}.pick-board button.revealed{font-size:18px}.coin-value{font-size:7px;margin-bottom:4px;padding:2px}.win-announcement small{font-size:8px}.win-announcement{gap:9px}.toast{font-size:11px;padding:14px 17px;bottom:20px}.lobby-footer p{font-size:17px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.poster-button:hover{transform:none}}

/* Studio 10: real line display, accessible win detail and control panels. */
.payline-overlay{position:absolute;inset:9px;width:calc(100% - 18px);height:calc(100% - 18px);pointer-events:none;z-index:6;filter:drop-shadow(0 0 4px #211020)}.award-line{fill:none;stroke-width:5;stroke-linejoin:round;stroke-linecap:round}.award-circle{fill:none;stroke-width:3}.win-breakdown{display:flex;gap:6px;overflow-x:auto;padding:9px 0 0;min-height:0}.win-breakdown:empty{display:none}.win-breakdown button{white-space:nowrap;font-size:9px;color:#ffe6ac;border:1px solid #d7b46766;background:#192947;border-radius:5px;padding:7px 11px}.pay-symbol{width:42px;height:42px;object-fit:contain}.line-map-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.line-map-grid>div{padding:8px;border:1px solid #d3b98e;border-radius:5px}.line-map-grid b{font-size:8px}.line-map-grid svg{display:block;width:100%;background:repeating-linear-gradient(0deg,#b9914220 0 25%,transparent 25% 50%)}.line-map-grid polyline{stroke:#a71935;fill:none;stroke-width:3}.auto-limits{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.auto-limits label{font-size:10px}.auto-limits input{min-width:0}.title-panel .math-medallion>b{font-size:24px}.game-top-tools{flex-wrap:wrap}.win-breakdown button:focus-visible{outline:2px solid #ffe39a}@media(max-width:760px){.payline-overlay{inset:5px;width:calc(100% - 10px);height:calc(100% - 10px)}.line-map-grid{grid-template-columns:repeat(3,1fr)}.auto-limits{grid-template-columns:1fr}.auto-limits input{margin-bottom:0}.win-breakdown button{font-size:7px;padding:6px}.game-top-tools #lineBtn{font-size:8px}.game-top-tools #lineBtn:after{display:none}}

.pick-board.bonus-choice{grid-template-columns:repeat(2,1fr)}.bonus-choice button{display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center}.bonus-choice button b{font:64px Georgia,serif}.bonus-choice button span{font:10px Arial,sans-serif;letter-spacing:1px}

.wild-flare{animation:wildFlare .8s ease-out}.wild-flare img{box-shadow:0 0 24px #ffd45f;outline:2px solid #ffeab4}@keyframes wildFlare{0%{transform:scale(.65);filter:brightness(2)}60%{transform:scale(1.06)}100%{transform:scale(1)}}@media(prefers-reduced-motion:reduce){.wild-flare,.sr-win,.confetti-piece{animation:none}}

@media(max-width:760px){#settingsBtn{display:block}.header-right{gap:4px}.wallet{min-width:105px}.wordmark{font-size:23px}}
/* Painted cabinet edition: restore original world art and remove flat card beds. */
#gameView{background:#07121e}.game-world{filter:none;opacity:.62;position:absolute;inset:0}.game-world:after{background:linear-gradient(180deg,#05111b40 0%,#07121ed9 42%,#07121ef5 100%)}
.game-top{isolation:isolate;overflow:hidden;min-height:235px;padding:85px 4% 24px;align-items:flex-end;border-bottom:1px solid #d9b16635;box-shadow:0 10px 35px #0005;margin-bottom:14px}.scene-window{position:absolute;inset:0;z-index:-2;overflow:hidden;background:#0c1a26}.scene-art{position:absolute;left:0;top:50%;width:100%;aspect-ratio:1;transform:translateY(-38%);background-image:url('/static/assets/studio9/worlds.webp');background-size:500% 600%;background-position:var(--art-x) var(--art-y)}.scene-window:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#05111be6 0%,#05111b60 55%,#05111b00),linear-gradient(0deg,#07121ef0,transparent 80%)}.game-top h1{font-size:46px;line-height:1.04;text-shadow:0 2px 20px #000,0 1px #050c15;max-width:600px}.game-top .eyebrow{color:#ffdf91;text-shadow:0 1px 6px #000}.back-button{position:absolute;left:4%;top:19px;background:#07162280;backdrop-filter:blur(10px);padding:9px 14px}.game-top-tools{position:absolute;right:4%;top:19px;display:flex;gap:7px;flex-wrap:nowrap}.game-top-tools button{background:#081726b3;backdrop-filter:blur(10px);border:1px solid #dfbf7955;width:39px;height:39px;padding:0;font-size:21px;border-radius:50%;display:grid;place-items:center}.game-top-tools button:after{display:none!important;content:none!important}.game-top-tools #lineBtn{font-size:21px}
.marquee-frame{background:linear-gradient(#071726,#071726) padding-box,linear-gradient(135deg,#fff0b7,#b18a3f 25%,#f0d38a 55%,#7e5528 78%,#ffe5a2) border-box;border-width:5px;padding:5px;box-shadow:0 0 0 1px #eccb7a60,0 16px 55px #000a,inset 0 0 25px #0009}.marquee-frame:before{border:1px solid #f9df9b45;inset:-2px}.reels{background:#06111c;gap:2px;border:1px solid #e0bd6b30}.sr-reel{background:#0a1724}.sr-tile{padding:2px}.sr-tile img{box-shadow:none;border-radius:4px}.sr-tile img.painted-symbol{background-repeat:no-repeat;object-fit:fill;border-radius:2px}.sr-win img{outline:1px solid #ffe3a3;outline-offset:-1px;filter:brightness(1.12)}.payline-overlay{inset:5px;width:calc(100% - 10px);height:calc(100% - 10px);filter:drop-shadow(0 0 3px #07121e)}.award-line{stroke-width:3}.award-circle{stroke-width:2;stroke-opacity:.75}.feature-panel{background:#0a192acc;border-color:#d4ac5b55}.control-deck{background:#081726e8;border:1px solid #b5915055;box-shadow:0 12px 35px #0008;backdrop-filter:blur(15px)}.result-ribbon{background:#071423bb}.math-medallion{background:#091a2c80;padding-left:12px;border-radius:5px}.pay-symbol.painted-symbol{background-repeat:no-repeat;background-color:#061321;border-radius:5px}
@media(max-width:760px){.masthead{height:64px;padding:0 12px;gap:6px}.wordmark{font-size:22px}.wordmark small{font-size:4px;margin-left:26px;letter-spacing:1px}.brand-star{font-size:27px}.header-right{gap:5px}.wallet{min-width:104px;padding:8px 20px 8px 9px}.wallet b{font-size:13px}.wallet small{font-size:4px}.wallet>span{top:12px;font-size:18px;right:4px}.round-button{height:27px;width:27px;font-size:18px}#gameView{min-height:calc(100dvh - 64px)}.game-top{min-height:153px;padding:66px 17px 16px;margin-bottom:7px;display:block}.game-top h1{font-size:33px;line-height:1.02;margin:7px 0 0;max-width:86%}.game-top .eyebrow{font-size:7px;letter-spacing:1.5px}.back-button{top:12px;left:13px;width:32px;height:32px;display:grid;place-items:center;padding:0;font-size:20px;border-radius:50%}.back-button span{display:none}.game-top-tools{top:12px;right:13px;gap:6px}.game-top-tools button,.game-top-tools #lineBtn{width:31px;height:31px;padding:0;font-size:18px}.cabinet-layout{padding:0 10px 8px}.stage-caption{height:24px;font-size:6px;padding:0 3px}.marquee-frame{border-width:4px;padding:3px;border-radius:9px}.reels{gap:1px}.sr-tile{padding:1px}.sr-tile img{border-radius:3px}.payline-overlay{inset:3px;width:calc(100% - 6px);height:calc(100% - 6px)}.result-ribbon{font-size:9px;height:29px;margin-top:6px}.control-deck{position:sticky;z-index:15;bottom:calc(6px + env(safe-area-inset-bottom));margin:0 10px;padding:8px;gap:6px;grid-template-columns:.85fr .85fr 1.35fr;border-radius:9px}.meter{padding:2px 4px}.meter small{font-size:5px;margin-bottom:4px}.meter strong{font-size:14px}.bet-control button{height:38px;width:25px;font-size:18px}.bet-control strong{font-size:13px}.bet-control>div{min-width:50px}.bet-control small{font-size:5px;margin-bottom:4px}.deck-secondary{height:45px;font-size:19px}.deck-secondary small{font-size:5px;margin-top:3px}.spin-button{height:49px;font-size:17px;border-radius:8px}.spin-button i{font-size:25px}.game-bottom-line{padding:10px 15px 15px;font-size:5px}.win-breakdown{padding-top:6px}.win-breakdown button{font-size:7px}.scene-window:after{background:linear-gradient(90deg,#05111be0 0%,#05111b38 72%,#05111b20),linear-gradient(0deg,#07121ef5,transparent 95%)}.auto-limits input{min-height:40px}}

@media(max-width:760px){.game-top-tools button,.game-top-tools #lineBtn{width:36px;height:36px}.back-button{width:36px;height:36px}}

/* Theatre 1.8: sapphire stage, crimson velvet, champagne metal. */
@font-face{font-family:Manrope;src:url('/static/assets/theatre18/fonts/manrope-400.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:Manrope;src:url('/static/assets/theatre18/fonts/manrope-600.ttf') format('truetype');font-weight:600;font-display:swap}@font-face{font-family:Manrope;src:url('/static/assets/theatre18/fonts/manrope-800.ttf') format('truetype');font-weight:800;font-display:swap}@font-face{font-family:Cinzel;src:url('/static/assets/theatre18/fonts/cinzel-600.ttf') format('truetype');font-weight:600;font-display:swap}
:root{--red:#bd2346;--red-deep:#801735;--ink:#152951;--gold:#e9c579;--ivory:#fff8e9;--blue:#214db6;--muted:#6d7489}body{font-family:Manrope,Arial,sans-serif;background:radial-gradient(ellipse at 5% 8%,#416bce80,transparent 42%),radial-gradient(ellipse at 100% 20%,#405dc7,transparent 45%),#153c93;color:#fff5df}.masthead{background:linear-gradient(100deg,#153c93,#234fa8 65%,#20428c);height:92px;border-bottom:1px solid #e9c57980;box-shadow:0 8px 40px #07163c30;gap:30px}.wordmark{font-family:Manrope,Arial,sans-serif;font-weight:800;letter-spacing:-1.8px;font-size:32px;color:#fff3ce}.wordmark small{color:#d3e0ff;letter-spacing:2px;font-size:7px}.brand-star{display:inline-block;color:#f8d786;filter:drop-shadow(0 0 12px #f9d35e50)}.masthead .nav-link{color:#e4eaff;font-size:12px;font-weight:600}.masthead .nav-link.selected{color:#fff2bf}.wallet{border-radius:8px;background:linear-gradient(120deg,#fff2ca,#e6be6d);color:#17367c;border-color:#fff3ce;box-shadow:0 4px 18px #081f5725}.round-button{border-color:#c5d6ff70;color:#fff1ce;background:#ffffff08}.welcome{color:#f3e4b9;font-size:10px;font-weight:600;letter-spacing:1.6px;padding:25px 1px 18px}#lobbyView{padding:0 3.5%;max-width:1560px}.hero{height:475px;border-radius:18px;border:1px solid #f1d082;background:#8e1634;isolation:isolate;box-shadow:0 22px 50px #061a5545,0 0 0 5px #f1d08212;color:#fff5dd}.hero:before{content:'';position:absolute;inset:9px;z-index:5;border:1px solid #f3d79170;border-radius:11px;pointer-events:none}.hero-art{background:linear-gradient(90deg,#8a1635 0%,#a32346f5 28%,#8a163575 57%,#08274d18 100%),url('/static/assets/theatre18/theatre/temple-scene.webp') 65% center/cover}.hero-art:after{display:none}.hero-character{position:absolute;right:0;bottom:-17%;height:125%;width:58%;object-fit:contain;object-position:bottom right;filter:drop-shadow(-18px 5px 30px #1d17334a);pointer-events:none}.hero-copy{padding:48px 5%;max-width:62%;z-index:3}.hero .eyebrow{font-size:10px;letter-spacing:3px;color:#ffe6a0;display:inline-flex;align-items:center;gap:10px}.hero .eyebrow:before{content:'✦';font-size:18px}.hero h1{font:600 clamp(45px,4.8vw,78px)/1.03 Cinzel,Georgia,serif;letter-spacing:-2.5px;margin:22px 0 17px;text-shadow:0 3px 22px #54112a50}.hero h1 em{font-family:Georgia,serif;font-size:1.08em;color:#ffde8e}.hero p{font-size:14px;color:#fff1e2;line-height:1.8;margin:0 0 25px}.gold-button{background:linear-gradient(115deg,#fff2be 0%,#e9c575 64%,#d9a74e);color:#4d1a2b;border-color:#fff0b8;border-radius:8px;font-size:12px;height:52px;box-shadow:0 8px 20px #57102c30,inset 0 1px #fff9df;transition:filter .2s,transform .2s}.gold-button:hover{filter:brightness(1.08);transform:translateY(-1px)}.hero-footnote{margin-top:24px;color:#ffe4c8;font-size:8px;letter-spacing:1.2px}.hero-footnote span{margin:0 8px}.hero-ticket{position:absolute;right:28px;bottom:27px;z-index:3;display:flex;flex-direction:column;gap:7px;text-align:right;background:#112950c9;padding:13px 19px;border:1px solid #e9c57988;border-radius:9px;backdrop-filter:blur(12px);box-shadow:0 8px 30px #05192c30}.hero-ticket>span,.hero-ticket small{font-size:8px;letter-spacing:1.5px;color:#e9d49d}.hero-ticket b{font:600 19px Cinzel,Georgia,serif;color:#fff2c8}.hero-sparkles{position:absolute;inset:0;background-image:radial-gradient(circle,#fff1bc 0 1px,transparent 2px),radial-gradient(circle,#fff1bc 0 1px,transparent 2px);background-size:193px 173px,277px 241px;background-position:13px 35px,80px 97px;opacity:.32;pointer-events:none;animation:stageGlow 5s ease-in-out infinite alternate}@keyframes stageGlow{to{opacity:.1;transform:translateY(-8px)}}.benefit-strip{border-color:#aec6ff35;color:#e0e7ff;font-size:11px;padding:24px 7px}.benefit-strip b{color:#ffe29e}.spotlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:26px 0 32px}.spotlight-card{position:relative;isolation:isolate;overflow:hidden;border-radius:12px;border:1px solid #e9c57990;min-height:165px;text-align:left;color:#fff1d4;padding:24px;box-shadow:0 8px 25px #071b5530;background:#162b50;transition:transform .2s}.spotlight-card:hover{transform:translateY(-3px)}.spotlight-art{position:absolute;inset:0;z-index:-2;background-position:70% center;background-size:cover}.dragon-spot .spotlight-art{background-image:url('/static/assets/theatre18/worlds/dragon.webp')}.cosmic-spot .spotlight-art{background-image:url('/static/assets/theatre18/worlds/cosmic_fortune.webp')}.fruit-spot .spotlight-art{background-image:url('/static/assets/theatre18/worlds/fruit.webp')}.spotlight-card:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#4d1636ef,#4d163620)}.cosmic-spot:after{background:linear-gradient(90deg,#102d6cf5,#102d6c10)}.fruit-spot:after{background:linear-gradient(90deg,#154a43f5,#154a4310)}.spotlight-copy{display:flex;flex-direction:column;align-items:flex-start;gap:12px;max-width:90%}.spotlight-copy small{font-size:8px;letter-spacing:1.5px;color:#ffe2a2;font-weight:800}.spotlight-copy b{font:600 23px/1.12 Cinzel,Georgia,serif;text-shadow:0 2px 14px #0007}.spotlight-copy>span{font-size:10px;font-weight:600;color:#fff4d9}.collection{background:#fff9ed;color:#152951;padding:30px 30px 38px;border:1px solid #f9df9c;border-radius:19px;box-shadow:0 16px 50px #061a5520}.section-heading{margin:0 0 24px;gap:20px}.section-heading h2{font:600 clamp(28px,3vw,39px)/1.18 Cinzel,Georgia,serif;color:#17397d;letter-spacing:-1px;margin-top:10px}.eyebrow.red{color:#a32945;letter-spacing:2px;font-size:9px}.search{background:#fffdf7;border-color:#d1cbbd;width:300px;min-height:48px;border-radius:9px}.search input{font-size:12px;color:#203d72}.search input::placeholder{color:#72798a}.search>span{color:#214c9f}.filters{margin-bottom:14px;padding-bottom:10px;gap:8px;scrollbar-width:thin;scrollbar-color:#d6bc82 transparent}.filters button{background:#fffdf7;color:#53617b;border-color:#ddd4c0;border-radius:30px;padding:12px 18px;font-weight:600;font-size:11px;min-height:43px}.filters button.active{background:linear-gradient(120deg,#be2747,#a21938);border-color:#b72646;color:#fff3d9;box-shadow:0 4px 12px #a91c3820}.game-grid{gap:26px 18px}.poster-button{border:1px solid #cba45c;border-radius:12px;box-shadow:0 7px 17px #21355b1c;aspect-ratio:4/5;background:#18345a}.poster-button:after{content:'';position:absolute;inset:5px;border:1px solid #ffe3a244;border-radius:8px;pointer-events:none}.poster-art{background-size:cover}.poster-shade{background:linear-gradient(0deg,#101c38fa 0%,#11274d80 37%,transparent 78%)}.poster-content{left:17px;right:15px;bottom:19px}.poster-content small{font-size:7px;letter-spacing:1.5px;color:#ffe1a0}.poster-content b{font:600 clamp(20px,2vw,28px)/1.1 Cinzel,Georgia,serif;letter-spacing:-.5px;margin:11px 0 15px;color:#fff7de;text-shadow:0 2px 12px #0007}.poster-content span{font-size:9px;letter-spacing:1px;font-weight:800;color:#ffdfa0}.fav-button{width:35px;height:35px;right:10px;top:10px;background:#0f244bcc;border-color:#f0d18b80;z-index:2}.fav-button.active{background:#b82344}.game-card>h3{font-size:12px;color:#183773;margin:12px 1px 6px;font-weight:800}.game-card>p{font-size:8px;color:#657088;line-height:1.7;letter-spacing:.25px}.lobby-footer{padding:38px 10px 32px}.lobby-footer strong{color:#ffe2a1;font-size:26px;font-weight:800}.lobby-footer p{color:#e2e9ff;font-size:19px}.lobby-footer small{color:#c4d3f4;font-size:10px}.resume-banner{border-radius:8px;background:#fff0bd;color:#703044;font-weight:600}.scene-art{inset:0;width:100%;height:100%;aspect-ratio:auto;transform:none;background-size:cover}.game-subject{position:absolute;right:3%;bottom:-40%;height:160%;width:auto;max-width:55%;object-fit:contain;pointer-events:none}.game-world{background-size:cover;background-position:center top}#gameView{background:#101f48}.game-world:after{background:linear-gradient(180deg,#10264c40,#112755dd 45%,#10234af5 100%)}.control-deck{background:#142c59ef}.feature-panel{background:#152f5dde}.result-ribbon{background:#152f5dbb}.deck-secondary.active{background:#b82344}.dialog{border-radius:16px;background:#fff9ed;color:#193b79}.dialog h2{color:#193b79}.dialog p,.dialog li{color:#5e6577}.dialog-close{color:#a32945}.dialog th,.dialog td{border-color:#e2d5ba}.dialog input{color:#193b79}.toast{background:#fff4d5;color:#193b79;border-radius:10px}.pick-board{background:#183777}.pick-board button{background:radial-gradient(ellipse at top,#3566b0,#1a3370);color:#ffe4a4}.spin-button{background:linear-gradient(120deg,#fff1be,#e9c271 65%,#d7a14a);color:#7c2037}
@media(max-width:1150px) and (min-width:761px){.masthead{height:84px;gap:18px}.wordmark{font-size:26px}.masthead nav{gap:15px}.hero{height:440px}.hero-copy{max-width:67%;padding:44px 5%}.hero h1{font-size:55px}.hero-ticket{right:20px;bottom:20px}.hero-character{right:-6%;width:65%}.spotlight-card{padding:20px;min-height:155px}.spotlight-copy b{font-size:19px}.collection{padding:25px}.game-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.masthead{height:72px;padding:0 13px;gap:6px}.masthead nav{display:none}.wordmark{font-size:23px;letter-spacing:-1.4px}.wordmark small{font-size:4px;letter-spacing:1.05px;margin:4px 0 0 26px}.brand-star{font-size:27px;margin-right:2px}.header-right{margin-left:auto;gap:5px}.wallet{min-width:104px;padding:9px 20px 9px 10px;border-radius:7px}.wallet small{font-size:5px;letter-spacing:1px}.wallet b{font-size:12px}.wallet>span{right:4px;top:13px;font-size:19px}.round-button{width:29px;height:29px;font-size:17px}.welcome{font-size:8px;letter-spacing:1px;padding:20px 0 15px;gap:8px}.welcome span:first-child{max-width:65%}.welcome span:last-child{white-space:nowrap}#lobbyView{padding:0 13px}.hero{height:425px;border-radius:13px}.hero:before{inset:6px;border-radius:8px}.hero-art{background:linear-gradient(90deg,#8b1739f5,#a32346b3 44%,#1b365118 100%),url('/static/assets/theatre18/theatre/temple-scene.webp') 65% center/cover}.hero-character{width:83%;height:101%;right:-23%;bottom:4%;opacity:.98}.hero-copy{padding:29px 22px;max-width:100%}.hero .eyebrow{font-size:7px;letter-spacing:1.7px;gap:7px}.hero .eyebrow:before{font-size:13px}.hero h1{font-size:43px;max-width:86%;line-height:1.06;letter-spacing:-1.7px;margin:24px 0 15px}.hero p{font-size:11px;max-width:63%;line-height:1.9;margin-bottom:25px;text-shadow:0 1px 10px #71172d}.hero .gold-button{height:47px;font-size:10px;padding:0 14px;position:relative;z-index:4}.hero .gold-button>span{margin-left:14px}.hero-footnote{font-size:6px;letter-spacing:.6px;margin-top:19px;max-width:69%;line-height:1.9}.hero-footnote span{margin:0 3px}.hero-ticket{right:15px;bottom:15px;padding:9px 11px;gap:5px;max-width:51%;border-radius:7px}.hero-ticket>span{font-size:5px;letter-spacing:1px}.hero-ticket b{font-size:12px}.hero-ticket small{font-size:5px;letter-spacing:.7px}.benefit-strip{font-size:9px;gap:15px;padding:21px 2px;line-height:1.6}.benefit-strip b{font-size:17px}.spotlights{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin:20px 0 25px;padding:0 0 9px;scrollbar-width:thin;scrollbar-color:#789bdf60 transparent}.spotlight-card{flex:0 0 78%;min-height:145px;padding:21px;scroll-snap-align:start;border-radius:10px}.spotlight-copy{gap:11px}.spotlight-copy small{font-size:7px}.spotlight-copy b{font-size:23px}.spotlight-copy>span{font-size:10px}.collection{padding:24px 13px 28px;border-radius:13px;margin:0 -2px}.section-heading{margin:0 0 19px}.section-heading h2{font-size:29px;line-height:1.2;letter-spacing:-.8px;margin-top:10px;max-width:95%}.section-heading .eyebrow{font-size:7px;letter-spacing:1.6px}.search{margin-top:20px;width:100%;min-height:47px;padding:9px 12px}.search input{font-size:12px}.filters{gap:7px;margin-bottom:13px;padding-bottom:10px}.filters button{font-size:10px;padding:10px 15px;min-height:41px}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px}.poster-button{border-radius:9px}.poster-button:after{inset:4px;border-radius:5px}.poster-content{left:12px;right:10px;bottom:16px}.poster-content b{font-size:22px;line-height:1.1;margin:10px 0 13px}.poster-content small{font-size:5px;letter-spacing:.8px}.poster-content span{font-size:7px;letter-spacing:.6px}.fav-button{width:31px;height:31px;font-size:19px;top:8px;right:8px}.game-card>h3{font-size:11px;line-height:1.5;margin:10px 0 4px}.game-card>p{font-size:7px;line-height:1.7}.lobby-footer{padding:30px 0}.lobby-footer p{font-size:16px}.lobby-footer small{font-size:8px;line-height:1.8;display:block}.game-subject{height:155%;bottom:-42%;right:-2%;max-width:65%}#gameView{min-height:calc(100dvh - 72px)}.dialog h2{font-size:27px}}
@media(max-width:370px){.masthead{padding:0 9px}.wordmark{font-size:20px}.brand-star{font-size:23px}.wallet{min-width:95px}.wallet b{font-size:11px}.header-right{gap:3px}.round-button{width:26px;height:26px}.hero h1{font-size:38px}.hero-copy{padding:29px 18px}.hero p{max-width:65%;font-size:10px}.poster-content b{font-size:19px}.section-heading h2{font-size:25px}}
