.pubra-photo-link{display:block;cursor:zoom-in}.pubra-photo-link:focus-visible{outline:3px solid #1857bd;outline-offset:4px}.pubra-photo-viewer{padding:0;border:1px solid #ffffff26;border-radius:8px;background:#101820;color:#fff;width:calc(100vw - 48px);max-width:1440px;max-height:94dvh;overflow:auto;margin:auto;box-shadow:0 24px 100px #0006}.pubra-photo-viewer::backdrop{background:#071019e8}.pubra-photo-viewer[open]{display:flex;flex-direction:column}.pubra-photo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;border-bottom:1px solid #ffffff26;font:500 14px/1.5 system-ui,sans-serif}.pubra-photo-toolbar>div{display:flex;gap:12px}.pubra-photo-viewer button{color:#fff;background:#ffffff12;border:1px solid #ffffff3b;border-radius:5px;min-width:44px;min-height:44px;cursor:pointer;padding:8px 14px;font:inherit}.pubra-photo-viewer button:hover{background:#ffffff28}.pubra-photo-viewer button:focus-visible{outline:3px solid #a5d8ff;outline-offset:3px}.pubra-photo-stage{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px}.pubra-photo-stage>button{flex-shrink:0;font-size:32px;line-height:1}.pubra-photo-stage figure{margin:0;text-align:center;flex:1;min-width:0}.pubra-photo-stage img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(94dvh - 160px);margin:0 auto;object-fit:contain}.pubra-photo-stage figcaption{font:400 13px/1.6 system-ui,sans-serif;margin-top:10px;color:#d1dbe5;overflow-wrap:anywhere}.pubra-photo-viewer [hidden]{display:none!important}@media(max-width:600px){.pubra-photo-viewer{width:calc(100vw - 12px);max-height:96dvh}.pubra-photo-toolbar{padding:10px;font-size:12px;gap:8px}.pubra-photo-toolbar>div{gap:6px}.pubra-photo-viewer button{padding:8px}.pubra-photo-stage{gap:4px;padding:6px}.pubra-photo-stage>button{min-width:36px;font-size:28px;padding:4px}.pubra-photo-stage img{max-height:calc(96dvh - 150px)}}
/* Isolate viewer controls from the public theme's full-width form buttons. */
.pubra-photo-viewer button{width:auto;margin:0;text-transform:none;letter-spacing:normal;white-space:nowrap;box-sizing:border-box}.pubra-photo-toolbar>span{flex:1;min-width:0}.pubra-photo-toolbar>div{width:auto;flex:0 0 auto}.pubra-photo-stage>button{flex:0 0 44px;width:44px}.pubra-photo-stage figure{width:0;flex:1 1 0}.pubra-photo-viewer .pubra-photo-stage img{max-height:calc(94dvh - 160px)}@media(max-width:600px){.pubra-photo-stage>button{flex-basis:36px;width:36px}}
