/* Live-home compatibility patch for Marhaba Gold 1.2.2 + Dubai Time 5.6.1.
 * Original theme: .scroll-story.is-scroll-active { height:320svh; }
 * Dubai Time: nests a new 100svh .mdt-scroll-stage inside .scroll-story.
 * Without this override, the remaining 220svh looks like a dark blank page.
 * Only remove the old story's extra height when the new Dubai scroll stage exists.
 */
html body .scroll-story.is-scroll-active:has(.mdt-scroll-stage),
html body .scroll-story:has(.mdt-scroll-stage) {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}
/* Prevent the original theme's sticky story from overriding the new player's
   own one-viewport scroll layout. */
html body.mdt-scroll-active .scroll-story:has(.mdt-scroll-stage) > .mdt-scroll-stage {
  display: block !important;
  position: relative !important;
  height: 100svh !important;
  min-height: 100svh !important;
}
