.photo-zoom-trigger{cursor:zoom-in}.photo-zoom-trigger:focus-visible{outline:3px solid #176da6;outline-offset:3px}html.photo-viewer-open{overflow:hidden}dialog.photo-viewer{position:fixed;inset:0;width:96vw;height:94dvh;max-width:1600px;max-height:96dvh;margin:auto;padding:0;border:0;border-radius:12px;background:#10202d;color:white;box-shadow:0 15px 70px #0009}dialog.photo-viewer::backdrop{background:#000c}.photo-viewer-bar{height:62px;display:flex;align-items:center;gap:10px;padding:8px 14px;background:#15364d}.photo-viewer-bar span{flex:1;font:14px/1.3 Arial,sans-serif}.photo-viewer-bar button{width:44px;height:44px;flex-shrink:0;border:1px solid #88acc2;border-radius:7px;background:#fff;color:#15364d;cursor:pointer;font:25px/1 Arial,sans-serif}.photo-viewer-bar button:focus-visible{outline:3px solid #ffda55;outline-offset:2px}.photo-viewer-stage{height:calc(100% - 62px);overflow:hidden;display:flex;align-items:center;justify-content:center;touch-action:none}.photo-viewer-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;user-select:none;flex-shrink:0}.photo-viewer-stage.is-zoomed{cursor:grab}.photo-viewer-stage.is-zoomed:active{cursor:grabbing}@media(max-width:600px){dialog.photo-viewer{width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;border-radius:0}.photo-viewer-bar{gap:6px;padding:8px}.photo-viewer-bar span{font-size:12px}}

.photo-viewer-prev,.photo-viewer-next{position:absolute;top:calc(50% + 20px);transform:translateY(-50%);z-index:2;width:52px;height:68px;padding:0;border:1px solid #ffffff80;border-radius:9px;background:#15364de6;color:#fff;font:52px/1 Arial,sans-serif;cursor:pointer;box-shadow:0 2px 12px #0005}.photo-viewer-prev{left:12px}.photo-viewer-next{right:12px}.photo-viewer-prev[hidden],.photo-viewer-next[hidden]{display:none}.photo-viewer-prev:focus-visible,.photo-viewer-next:focus-visible{outline:3px solid #ffda55;outline-offset:3px}.photo-viewer-count{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);padding:4px 14px;background:#15364de6;color:#fff;border-radius:20px;font:15px/1.6 Arial,sans-serif;pointer-events:none}@media(max-width:600px){.photo-viewer-prev,.photo-viewer-next{width:42px;height:58px;font-size:42px}.photo-viewer-prev{left:6px}.photo-viewer-next{right:6px}}
