.result-image{cursor:zoom-in}
.image-viewer{position:fixed;inset:0;z-index:20;display:flex;flex-direction:column;background:rgba(10,24,32,.94);color:#fff}
.viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:68px;padding:12px 22px;border-bottom:1px solid rgba(255,255,255,.18)}
.viewer-toolbar strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.viewer-actions{display:flex;gap:8px}
.viewer-button{width:40px;height:40px;padding:0;border:1px solid rgba(255,255,255,.3);border-radius:8px;background:rgba(255,255,255,.1);color:#fff;font-size:24px;line-height:1}
.viewer-button:hover{background:rgba(255,255,255,.22)}
.viewer-close{font-size:28px}
.viewer-canvas{position:relative;display:flex;flex:1;min-height:0;align-items:center;justify-content:center;overflow:hidden;cursor:grab;touch-action:none}
.viewer-canvas.dragging{cursor:grabbing}
.viewer-canvas img{display:block;max-width:calc(100vw - 64px);max-height:calc(100vh - 100px);width:auto;height:auto;user-select:none;cursor:inherit;transform-origin:center;will-change:transform}
.viewer-open{overflow:hidden}
@media(max-width:800px){.viewer-toolbar{padding:10px 14px}.viewer-canvas img{max-width:calc(100vw - 24px);max-height:calc(100vh - 88px)}.viewer-button{width:36px;height:36px}}
