/* Test-only stage. Shared player furniture and lyric geometry retain the live copy. */
#band-art-layer,#band-cast-layer{position:absolute;inset:0;pointer-events:none;overflow:hidden}
#band-art-layer{z-index:1;mix-blend-mode:screen;visibility:hidden}
#band-cast-layer{z-index:2;opacity:0;visibility:hidden}
#band-art-layer canvas,#band-cast-layer canvas{display:block;width:100%;height:100%;outline:none}
.theater.band-active #album-art{opacity:calc(var(--art-opacity,1) * (1 - var(--art-handoff,0)))!important}
.theater.band-active #band-art-layer,.theater.band-revealed #band-cast-layer{visibility:visible}
.theater.band-revealed #band-cast-layer canvas{pointer-events:none;cursor:default}

.theater.band-camera-locked #band-cast-layer canvas{cursor:default}
.theater.home-screen #band-art-layer,.theater.home-screen #band-cast-layer{visibility:hidden;pointer-events:none}

/* Match the existing masked header emblem to the live death-shift accent. */
.final-replay .end-logo-frame.themed-gilly{color:var(--accent);opacity:.92}

/* A firmer local edge and wider feathered shade lift lyrics off the cast
   without adding an opaque panel or dimming the surrounding scene. */
.active-lyric{text-shadow:0 2px 3px rgb(0 0 0 / 95%),0 3px 13px rgb(0 0 0 / 88%),0 2px 22px #000,0 0 32px rgb(0 0 0 / 38%)}

/* Credits orbit surface stays open between the existing player controls. */
.theater.band-credits #band-cast-layer canvas{pointer-events:auto;touch-action:none;cursor:grab}
.theater.band-credits #band-cast-layer{pointer-events:auto}
.theater.band-credits .title-card,.theater.band-credits .title-card *{pointer-events:none}
.theater.credits-world-emblem #credits-emblem-layer{visibility:hidden}
.theater.band-credits #band-cast-layer canvas:active{cursor:grabbing}
.theater.band-credits.credits-camera-closing #band-cast-layer canvas{cursor:default}
.theater.band-credits #album-art{visibility:hidden}
.theater.band-credits .end-card,.theater.band-credits .end-actions{pointer-events:none}
.theater.band-credits .end-actions a,.theater.band-credits .end-actions button{pointer-events:auto}
.theater.band-credits .end-actions{transition:opacity .5s ease}
#theater.band-credits.ghost-engaged .end-actions{opacity:0;pointer-events:none}
#theater.band-credits.ghost-engaged .end-actions a,#theater.band-credits.ghost-engaged .end-actions button{pointer-events:none}
.ghost-orbit-hint{position:absolute;left:50%;bottom:calc(144px + var(--safe));transform:translateX(-50%);z-index:9;width:max-content;max-width:calc(100vw - 44px);margin:0;text-align:center;text-wrap:balance;pointer-events:none;color:#7ae6b3;font:500 16.5px/1.3 var(--display);letter-spacing:.17em;text-shadow:0 2px 4px #000b;opacity:0;transition:opacity .5s ease}
.ghost-orbit-hint strong{font-weight:700}
@media(max-width:700px),(max-height:599px){.ghost-orbit-hint{font-size:12px;letter-spacing:.12em}}
@media(orientation:landscape) and (max-height:599px){.ghost-orbit-hint{bottom:112px}}
.end-primary-actions{position:relative;grid-row:2}
.end-actions>.release-links{grid-row:1;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .8s ease,visibility 0s}
.theater.credits-departed .end-actions>.release-links{opacity:1;visibility:visible;pointer-events:auto}
.theater:not(.credits-departed) .end-actions>.release-links :is(a,button){pointer-events:none}
.end-actions>.end-links{grid-row:3}
.end-primary-actions .ghost-orbit-hint{top:auto;bottom:calc(100% + 18px);font-size:11px;letter-spacing:.12em;max-width:calc(100vw - 44px)}
