/* The caption is a scene overlay, not part of the playback rail. */
.hv-scene .hv-gallery-caption{
 position:absolute;z-index:2;inset:auto;top:var(--hv-lineup-caption-top,44.8%);
 left:50%;transform:translate(-50%,-50%);margin:0;
 box-sizing:border-box;width:min(92%,760px);padding:.22em .26em .28em;
 font-size:clamp(1.02rem,2.42vw,2.14rem);gap:.85em;white-space:nowrap;
 background:linear-gradient(90deg,transparent,#0d233399 20%,#0d233399 80%,transparent);
 text-shadow:0 2px 7px #050d17;
}
.hv-stage.hv-ready[data-phase="6"] .hv-action-rail{display:flex}
@media(max-width:760px){
 .hv-scene .hv-gallery-caption{font-size:clamp(.87rem,4.2vw,1.52rem);gap:.8em}
}
