.photo-viewer-trigger{cursor:zoom-in}
.photo-viewer-backdrop[hidden]{display:none!important}
.photo-viewer-backdrop{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:56px 76px 64px;background:rgba(7,13,25,.94);backdrop-filter:blur(3px)}
.photo-viewer-figure{display:flex;flex-direction:column;align-items:center;max-width:100%;max-height:100%;margin:0}
.photo-viewer-image{display:block;max-width:min(90vw,1500px);max-height:82vh;width:auto;height:auto;object-fit:contain;border-radius:12px;background:#101827;box-shadow:0 18px 60px rgba(0,0,0,.42)}
.photo-viewer-button{position:absolute;display:grid;place-items:center;border:1px solid rgba(255,255,255,.28);border-radius:999px;color:white;background:rgba(20,31,52,.78);cursor:pointer;transition:background .18s ease,transform .18s ease}
.photo-viewer-button:hover{background:rgba(45,71,184,.92);transform:scale(1.04)}
.photo-viewer-button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.photo-viewer-close{top:16px;right:18px;width:48px;height:48px;font-size:1.8rem;line-height:1}
.photo-viewer-prev,.photo-viewer-next{top:50%;width:54px;height:54px;font-size:2.2rem;line-height:1;transform:translateY(-50%)}
.photo-viewer-prev{left:16px}.photo-viewer-next{right:16px}
.photo-viewer-prev:hover,.photo-viewer-next:hover{transform:translateY(-50%) scale(1.04)}
.photo-viewer-counter{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);color:rgba(255,255,255,.86);font-size:.9rem;font-variant-numeric:tabular-nums}
.photo-viewer-open{overflow:hidden}
@media(max-width:700px){.photo-viewer-backdrop{padding:62px 52px 72px}.photo-viewer-image{max-width:calc(100vw - 24px);max-height:72vh}.photo-viewer-close{top:10px;right:10px;width:42px;height:42px}.photo-viewer-prev,.photo-viewer-next{width:42px;height:42px;font-size:1.9rem}.photo-viewer-prev{left:6px}.photo-viewer-next{right:6px}}
@media(prefers-reduced-motion:reduce){.photo-viewer-button{transition:none}}

.photo-mosaic figure:last-child:nth-child(4){grid-column:span 2}
