/* lightbox.css — popup de foto em tela cheia (global) */
.rn-lb {
  position: fixed; inset: 0; z-index: 100050;
  display: none; align-items: center; justify-content: center;
  background: rgba(2, 6, 14, .92);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
}
.rn-lb.open { display: flex; }

.rn-lb .rn-lb-img {
  max-width: 96vw; max-height: 90vh; width: auto; height: auto;
  object-fit: contain; border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}

.rn-lb .rn-lb-close {
  position: absolute;
  top: max(10px, env(safe-area-inset-top)); right: 14px;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .14); color: #fff;
  font-size: 22px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.rn-lb .rn-lb-close:hover { background: var(--acc-red, #E74C3C); }

.rn-lb .rn-lb-hint {
  position: absolute; left: 0; right: 0;
  bottom: max(12px, env(safe-area-inset-bottom));
  text-align: center; color: rgba(255, 255, 255, .55);
  font-size: 12px; pointer-events: none;
}

/* Dica visual no desktop: fotos de conteúdo são clicáveis */
@media (hover: hover) {
  .content img:not(.no-zoom):not([data-no-zoom]):not([src$=".svg"]) { cursor: zoom-in; }
}
