/* V22: film controls stay with their image without changing its aperture. */
.preview-stage>.media-scrubber.scene-media-scrubber{
 position:absolute;inset:auto 0 0;z-index:4;width:100%;height:38px;
 background:linear-gradient(180deg,rgba(7,17,21,.76),rgba(7,17,21,.97));
 border-top:1px solid rgba(185,204,191,.2);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
}

/* The background film has its own compact transport beside the main reel. */
.hero-film-transport{
 position:absolute;left:calc(6% + 230px);right:auto;bottom:calc(var(--scene-clearance) + 46px);
 display:flex;align-items:center;width:320px;height:44px;min-width:0;
 background:rgba(9,19,23,.88);box-shadow:inset 0 0 0 1px rgba(185,204,191,.24);
 backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);pointer-events:auto;
}
.hero-film-transport>.hero-motion-toggle{
 position:static;inset:auto;transform:none;flex:none;width:89px;min-width:0;height:44px;min-height:44px;
 margin:0;padding:0 9px;border:0;border-right:1px solid rgba(185,204,191,.2);border-radius:0;
 background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;color:#e1e5df;
 font-size:12px;line-height:15px;white-space:nowrap;
}
.hero-film-transport>.hero-motion-toggle:before{content:'Film · ';display:inline;color:#a8b7ad}
.hero-film-transport>.hero-media-scrubber{position:relative;flex:1;width:auto;min-width:0;height:38px;background:transparent}

/* Reserve room for the transport instead of squeezing the film out of ratio. */
.cinema-screen-transport{
 position:relative;width:min(100%,max(200px,calc((100svh - 304px) * var(--media-aspect,1.77777778))));
 height:auto;max-width:100%;max-height:none;aspect-ratio:auto;margin:0 auto;overflow:visible;
}
.cinema-screen-transport>.cinema-screen,.cinema-screen-transport>.cinema-screen.is-portrait{
 width:100%;height:auto;min-height:0;max-width:none;max-height:none;
 aspect-ratio:var(--media-aspect,16/9);margin:0;
}
.cinema-screen-transport>.cinema-screen-scrubber{
 background:linear-gradient(110deg,#172325,#0a1215);border-top:1px solid rgba(185,204,191,.2);
}

@media(min-width:700px) and (max-height:800px){
 .hero-film-transport{bottom:calc(var(--scene-clearance) + 16px)}
}
@media(max-width:699px){
 .hero-film-transport{left:auto;right:6%;bottom:calc(var(--scene-clearance) + 19px);width:150px}
 .hero-film-transport>.hero-motion-toggle{width:43px;flex-basis:43px;padding:0;font-size:11px;line-height:14px}
 .hero-film-transport>.hero-motion-toggle:before{content:'Film';display:block;font-size:10px;line-height:14px}
 .hero-film-transport>.hero-media-scrubber .media-seek{left:8px;width:calc(100% - 16px)}
 .hero-film-transport>.hero-media-scrubber .media-time{left:8px;right:8px;gap:5px;font-size:11px}
 .cinema-screen-transport{width:min(100%,max(200px,calc((100svh - 279px) * var(--media-aspect,1.77777778))))}
}
@media(max-width:699px) and (max-height:720px){
 .hero-film-transport{bottom:calc(var(--scene-clearance) + 7px)}
 .hero-reel-action{font-size:12px;padding:7px 10px;gap:10px}
}
