body:has(#archive-photo-viewer[open]) { overflow:hidden; }
#archive-photo-viewer:not([open]) { display:none; }
#archive-photo-viewer[open] { position:fixed; inset:0; display:block; width:100%; height:100dvh; max-width:none; max-height:none; margin:0; padding:0; border:0; color:#f0eee7; background:#101314; overflow:auto; font-family:Manrope,Arial,sans-serif; }
#archive-photo-viewer::backdrop { background:#101314; }
.edition-viewer [hidden] { display:none!important; }
.edition-viewer-shell { display:grid; grid-template-rows:auto minmax(140px,1fr) auto; gap:13px; height:100%; min-height:100%; padding:14px clamp(18px,4vw,64px); }
.edition-viewer-header { display:flex; justify-content:space-between; align-items:center; gap:20px; padding-bottom:10px; border-bottom:1px solid #363b3b; }
.edition-viewer-header p { font-size:12px; }
.edition-viewer button { min-height:44px; min-width:44px; border:1px solid #737b76; color:#f0eee7; background:transparent; font:500 13px/1 Manrope,Arial,sans-serif; cursor:pointer; }
.edition-viewer button:hover { border-color:#ff5c39; color:#ff5c39; }
.edition-viewer button:focus-visible,.edition-viewer a:focus-visible { outline:2px solid #f0eee7; outline-offset:3px; }
.edition-viewer-close { padding-inline:15px; }
.edition-viewer-stage { position:relative; display:grid; place-items:center; min-width:0; min-height:0; background:#0c0e0f; }
.edition-viewer-image { width:100%; height:100%; min-height:0; object-fit:contain; }
.edition-viewer-feedback { position:absolute; z-index:1; bottom:12px; left:12px; right:12px; width:fit-content; max-width:calc(100% - 24px); margin-inline:auto; padding:9px 15px; background:#101314ed; border:1px solid #363b3b; font-size:13px; text-align:center; }
.edition-viewer-fallback { display:inline-flex; align-items:center; min-height:44px; color:#f0eee7; text-underline-offset:4px; }
.edition-viewer-footer { display:flex; justify-content:space-between; align-items:center; gap:20px; border-top:1px solid #363b3b; padding-top:10px; }
.edition-viewer-caption { min-width:0; overflow-wrap:anywhere; font-size:12px; line-height:1.65; }
.edition-viewer-heading { font-size:14px; font-weight:700; }
.edition-viewer-context,.edition-viewer-credit,.edition-viewer-change { color:#a7acaa; }
.edition-viewer-credit a { color:inherit; text-underline-offset:3px; }
.edition-viewer-credit a:hover { color:#ff5c39; }
.edition-viewer-nav { display:flex; flex:none; align-items:center; gap:10px; }
.edition-viewer-count { min-width:55px; text-align:center; font-size:12px; font-variant-numeric:tabular-nums; color:#ff5c39; }
.edition-viewer button.edition-viewer-arrow { font-size:22px; }
@media(max-width:600px) {
 .edition-viewer-footer { flex-direction:column-reverse; align-items:stretch; gap:12px; }
 .edition-viewer-nav { justify-content:center; }
 .edition-viewer-caption { font-size:11px; }
 .edition-viewer-shell { gap:8px; }
}
