#portal-photo-viewer{position:fixed;inset:0;width:100%;max-width:100%;height:100vh;height:100dvh;max-height:100dvh;margin:0;padding:18px;border:0;border-radius:0;background:#11251af7;color:#faf7ef;text-shadow:none;font:16px/1.5 system-ui,sans-serif;overflow:auto}
#portal-photo-viewer::backdrop{background:#07130de6}
#portal-photo-viewer .photo-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;max-width:1400px;margin:0 auto 12px}
#portal-photo-viewer .photo-title{font:inherit;font-weight:600;margin:0;overflow-wrap:anywhere}
#portal-photo-viewer .photo-close{flex-shrink:0;margin:0;padding:10px 17px;min-height:44px;border:1px solid #faf7ef;border-radius:24px;background:#faf7ef;color:#183024;text-shadow:none;font:inherit;cursor:pointer}
#portal-photo-viewer .photo-close:focus-visible{outline:3px solid #e5b84e;outline-offset:3px}
#portal-photo-viewer .photo-image{display:block;float:none;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 150px);object-fit:contain;margin:0 auto;border-radius:5px}
#portal-photo-viewer [hidden]{display:none!important}
#portal-photo-viewer .photo-status{text-align:center;color:#faf7ef}
@media(max-width:500px){#portal-photo-viewer{padding:12px}.photo-toolbar{align-items:flex-start}}
