/* Portrait game stage: proportional fit, with independent reel and image bounds. */
html.slots-open,html.slots-open body{overflow:hidden;overscroll-behavior:none}
.slots-dialog{position:fixed;inset:0;margin:0;padding:0;border:0;border-radius:0;width:100vw;height:100dvh;max-width:none;max-height:none;overflow:hidden;background:#151310;color:#ffecc3}
.slots-dialog::backdrop{background:#151310}.slots-dialog .modal-header{display:none}.slots-dialog #modal-content{position:relative;width:100%;height:100%;overflow:hidden}
.slots-world{position:absolute;left:50%;top:50%;width:420px;height:760px;transform-origin:center;isolation:isolate;overflow:hidden;background:linear-gradient(#21140710,#0b1c21b8),url('assets/slots-room.webp') center/cover;font-family:Arial,sans-serif;--sg-tap:48px;touch-action:manipulation}
.slots-world *{box-sizing:border-box}.slots-world button{font-family:Arial,sans-serif;cursor:pointer;touch-action:manipulation}.slots-world button:disabled{opacity:.43;cursor:default}.slots-world button:focus-visible{outline:3px solid #fff2ac;outline-offset:2px}.slots-world [hidden]{display:none!important}
.sg-header{position:absolute;inset:0 0 auto;height:60px;display:flex;align-items:center;justify-content:space-between;padding:5px 10px;z-index:5;background:linear-gradient(#261b16e6,#2c1b1455);border-bottom:1px solid #e2bf6b2b}.sg-header>div{text-align:center;min-width:0}.sg-header small{font-size:8px;letter-spacing:2.1px;color:#ecd49e}.slots-dialog #modal-content .sg-header h2{font:900 21px/1 Georgia,serif;color:#f5d591;margin:7px 0 0;letter-spacing:-.5px;text-shadow:0 2px #5e260b}.sg-header h2 em{color:#ffd979;font-style:normal}
.sg-round{display:grid;place-items:center;flex:none;width:var(--sg-tap);height:var(--sg-tap);border:1px solid #c8a56573;border-radius:50%;background:linear-gradient(145deg,#34423fd9,#111b1ae8);box-shadow:inset 0 1px #efd7a026,0 3px 8px #0004;color:#fff0cb;font-size:29px;padding:0}.sg-header .sg-round{background:#2b1a11b3;font-size:30px}.sg-round[aria-pressed=true]{border-color:#ffe09a;color:#ffdf8a;background:linear-gradient(#6f5426,#2d3020);box-shadow:0 0 12px #d6a94655}
.sg-marquee{position:absolute;left:14px;right:14px;top:70px;height:93px;border:3px solid #bf8b49;border-radius:10px 10px 44% 44% / 8px 8px 20px 20px;background:repeating-linear-gradient(3deg,#fff0 0 10px,#edb75b09 11px 13px),linear-gradient(110deg,#482719,#754422 50%,#3d241a);box-shadow:inset 0 0 0 2px #f8d78044,inset 0 0 24px #1b0e06,0 6px 0 #2f1c0e,0 10px 20px #1a100a88;text-align:center;z-index:2}.sg-marquee:before,.sg-marquee:after{content:'◆';position:absolute;top:6px;color:#dcb66b;font-size:13px}.sg-marquee:before{left:8px}.sg-marquee:after{right:8px}.sg-marquee-label{display:block;font-size:8px;letter-spacing:2px;color:#f1d99d;margin-top:10px}.sg-multipliers{display:flex;justify-content:space-around;gap:8px;margin:10px 9px 0}.sg-multipliers span{font:900 20px Georgia;color:#bd8c5599;text-shadow:0 1px #2b160a}.sg-multipliers span.active{color:#ffe4a4;text-shadow:0 0 9px #ffbb38}.sg-multipliers span:nth-child(3){visibility:hidden}#sg-multiplier{position:absolute;top:30px;left:50%;transform:translateX(-50%);font:900 45px/.95 Georgia;color:#ffe29b;text-shadow:0 3px #8d4d19,0 5px #331808,0 0 15px #edaf4b55}
.sg-board{position:absolute;top:179px;left:11px;right:11px;height:337px;border:5px solid #9e713b;border-radius:18px 18px 34px 34px;background:repeating-linear-gradient(90deg,#1d0d0700 0 55px,#160d0826 56px 58px),linear-gradient(100deg,#382014,#583622 50%,#341e14);box-shadow:inset 0 0 0 2px #e4b86488,inset 0 0 35px #120b06,0 0 0 2px #3e291b,0 7px 10px #160c07a1;overflow:hidden}.sg-board-top{position:absolute;left:12px;right:12px;top:6px;display:flex;align-items:center;justify-content:space-between;color:#c2a272;font:bold 9px Georgia;letter-spacing:1.5px}.sg-board-top b{font-size:14px;color:#e3bf70}.sg-board-bottom{position:absolute;left:0;right:0;bottom:6px;text-align:center;font-size:8px;letter-spacing:1px;color:#d5b47e}.sg-board-bottom span{margin:0 12px}.sg-reels{position:absolute;inset:29px 6px 24px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;overflow:hidden;border-top:1px solid #d6a85d25;border-bottom:1px solid #d6a85d25}.sg-reel{position:relative;height:100%;min-width:0;overflow:hidden;border-right:1px solid #dfa95210;background:linear-gradient(90deg,#0001,transparent,#0001)}.sg-reel:last-child{border:0}.sg-strip{height:100%;will-change:transform}.sg-symbol{position:relative;display:grid;place-items:center;height:33.333333%;width:100%;border:2px solid transparent;isolation:isolate;user-select:none;overflow:hidden}.sg-symbol img{position:absolute;inset:4%;width:92%;height:92%;object-fit:contain;filter:drop-shadow(1px 3px 2px #130a05a6);pointer-events:none}.sg-symbol>b{font:900 63px/1 Georgia,serif;letter-spacing:-4px;-webkit-text-stroke:1px #d8a365;text-shadow:1px 3px #38190d,2px 5px 2px #160c06;transform:scaleX(.9)}.sg-ace>b{color:#e6ba4b}.sg-king>b{color:#cb5a41}.sg-queen>b{color:#a8b475}.sg-jack>b{color:#61a5b8}.sg-wild{border:3px solid #e7b84f;border-radius:7px;background:radial-gradient(ellipse,#dcae3c33,#8a5c1c17);box-shadow:inset 0 0 0 2px #5b3a19,0 0 6px #e3ad3977}.sg-wild svg{position:absolute;width:90%;height:90%;top:0;fill:#e6bc4d;stroke:#ffeb9b;stroke-width:2;filter:drop-shadow(0 3px 2px #3e2107)}.sg-wild svg circle{fill:#aa6c20;stroke:#ffe39c}.sg-wild>b{font:bold 13px Georgia;letter-spacing:0;-webkit-text-stroke:0;transform:none;position:absolute;bottom:8%;text-shadow:0 2px #402405;color:#fff1b7}.sg-symbol.winning{border-color:#ffe493;border-radius:6px;box-shadow:inset 0 0 17px #ffdc7b44,0 0 10px #ffcd64;background-color:#e7a83b18;animation:sg-glow .65s ease-in-out infinite alternate}.sg-symbol.dropping{animation:sg-drop .36s cubic-bezier(.2,.7,.3,1) both}.sg-reel.spinning .sg-strip{animation:sg-reel var(--reel-speed,.24s) linear infinite;filter:blur(1px)}
.sg-result{position:absolute;top:529px;left:17px;right:17px;height:67px;background:linear-gradient(100deg,#3a1e14ef,#704624ef,#3a1e14ef);border:2px solid #c49b56;border-radius:12px;box-shadow:inset 0 0 0 2px #3e2817,0 3px 0 #231b12;text-align:center;padding:6px 8px;overflow:hidden}.sg-result>span{display:block;font:700 8px Arial;letter-spacing:1.8px;color:#f2d49a}.sg-result>strong{display:block;font:900 25px/1.1 Georgia;color:#ffdfa0;white-space:nowrap;margin-top:2px;text-shadow:0 2px #54300e}.sg-result>small{display:block;font-size:9px;line-height:1.3;color:#e6d4b0;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg-wallet-row{position:absolute;top:607px;left:19px;right:19px;height:45px;display:flex;gap:12px;align-items:center;justify-content:space-between;background:#11231bc4;border:1px solid #dcc18433;border-radius:23px;padding:3px 16px;color:#fff4c5}.sg-wallet-row>div{flex:1;min-width:0}.sg-wallet-row small{display:block;font-size:7px;letter-spacing:1.1px;color:#e0d4b3}.sg-wallet-row strong{display:block;font-size:18px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.sg-wallet-row>button{border:0;background:none;min-height:44px;text-align:right;color:#fff0b4;padding:3px}.sg-wallet-row>button.sg-refill{font-size:14px;color:#9fffcb;font-weight:700;padding-left:8px;border-left:1px solid #a5c7a944}.sg-refill small{font-size:6px;letter-spacing:0;color:#b0e5c9;margin-top:3px}
.sg-controls{position:absolute;left:13px;right:13px;bottom:26px;height:82px;display:flex;align-items:center;justify-content:space-between;gap:6px}.sg-option{font-size:23px;position:relative}.sg-option small{position:absolute;bottom:-13px;font-size:6px;letter-spacing:.7px;color:#dbcfad}.sg-option>span{line-height:1}.sg-spin{width:87px;height:87px;flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px 5px;border:4px solid #c39148;border-radius:50%;background:radial-gradient(circle at 45% 35%,#c17d33,#73401c 70%);box-shadow:0 0 0 3px #432817,inset 0 0 0 3px #e3b26388,inset 0 -7px 7px #4e2d18,0 7px 12px #0007;color:#fff0af}.sg-spin svg{width:45px;height:45px;fill:none;stroke:#ffe5a1;stroke-width:6;stroke-linejoin:round;stroke-linecap:round;filter:drop-shadow(0 2px 1px #663b0d)}.sg-spin span{font:bold 8px Arial;letter-spacing:1px;margin-top:1px}.sg-spin:not(:disabled):active{transform:translateY(2px);filter:brightness(1.15)}.sg-spin:disabled{opacity:.75}.sg-spin.busy svg{animation:sg-turn 1s linear infinite}.sg-footnote{position:absolute;bottom:7px;left:0;right:0;text-align:center;font-size:6px;letter-spacing:1.6px;color:#b9b8a7}
.sg-sheet-shade{position:absolute;inset:0;z-index:50;background:#0c100ee8;padding:22px 14px;display:flex;align-items:center;backdrop-filter:blur(8px)}.sg-sheet{width:100%;max-height:100%;display:flex;flex-direction:column;border:2px solid #c49b59;border-radius:15px;background:linear-gradient(#412d20,#241d17);box-shadow:0 15px 45px #0009;overflow:hidden}.sg-sheet header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border-bottom:1px solid #dbb56a44}.sg-sheet h3{font:700 24px Georgia;margin:0;color:#ffe3a1}.sg-sheet-scroll{overflow:auto;overscroll-behavior:contain;min-height:0;padding:5px 16px 18px;font-size:13px;line-height:1.65;color:#eadac2;scrollbar-width:thin}.sg-paytable{width:100%;font-size:11px;border-collapse:collapse}.sg-paytable caption{font-size:10px;line-height:1.5;margin-bottom:10px;color:#dfbf83}.sg-paytable th,.sg-paytable td{padding:7px 3px;border-bottom:1px solid #e1c18b22;text-align:right}.sg-paytable th:first-child{text-align:left}.sg-paytable thead{color:#ffdf9b}.sg-bet-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}.sg-bet-options button,.sg-gold-button{min-height:var(--sg-tap);border:1px solid #e0b76d;border-radius:10px;background:linear-gradient(#88602d,#533b21);font:bold 18px Arial;color:#fff1bd;padding:10px}.sg-bet-options button.selected{background:linear-gradient(#f4d38b,#c4934d);color:#3b2715;box-shadow:0 0 12px #d9a64c44}
.sg-loading-art{position:absolute;inset:0;background:linear-gradient(transparent 35%,#1c1307dd 78%,#151910),url('assets/home-slots.webp') center 24%/cover}.sg-exit{position:absolute;left:10px;top:8px;z-index:4}.sg-loading-content{position:absolute;left:20px;right:20px;bottom:60px;text-align:center}.sg-loading-content>small{font-size:9px;letter-spacing:2px;color:#ffdc95}.slots-dialog #modal-content .sg-loading-content h2{font:900 57px/.95 Georgia;color:#ffe3a1;letter-spacing:-2px;text-shadow:0 3px #8a4b1a,0 6px #321605;margin:14px 0}.sg-loading-content h2 em{font-size:79px;font-style:normal;color:#ffcb5c}.sg-loading-content p{font-size:12px;color:#f3d59e;margin-bottom:30px}.sg-loading-content progress{display:block;width:90%;height:10px;margin:0 auto 12px;appearance:none;border:1px solid #b59662;border-radius:7px;overflow:hidden;background:#2d2013}.sg-loading-content progress::-webkit-progress-bar{background:#2d2013}.sg-loading-content progress::-webkit-progress-value{background:linear-gradient(90deg,#ab6a1e,#ffe6a2)}.sg-loading-content progress::-moz-progress-bar{background:#e7ba6e}.sg-loading-content>span{display:block;font-size:11px;color:#e9d6ad}.sg-loading-content .sg-play-note{display:block;margin-top:27px;font-size:8px}.sg-loading-content .sg-gold-button{margin-top:18px;font-size:14px}
@keyframes sg-reel{from{transform:translateY(-200%)}to{transform:translateY(0)}}@keyframes sg-drop{from{opacity:.3;transform:translateY(calc(-100% * var(--sg-drop-rows,1)))}to{opacity:1;transform:translateY(0)}}@keyframes sg-glow{from{filter:brightness(1)}to{filter:brightness(1.17)}}@keyframes sg-turn{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.sg-reel.spinning .sg-strip,.sg-symbol.winning,.sg-symbol.dropping,.sg-spin.busy svg{animation:none;filter:none}}

/* Wanted posters are non-paying Scatter symbols, separate from the golden Wild. */
.sg-free-strip{position:absolute;top:167px;left:14px;right:14px;height:17px;text-align:center;font:700 9px/17px Arial;color:#f9dd9a;letter-spacing:.8px;text-shadow:0 2px #211006}.sg-free-strip.active{color:#a5ffd0;background:#153b2ae6;border-radius:8px;font-size:8px;letter-spacing:.4px}
.sg-board{top:190px;height:326px}.sg-scatter{border:2px solid #8d5127;border-radius:3px;background:radial-gradient(ellipse,#f4dca1,#b88b4d);box-shadow:inset 0 0 0 2px #efd69a,inset 0 0 9px #6d3d1b;transform:rotate(-2deg)}.sg-scatter .sg-wanted{position:absolute;top:5%;left:0;right:0;font:900 11px Georgia;color:#432816;letter-spacing:.5px;text-align:center}.sg-scatter img{inset:23% 8% 22%;width:84%;height:55%;filter:sepia(.8) contrast(1.08)}.sg-scatter>b{position:absolute;bottom:5%;font:900 11px/1 Georgia;letter-spacing:-.5px;color:#6c2011;-webkit-text-stroke:0;text-shadow:0 1px #ffe4af;transform:none}.bonus-awarded .sg-scatter{animation:sg-scatter-award .7s ease-out 2;box-shadow:0 0 15px #ffd567,inset 0 0 0 2px #ffe4a5;border-color:#ffe29a;z-index:2}
@keyframes sg-scatter-award{0%{transform:translateY(-9px) rotate(-2deg);filter:brightness(1.25)}100%{transform:translateY(0) rotate(-2deg);filter:brightness(1)}}
@media(prefers-reduced-motion:reduce){.bonus-awarded .sg-scatter{animation:none}}

/* 24 equal-sized cells form the 3–4–5–5–4–3 silhouette. */
.sg-reels{grid-template-columns:repeat(var(--sg-columns,6),minmax(0,1fr));align-items:center;overflow:hidden}
.sg-reel{height:calc(var(--sg-rows,5)*20%);align-self:center}
.sg-symbol{height:calc(100%/var(--sg-rows,5))}
.sg-symbol>b{font-size:43px;letter-spacing:-2px}.sg-wild>b,.sg-scatter>b{font-size:9px;letter-spacing:0}
.sg-scatter .sg-wanted{font-size:8px}.sg-gold-frame{border:3px solid #ffd366;border-radius:6px;box-shadow:inset 0 0 0 1px #fff1a0,0 0 8px #d18f3380;background:#ffe66a12}
.sg-gold-frame:after{content:'◆';position:absolute;top:-2px;right:1px;font-size:8px;color:#ffe8a3}
.sg-multipliers span{font-size:15px}.sg-multipliers{margin-top:18px}.sg-multipliers span:nth-child(3){visibility:hidden}
.sg-wild>b{bottom:6%}.sg-paytable{font-size:10px}

/* Bright, bounded Scatter identity; slow sheen, never a flashing full-screen effect. */
.sg-scatter{border:3px solid #ffcf50;border-radius:7px;background:linear-gradient(150deg,#06a89a 0%,#035b62 48%,#bd183d 49%,#6a102f 100%);box-shadow:inset 0 0 0 1px #fff1a0,0 0 5px #ffa72f99;transform:none;isolation:isolate}
.sg-scatter:before{content:'';position:absolute;inset:0;background:linear-gradient(115deg,transparent 25%,#fff6b833 45%,#fff8c277 50%,transparent 65%);transform:translateX(-130%);animation:sg-scatter-sheen 5.5s ease-in-out infinite;pointer-events:none;z-index:3}
.sg-scatter .sg-wanted{top:0;left:0;right:0;font:900 8px/10px Georgia;color:#fff3c2;letter-spacing:.7px;background:#b21739;z-index:2;text-shadow:0 1px #41131d}
.sg-scatter img{inset:18% 5% 23%;width:90%;height:59%;filter:saturate(1.4) contrast(1.25) drop-shadow(0 0 2px #ffeab0)}
.sg-scatter>b{left:-4%;right:-4%;bottom:0;width:108%;padding:1px 0;font:900 12px/13px Arial,sans-serif;letter-spacing:-.6px;text-align:center;transform:scaleX(.88);color:#fff4b8;background:#004f58;border-top:1px solid #ffe087;text-shadow:0 1px #001c28}
.sg-reel.spinning .sg-scatter:before{animation:none}.sg-reel.sg-scatter-landed .sg-scatter{animation:sg-scatter-land .5s ease-out both}
.sg-board.sg-anticipating{box-shadow:inset 0 0 35px #000c,0 0 0 2px #3e291b,0 0 18px #ffc84477}.sg-anticipating .sg-symbol:not(.sg-scatter){opacity:.48}.sg-anticipating .sg-reel:not(.spinning) .sg-scatter{box-shadow:inset 0 0 0 1px #fff6ba,0 0 12px #ffd15e;border-color:#fff2a2}
.sg-reel.spinning.sg-slow .sg-strip{animation-duration:.68s;filter:blur(.3px)}
.sg-gold-burst:after{content:'';position:absolute;inset:5px;border:3px solid #fff0a1;border-radius:12px;box-shadow:inset 0 0 16px #ffc34b99,0 0 18px #ffbc32;animation:sg-frame-burst .7s ease-out both;pointer-events:none}
@keyframes sg-scatter-sheen{0%,60%{transform:translateX(-130%)}88%,100%{transform:translateX(130%)}}
@keyframes sg-scatter-land{0%{filter:brightness(1.35);transform:scale(.94)}45%{transform:scale(1.035)}100%{filter:brightness(1);transform:scale(1)}}
@keyframes sg-frame-burst{from{opacity:.85;transform:scale(.99)}to{opacity:0;transform:scale(1.035)}}
.sg-board{height:286px}.sg-symbol>b{font-size:36px}.sg-scatter>b{font-size:12px}.sg-wild>b{font-size:9px}
.sg-feature-toolbar{position:absolute;top:482px;left:17px;right:17px;height:47px;display:flex;gap:10px}.sg-feature-button{flex:1;min-width:0;min-height:var(--sg-tap);border:1px solid #ffe19b;border-radius:9px;background:linear-gradient(130deg,#d79b35,#f7d788 45%,#bf7625);color:#352012;box-shadow:0 3px 0 #3c2313,inset 0 0 0 2px #92602555;display:flex;align-items:center;justify-content:center;flex-direction:column;font:700 13px Arial;gap:3px;padding:3px 8px}.sg-feature-button span{font-size:10px;letter-spacing:.25px}#sg-auto{background:linear-gradient(135deg,#155463,#207b7d);border-color:#65c0bd;color:#e4ffff}#sg-skip{background:#20454e;color:#e1ffff;border-color:#5b9ca1}
.sg-result{top:540px;height:59px;padding-top:4px}.sg-result>strong{font-size:23px}.sg-result>small{margin-top:2px}
#sg-auto-panel{position:absolute;inset:0;display:flex;align-items:center;gap:8px;padding:4px 7px;background:linear-gradient(110deg,#16363c,#18313b);text-align:left;border-radius:10px}#sg-auto-panel>div{flex:1;min-width:0}#sg-auto-panel b{font-size:13px;color:#fff0be;display:block}#sg-auto-panel small{display:block;font-size:9px;color:#c8dee0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#sg-auto-panel button{min-height:var(--sg-tap);min-width:80px;border:2px solid #ffbdac;border-radius:8px;background:#9d2937;color:#fff;font:bold 15px Arial;padding:8px}#sg-auto-panel #sg-auto-resume{background:#146260;border-color:#74e4ca}
.sg-compact .sg-board{height:264px}.sg-compact .sg-feature-toolbar{top:461px}.sg-compact .sg-result{height:70px}.sg-compact .sg-wallet-row{top:614px;height:39px}.sg-compact .sg-result>strong{font-size:22px}
.sg-purchase-hero{padding:18px 10px;text-align:center;background:radial-gradient(ellipse,#a13936,#4e2530);border:2px solid #f0c56d;border-radius:10px;margin:14px 0}.sg-purchase-hero span{display:block;font:700 11px Georgia;letter-spacing:3px;color:#ffe5a7}.sg-purchase-hero strong{display:block;font:900 26px Georgia;color:#ffdf87;margin-top:5px}.sg-buy-summary{margin:20px 0;padding:0}.sg-buy-summary>div{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #e1bb7755}.sg-buy-summary dd{margin:0;font-weight:700;color:#ffe6a6}.sg-buy-audit{padding:12px;border-radius:8px;border:1px solid #4f8585;background:#122f32}.sg-sheet a{color:#ffe6a6;text-decoration:underline}.sg-panel-actions{display:grid;grid-template-columns:1fr 1.4fr;gap:12px;margin-top:22px}.sg-panel-actions button,.sg-auto-options button{min-height:var(--sg-tap);border:1px solid #d3b578;border-radius:9px;background:#302b27;color:#ffedc4;font-weight:700;font-size:14px}.sg-panel-actions .sg-gold-button{background:linear-gradient(#f4d38b,#c4934d);color:#3b2715}.sg-auto-options{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:18px 0}.sg-auto-options button.selected{background:#e7bd68;color:#39281c}.sg-stop-limits{border:1px solid #b9945966;border-radius:9px;margin:20px 0;padding:13px}.sg-stop-limits legend{color:#ffe2a4;font-size:12px}.sg-stop-limits label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0;font-size:12px}.sg-stop-limits input{width:43%;min-height:var(--sg-tap);background:#15242b;border:1px solid #6d817c;border-radius:7px;padding:8px;color:#fff2c6;font:16px Arial}.sg-wide{width:100%;margin:8px 0 16px}#sg-panel-error{color:#ffbead;font-weight:700}
/* A single chest reveal occupies its own acknowledgment screen; no symbols are obscured during play. */
.sg-celebration{position:absolute;inset:0;z-index:70;display:flex;align-items:center;justify-content:center;padding:28px 16px;background:radial-gradient(ellipse at 50% 42%,#4d4123f7,#101c23fa 70%);backdrop-filter:blur(5px);text-align:center}.sg-celebration section{width:100%;max-height:100%;overflow:auto;padding:22px 12px;border:2px solid #d2ab61;border-radius:22px;background:linear-gradient(#34332999,#182831aa);box-shadow:inset 0 0 35px #bb90391c,0 20px 70px #0007}.sg-celebration section>small{display:block;font:700 9px/1.5 Arial;letter-spacing:1.4px;color:#dbd4bc}.sg-celebration h3{font:900 34px/1.05 Georgia;color:#ffe4a0;letter-spacing:-.7px;margin:14px 0 0;text-shadow:0 3px #57321c}.sg-celebration .sg-chest{display:block;width:100%;height:235px;overflow:visible}.sg-chest-lid{transform-box:fill-box;transform-origin:50% 100%;animation:sg-chest-open 1.15s cubic-bezier(.2,.8,.2,1) both}.sg-treasure{animation:sg-treasure-reveal 1.1s ease-out both}.sg-chest-sparkles{animation:sg-treasure-reveal 1.7s ease-out both}.sg-chest-aura{animation:sg-aura 2.6s ease-in-out 2 alternate}.sg-celebration #sg-celebration-amount{font:900 47px/1.1 Georgia;color:#fff0b5;font-variant-numeric:tabular-nums;text-shadow:0 3px #6a3a19;overflow-wrap:anywhere;margin:0 0 12px}.sg-celebration #sg-celebration-total{display:block;font:bold 11px Arial;letter-spacing:2.5px;color:#c3ffe5}.sg-celebration p{font:12px/1.5 Arial;color:#dbd3bf;margin:14px auto;max-width:280px}.sg-celebration #sg-collect{width:90%;min-height:var(--sg-tap);font-size:19px;margin:13px auto 18px;background:linear-gradient(#ffdea0,#c9953f);color:#3d2717;box-shadow:0 4px 0 #754e29}.sg-celebration section>small:last-child{font-size:9px;letter-spacing:0;font-weight:400}.sg-mega{background:radial-gradient(ellipse at 50% 42%,#534823f7,#13262ffa 75%)}.sg-mega .sg-chest{transform:scale(1.04)}.sg-super{background:radial-gradient(ellipse at 50% 42%,#644428f7,#192b36fa 78%)}.sg-super section{border:3px solid #ffe4a0;box-shadow:inset 0 0 45px #eebd4b33,0 0 25px #c9a15355}.sg-super .sg-chest{transform:scale(1.1)}.sg-super h3{color:#fff1bb}.sg-super .sg-chest-sparkles{fill:#e1fffa}
@keyframes sg-chest-open{from{transform:translateY(0) scaleY(1)}to{transform:translateY(-26px) scaleY(.72)}}@keyframes sg-treasure-reveal{0%,25%{opacity:0;transform:translateY(12px)}100%{opacity:1;transform:translateY(0)}}@keyframes sg-aura{from{opacity:.45}to{opacity:.85}}
@media(prefers-reduced-motion:reduce){.sg-scatter:before,.sg-reel.sg-scatter-landed .sg-scatter,.sg-gold-burst:after,.sg-chest-lid,.sg-treasure,.sg-chest-sparkles,.sg-chest-aura{animation:none!important}.sg-scatter:before{display:none}.sg-chest-lid{transform:translateY(-26px) scaleY(.72)}.sg-gold-burst:after{display:none}}

.sg-anticipating .sg-reel.spinning .sg-symbol{opacity:.48}

/* Bonus progression: no overlay can settle money or create an entitlement. */
.sg-bonus-total{position:absolute;top:191px;left:18px;right:18px;text-align:center;color:#fff0ad;font-size:12px;font-weight:800;letter-spacing:.35px;z-index:4;text-shadow:0 2px 4px #000}
.sg-bonus-popup{position:absolute;inset:0;z-index:35;background:rgba(13,9,15,.86);display:flex;align-items:center;justify-content:center;padding:22px;backdrop-filter:blur(3px)}
.sg-bonus-popup[hidden],.sg-bonus-total[hidden]{display:none}
.sg-bonus-popup section{width:100%;text-align:center;padding:26px 18px 20px;border:2px solid #f0c362;border-radius:24px;background:radial-gradient(ellipse at top,#6e3521,#291718 70%);box-shadow:0 0 40px #edb85040,inset 0 0 32px #e9a54b20;color:#fff3cd}
.sg-bonus-popup small{font-size:11px;letter-spacing:1.5px;color:#efc984}.sg-bonus-star{font-size:88px;line-height:1.3;color:#ffd76a;text-shadow:0 0 28px #ffb53399}.sg-bonus-popup h3{font:800 27px/1.15 Georgia,serif;margin:10px 0 18px;color:#fff0be}.sg-bonus-popup strong{display:block;font-size:29px;line-height:1.2;color:#ffda70}.sg-bonus-popup p{font-size:14px;line-height:1.5;color:#e8d6b8}.sg-bonus-popup button{min-height:58px;width:100%;margin-top:14px;font-size:20px}.sg-bonus-progress{height:4px;background:#e9ba58;border-radius:3px;margin:24px 35px;animation:sg-bonus-wait 1.7s linear both}.sg-in-bonus .sg-free-strip{font-weight:900;color:#ffe58b}.sg-board.bonus-awarded .sg-scatter{box-shadow:0 0 14px 4px #ffd566;filter:brightness(1.15)}
@keyframes sg-bonus-wait{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media(prefers-reduced-motion:reduce){.sg-bonus-progress{animation:none}.sg-board.bonus-awarded .sg-scatter{filter:none}}

.sg-in-bonus .sg-free-strip{height:22px;line-height:22px;font-size:13px}.sg-in-bonus .sg-board{top:215px;height:301px}
