#lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#lightbox-overlay.active {
  display: flex;
}

#lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  cursor: default;
  user-select: none;
  transition: transform 0.1s ease;
}

#lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

#lightbox-caption {
  color: white;
  margin-top: 12px;
  font-size: 2rem;
  font-weight: bold;
}

