body.vf-modal-open { overflow: hidden; }

.vf-detail-gallery__hint {
    position: absolute;
    z-index: 3;
    right: 14px;
    bottom: 14px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 999px;
    color: #10213a;
    background: rgba(255,255,255,.9);
    box-shadow: 0 8px 22px rgba(18,50,92,.14);
    font-size: 12px;
    font-weight: 750;
    pointer-events: none;
}

.vf-detail-gallery__hint svg { width: 17px; height: 17px; }
.vf-media-lightbox[hidden] { display: none; }

.vf-media-lightbox {
    position: fixed;
    z-index: 3000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}

.vf-media-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.84);
    backdrop-filter: blur(4px);
}

.vf-media-lightbox__panel {
    position: relative;
    z-index: 1;
    display: grid;
    max-width: min(1500px, calc(100vw - 40px));
    max-height: calc(100vh - 40px);
    margin: 0;
    place-items: center;
}

.vf-media-lightbox__panel img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100vh - 40px);
    object-fit: contain;
    box-shadow: 0 22px 70px rgba(0,0,0,.42);
}

.vf-media-lightbox__close {
    position: fixed;
    z-index: 2;
    top: 18px;
    right: 18px;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 50%;
    color: #fff;
    background: rgba(0,0,0,.45);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.vf-media-lightbox__close:hover { background: rgba(21,94,239,.9); }

@media (max-width: 600px) {
    .vf-media-lightbox { padding: 10px; }
    .vf-media-lightbox__panel { max-width: calc(100vw - 20px); max-height: calc(100vh - 20px); }
    .vf-media-lightbox__panel img { max-height: calc(100vh - 20px); }
    .vf-media-lightbox__close { top: 12px; right: 12px; }
}
