/* MR. FOX VAULT / visor ampliado de imagenes privadas. */
.mfv-chapter-content img { cursor: zoom-in; }
.mfv-lightbox[hidden] { display: none !important; }
.mfv-lightbox {
  position: fixed; z-index: 2147483000; inset: 0; display: flex; flex-direction: column;
  background: rgba(3, 9, 20, .97); color: #fff; isolation: isolate;
  font-family: inherit;
}
.mfv-lightbox__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; background: #0e1b30; border-bottom: 1px solid #294d63;
}
.mfv-lightbox__title { font-size: .83rem; font-weight: 800; letter-spacing: .07em; color: #31e7e9; }
.mfv-lightbox__actions { display: flex; gap: 8px; align-items: center; }
.mfv-lightbox__actions button {
  min-width: 42px; min-height: 42px; padding: 8px 12px; border-radius: 8px;
  border: 1px solid #497489; background: #142b42; color: #fff; cursor: pointer;
  font-size: 1.1rem; font-weight: 700;
}
.mfv-lightbox__actions button:focus-visible { outline: 3px solid #ff399e; outline-offset: 2px; }
.mfv-lightbox__actions button:hover { background: #214763; border-color: #38e1e4; }
.mfv-lightbox__stage {
  flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center;
  overflow: auto; padding: 12px; overscroll-behavior: contain;
}
.mfv-lightbox__image {
  display: block; width: auto; height: auto; max-width: 96vw; max-height: calc(100dvh - 110px);
  object-fit: contain; transform-origin: center center; user-select: none;
  transition: transform .15s ease; box-shadow: 0 8px 40px rgba(0, 0, 0, .5);
}
.mfv-lightbox__hint { text-align: center; color: #9cb7c8; font-size: .77rem; padding: 7px 12px 12px; }
body.mfv-lightbox-open { overflow: hidden !important; }
@media (max-width: 620px) {
  .mfv-lightbox__bar { padding: 9px; }
  .mfv-lightbox__title { font-size: .72rem; }
  .mfv-lightbox__actions { gap: 5px; }
  .mfv-lightbox__actions button { min-width: 38px; min-height: 40px; padding: 6px 9px; }
  .mfv-lightbox__image { max-width: 100vw; max-height: calc(100dvh - 122px); }
}
