.detail-photo[role=button]{cursor:zoom-in}.detail-photo[role=button]:focus-visible{outline:3px solid #008ccc;outline-offset:-4px}.photo-viewer{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:auto;padding:16px;border:0;border-radius:0;background:#081e2a;color:#fff;box-sizing:border-box}.photo-viewer::backdrop{background:#081e2a}.viewer-bar{display:flex;justify-content:space-between;align-items:center;gap:16px}.photo-viewer button{background:#ffffff18;color:#fff;border:1px solid #ffffff66;border-radius:10px;min-height:48px;min-width:48px;padding:8px 16px;cursor:pointer}.viewer-stage{display:grid;grid-template-columns:56px minmax(0,1fr) 56px;align-items:center;gap:12px;height:calc(100% - 110px)}.viewer-stage img{width:100%;height:100%;max-height:calc(100dvh - 150px);object-fit:contain;touch-action:pan-y pinch-zoom}.viewer-stage button{font-size:32px}.viewer-hint{text-align:center;font-size:13px;color:#c7dbe6}.viewer-stage button[hidden]{visibility:hidden;display:block}@media(max-width:600px){.photo-viewer{padding:10px}.viewer-stage{grid-template-columns:40px minmax(0,1fr) 40px;gap:4px}.viewer-stage button{min-width:40px;padding:4px}.viewer-hint{font-size:11px}}

.viewer-actions{display:flex;align-items:center;gap:.5rem}.viewer-actions a{display:inline-flex;align-items:center;min-height:48px;padding:.35rem .65rem;color:inherit;text-decoration:underline;text-underline-offset:.2em}
