.af-toast{position:fixed;z-index:2147483001;bottom:calc(24px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%,8px);display:flex;align-items:center;gap:9px;max-width:min(440px,calc(100vw - 32px));width:max-content;padding:11px 15px;border:1px solid #526176;border-radius:11px;background:#1b2535f5;color:#edf3fc;box-shadow:0 7px 26px #0004;font:12px/1.55 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;pointer-events:none;opacity:0;transition:opacity .15s,transform .15s;box-sizing:border-box}.af-toast.af-visible{opacity:1;transform:translate(-50%,0)}.af-toast[data-tone=success]{border-color:#57b99380}.af-toast[data-tone=error]{border-color:#dd738b99}.af-toast[data-tone=warning]{border-color:#d5ac6c88}.af-toast-icon{width:22px;height:22px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;font-size:15px;font-weight:700;background:#5084db40;color:#b3d1ff}.af-toast[data-tone=success] .af-toast-icon{background:#2b98783d;color:#86e1bb}.af-toast[data-tone=error] .af-toast-icon{background:#b348633d;color:#ffa4b7}.af-toast[data-tone=warning] .af-toast-icon{background:#a476303d;color:#f3d49a}.af-marker{position:fixed;z-index:2147483002;width:20px;height:20px;box-sizing:border-box;border:2px solid #162236;border-radius:50%;display:grid;place-items:center;background:#416fbe;color:#e5efff;font:700 13px/16px -apple-system,sans-serif;pointer-events:none;box-shadow:0 2px 7px #0004}.af-marker[data-tone=pending]:before{content:'';width:9px;height:9px;border:2px solid #ffffff44;border-top-color:#fff;border-radius:50%;animation:af-spin .65s linear infinite}.af-marker[data-tone=success]{background:#288463;color:#e1fff2}.af-marker[data-tone=error]{background:#b54b65;color:#fff}.af-marker[data-tone=warning]{background:#ac7d37}button[data-af-feedback=success]{outline:1px solid #70c8a5;outline-offset:1px}button[data-af-feedback=error]{outline:1px solid #e2899b;outline-offset:1px}button[data-af-feedback=warning]{outline:1px solid #d6b37a;outline-offset:1px}@keyframes af-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.af-toast{transition:none}.af-marker[data-tone=pending]:before{animation:none}}
button[data-af-feedback=info],[role=button][data-af-feedback=info]{outline:1px solid #7da4e080;outline-offset:1px;filter:brightness(1.08)}[role=button][data-af-feedback=success]{outline:1px solid #70c8a5;outline-offset:1px}[role=button][data-af-feedback=error]{outline:1px solid #e2899b;outline-offset:1px}

/* Shared compact feedback: blue success, explicit errors, no button rings. */
html body .af-toast{top:calc(16px + env(safe-area-inset-top));bottom:auto;padding:10px 14px;border:1px solid #dbe4f0;border-radius:10px;background:#fff;color:#253247;box-shadow:0 4px 18px #172d4b1a;font-size:14px;line-height:1.5;gap:8px;max-width:min(440px,calc(100vw - 32px));transform:translate(-50%,-4px)}
html body .af-toast.af-visible{transform:translate(-50%,0)}
html body .af-toast[data-tone=success],html body .af-toast[data-tone=info]{border-color:#cfdef7;background:#f3f7ff}
html body .af-toast[data-tone=error]{border-color:#f0ccd1;background:#fff5f5}
html body .af-toast[data-tone=warning]{border-color:#eedbb7;background:#fff9ee}
html body .af-toast .af-toast-icon{width:20px;height:20px;font-size:14px;background:#e1ebff;color:#2863d4}
html body .af-toast[data-tone=error] .af-toast-icon{background:#fbe1e5;color:#bd3349}
html body .af-toast[data-tone=warning] .af-toast-icon{background:#f9eacb;color:#916014}
html body .af-marker{display:none!important}
html body :is(button,[role=button])[data-af-feedback]:not(:focus-visible){outline:none!important;filter:none}
html body :is(button,[role=button])[data-af-feedback]:focus-visible{outline:2px solid #3588ff;outline-offset:2px}
@media(max-width:600px){html body .af-toast{font-size:14px;padding:10px 12px;max-width:calc(100vw - 24px)}}
html body .af-toast[data-tone=success] .af-toast-icon,html body .af-toast[data-tone=info] .af-toast-icon{background:#e1ebff;color:#2863d4}
