/* ============================================================
   Lightbox overlay — activated by lightbox.js on mobile only
   ============================================================ */

#lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

#lb-overlay.is-open {
  display: flex;
}

#lb-img {
  display: block;
  max-width: 96vw;
  max-height: 88vh;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

#lb-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 56px;
  height: 56px;
  min-width: 44px;
  min-height: 44px;
  background: rgba(0, 0, 0, 0.55);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  touch-action: manipulation;
  border-bottom-left-radius: 4px;
}

#lb-close:focus {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: -2px;
}

#lb-close:hover {
  background: rgba(0, 0, 0, 0.8);
}
