.image-lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 64px 24px 24px;
    border: 0;
    outline: none;
    box-shadow: none;
    background: transparent;
    overflow: auto;
}
.image-lightbox::backdrop { background: rgba(10, 10, 14, .9); }
.image-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.image-lightbox__image { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border: 0; outline: 0; box-shadow: none; }
.image-lightbox__close {
    position: fixed;
    top: max(16px, env(safe-area-inset-top));
    right: max(20px, env(safe-area-inset-right));
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 0;
    appearance: none;
    background: transparent;
    box-shadow: none;
    color: rgba(255, 255, 255, .72);
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: color .14s ease, background .14s ease;
}
.image-lightbox__close::before,
.image-lightbox__close::after {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(191, 164, 106, .32), transparent);
    pointer-events: none;
}
.image-lightbox__close::before { left: 0; }
.image-lightbox__close::after { right: 0; }
.image-lightbox__close svg { display: block; pointer-events: none; }
.image-lightbox__close:hover {
    background: linear-gradient(90deg, rgba(255, 255, 255, .04), rgba(191, 164, 106, .04), rgba(255, 255, 255, .04));
    color: #fff;
}
.image-lightbox__close:focus-visible { outline: 2px solid rgba(255, 255, 255, .85); outline-offset: 4px; }
