.zoomable-photo{cursor:zoom-in}.zoomable-photo:focus-visible{outline:3px solid #1261c9;outline-offset:4px}
#photo-zoom{position:fixed;inset:0;margin:auto;width:min(1200px,96vw);max-width:96vw;max-height:94dvh;padding:14px;border:1px solid #779fc7;background:#080f1b;color:#eef5ff;border-radius:12px;overflow:hidden}
#photo-zoom::backdrop{background:#020812eb}.zoom-toolbar{display:flex;align-items:center;gap:10px;padding:0 0 12px}.zoom-toolbar p{flex:1;margin:0;font:16px/1.4 Arial,sans-serif;overflow-wrap:anywhere}.zoom-toolbar button{border:1px solid #93c6ff;border-radius:9px;background:#142b46;color:#eef5ff;padding:12px;min-height:44px;white-space:nowrap}.zoom-toolbar button:focus-visible{outline:3px solid #93c6ff;outline-offset:2px}
.zoom-stage{height:75dvh;overflow:auto;display:flex;align-items:center;justify-content:center;overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom}.zoom-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;cursor:zoom-in}.zoom-stage.is-zoomed{display:block}.zoom-stage.is-zoomed img{max-width:none;max-height:none;cursor:zoom-out}
@media(max-width:600px){#photo-zoom{padding:10px}.zoom-toolbar{flex-wrap:wrap}.zoom-toolbar p{flex-basis:100%;font-size:14px}.zoom-toolbar button{flex:1}.zoom-stage{height:70dvh}}
