/* FuseButton-inspired rim; driven by received bytes, never a timed fake download. */
.public-galaxy #viewer #downloadOriginal.fuse-download{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;max-width:100%;padding:13px 22px;border:1px solid #765469;border-radius:24px;background:#30212d;color:#f6c8df;font-size:14px;line-height:1.4;white-space:normal;text-align:center;isolation:isolate;overflow:hidden;cursor:pointer;touch-action:manipulation;transition:background .2s,transform .16s}
.public-galaxy #viewer #downloadOriginal.fuse-download:hover{background:#422c3b}
.public-galaxy #viewer #downloadOriginal.fuse-download:active{transform:scale(.97)}
.public-galaxy #viewer #downloadOriginal.fuse-download:focus-visible{outline:2px solid #f1a7cb;outline-offset:4px}
.fuse-download-icon{font-size:20px;line-height:1;min-width:20px}
.fuse-download-rim{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:0}
.fuse-download-rim rect{fill:none;stroke:#f1a7cb;stroke-width:2;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100}
.fuse-download[data-phase=loading] .fuse-download-rim,.fuse-download[data-phase=ready] .fuse-download-rim{opacity:1}
.fuse-download[data-unknown=true] .fuse-download-rim rect{stroke-dasharray:18 82;animation:fuse-download-wait 1.8s linear infinite}
.fuse-download-status{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@keyframes fuse-download-wait{to{stroke-dashoffset:-100}}
@media(prefers-reduced-motion:reduce){.fuse-download[data-unknown=true] .fuse-download-rim rect{animation:none}.public-galaxy #viewer #downloadOriginal.fuse-download{transition:none}}
@media(forced-colors:active){.fuse-download-rim rect{stroke:Highlight}}
