.post-photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 13200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  touch-action: none;
}
.post-photo-lightbox.is-open {
  display: flex;
}
.post-photo-lightbox__close {
  position: absolute;
  top: max(10px, env(safe-area-inset-top, 0px));
  right: max(10px, env(safe-area-inset-right, 0px));
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.post-photo-lightbox__counter {
  position: absolute;
  top: max(14px, env(safe-area-inset-top, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
  pointer-events: none;
}
.post-photo-lightbox__stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 52px;
  box-sizing: border-box;
}
.post-photo-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.post-photo-lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.post-photo-lightbox__arrow--prev {
  left: max(8px, env(safe-area-inset-left, 0px));
}
.post-photo-lightbox__arrow--next {
  right: max(8px, env(safe-area-inset-right, 0px));
}
.post-photo-lightbox__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}
.post-rich-content img.post-inline-photo-zoomable,
.home-news-gallery-img.post-inline-photo-zoomable {
  cursor: zoom-in;
}
