/* Phone feature windows share one viewport; longer demos scroll inside it.
   Caption rows use the tallest natural caption so every window aligns. */
@media(max-width:700px){
 html:not(.product-showcase-embed) .scroll-showreel .scr{--showreel-phone-screen-height:clamp(430px,72svh,640px)}
 html:not(.product-showcase-embed) .scroll-showreel .scr .showreel-card{display:grid;grid-template-rows:var(--showreel-caption-height,auto) var(--showreel-phone-screen-height);gap:12px;align-self:start}
 html:not(.product-showcase-embed) .scroll-showreel .scr .showreel-caption{align-self:start;margin:0}
 html:not(.product-showcase-embed) .scroll-showreel .scr .showreel-screen{height:var(--showreel-phone-screen-height)!important;min-height:0}
 html:not(.product-showcase-embed) .scroll-showreel .scr .showreel-screen>:is(#sc0,#sc1,#sc2,#sc3,#sc4,#sc7,#sc8){box-sizing:border-box;height:calc(100% - 46px);min-height:0;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior-y:auto!important;scrollbar-width:thin}
}
