/* ── Lightbox ────────────────────────────────────────────── */
.screenshot-frame { cursor: zoom-in; }

.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, .92);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lb-overlay.active { display: flex; }

.lb-img {
  display: block;
  max-width: min(92vw, 1000px);
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .7);
  object-fit: contain;
}

.lb-close {
  position: fixed;
  top: 1rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 201;
}
.lb-close:hover { background: rgba(255, 255, 255, .25); }

.lb-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 201;
}
.lb-btn:hover { background: rgba(255, 255, 255, .25); }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }

@media (max-width: 640px) {
  .lb-btn { width: 2.5rem; height: 2.5rem; font-size: 1.4rem; }
  .lb-prev { left: .5rem; }
  .lb-next { right: .5rem; }
}
