
/* assets/lightbox.css — minimal dependency-free lightbox */
.lb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  z-index: 10500;
}
.lb-overlay.lb-open { display: block; }

.lb-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 92vw;
  max-height: 86vh;
  width: 92vw;
  height: 86vh;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  background: #111;
}

.lb-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  max-width: none;
  max-height: none;
  user-select: none;
  -webkit-user-drag: none;
  cursor: grab;
}

.lb-controls {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.lb-btn {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600;
}
.lb-btn:hover { background: rgba(255,255,255,0.2); }

.lb-topbar {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  background: rgba(0,0,0,0.3);
  padding: 6px 10px;
  border-radius: 10px;
}

.lb-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}
.lb-close:hover { background: rgba(255,255,255,0.2); }

@media (max-width: 768px) {
  .lb-stage { width: 96vw; height: 84vh; }
  .lb-controls .lb-btn { padding: 8px 10px; }
}
