.wb-glb {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .95);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.wb-glb[hidden] {
    display: none;
}

.wb-glb-inner {
    position: relative;
    width: min(90vw, 1280px);
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
}

.wb-glb-inner iframe,
.wb-glb-inner video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.wb-glb.is-instagram .wb-glb-inner {
    aspect-ratio: 9 / 16;
    width: min(420px, 90vw);
    max-height: 90vh;
}

.wb-glb-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 2rem;
    padding: 6px 10px;
    line-height: 1;
    transition: opacity .2s;
    z-index: 2;
}

.wb-glb-close:hover {
    opacity: .65;
}
