
/* Reserve the full screenshot envelope before the caption at every breakpoint. */
.hero-grid > .phone-wrap.hero-phone.coverflow {
  --coverflow-caption-card-width: 196px;
  height: auto !important;
  overflow: visible;
}
.hero-grid > .phone-wrap.hero-phone.coverflow .coverflow-stage {
  flex: 0 0 auto;
  height: calc(var(--coverflow-caption-card-width) * 2.15 + 8px);
  overflow: visible;
}
.hero-grid > .phone-wrap.hero-phone.coverflow .coverflow-caption {
  margin-top: 12px;
}
@media (min-width: 1101px) and (max-width: 1360px) {
  .hero-grid > .phone-wrap.hero-phone.coverflow {
    --coverflow-caption-card-width: 164px;
    --coverflow-caption-stage-min: 410px;
  }
}
@media (max-width: 1100px) {
  .hero-grid > .phone-wrap.hero-phone.coverflow {
    --coverflow-caption-card-width: min(54vw, 205px);
    --coverflow-caption-stage-min: min(440px, 76vw);
  }
}
@media (max-width: 768px) {
  .hero-grid > .phone-wrap.hero-phone.coverflow {
    --coverflow-caption-card-width: min(36vw, 140px);
    --coverflow-caption-stage-min: min(56vw, 280px);
  }
}

/* Anchor the highlight to the screenshot's own content height. */
.coverflow-card--smart-upload .smart-upload-phone-frame {
  width:calc(100% * 1206 / 1311);
  height:auto;
  aspect-ratio:auto;
}
.coverflow-card--smart-upload .smart-upload-phone-frame img {
  position:relative;
  inset:auto;
  display:block;
  width:100%;
  height:auto!important;
}
