/* Stage illumination lives behind the opaque cabinet, never on the reels.
 * Each cone has one soft brightness crest per 5.2–6.8 seconds. One edge wash
 * breathes every 1.2 seconds; all five together stay below two crests/second.
 * There are no
 * flashes, hard on/off steps, large blurs, particles, or camera movements.
 */
.bonus-stage-lights{
 position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;
 visibility:hidden;opacity:0;contain:paint;isolation:isolate;
}
.bonus-stage-lights:before,.bonus-stage-lights:after{
 content:'';position:absolute;inset:0;pointer-events:none;
}
.bonus-stage-lights:before{
 background:linear-gradient(90deg,#ffc47755,transparent 7% 93%,#df79b455),radial-gradient(ellipse at 0% 40%,#edb86350,transparent 31%),radial-gradient(ellipse at 100% 55%,#d764a54a,transparent 32%),radial-gradient(ellipse at 50% 100%,#e09d5842,transparent 51%);
 opacity:.26;animation:bonusStageEdgePulse 1.2s ease-in-out infinite;animation-play-state:paused;
}
.bonus-stage-lights:after{
 background:radial-gradient(ellipse at 9% 0%,#ffd28b28,transparent 24%),radial-gradient(ellipse at 89% 0%,#e67dbd23,transparent 26%);
}
.bonus-stage-lights>.beam{
 position:absolute;display:block;top:-9vh;left:var(--light-left);
 width:clamp(150px,30vw,560px);height:126vh;
 transform-origin:50% 0;transform:rotate(var(--light-from));
 clip-path:polygon(48% 0,52% 0,100% 100%,0 100%);
 background:linear-gradient(180deg,rgba(var(--light-rgb),0) 0%,rgba(var(--light-rgb),.82) 13%,rgba(var(--light-rgb),.52) 52%,rgba(var(--light-rgb),0) 100%);
 opacity:.055;animation:bonusStageSweep var(--light-duration) ease-in-out infinite;
 animation-delay:var(--light-delay);animation-play-state:paused;
}
.bonus-stage-lights>.beam:nth-child(1){--light-left:-14%;--light-from:-14deg;--light-to:17deg;--light-rgb:255,193,111;--light-duration:5.6s;--light-delay:-1.1s}
.bonus-stage-lights>.beam:nth-child(2){--light-left:13%;--light-from:27deg;--light-to:-22deg;--light-rgb:225,122,174;--light-duration:6.8s;--light-delay:-4.2s}
.bonus-stage-lights>.beam:nth-child(3){--light-left:57%;--light-from:-27deg;--light-to:22deg;--light-rgb:255,190,103;--light-duration:6.4s;--light-delay:-2.7s}
.bonus-stage-lights>.beam:nth-child(4){--light-left:83%;--light-from:14deg;--light-to:-17deg;--light-rgb:232,125,182;--light-duration:5.2s;--light-delay:-.4s}
body.after-hours:not(:has(#loader:not([hidden]))) .bonus-stage-lights{visibility:visible;opacity:1}
body.after-hours:not(:has(#loader:not([hidden]))) .bonus-stage-lights:not(.stage-paused)>.beam{animation-play-state:running}
body.after-hours:not(:has(#loader:not([hidden]))) .bonus-stage-lights:not(.stage-paused):before{animation-play-state:running}
.bonus-stage-lights.stage-paused>.beam{animation-play-state:paused!important}
.bonus-stage-lights.stage-paused:before{animation-play-state:paused!important}
@keyframes bonusStageSweep{
 0%,100%{transform:rotate(var(--light-from));opacity:.055}
 50%{transform:rotate(var(--light-to));opacity:.17}
}
@keyframes bonusStageEdgePulse{0%,100%{opacity:.26}50%{opacity:.78}}
@media(max-width:520px){
 .bonus-stage-lights>.beam{width:48vw;height:119vh;opacity:.05}
 .bonus-stage-lights>.beam:nth-child(1){--light-left:-30%}
 .bonus-stage-lights>.beam:nth-child(2){--light-left:-1%}
 .bonus-stage-lights>.beam:nth-child(3){--light-left:55%}
 .bonus-stage-lights>.beam:nth-child(4){--light-left:88%}
}
@media(prefers-reduced-motion:reduce){
 .bonus-stage-lights>.beam{animation:none!important;opacity:.025;transform:rotate(var(--light-from))}
 .bonus-stage-lights:before{animation:none!important;opacity:.22}
 .bonus-stage-lights:after{opacity:.5}
}
