.r47-photo{margin:12px 0;padding:12px;border:1px solid var(--border,#e2e8f0);border-radius:12px;max-width:100%;overflow:hidden}.r47-photo figcaption{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:baseline;margin-bottom:10px;overflow-wrap:anywhere}.r47-photo-open{display:flex;flex-direction:column;align-items:center;gap:8px;width:min(100%,360px);padding:8px;border:1px solid #d7e2ef;border-radius:10px;background:#f2f6fb;color:#174c87;cursor:zoom-in;font:inherit}.r47-photo-open img{display:block;width:100%;height:180px;object-fit:contain;border-radius:6px;background:#e8edf4}.r47-photo-open:disabled{cursor:default;color:#64748b}.r47-photo img[hidden],.r47-photo [hidden]{display:none!important}.r47-photo-state{margin:8px 0;overflow-wrap:anywhere}.r47-photo-actions{display:flex;gap:16px;align-items:center}.r47-photo-modal{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(9,17,30,.88);overscroll-behavior:contain}.r47-photo-dialog{display:flex;flex-direction:column;width:min(100%,1100px);max-height:calc(100dvh - 32px);max-height:calc(100vh - 32px);padding:14px;border-radius:14px;background:#fff;box-shadow:0 20px 80px #0006;overflow:auto}.r47-photo-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none;margin-bottom:12px}.r47-photo-dialog header strong{min-width:0;overflow-wrap:anywhere}.r47-photo-dialog header button{flex:none}.r47-photo-stage{display:flex;align-items:center;justify-content:center;min-height:0;background:#17202b;border-radius:8px;overflow:auto}.r47-photo-stage img{display:block;max-width:100%;max-height:74vh;max-height:74dvh;width:auto;height:auto;object-fit:contain;touch-action:pan-x pan-y pinch-zoom}.r47-photo-dialog>p{margin:10px 0 0}.r47-photo-open:focus-visible,.r47-photo-modal button:focus-visible,.r47-photo-modal a:focus-visible{outline:3px solid #2684ff;outline-offset:3px}@media(max-width:600px){.r47-photo-modal{padding:8px}.r47-photo-dialog{padding:12px;max-height:calc(100dvh - 16px)}.r47-photo-open{width:100%}.r47-photo-stage img{max-height:70dvh}.r47-photo-dialog header{gap:10px}}
