.local-image-loading-modal{position:fixed;inset:0;z-index:2147483000;background:rgba(2,6,23,.72);display:flex;align-items:center;justify-content:center;padding:18px;box-sizing:border-box}
.local-image-loading-modal .manual-erase-panel{width:min(1100px,96vw);max-height:94vh}
.local-image-loading-modal .manual-erase-toolbar{justify-content:flex-start;gap:8px}
.watermark-settings>button{border:1px solid var(--line);background:var(--wb-input-bg,var(--panel));color:var(--ink);border-radius:8px;padding:8px;cursor:pointer}
.local-image-loading-preview{min-height:180px;height:50vh;display:flex;justify-content:center;align-items:center;overflow:hidden;background:var(--wb-card-soft,#eef5fa)}
.local-image-loading-preview canvas{max-width:100%;max-height:100%;object-fit:contain;opacity:.75}
.local-image-loading-status,.watermark-load-status{padding:12px;color:var(--wb-text-muted,#64748b);font-size:13px}
.local-image-loading-modal[aria-busy=true] [role=status]:before,.watermark-modal[aria-busy=true] .watermark-load-status:before{content:'';display:inline-block;width:12px;height:12px;margin-right:8px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-3px;animation:local-image-loading-spin .8s linear infinite}
.watermark-modal .watermark-preview>img{max-width:100%;max-height:100%;object-fit:contain}
@keyframes local-image-loading-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.local-image-loading-modal[aria-busy=true] [role=status]:before,.watermark-modal[aria-busy=true] .watermark-load-status:before{animation:none}}
