.bt-uploader{--bt-violet:#9D7CFF;--bt-ice:#A8D8FF;--bt-mint:#8DE8C9;--bt-surface:#0B0D12;--bt-surface2:#12151d;--bt-border:rgba(255,255,255,.09);--bt-text:#eef1f6;--bt-muted:#8b93a3;font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif}
.bt-uploader *{box-sizing:border-box}
.bt-panel{background:var(--bt-surface);border:1px solid var(--bt-border);border-radius:22px;padding:26px;width:100%;max-width:420px;box-shadow:0 30px 90px rgba(0,0,0,.45);color:var(--bt-text)}
.bt-stage{display:flex;flex-direction:column;gap:14px}
.bt-uploader [hidden]{display:none !important}
.bt-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:2px dashed var(--bt-border);border-radius:16px;padding:34px 18px;cursor:pointer;transition:border-color .15s,background .15s;text-align:center}
.bt-drop:hover,.bt-drop.bt-over,.bt-drop:focus{border-color:var(--bt-violet);background:rgba(157,124,255,.06);outline:none}
.bt-plus{width:46px;height:46px;border-radius:50%;background:linear-gradient(135deg,var(--bt-violet),var(--bt-ice));color:#06070a;font-size:26px;font-weight:700;display:grid;place-items:center;margin-bottom:4px}
.bt-drop-title{font-weight:600;font-size:15px}
.bt-drop-sub{font-size:12.5px;color:var(--bt-muted)}
.bt-title{background:var(--bt-surface2);border:1px solid var(--bt-border);border-radius:12px;padding:12px 14px;color:var(--bt-text);font-size:14px;font-family:inherit}
.bt-title::placeholder{color:var(--bt-muted)}
.bt-send{background:linear-gradient(90deg,var(--bt-violet),var(--bt-ice));color:#06070a;border:none;border-radius:12px;padding:13px;font-size:14px;font-weight:700;cursor:pointer}
.bt-send:disabled{opacity:.5;cursor:not-allowed}
.bt-hint{text-align:center;font-size:11.5px;color:var(--bt-muted)}
.bt-prog-head{display:flex;justify-content:space-between;align-items:center;font-size:14px}
.bt-prog-count{color:var(--bt-muted);font-size:12.5px}
.bt-files{display:flex;flex-direction:column;gap:8px;max-height:220px;overflow:auto}
.bt-file{display:flex;justify-content:space-between;gap:10px;background:var(--bt-surface2);border:1px solid var(--bt-border);border-radius:10px;padding:10px 12px;font-size:13px}
.bt-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bt-file-state{color:var(--bt-muted);flex-shrink:0;font-size:12px}
.bt-file.bt-done .bt-file-state{color:var(--bt-mint)}
.bt-bar{height:6px;background:var(--bt-surface2);border-radius:999px;overflow:hidden}
.bt-bar-fill{height:100%;width:0;background:linear-gradient(90deg,var(--bt-violet),var(--bt-ice),var(--bt-mint));transition:width .25s}
.bt-ready,.bt-linked{align-items:center;text-align:center}
.bt-check{width:56px;height:56px;border-radius:50%;background:rgba(141,232,201,.14);color:var(--bt-mint);display:grid;place-items:center;font-size:26px;margin-bottom:4px}
.bt-ready-title{font-size:18px}
.bt-ready-sub{font-size:13px;color:var(--bt-muted);margin:0}
.bt-signup{background:linear-gradient(90deg,var(--bt-violet),var(--bt-ice));color:#06070a;border:none;border-radius:12px;padding:13px 18px;font-weight:700;font-size:14px;cursor:pointer;width:100%}
.bt-link,.bt-again,.bt-secondary{background:var(--bt-surface2);color:var(--bt-text);border:1px solid var(--bt-border);border-radius:12px;padding:12px 18px;font-size:13.5px;font-weight:600;cursor:pointer;width:100%}
.bt-linkbox{display:flex;gap:8px;width:100%}
.bt-url{flex:1;background:var(--bt-surface2);border:1px solid var(--bt-border);border-radius:10px;padding:11px 12px;color:var(--bt-text);font-size:12.5px}
.bt-copy{background:var(--bt-violet);color:#06070a;border:none;border-radius:10px;padding:0 16px;font-weight:700;cursor:pointer}
.bt-error{background:rgba(255,107,120,.1);border:1px solid rgba(255,107,120,.3);color:#ff8088;border-radius:10px;padding:11px 13px;font-size:12.5px}

/* ===== staged file list (before send) ===== */
.bt-list{display:flex;flex-direction:column;gap:8px}
.bt-list-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.bt-list-count{font-size:12.5px;color:var(--bt-muted);font-weight:600}
.bt-clear{background:none;border:none;color:var(--bt-muted);font-size:12px;cursor:pointer;padding:2px 4px;text-decoration:underline;font-family:inherit}
.bt-clear:hover{color:#ff8088}
.bt-list-items{display:flex;flex-direction:column;gap:7px;max-height:210px;overflow-y:auto}
.bt-item{display:flex;align-items:center;gap:10px;background:var(--bt-surface2);border:1px solid var(--bt-border);border-radius:11px;padding:9px 10px}
.bt-item-ic{width:32px;height:32px;flex-shrink:0;border-radius:8px;background:rgba(168,216,255,.12);color:var(--bt-ice);display:grid;place-items:center;font-size:10px;font-weight:700}
.bt-item-meta{display:flex;flex-direction:column;min-width:0;flex:1}
.bt-item-name{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bt-item-size{font-size:11.5px;color:var(--bt-muted)}
.bt-item-x{background:none;border:none;color:var(--bt-muted);font-size:19px;line-height:1;cursor:pointer;padding:2px 6px;flex-shrink:0;border-radius:6px;font-family:inherit}
.bt-item-x:hover{color:#ff8088;background:rgba(255,107,120,.1)}
.bt-item.bt-too-big{border-color:rgba(255,107,120,.4)}
.bt-item.bt-too-big .bt-item-ic{background:rgba(255,107,120,.14);color:#ff8088}
.bt-item.bt-too-big .bt-item-size{color:#ff8088}
