.lightbox {
  position: fixed; inset: 0; z-index: 50; background: rgba(10,10,10,.94);
  display: flex; align-items: center; justify-content: center;
}
.lb-media { max-width: 100vw; max-height: calc(100vh - 90px); display: flex; }
.lb-media img, .lb-media video { max-width: 100vw; max-height: calc(100vh - 90px); object-fit: contain; display: block; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer;
  font-size: 2rem; line-height: 1; width: 48px; height: 48px; border-radius: 50%;
}
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-info {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; color: #fff;
}
.lb-extra { display: flex; gap: 10px; align-items: center; }
.lb-extra a { color: #fff; }
.lb-extra .btn { position: static; width: auto; height: auto; font-size: .9rem; border-radius: 999px; background: #fff; color: #222; border: 0; }
@media (max-width: 600px) { .lb-prev, .lb-next { display: none; } }
.lb-extra .btn.danger { background: var(--danger); color: #fff; }
.lb-extra .heart { position: static; width: auto; height: auto; font-size: 1rem; border-radius: 999px; background: #fff; color: #222; padding: 8px 14px; }
.lb-extra .heart.on { color: var(--gold); }
