.lr-photo-viewport { touch-action: auto; }
.lr-photo-track {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: auto;
  overscroll-behavior-x: contain;
  overflow-anchor: none;
  scrollbar-width: none;
  touch-action: auto;
}
.lr-photo-track::-webkit-scrollbar { display: none; }
.lr-photo-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  max-width: 100%;
  height: 100%;
  scroll-snap-align: start;
}
.lr-photo-track .lr-photo-slide > img {
  position: static;
  inset: auto;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}
.lr-photo-track .lr-photo-slide > img[hidden] { display: none; }
