.photo-viewer { width:min(96vw,1400px); height:94vh; max-width:none; max-height:none; padding:0; border:0; border-radius:12px; background:#101e30; color:#fff; overflow:hidden; }
.photo-viewer::backdrop { background:rgba(0,14,30,.8); }
.photo-viewer[open] { display:flex; flex-direction:column; }
.photo-viewer-bar { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:6px; padding:8px 12px; background:#163659; }
.photo-viewer-bar span { margin-right:auto; font-size:13px; }
.photo-viewer-bar button { min-width:38px; min-height:38px; padding:6px 10px; border:1px solid #7690aa; border-radius:6px; background:#fff; color:#123454; font-size:15px; cursor:pointer; }
.photo-viewer-bar button:focus-visible { outline:3px solid #f29158; outline-offset:2px; }
.photo-viewer-bar button:disabled { opacity:.5; }
.photo-viewer-stage { flex:1; min-height:0; display:flex; align-items:center; justify-content:center; overflow:hidden; touch-action:none; cursor:grab; }
.photo-viewer-stage:active { cursor:grabbing; }
.photo-viewer-stage img { display:block; max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; user-select:none; -webkit-user-drag:none; }
.hero-photo>a { display:flex; align-items:center; justify-content:center; width:100%; height:100%; }
.hero-photo>a img { max-width:100%; height:274px; object-fit:contain; }
.photo-viewer-stage [hidden] { display:none; }
