/* The approved cabinet bounds are the effect viewport. */
#chorus-effect{position:absolute;inset:3.68% 0 3.09%;z-index:9;pointer-events:none;overflow:hidden;contain:strict;isolation:isolate;border-radius:9cqw 9cqw 6cqw 6cqw}
#chorus-effect[hidden]{display:none!important}#chorus-effect *{pointer-events:none}
.chorus-halo{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 45%,transparent 38%,#c37bff16 65%,#d4a4ff66 100%),linear-gradient(90deg,#a85cec55,transparent 17%,transparent 83%,#a85cec55);box-shadow:inset 0 0 5vmin #deb5ff66,inset 0 0 1.5vmin #fff1c366}
.chorus-beam{position:absolute;top:-20%;width:24%;height:140%;background:linear-gradient(90deg,transparent,#e6c5ff55,transparent);filter:blur(3px);animation:chorus-beam 4s ease-in-out infinite alternate;animation-delay:var(--chorus-clock,0s);animation-play-state:paused}
.chorus-beam.left{left:-15%;transform-origin:top left}.chorus-beam.right{right:-15%;transform-origin:top right;animation-direction:alternate-reverse}
.chorus-star{position:absolute;left:var(--x);top:var(--y);width:var(--size);height:var(--size);background:var(--tone);clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);filter:drop-shadow(0 0 4px var(--tone));animation:chorus-drift 4.5s linear infinite;animation-delay:calc(var(--chorus-clock,0s) + var(--phase));animation-play-state:paused}
body[data-chorus=on] .stage-lights{opacity:.85!important;filter:brightness(1.5) saturate(1.2)}
body[data-chorus=on] .lightstick{filter:drop-shadow(0 0 5px #e8beff)}
body[data-chorus=on] #show-heart{filter:drop-shadow(0 0 12px #ebc3ff)!important}
@keyframes chorus-beam{from{transform:rotate(-7deg);opacity:.45}to{transform:rotate(9deg);opacity:.8}}
@keyframes chorus-drift{0%{transform:translateY(5vh) scale(.4);opacity:0}20%{opacity:.85}80%{opacity:.65}100%{transform:translateY(-12vh) scale(1.15) rotate(70deg);opacity:0}}
@media(prefers-reduced-motion:reduce){.chorus-star,.chorus-beam{animation:none;opacity:.45}.chorus-halo{box-shadow:inset 0 0 3vmin #deb5ff55}}

/* A light centre pass makes chorus visible over the board without a white flash. */
.chorus-centre-beam{position:absolute;left:23%;width:54%;top:-20%;height:140%;background:linear-gradient(105deg,transparent 32%,#e9c6ff1c 47%,#fff0d21a 50%,transparent 66%);transform-origin:center;animation:chorus-beam 4s ease-in-out infinite alternate;animation-delay:var(--chorus-clock,0s);animation-play-state:paused}
.chorus-star.centre{animation-name:chorus-centre-drift}
@keyframes chorus-centre-drift{0%{transform:translateY(4vh) scale(.5);opacity:0}25%{opacity:.45}75%{opacity:.3}100%{transform:translateY(-8vh) scale(.8);opacity:0}}
@media(prefers-reduced-motion:reduce){.chorus-centre-beam{animation:none;opacity:.35}}
