/* Terabox Downloader v1 */
#tbxApp{--tbg:#ffffff;--ttx:#16283c;--tsub:#5b7186;--tline:#dde6ee;--tin:#f2f6fb;--terr:#b3261e;--terbg:#fdecea;--tpill:#ffffff;max-width:720px;margin:0 auto;color:var(--ttx);font-size:15px;line-height:1.6}
#tbxApp.tbx-dark{--tbg:#1e1f20;--ttx:#e6eef6;--tsub:#9db2c6;--tline:#33424f;--tin:#232a30;--terr:#f2b8b5;--terbg:#3a2320;--tpill:#16222d}
#tbxApp *{box-sizing:border-box}
#tbxApp svg{fill:none}
#tbxApp .tbx-hero{position:relative;overflow:hidden;border-radius:20px;padding:28px 26px 24px;background:linear-gradient(125deg,#0a84e8 0%,#0066cc 48%,#004b96 100%);color:#fff}
#tbxApp .tbx-hero::after{content:"";position:absolute;right:-64px;top:-64px;width:230px;height:230px;border-radius:50%;border:26px solid rgba(255,255,255,.10);pointer-events:none}
#tbxApp .tbx-hero::before{content:"";position:absolute;right:6px;bottom:-96px;width:150px;height:150px;border-radius:50%;border:18px solid rgba(255,255,255,.07);pointer-events:none}
#tbxApp .tbx-kick{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;color:#cfe7ff;margin:0 0 10px}
#tbxApp .tbx-kick svg{width:16px;height:16px}
#tbxApp .tbx-hero h2{font-size:27px;line-height:1.25;margin:0 0 8px;letter-spacing:-.3px;color:#fff;max-width:520px}
#tbxApp .tbx-lead{margin:0 0 20px;color:#d8ecff;font-size:15px;max-width:520px}
#tbxApp .tbx-form{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:14px}
#tbxApp .tbx-pill{display:flex;align-items:center;gap:4px;width:100%;background:var(--tpill);border-radius:14px;padding:6px;box-shadow:0 12px 28px rgba(2,48,96,.28)}
#tbxApp .tbx-pill:focus-within{box-shadow:0 12px 28px rgba(2,48,96,.28),0 0 0 3px rgba(255,255,255,.45)}
#tbxApp .tbx-lic{flex:none;display:flex;align-items:center;padding-left:8px;color:#7d93a8}
#tbxApp .tbx-lic svg{width:19px;height:19px}
#tbxApp .tbx-paste{flex:none;display:flex;align-items:center;justify-content:center;width:38px;height:38px;border:none;border-radius:9px;background:transparent;color:#7d93a8;cursor:pointer;transition:background .15s,color .15s}
#tbxApp .tbx-paste svg{width:19px;height:19px}
#tbxApp .tbx-paste:hover{background:var(--tin);color:#0066cc}
#tbxApp .tbx-in{flex:1;min-width:0;border:none;background:transparent;color:var(--ttx);font-size:15.5px;padding:11px 0;outline:none}
#tbxApp .tbx-in::placeholder{color:#8fa5b8}
#tbxApp .tbx-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;width:100%;padding:14px 34px;border:0;border-radius:16px;background:#ffffff;color:#0066cc;font-size:15.5px;font-weight:800;cursor:pointer;box-shadow:0 12px 30px rgba(0,40,90,.28);white-space:nowrap;transition:transform .15s,background .15s}
#tbxApp .tbx-btn svg{width:17px;height:17px}
#tbxApp .tbx-btn:hover{transform:translateY(-1px);background:#eaf4ff}
#tbxApp .tbx-btn:disabled{opacity:.6;cursor:wait;transform:none}
#tbxApp .tbx-try{position:relative;z-index:1;display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-top:14px;font-size:13px;color:#cfe7ff}
#tbxApp .tbx-hint{font-size:12.5px}
#tbxApp .tbx-feats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0 0;padding:0}
#tbxApp .tbx-feat{display:flex;flex-direction:column;align-items:center;text-align:center;gap:9px;font-size:12.5px;line-height:1.45;color:var(--ttx);font-weight:600;background:var(--tbg);border:1px solid var(--tline);border-radius:16px;padding:15px 10px 13px}
#tbxApp .tbx-feat svg{width:36px;height:36px;padding:8px;border-radius:50%;background:#e7f1fc;color:#0066cc;flex:none}
#tbxApp .tbx-feat svg *{fill:none!important;stroke:currentColor!important}
#tbxApp.tbx-dark .tbx-feat svg{background:#233448;color:#8fc2f5}
#tbxApp .tbx-err{margin:16px 0 0;padding:13px 16px;border-radius:12px;background:var(--terbg);color:var(--terr);font-size:14px;border:1px solid var(--terr)}
#tbxApp .tbx-err[hidden]{display:none!important}
#tbxApp .tbx-load{margin-top:16px;padding:22px 18px;border:1px solid var(--tline);border-radius:16px;background:var(--tbg);color:var(--tsub);font-size:14px;display:flex;align-items:center;justify-content:center;gap:12px}
#tbxApp .tbx-load[hidden]{display:none!important}
#tbxApp .tbx-dots{width:24px;height:24px;flex:none;border-radius:50%;border:3px solid #d7e7f8;border-top-color:#0066cc;animation:tbxSpin .75s linear infinite}
#tbxApp.tbx-dark .tbx-dots{border-color:#33424f;border-top-color:#8fc2f5}
#tbxApp .tbx-dots i{display:none}
@keyframes tbxSpin{to{transform:rotate(360deg)}}
#tbxApp .tbx-result{margin-top:16px;border:1px solid var(--tline);border-radius:16px;background:var(--tbg);overflow:hidden;animation:tbxIn .35s ease}
#tbxApp .tbx-result[hidden]{display:none!important}
@keyframes tbxIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
#tbxApp .tbx-rhead{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#e3eefb;padding:11px 18px}
#tbxApp.tbx-dark .tbx-rhead{background:#14304f}
#tbxApp .tbx-rtitle{font-size:12px;font-weight:800;letter-spacing:1.1px;text-transform:uppercase;color:#0055aa;margin:0}
#tbxApp.tbx-dark .tbx-rtitle{color:#8fc2f5}
#tbxApp .tbx-cache{flex:none;padding:3px 10px;border-radius:999px;background:var(--tbg);border:1px solid var(--tline);font-size:11.5px;font-weight:700;color:var(--tsub)}
#tbxApp .tbx-cache[hidden]{display:none!important}
#tbxApp .tbx-file{display:flex;align-items:center;gap:13px;padding:13px 18px;border-top:1px solid var(--tline)}
#tbxApp .tbx-file:first-child{border-top:none}
#tbxApp .tbx-thumb{width:52px;height:52px;flex:none;border-radius:10px;object-fit:cover;background:var(--tin);border:1px solid var(--tline)}
#tbxApp .tbx-fic{width:52px;height:52px;flex:none;border-radius:10px;background:var(--tin);border:1px solid var(--tline);display:flex;align-items:center;justify-content:center;color:#0066cc}
#tbxApp .tbx-fic svg{width:24px;height:24px}
#tbxApp.tbx-dark .tbx-fic{color:#8fc2f5}
#tbxApp .tbx-fmeta{flex:1;min-width:0}
#tbxApp .tbx-fname{margin:0;font-size:14.5px;font-weight:700;color:var(--ttx);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#tbxApp .tbx-fsize{margin:1px 0 0;font-size:12.5px;color:var(--tsub)}
#tbxApp .tbx-dl{flex:none;padding:9px 18px;border-radius:9px;background:#0066cc;color:#fff;font-size:13.5px;font-weight:700;text-decoration:none;transition:background .15s}
#tbxApp .tbx-dl:hover{background:#0055aa}
#tbxApp .tbx-dl.off{background:var(--tin);color:var(--tsub);border:1px solid var(--tline);cursor:default}
#tbxApp .tbx-rnote{margin:0 18px 14px;background:var(--tin);border:1px dashed var(--tline);border-radius:10px;padding:10px 14px;font-size:13px;color:var(--tsub);text-align:center}
#tbxApp .tbx-rnote[hidden]{display:none!important}
#tbxApp .tbx-note{margin-top:22px;background:var(--tin);border:1px solid var(--tline);border-radius:16px;padding:18px 20px}
#tbxApp .tbx-note h3{font-size:15.5px;margin:0 0 8px;color:var(--ttx)}
#tbxApp .tbx-note p{margin:0;font-size:13.5px;color:var(--tsub)}
@media(max-width:560px){
#tbxApp .tbx-hero{padding:22px 18px 20px}
#tbxApp .tbx-hero h2{font-size:23px}
#tbxApp .tbx-form{gap:4px;padding:4px}
#tbxApp .tbx-btn{padding:13px 30px;font-size:15px}
#tbxApp .tbx-file{padding:12px 14px;gap:10px}
#tbxApp .tbx-thumb,#tbxApp .tbx-fic{width:44px;height:44px}
#tbxApp .tbx-dl{padding:8px 13px;font-size:13px}
}
#tbxDoc{max-width:720px;margin:26px auto 0;color:inherit;font-size:15px;line-height:1.7}
#tbxDoc h2{margin:26px 0 10px}
#tbxDoc h3{margin:18px 0 6px}
#tbxDoc p{margin:0 0 10px}
