/* After Hours is a distinct midnight discotheque, not a tint of the base lounge. */
body.after-hours{--cream:#fff0ef;--orange:#f64f93;--gold:#ffe498;background:#0b071b}
body.after-hours .lounge{background:linear-gradient(#09031e0d,#05031640),url('assets/after-hours/lounge.png') center/cover}
body.after-hours .lounge:after{background:linear-gradient(90deg,#11062555,transparent 28% 72%,#11062555)}
body.after-hours .cabinet{background:linear-gradient(90deg,#d7d8ea,#29283a 1%,#eee8ff 1.4%,#352c54 2%,#18112f 50%,#352c54 98%,#eee8ff 98.6%,#29283a 99%,#d7d8ea);border-color:#170c2a;box-shadow:0 0 0 2px #b4a3d8,0 0 0 5px #291739,0 22px 70px #000b}
body.after-hours .marquee{background:linear-gradient(115deg,#271843,#100f24 48%,#402053);border-color:#bd97d2;box-shadow:inset 0 0 0 2px #64517b,0 3px 0 #090414}
body.after-hours .speed-stripes{background:linear-gradient(#bc258c 0 27%,#130d29 27% 32%,#7256be 32% 60%,#130d29 60% 65%,#80bacb 65% 94%,#130d29 94%);box-shadow:0 4px 0 #170c25}
body.after-hours .title>span{color:#f9d8f1;background:#2c173fe8}
body.after-hours .reel-frame{background:linear-gradient(90deg,#0c091c,#665079 2%,#191229 4% 96%,#665079 98%,#0c091c);border-color:#efd9ff;box-shadow:0 0 0 3px #21122d,inset 0 0 0 3px #a5308c,inset 0 0 0 5px #e995dc,0 0 22px #aa36932b;padding-top:.75cqw;gap:.7cqw}
body.after-hours .board{background:radial-gradient(ellipse at 50% 12%,#281c41,#090c21 78%);box-shadow:inset 0 0 30px #030417bd}
body.after-hours .reel{border-color:#d4a6e112}
body.after-hours .tile[data-symbol=bar] img,body.after-hours .tile[data-symbol=bar] .symbol-gleam{width:86%;height:88%}
body.after-hours .tile.paid[data-symbol=cherries] img{animation:vinylCelebrate 1.2s ease-in-out 2}
body.after-hours .tile.paid[data-symbol=bar] img{animation:platformStep .55s ease-in-out 3}
body.after-hours .tile.paid[data-symbol=bell] img{animation:mirrorCelebrate 1.1s ease-in-out 2}
.bonus-flight{position:fixed;z-index:30;pointer-events:none;object-fit:contain;filter:drop-shadow(0 0 8px #ef8de69a)}
.bonus-notice{position:absolute;z-index:12;left:50%;top:49%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:.6cqw;width:max-content;max-width:90%;padding:2.2cqw 3cqw;border:0;border-radius:0;background:none;box-shadow:none;text-align:center;pointer-events:none;isolation:isolate}
.bonus-notice:before{content:'';position:absolute;inset:-24% -16%;z-index:-1;background:radial-gradient(ellipse,#110b21fa 10%,#170d25de 40%,#170d2500 72%);pointer-events:none}
.bonus-notice>span{font-size:.8cqw;letter-spacing:.22em;font-weight:800;color:#efb5d0}.bonus-notice>strong{font:900 italic 5cqw/1.1 Georgia,serif;letter-spacing:-.035em;color:#ffedba;text-shadow:0 2px #c38b4b,0 4px #703f44,0 7px 14px #0009}.bonus-notice>small{font-size:.84cqw;font-weight:700;color:#fff0e5;letter-spacing:.075em}
.night-start .board{animation:nightBoardArrival 1.2s ease-out both}
@keyframes vinylCelebrate{0%,100%{transform:rotate(0) scale(1)}50%{transform:rotate(24deg) scale(1.04)}}
@keyframes platformStep{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-4%) rotate(-5deg)}}
@keyframes mirrorCelebrate{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg) scale(1.035)}}
@keyframes nightBoardArrival{from{opacity:.25;transform:scale(.985)}to{opacity:1;transform:none}}
body.after-hours .bulbs i{background:radial-gradient(circle at 45% 35%,#fff8fb 5%,#f9bfdd 32%,#d469b2 55%,#6b276e 76%);box-shadow:0 0 5px #d24dad80;border-color:#ffd5eb}
body.after-hours .bet-deck{background:linear-gradient(105deg,#a299b8,#e3d7ed 38%,#aaa0bc 75%,#d1c8e1);border-color:#41324e;box-shadow:inset 0 0 0 2px #f4e7ff,0 0 0 1px #c5a8d6}
body.after-hours .spin-button{background:linear-gradient(#ea61b1,#b82587 27%,#811e75 80%,#5b195a);border-color:#ffe8f5;box-shadow:0 0 0 2px #3b1a41,inset 0 0 0 3px #ee8dcc,inset 0 -7px 0 #491544,0 4px 3px #45224f;text-shadow:0 2px #661349}
body.after-hours footer{color:#dac8e7}

/* A four-part lit marquee: identity, remaining spins, growing boost, total. */
.feature-strip{position:relative;isolation:isolate;height:7.2cqw;flex:none;display:grid;grid-template-columns:1.8fr .75fr 1.5fr 1.45fr;align-items:stretch;gap:0;overflow:hidden;border:1px solid #b38f6c;border-radius:6px;padding:.7cqw .8cqw;background:radial-gradient(ellipse at 8% 0,#984b6459,transparent 43%),linear-gradient(110deg,#281828,#120f1c 62%,#382431);box-shadow:inset 0 1px #eed4c84d,inset 0 -2px #07060e,0 2px 4px #0008;color:#fff0ed}
.feature-strip:before{content:'';position:absolute;inset:auto 0 0;height:2px;background:linear-gradient(90deg,#c26b9b,#ac91bf 33%,#82b4b5 67%,#eac385)}
.after-hours-name{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:.35cqw;padding-left:4.8cqw}
.after-hours-name:before{content:'';position:absolute;left:.15cqw;top:10%;width:4.2cqw;height:80%;background:url('assets/supercharged/bell.png') center/contain no-repeat;filter:drop-shadow(0 2px 3px #0009)}
.after-hours-name>small{color:#dfb9c8;font-size:.65cqw;font-weight:800;letter-spacing:.16em;line-height:1.1}
.after-hours-name #featureName{font:900 italic 2cqw/.95 Georgia,'Times New Roman',serif;letter-spacing:-.045em;color:#fff0d9;text-shadow:0 2px #763b63;white-space:nowrap;margin:0}
.after-hours-name .equalizer{display:none}
.feature-stat{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35cqw;border-left:1px solid #e6bf9633;text-align:center;padding:0 .6cqw}
.feature-stat>span:first-child{font-size:.72cqw;font-weight:800;letter-spacing:.12em;white-space:nowrap;color:#d8becf;line-height:1.1}
.feature-strip .feature-stat>b{font-size:2.9cqw;line-height:1;font-weight:900;letter-spacing:-.035em;margin:0;color:#fff0d2;text-shadow:0 2px #73503d;font-variant-numeric:tabular-nums}
.feature-strip .feature-stat.spins>b{min-width:1.5em;padding:.12em .18em;background:linear-gradient(#251c29,#110d17);border:1px solid #a27e6854;border-radius:3px;box-shadow:inset 0 2px 6px #0009;line-height:1}
.feature-strip .feature-stat.boost>b{color:#ffdc8d;font-size:2.65cqw}
.feature-strip .feature-stat.total{background:radial-gradient(ellipse,#a06d3024,transparent 72%)}
.feature-strip .feature-stat.total>b{font-size:3cqw;white-space:nowrap;color:#ffe4a1;letter-spacing:-.04em;text-shadow:0 2px #896134,0 0 14px #f7b95e28}
.multiplier-track{display:flex;gap:.2cqw;justify-content:center;margin-top:.12cqw;width:88%;height:1.05cqw;counter-reset:boost 1}.multiplier-track>i{flex:1;display:grid;place-items:center;counter-increment:boost;background:#0b0912;border:1px solid #bc8d652e;border-radius:2px;color:#a58d9d;font:700 normal .65cqw/1 Geags,Arial,sans-serif}.multiplier-track>i:after{content:counter(boost) '×'}.multiplier-track>i.active{background:linear-gradient(#f4d592,#b88846);border-color:#f3d79b;color:#372215;box-shadow:0 0 5px #e8ae552a}.multiplier-track>i:last-child.active{background:linear-gradient(#f6d7e7,#ca80a7);border-color:#f6d7e7;color:#45203c}
.feature-strip.last-call .spins>b{color:#ffd198;border-color:#e6a06799}
.feature-strip.multiplier-up .boost>b,.feature-strip.spins-added .spins>b{animation:nightBoostLand .65s cubic-bezier(.15,.7,.25,1) both}.feature-strip.multiplier-up .boost{background:radial-gradient(ellipse,#d44ea23a,transparent 72%)}
body.after-hours .win-badge[data-tier=groovy],body.after-hours .win-badge.big{background:radial-gradient(at 50% 0,#733661,#231333 85%);border-color:#ffe4bf;box-shadow:0 0 0 2px #945b87,0 0 0 5px #ddbbd1,0 10px 0 #26162f,0 0 45px #d558b042}
body.after-hours .win-badge[data-tier=groovy] small,body.after-hours .win-badge.big small{color:#ffe2f3;text-shadow:1px 2px #9c3373}
body.after-hours .cabinet.win-groovy .reel-frame,body.after-hours .cabinet.win-big .reel-frame,body.after-hours .cabinet.win-super .reel-frame{box-shadow:0 0 0 3px #21122d,inset 0 0 0 3px #a5308c,inset 0 0 0 5px #efd3f3,0 0 30px #cc78ce70}
body.after-hours .tile.held:before{border-color:#efafe2;box-shadow:0 0 14px #bb61b14a,inset 0 0 13px #de89c31f}body.after-hours .held-label{background:#582160;border-color:#e3a6d7}
body.after-hours .hot-banner{background:linear-gradient(#ae3d93,#62226c);border-color:#f2c9df}

/* Bonus entrance and finale share the same nightclub, not the purchase receipt. */
#modal.feature-dialog[data-variant=intro],#modal.feature-dialog[data-variant=summary]{border-color:#27132f;background:linear-gradient(120deg,#fff3f3,#7f7c9a 18%,#f3d9ee 35%,#65566f 59%,#fff0f7 80%,#88769a);box-shadow:0 0 0 2px #cab1d4,0 0 0 5px #20102a,0 20px 90px #000c}
#modal.feature-dialog[data-variant=intro]::backdrop,#modal.feature-dialog[data-variant=summary]::backdrop{background:#08061cbd;backdrop-filter:blur(5px)}
.after-hours-scene{background:#151127;border-color:#846389}
.after-hours-scene .feature-header{min-height:207px;background:linear-gradient(100deg,#170b2b63,#0c082697),url('assets/after-hours/lounge.png') center 39%/cover;border-bottom-color:#da6db5;box-shadow:0 3px 0 #471c4c}
.after-hours-scene .feature-header:after{background:linear-gradient(90deg,#db5daa,#ab65bf 33%,#778bc7 66%,#9cd3d8)}
.after-hours-scene .record-rings{border-color:#ffc9ed75;box-shadow:0 0 0 10px #231731aa,0 0 0 11px #dba4d457,0 0 0 22px #23173199,0 0 0 23px #b09acf47,0 0 0 34px #23173188,0 0 0 35px #afa8d92c}
.after-hours-scene .record-rings:after{border-top-color:#f3afd2;border-left-color:#a88bd7;opacity:.8}
.after-hours-scene .feature-art-label{color:#ffd1e8}.after-hours-scene .feature-kicker{color:#f6cde5;font-size:8px;letter-spacing:.1em}.feature-dialog .after-hours-scene .feature-heading h1{color:#ffedde;text-shadow:0 2px #d788b8,2px 4px #922b7c,4px 7px #170722;margin-bottom:22px}.after-hours-scene .feature-heading h1 em{color:#ffd4e6}
.night-edition{display:block;color:#faf0ff;font-size:8px;font-weight:800;letter-spacing:.22em;padding-bottom:10px}.after-hours-scene .feature-wordmark{color:#eec1dc}.after-hours-scene .feature-wordmark span{color:#b8a2c8}
.after-hours-scene .feature-details{background:radial-gradient(ellipse at 50% 0,#372143,#141127 80%);color:#f4eaf5;padding-top:17px;padding-bottom:20px}
.after-hours-scene .spin-award-label{color:#dda9cc}.feature-dialog .after-hours-scene .spin-award .hero-number{color:#fff0be;text-shadow:0 2px #b76b94,0 4px #5c2b66;font-size:80px}.after-hours-scene .spin-award>div>span{color:#ffe9f3}.after-hours-scene .spin-award>div>span em{color:#e6a3d0}.after-hours-scene .award-underliner{background:linear-gradient(90deg,#cf70b0 0 33%,#a58cc9 33% 66%,#91c9d6 66%)}
.after-hours-scene .multiplier-journey{border-color:#bc97ce40;padding:10px 0}.after-hours-scene .multiplier-journey>div>b{color:#ffe1a8}.after-hours-scene .multiplier-journey>div>span{color:#d5beda}.after-hours-scene .journey-track>b{color:#e9a1d2}
.night-symbol-preview{display:flex;justify-content:center;align-items:center;gap:16px;padding:10px 0 2px}.night-symbol-preview>div{height:48px;display:flex;align-items:center;gap:6px}.night-symbol-preview img{width:51px;height:48px;object-fit:contain;filter:drop-shadow(0 3px 3px #0005)}.night-symbol-preview>span{text-align:left;font-size:8px;line-height:1.6;color:#bf9dc8;letter-spacing:.13em}.night-symbol-preview b{font-weight:800;color:#e8cee9}
.after-hours-scene .feature-explainer{font-size:11px;line-height:1.6;color:#c9b3d5;margin:10px 0 15px}.after-hours-scene .feature-explainer b{color:#f1d9ed}.after-hours-scene .preview-notice{color:#e8cadf;border-color:#a578ba66;background:#8e54872c}
.feature-dialog .after-hours-scene .feature-actions .primary{background:linear-gradient(#e86eae,#b63486 58%,#7e206c);color:#fff5e7;border-color:#f7c6e4;box-shadow:0 2px 0 #421437,inset 0 0 0 1px #ffe2f25c,inset 0 -3px 0 #771d64;text-shadow:0 2px #681448}.feature-dialog .after-hours-scene .feature-actions .primary:hover:not(:disabled){background:linear-gradient(#f28ac0,#cf4396 58%,#8c2677)}.feature-dialog .after-hours-scene .feature-actions .secondary{color:#d7b8d8}.feature-dialog .after-hours-scene .feature-actions .secondary:hover{background:#cd89ba17;color:#fff0f6}
.after-hours-scene .total-award{position:relative;padding:8px 0 20px}.after-hours-scene .total-award>span{color:#d3acd0;font-size:10px;letter-spacing:.2em}.feature-dialog .after-hours-scene .total-award .hero-number.money{color:#fff0bf;text-shadow:0 2px #b26b86,0 4px #612255;font-size:clamp(33px,7.5vw,71px);line-height:1.4;letter-spacing:-.055em}.after-hours-scene .total-award small{color:#e2b9d6;font-size:8px;letter-spacing:.12em}.after-hours-scene .summary-details{border-color:#bc97ce40}.after-hours-scene .summary-details b{color:#ffe0aa}.after-hours-scene .summary-details span{color:#d1b9d9}
.night-paid .total-award:after{content:'';display:block;width:160px;height:3px;margin:13px auto 0;background:linear-gradient(90deg,transparent,#dc85c2,#a48dce,#94c9d5,transparent)}
.feature-dialog[open] .night-paid .total-award{animation:nightTotalEnter .75s cubic-bezier(.17,.75,.23,1) both}.night-paid #featureWinTotal.settled{animation:nightBoostLand .7s cubic-bezier(.15,.7,.25,1) both}
.night-closed .feature-art,.night-closed .record-rings,.night-closed .rainbow-art{animation:none!important}.night-closed .rainbow-flow{display:none}.night-closed .total-award>span{color:#c0b5cb}.feature-dialog .night-closed .total-award .hero-number.money{color:#d5cada;text-shadow:none}.night-closed .total-award small{color:#b0a0bd}
@keyframes nightEqualizer{from{transform:scaleY(.45)}to{transform:scaleY(1)}}
@keyframes nightBoostLand{0%{transform:scale(.94)}35%{transform:scale(1.12)}65%{transform:scale(.985)}100%{transform:scale(1)}}
@keyframes nightTotalEnter{from{opacity:0;transform:translateY(10px) scale(.94)}to{opacity:1;transform:none}}

@media(max-width:520px){
 .after-hours-scene .feature-header{min-height:170px}.after-hours-scene .feature-kicker{font-size:5.5px;letter-spacing:.02em}.night-edition{font-size:6px;letter-spacing:.15em;padding-bottom:8px}.feature-dialog .after-hours-scene .feature-heading h1{margin-bottom:17px}.after-hours-scene .feature-details{padding:14px 16px 16px}.feature-dialog .after-hours-scene .spin-award .hero-number{font-size:66px}.night-symbol-preview{gap:12px;padding:8px 0 0}.night-symbol-preview>div{height:39px;gap:5px}.night-symbol-preview img{width:42px;height:39px}.night-symbol-preview>span{font-size:7px}.after-hours-scene .feature-explainer{font-size:10px;margin:9px 0 12px}.after-hours-scene .total-award>span{font-size:8px}.after-hours-scene .total-award small{font-size:7px;letter-spacing:.06em}.feature-dialog .after-hours-scene .total-award .hero-number.money{font-size:clamp(29px,9vw,44px)}
}
@media(max-aspect-ratio:4/5){
 body.after-hours .cabinet{grid-template-rows:31cqw 88cqw 42cqw 8cqw}
 .bonus-notice{gap:1.5cqw;padding:3cqw 4cqw}.bonus-notice>span{font-size:2.2cqw}.bonus-notice>strong{font-size:9cqw}.bonus-notice>small{font-size:1.9cqw}
 body.after-hours .tile img,body.after-hours .tile[data-symbol=bar] img,body.after-hours .tile .symbol-gleam,body.after-hours .tile[data-symbol=bar] .symbol-gleam,body.after-hours .tile[data-symbol=cherries] .symbol-gleam,body.after-hours .tile[data-symbol=bell] .symbol-gleam{width:96%;height:85%}
 body.after-hours .reel-frame{padding-top:1.9cqw;gap:1.7cqw}.feature-strip{height:17cqw;border-radius:5px;padding:1.3cqw .8cqw;grid-template-columns:1.2fr .75fr 1.3fr 1.25fr}.after-hours-name{gap:.8cqw;padding-left:.9cqw}.after-hours-name:before{display:none}.after-hours-name>small{font-size:1.35cqw;letter-spacing:.08em}.after-hours-name #featureName{font-size:3.7cqw;white-space:normal;line-height:.95;max-width:17cqw}.feature-stat{gap:.8cqw;padding:0 .5cqw}.feature-stat>span:first-child{font-size:1.45cqw;letter-spacing:.015em;white-space:normal;line-height:1.2;max-width:17cqw}.feature-strip .feature-stat>b{font-size:6.1cqw}.feature-strip .feature-stat.boost>b{font-size:5.8cqw}.feature-strip .feature-stat.total>b{font-size:4.7cqw;letter-spacing:-.055em}.multiplier-track{height:2.5cqw;width:95%;gap:.35cqw;margin-top:.6cqw}.multiplier-track>i{font-size:1.6cqw}.feature-strip:before{height:2px}
}
@media(max-height:560px) and (min-aspect-ratio:4/5){
 .after-hours-scene .feature-header{min-height:0;border-bottom:0;border-right-color:#bb63aa;padding-top:32px;padding-bottom:12px;background-position:37% center}.after-hours-scene .feature-header:after{background:linear-gradient(#db5daa,#ab65bf 33%,#778bc7 66%,#9cd3d8)}.after-hours-scene .feature-kicker{font-size:6px}.night-edition{font-size:6px;padding-bottom:7px}.after-hours-scene .feature-details{padding:11px 17px 10px}.feature-dialog .after-hours-scene .spin-award .hero-number{font-size:49px}.after-hours-scene .spin-award{padding-bottom:5px}.after-hours-scene .spin-award-label{font-size:7px}.after-hours-scene .multiplier-journey{padding:7px 0}.after-hours-scene .multiplier-journey>div>b{font-size:21px}.night-symbol-preview{padding:6px 0 0;gap:10px}.night-symbol-preview>div{height:31px;gap:6px}.night-symbol-preview img{width:35px;height:31px}.night-symbol-preview>span{font-size:6px;line-height:1.5}.after-hours-scene .feature-explainer{font-size:9px;line-height:1.45;margin:7px 0 9px}.after-hours-scene .total-award{padding:3px 0 11px}.feature-dialog .after-hours-scene .total-award .hero-number.money{font-size:42px}.after-hours-scene .total-award small{font-size:7px}.night-paid .total-award:after{margin-top:8px}
}
@media(prefers-reduced-motion:reduce){.equalizer i{animation:none;transform:none}.feature-strip.multiplier-up .boost>b,.feature-strip.spins-added .spins>b,.feature-dialog[open] .night-paid .total-award,.night-paid #featureWinTotal.settled,.night-start .board,body.after-hours .tile.paid img{animation:none!important}}

.after-hours-name>small{font-size:clamp(7px,.65cqw,11px)}
.feature-stat>span:first-child{font-size:clamp(8px,.72cqw,12px)}
@media(max-aspect-ratio:4/5){.after-hours-name>small,.feature-stat>span:first-child{font-size:clamp(7px,1.65cqw,12px)}}
@media(max-height:560px) and (min-aspect-ratio:4/5){.feature-strip{min-height:44px}.after-hours-name>small{font-size:6px}.feature-stat>span:first-child{font-size:7px}.feature-strip .feature-stat>b{font-size:18px}.feature-strip .feature-stat.total>b{font-size:15px}}
