.gallery-lightbox {
    box-sizing: border-box;
    max-width: 96vw;
    max-height: 96vh;
    padding: 16px;
    border: 0;
    border-radius: 4px;
    background: #fff;
    color: #222;
    text-align: center;
}
.gallery-lightbox::backdrop { background: rgb(0 0 0 / 85%); }
.gallery-lightbox img { display: block; max-width: 88vw; max-height: 72vh; margin: auto; object-fit: contain; }
.gallery-lightbox p { margin: 12px 0; }
.gallery-lightbox button { margin: 4px; padding: 8px 12px; cursor: pointer; }
.gallery-lightbox button:focus-visible { outline: 3px solid #165ca5; outline-offset: 2px; }
