/* Curtain follows the audio clock, so pause never lets it drift ahead. */
#stage-curtain{position:absolute;left:4.65%;right:4.65%;top:55.65%;height:18.7%;border-radius:2.8cqw 2.8cqw 1.6cqw 1.6cqw;clip-path:inset(0 round 2.8cqw 2.8cqw 1.6cqw 1.6cqw);z-index:15;pointer-events:none;overflow:hidden;isolation:isolate}#stage-curtain[hidden]{display:none!important}
.curtain-panel{position:absolute;top:0;bottom:0;width:51%;background:linear-gradient(180deg,#b58ad31a,transparent 24%,#160e2f77),repeating-linear-gradient(90deg,#372044 0%,#70448c 6%,#9b6baf 9%,#5b3476 15%,#392146 20%);box-shadow:inset 0 0 16px #1a102d88;will-change:transform;border-bottom:2px solid #c19ad6;box-sizing:border-box}
.curtain-left{left:0;border-right:1px solid #c4a3dc;transform-origin:left top}.curtain-right{right:0;border-left:1px solid #c4a3dc;background-position:right top;transform-origin:right top}
.curtain-panel:after{content:'';position:absolute;left:0;right:0;bottom:4%;height:1px;background:#b291c477;box-shadow:0 3px #d3b3e033}
.curtain-valance{position:absolute;left:0;top:0;width:100%;height:21%;filter:drop-shadow(0 3px 2px #180f2b77);transform-origin:top center}
@media(prefers-reduced-motion:reduce){.curtain-panel{will-change:auto}}

/* Soft woven motifs stay on the fabric and move with each curtain panel. */
.curtain-panel:before{content:"";position:absolute;inset:0;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2280%22%20viewBox%3D%220%200%2064%2080%22%3E%3Cpath%20d%3D%22M16%2012l2%205%205%202-5%202-2%205-2-5-5-2%205-2z%22%20fill%3D%22%23e4c4ef%22%20opacity%3D%22.28%22%2F%3E%3Cpath%20d%3D%22M45%2051c-12-7-7-15%200-9%207-6%2012%202%200%209z%22%20fill%3D%22none%22%20stroke%3D%22%23e4c4ef%22%20stroke-width%3D%221%22%20opacity%3D%22.4%22%2F%3E%3Ccircle%20cx%3D%2248%22%20cy%3D%2213%22%20r%3D%221%22%20fill%3D%22%23ead4f3%22%20opacity%3D%22.4%22%2F%3E%3Ccircle%20cx%3D%2213%22%20cy%3D%2261%22%20r%3D%221%22%20fill%3D%22%23ead4f3%22%20opacity%3D%22.35%22%2F%3E%3C%2Fsvg%3E");background-size:8cqw 10cqw;pointer-events:none}
.curtain-bow{fill:#b58acb;stroke:#e2c6ef;stroke-width:1;stroke-linejoin:round}
