dialog.photo-viewer{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:20px;border:0;background:#fff;color:#111}dialog.photo-viewer::backdrop{background:#fff}.viewer-bar{display:flex;justify-content:space-between;align-items:center;gap:20px;height:44px;border-bottom:1px solid #111;font-size:14px}.photo-viewer button{font:inherit;color:inherit;background:transparent;border:1px solid #111;padding:8px 14px;cursor:pointer}.viewer-stage{height:calc(100dvh - 150px);display:flex;align-items:center;justify-content:center;margin:16px 0}.viewer-stage img{width:100%;height:100%;object-fit:contain}.viewer-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:13px}.viewer-controls{display:flex;gap:8px}.viewer-caption{flex:1}.photo-viewer button:focus-visible{outline:3px solid #111;outline-offset:3px}@media(max-width:760px){dialog.photo-viewer{padding:12px}.viewer-stage{height:calc(100dvh - 170px)}.viewer-bottom{flex-wrap:wrap}.viewer-caption{min-width:60%}}