/* Lightbox overlay for click-to-load video facades. Clicking any facade thumbnail
   (song/album/setlist) opens the YouTube player in this overlay; the player markup
   is built by public/js/video-facade.js. Loaded globally in the layout. */

.vlp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1080; /* above the Bootstrap navbar */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.85);
}
/* [hidden] must beat the display:flex above. */
.vlp-lightbox[hidden] { display: none; }

/* Lock background scroll while the lightbox is open. */
body.vlp-lightbox-open { overflow: hidden; }

.vlp-lightbox__dialog {
    position: relative;
    width: 100%;
    max-width: 960px;
}

.vlp-lightbox__frame {
    width: 100%;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
}

.vlp-lightbox__close {
    position: absolute;
    top: -2.75rem;
    right: 0;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    line-height: 1;
    font-size: 1.9rem;
    color: #fff;
    background: transparent;
    border: 0;
    cursor: pointer;
    opacity: 0.85;
}
.vlp-lightbox__close:hover,
.vlp-lightbox__close:focus { opacity: 1; }

@media (max-width: 575.98px) {
    .vlp-lightbox__close { top: -2.5rem; }
}
