/* SmartQ v1.1.127 — Qbio Adaptive Video Fit / opposite-orientation viewport.
   Scope strictly to merchant content embedded by the persistent shell.
   The topbar/GPS live OUTSIDE this iframe; do not reserve header height
   inside the video viewport. Hidden tab pager is preserved unchanged.
*/
.qbio-page.sq122-embedded{
  position:relative;
  margin:0!important;
  padding:0!important;
  min-height:100dvh;
  background:#071019;
}
/* Qbio tabs are intentionally hidden in the shipped swipe-only pager
   (SmartQ v1.1.31). Keep them hidden; do NOT add a spacer or overlay. */
.qbio-page.sq122-embedded > .qbio-page-pager{
  margin:0!important;
  padding:0!important;
  width:100%!important;
}
/* In the embedded window, 100dvh IS the actual available iframe canvas.
   Respect v1.1.122 viewport fix and remove inherited 60/68px offsets. */
.qbio-page.sq122-embedded .qbio-page-panel[data-qbio-panel="qbio"],
.qbio-page.sq122-embedded .qbio-page-panel[data-qbio-panel="qbio"] > .qbio-hero{
  box-sizing:border-box!important;
  width:100%!important;
  height:100dvh!important;
  min-height:100dvh!important;
  max-height:100dvh!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}
.qbio-page.sq122-embedded .qbio-page-panel[data-qbio-panel="qbio"] > .qbio-hero > .qbio-hero-media{
  position:absolute!important;
  inset:0!important;
  box-sizing:border-box!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  background:#071019;
}
/* Adaptive-fit Short Video and genuine QLive videos, with ZERO crop.
   Preserve the whole natural video frame. A 9:16 video on 16:9 Qbio
   fills the available HERO HEIGHT, centered horizontally, with background
   bands only at the sides. The inverse ratio fills the available width.
   This is a media-ratio distinction, not an unwanted layout/topbar gap. */
.qbio-page.sq122-embedded .qbio-hero-media.sq196-motion-stage > video.sq196-video,
.qbio-page.sq122-embedded .qbio-hero-media > video.sq113-outgoing-video{
  position:absolute!important;
  inset:0!important;
  top:0!important;
  left:0!important;
  display:block!important;
  box-sizing:border-box!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  object-fit:contain!important;
  object-position:50% 50%!important;
  transform:none!important;
  background:transparent!important;
}
.qbio-page.sq122-embedded .qbio-hero-media > img,
.qbio-page.sq122-embedded .qbio-hero-media > img.sq113-outgoing-image{
  object-fit:cover!important;
  object-position:center center!important;
}
