/* Preserve image proportions when intrinsic dimensions reserve layout space. */
img.intrinsic-image,
img.home-profile {
  max-width: 100%;
  height: auto;
}

.home-profile {
  display: block;
}

/* Store badges have a fixed CSS height; let their width follow the aspect ratio. */
.badge-link img.intrinsic-image {
  width: auto;
}

/* Keep tutorial space stable while the offscreen player is deferred. */
iframe.tutorial-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}
