a[data-photo-viewer]:focus-visible { outline: 3px solid #1565c0; outline-offset: 3px; }
.photo-viewer {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(96vw, 1200px);
    max-width: 96vw;
    max-height: 96vh;
    padding: 2.5rem 1rem 1rem;
    border: 0;
    border-radius: 12px;
    background: #101827;
    color: #fff;
    overflow: auto;
    cursor: zoom-out;
    text-align: center;
}
.photo-viewer::backdrop { background: rgba(0, 0, 0, 0.85); }
.photo-viewer img {
    display: block;
    margin: auto;
    max-width: 100%;
    max-height: 75vh;
    width: 100%;
    height: 75vh;
    object-fit: contain;
}
.photo-viewer p { margin: 0.75rem 0 0; font-size: 0.85rem; color: #fff; }
.photo-viewer-close {
    position: absolute;
    right: 0.75rem;
    top: 0.35rem;
    padding: 0 0.5rem;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 1.75rem;
    cursor: pointer;
}
