.eer-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10050;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(26, 34, 72, 0.88);
    backdrop-filter: blur(4px);
}
.eer-lightbox.is-open { display: flex; }
.eer-lightbox__img {
    max-width: min(96vw, 920px);
    max-height: min(88vh, 920px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0.75rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    background: #0f172a;
}
.eer-lightbox__close {
    position: absolute;
    top: max(0.75rem, env(safe-area-inset-top));
    right: max(0.75rem, env(safe-area-inset-right));
    min-width: 44px;
    min-height: 44px;
    border-radius: 9999px;
    border: 0;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
}
.eer-lightbox__close:hover,
.eer-lightbox__close:focus-visible {
    background: rgba(255, 255, 255, 0.28);
    outline: 2px solid #00AEEF;
    outline-offset: 2px;
}
.eer-lightbox__caption {
    position: absolute;
    bottom: max(1rem, env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    max-width: min(90vw, 28rem);
    text-align: center;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.875rem;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.eer-zoom-trigger { cursor: zoom-in; }
.eer-zoom-hint {
    pointer-events: none;
    position: absolute;
    right: 0.5rem;
    bottom: 0.5rem;
    min-width: 2rem;
    min-height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: rgba(26, 34, 72, 0.55);
    color: #fff;
    font-size: 0.7rem;
}
@media (prefers-reduced-motion: reduce) {
    .eer-lightbox,
    .eer-lightbox__img {
        transition: none !important;
    }
}
