.thb-transfer-stack{position:fixed;right:20px;bottom:max(20px,env(safe-area-inset-bottom));z-index:10050;display:grid;gap:10px;width:min(420px,calc(100vw - 32px));max-height:65vh;overflow:auto;pointer-events:none;font-family:Manrope,Arial,sans-serif;color:#252623;line-height:1.45}
.thb-transfer{pointer-events:auto;padding:20px;background:#fffefb;border:1px solid #ddd6c9;border-top:3px solid #94724c;border-radius:12px;box-shadow:0 12px 44px #0003;min-width:0;text-align:left}
.thb-transfer [hidden]{display:none!important}
.thb-transfer-head{display:flex;align-items:center;gap:11px}
.thb-transfer-title{font:600 15px/1.4 Manrope,Arial,sans-serif;flex:1;margin:0;letter-spacing:0;text-transform:none}
.thb-transfer-spinner{width:20px;height:20px;flex:none;border:2px solid #e8e1d7;border-top-color:#94724c;border-radius:50%;animation:thb-transfer-spin .8s linear infinite}
.thb-transfer p{padding:0;letter-spacing:0;text-transform:none;overflow-wrap:anywhere}
.thb-transfer-file{font-size:12px;color:#68635c;margin:12px 0 4px}
.thb-transfer-phase{font-size:14px;color:#252623;margin:10px 0}
.thb-transfer-bar{display:block;width:100%;height:7px;appearance:none;-webkit-appearance:none;border:0;border-radius:8px;overflow:hidden;background:#eae5dd;accent-color:#94724c}
.thb-transfer-bar::-webkit-progress-bar{background:#eae5dd;border-radius:8px}
.thb-transfer-bar::-webkit-progress-value{background:#94724c;border-radius:8px;transition:width .15s}
.thb-transfer-bar::-moz-progress-bar{background:#94724c;border-radius:8px}
.thb-transfer-bar:not([value]){background:linear-gradient(90deg,#eae5dd 25%,#94724c 50%,#eae5dd 75%);background-size:200% 100%;animation:thb-transfer-flow 1.6s linear infinite}
.thb-transfer-bar:not([value])::-webkit-progress-bar{background:transparent}
.thb-transfer-count,.thb-transfer-hint{font-size:12px;color:#68635c;margin:8px 0 0}
.thb-transfer-close{border:0;background:transparent;color:#56514b;font-size:24px;line-height:1;padding:10px;min-width:44px;min-height:44px;cursor:pointer}
.thb-transfer-cancel{font:600 12px Manrope,Arial,sans-serif;border:1px solid #cec4b6;background:transparent;color:#40382e;border-radius:5px;min-height:44px;padding:10px 14px;margin-top:12px;cursor:pointer}
.thb-transfer-close:focus-visible,.thb-transfer-cancel:focus-visible{outline:2px solid #94724c;outline-offset:2px}
.thb-transfer[data-state="done"]{border-top-color:#487253}
.thb-transfer[data-state="error"]{border-top-color:#a13e33}
.thb-transfer:not([data-state="active"]) .thb-transfer-spinner{animation:none;border:0;background:#e9f0e8;color:#356441;display:grid;place-items:center}
.thb-transfer[data-state="done"] .thb-transfer-spinner::after{content:'✓';font-size:15px}
.thb-transfer[data-state="error"] .thb-transfer-spinner{background:#fae9e5;color:#94382d}
.thb-transfer[data-state="error"] .thb-transfer-spinner::after{content:'!';font-size:15px;font-weight:bold}
.thb-transfer-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes thb-transfer-spin{to{transform:rotate(360deg)}}
@keyframes thb-transfer-flow{to{background-position:-200% 0}}
@media(max-width:600px){.thb-transfer-stack{right:12px;bottom:max(12px,env(safe-area-inset-bottom));width:calc(100vw - 24px);max-height:50vh}.thb-transfer{padding:15px}.thb-transfer-title{font-size:14px}}
@media(prefers-reduced-motion:reduce){.thb-transfer-spinner,.thb-transfer-bar:not([value]){animation:none}.thb-transfer-bar::-webkit-progress-value{transition:none}}
