.np-lightbox {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.48s;
}
.np-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.np-lb-veil {
    position: absolute;
    inset: 0;
    background: rgba(6, 6, 8, 0.55);
    backdrop-filter: blur(32px) saturate(1.35);
    -webkit-backdrop-filter: blur(32px) saturate(1.35);
}
.np-lb-close,
.np-lb-arrow {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease, border-color 0.3s ease;
}
.np-lb-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
}
.np-lb-close:hover,
.np-lb-arrow:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.38);
    transform: scale(1.06);
}
.np-lb-close:active,
.np-lb-arrow:active {
    transform: scale(0.94);
}
.np-lb-stage {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: min(72rem, 100%);
    transform: scale(0.94);
    opacity: 0;
    transition: transform 0.62s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.np-lightbox.is-open .np-lb-stage {
    transform: scale(1);
    opacity: 1;
}
.np-lb-arrow {
    flex-shrink: 0;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
}
.np-lb-arrow svg {
    width: 1.85rem;
    height: 1.85rem;
    display: block;
}
.np-lb-frame {
    position: relative;
    flex: 1;
    min-width: 0;
    display: grid;
    place-items: center;
    min-height: 42vh;
}
.np-lb-img {
    grid-area: 1 / 1;
    max-height: 78vh;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0.35rem;
    opacity: 0;
    transform: scale(0.97) translateZ(0);
    filter: saturate(1.03);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}
.np-lb-img.is-front {
    opacity: 1;
    transform: scale(1) translateZ(0);
    pointer-events: auto;
}
.np-lb-meta {
    position: relative;
    z-index: 1;
    margin-top: 1rem;
    text-align: center;
    max-width: 40rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s 0.08s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s 0.08s cubic-bezier(0.22, 1, 0.36, 1);
}
.np-lightbox.is-open .np-lb-meta {
    opacity: 1;
    transform: none;
}
.np-lb-counter {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    font-weight: 600;
}
.np-lb-cap {
    margin-top: 0.4rem;
    font-size: 0.95rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
}
.np-lb-cap.is-empty {
    display: none;
}
@media (min-width: 768px) {
    .np-lb-arrow {
        width: 4.5rem;
        height: 4.5rem;
    }
    .np-lb-arrow svg {
        width: 2.25rem;
        height: 2.25rem;
    }
    .np-lb-close {
        width: 3.15rem;
        height: 3.15rem;
        top: 1.35rem;
        right: 1.35rem;
    }
    .np-lb-stage {
        gap: 1.25rem;
    }
}
@media (max-width: 639px) {
    .np-lb-arrow {
        position: absolute;
        bottom: -3.6rem;
        z-index: 2;
        width: 3.15rem;
        height: 3.15rem;
    }
    .np-lb-arrow[data-np-prev] { left: 18%; }
    .np-lb-arrow[data-np-next] { right: 18%; }
    .np-lb-meta { margin-top: 4.25rem; }
}
@media (prefers-reduced-motion: reduce) {
    .np-lightbox,
    .np-lb-stage,
    .np-lb-img,
    .np-lb-meta,
    .np-lb-close,
    .np-lb-arrow {
        transition: none !important;
    }
    .np-lb-stage,
    .np-lb-img {
        transform: none !important;
    }
}
