.photo-viewer{width:min(1100px,calc(100% - 20px));max-width:none;height:min(900px,94dvh);max-height:94dvh;border:1px solid #494331;border-radius:14px;background:#090909;color:white;padding:14px;margin:auto;overflow:hidden}.photo-viewer[open]{display:flex;flex-direction:column;gap:12px}.photo-viewer::backdrop{background:#000e}.viewer-bar{display:flex;justify-content:space-between;align-items:center;flex-shrink:0;font:16px Arial,sans-serif}.photo-viewer img{width:100%;height:auto;min-height:0;flex:1;object-fit:contain;border-radius:4px;background:#090909;touch-action:pinch-zoom}.viewer-controls{display:flex;justify-content:space-between;gap:15px;flex-shrink:0}.photo-viewer button{background:#f8db60;border:0;border-radius:8px;min-height:44px;padding:12px 18px;font:bold 14px Arial,sans-serif;color:#111;cursor:pointer}.photo-viewer button:disabled{opacity:.4;cursor:default}.photo-viewer button:focus-visible{outline:2px solid white;outline-offset:3px}@media(max-width:600px){.photo-viewer{height:92dvh;padding:12px}.viewer-controls button{flex:1;padding:12px 8px}}
