/* Keep preloaded neighboring slides inside the existing viewport-sized grid.
   Auto minimum tracks otherwise grow to the tallest slide after zoom-in. */
.lightbox__stage {
  min-width: 0;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
}
