/* Every story transform is a descendant of .scene-photo and #filmstrip.
   Existing cassette travel, chapter transitions and lyric overlays stay outside. */
.story-filmstrip>.scene{flex-basis:var(--story-scene-width,112vw);width:var(--story-scene-width,112vw)}
/* Full coverage through the hold and cue-driven slide, without a dark edge seam. */
.story-filmstrip>.scene>.scene-photo{-webkit-mask-image:none;mask-image:none}
.story-seam{position:absolute;z-index:3;top:0;bottom:0;width:clamp(12px,1.25vw,20px);transform:translateX(-50%);background:#030305;pointer-events:none;contain:paint}
.story-seam[hidden]{display:none}
.story-art{position:absolute;inset:0;overflow:hidden;pointer-events:none;isolation:isolate}
.story-shot{position:absolute;inset:0;overflow:hidden}
.story-plane{position:absolute;left:0;top:0;width:1672px;height:941px;transform-origin:0 0;will-change:transform;isolation:isolate}
.story-plane>img,.story-plane>canvas{position:absolute;inset:0;width:100%;height:100%;max-width:none;display:block;pointer-events:none}
.story-plane>img{object-fit:fill}
.story-state{opacity:0}
.story-expression{-webkit-mask-image:var(--expression-mask);mask-image:var(--expression-mask);-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;mask-mode:alpha}
/* Native CSS grayscale/contrast on the viewport, with a full-frame red multiply
   layer. Avoid animated SVG filter references on Safari's composited filmstrip. */
.blood-film-wash{position:absolute;inset:0;z-index:1;pointer-events:none;background:#ed2939;mix-blend-mode:multiply;opacity:0}
.blood-film-wash[hidden]{display:none}
/* Snow is tinted by the red wash, then darkened by the existing vignette.
   Tracking rides above the vignette and typography, like the tape-start pass. */
.mad-signal{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:0}
.mad-snow{z-index:1;image-rendering:pixelated}
.mad-tracking{z-index:11;filter:blur(.25px)}
.story-window-off{clip-path:inset(31.1% 32.0% 60.2% 65.5% round 18px 18px 0 0)}
.story-birds{z-index:2}
/* Saturated blue/magenta relighting keeps the printed ink/detail, with a
   separate bloom driven by the recording's intensity and transient attacks. */
.story-concert-color,.story-concert-lights{position:absolute;inset:0;z-index:4;overflow:hidden;pointer-events:none;will-change:opacity}
.story-concert-color{mix-blend-mode:color}
.story-concert-lights{z-index:5;mix-blend-mode:screen}
.story-concert-local{-webkit-mask-image:var(--concert-mask);mask-image:var(--concert-mask);-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;mask-mode:alpha}
.story-concert-wash{position:absolute;inset:0;background:linear-gradient(115deg,#65aef2,#3884ce 65%,#7954bb)}
.story-concert-wash-pink{background:linear-gradient(115deg,#f92f97,#be236d 65%,#6952b3);will-change:opacity}
