/* Scoped additions: existing video, reel and page styles remain unchanged. */
#photography-filters[hidden], #filters[hidden] { display:none !important; }
#grid-photos .photo-open { cursor:zoom-in; text-decoration:none; }
#grid-photos .photo-open:focus-visible { outline:2px solid var(--mp-cyan); outline-offset:-3px; }
.photography-viewer { box-sizing:border-box; position:fixed; inset:0; width:96vw; max-width:1600px; height:94dvh; max-height:94dvh; margin:auto; padding:0; border:1px solid #ffffff26; border-radius:18px; color:#fff; background:#090b0e; box-shadow:0 30px 100px #0009; overflow:hidden; }
.photography-viewer::backdrop { background:#000d; backdrop-filter:blur(12px); }
.photography-viewer[open] { display:flex; flex-direction:column; animation:photo-reveal .2s ease-out; }
.photo-toolbar { display:flex; align-items:center; gap:12px; padding:12px 16px; background:linear-gradient(110deg,#e500001a,#25fffe0a); border-bottom:1px solid #ffffff1a; }
.photo-title { flex:1; font:13px/1.5 system-ui,sans-serif; }
.photography-viewer button { flex-shrink:0; display:grid; place-items:center; width:42px; height:42px; border:1px solid #ffffff30; border-radius:50%; background:#14181de6; color:#fff; cursor:pointer; font:26px/1 system-ui,sans-serif; }
.photography-viewer button:hover, .photography-viewer button:focus-visible { border-color:var(--mp-cyan); outline:none; }
.photography-viewer .photo-zoom { font-size:13px; }
.photo-zoom[aria-pressed="true"] { border-color:var(--mp-cyan); color:var(--mp-cyan); }
.photo-stage { flex:1; min-height:0; padding:16px 64px; display:flex; justify-content:center; align-items:center; overflow:auto; }
.photo-stage img { display:block; width:auto; height:auto; max-width:100%; max-height:100%; object-fit:contain; border-radius:4px; }
.photography-viewer.is-zoomed .photo-stage { display:block; }
.photography-viewer.is-zoomed img { max-width:none; max-height:none; margin:auto; }
.photography-viewer .photo-prev, .photography-viewer .photo-next { position:absolute; top:50%; transform:translateY(-50%); }
.photography-viewer .photo-prev { left:12px; }
.photography-viewer .photo-next { right:12px; }
@keyframes photo-reveal { from { opacity:0; transform:scale(.98); } to { opacity:1; transform:scale(1); } }
@media(max-width:600px) { .photography-viewer { width:100vw; height:100dvh; max-height:100dvh; border-radius:0; } .photo-toolbar { padding:10px; gap:8px; } .photo-title { font-size:11px; } .photo-stage { padding:8px 48px; } .photography-viewer .photo-prev { left:5px; } .photography-viewer .photo-next { right:5px; } .photography-viewer button { width:36px; height:36px; } }
@media(prefers-reduced-motion:reduce) { .photography-viewer[open] { animation:none; } }

/* Preserve the entire photograph in gallery previews. */
#grid-photos .photo-open img { object-fit:contain; }
