.theatre{position:fixed;inset:0;pointer-events:none;overflow:hidden;--stage-gold:#c7a268;--stage-tint:#284b64}
body[data-act="1"] .theatre{--stage-tint:#534369;--stage-gold:#d3b9e5}
body[data-act="2"] .theatre{--stage-tint:#645137;--stage-gold:#e8bd7c}
.theatre::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 17%,color-mix(in srgb,var(--stage-tint) 62%,transparent),transparent 66%);opacity:.8}
.proscenium{position:absolute;inset:3% 3% 6%;width:94%;height:91%;fill:none;stroke:var(--stage-gold);stroke-opacity:.48;animation:arch-appear 1.3s both}
.proscenium path{vector-effect:non-scaling-stroke;stroke-width:1}
.theatre-wing{position:absolute;top:0;bottom:0;width:21%;background:repeating-linear-gradient(90deg,#03050bdd 0%,#131522cc 12%,#272438a0 24%,#080913dd 36%);border-inline:1px solid #d9ac6633;z-index:1;transition:transform 1.3s cubic-bezier(.2,.75,.25,1)}
.wing-left{left:0;transform:translateX(-45%);mask-image:linear-gradient(90deg,#000 62%,transparent)}
.wing-right{right:0;transform:translateX(45%);mask-image:linear-gradient(-90deg,#000 62%,transparent)}
.prologue .wing-left{transform:translateX(0)}
.prologue .wing-right{transform:translateX(0)}
.stage-floor{position:absolute;left:15%;right:15%;top:68%;height:15%;border-radius:50%;border-top:1px solid #f5c37d37;background:radial-gradient(ellipse,#d9a65a1f,transparent 68%);transform:perspective(500px) rotateX(55deg)}
.act-mark{position:fixed;top:10%;left:50%;transform:translateX(-50%);z-index:2;text-align:center;color:#dabc86;pointer-events:none;transition:opacity .6s}
.act-mark span{display:block;font-size:10px;letter-spacing:.28em}
.act-mark strong{display:block;margin-top:7px;font:500 18px Georgia,serif;letter-spacing:.22em}
body.detail .act-mark,body.clean .act-mark,body.clean .theatre{opacity:0}
body.detail .theatre{opacity:.48}
#ring{transition:transform 1.2s cubic-bezier(.22,.8,.2,1),opacity .6s,scale 1.2s cubic-bezier(.22,.8,.2,1)}
.prologue #ring{scale:1.17;transform-origin:0 0}
.prologue .tile:not(:first-child){opacity:0;pointer-events:none}
.tile{transition:opacity .7s}
.curtain-rise .tile:not(:first-child){animation:cast-reveal 1.15s .22s both}
.prologue .tile:first-child .tile-pose{animation:prologue-turn 1.8s ease-out both}
@keyframes prologue-turn{from{transform:rotateY(-74deg);opacity:.2}to{transform:rotateY(0);opacity:1}}
@keyframes cast-reveal{from{opacity:0}to{opacity:1}}
@keyframes arch-appear{from{opacity:0}to{opacity:1}}
#entrance{background:none;display:grid;grid-template-columns:1fr;place-items:end center;padding:0 6vw 7vh;pointer-events:none}
#entrance .intro-copy{text-align:center;animation:opening-title .85s 1.25s both;pointer-events:auto}
#entrance .intro-copy h2{font-size:clamp(30px,5vw,62px);margin:.12em 0 .32em}
#entrance .intro-copy p{margin:0;color:#dabc86}
.prologue .caption,.prologue .toolbar{visibility:hidden}
@keyframes opening-title{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(max-width:700px){.proscenium{inset:5% 2% 8%;width:96%;height:87%}.act-mark{top:12%}.theatre-wing{width:16%}.prologue #ring{scale:1}#entrance{padding-bottom:12vh}}
@media(prefers-reduced-motion:reduce){.prologue .tile:first-child .tile-pose,.curtain-rise .tile:not(:first-child),.proscenium,#entrance .intro-copy{animation:none}.theatre-wing{transition:none}}
