/* Square only the upper-left video corner, including its clipping frames. */
html.pv-home-video-device :is(.pv-survey-page-slide, .pv-subpage-video-slide)
:is(.pv-reference-images, .pv-reference-frame, .pv-home-loop-video, .pv-video-poster) {
  border-top-left-radius:0 !important;
}
/* Keep the first frame visible while the browser buffers/decodes the video. */
html.pv-home-video-device :is(.pv-survey-page-slide, .pv-subpage-video-slide) .pv-video-poster {
  display:block;
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-width:100%;
  object-fit:cover;
  object-position:70% center;
  pointer-events:none;
}
html.pv-home-video-device :is(.pv-survey-page-slide, .pv-subpage-video-slide) .pv-home-loop-video {
  opacity:0;
  transition:opacity .18s ease-out;
}
html.pv-home-video-device :is(.pv-survey-page-slide, .pv-subpage-video-slide) .has-ready-video .pv-home-loop-video {
  opacity:1;
}
@media (min-width:601px) {
  html.pv-home-video-device :is(.pv-survey-page-slide, .pv-subpage-video-slide) .pv-video-poster {
    inset:0 0 0 auto;
    width:auto;
    height:100%;
    aspect-ratio:1080 / 1450;
    object-position:right center;
  }
}
@media (prefers-reduced-motion:reduce) {
  html.pv-home-video-device :is(.pv-survey-page-slide, .pv-subpage-video-slide) .pv-home-loop-video { transition:none; }
}
