.tld-app{--tld-bg:#fff;--tld-fg:#111827;--tld-muted:#6b7280;--tld-border:#e5e7eb;--tld-card:#f9fafb;--tld-primary:#fe2c55;--tld-btn:#111827;--tld-radius:12px;box-sizing:border-box;max-width:720px;margin:24px auto;padding:20px;background:var(--tld-bg);color:var(--tld-fg);border:1px solid var(--tld-border);border-radius:var(--tld-radius);font:16px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.tld-app *,.tld-app *::before,.tld-app *::after{box-sizing:border-box}
.tld-app[data-theme=dark]{--tld-bg:#0f172a;--tld-fg:#f1f5f9;--tld-muted:#94a3b8;--tld-border:#334155;--tld-card:#1e293b;--tld-btn:#f1f5f9}
@media (prefers-color-scheme:dark){.tld-app[data-theme=auto]{--tld-bg:#0f172a;--tld-fg:#f1f5f9;--tld-muted:#94a3b8;--tld-border:#334155;--tld-card:#1e293b;--tld-btn:#f1f5f9}}
.tld-app[hidden],.tld-app [hidden]{display:none!important}
.tld-brand{display:flex;align-items:center;gap:10px;margin-bottom:8px;font-weight:600}
.tld-logo{max-height:36px;width:auto}
.tld-title{margin:0 0 4px;font-size:1.6rem;line-height:1.25;color:inherit}
.tld-desc{margin:0 0 16px;color:var(--tld-muted)}
.tld-label{display:block;margin:0 0 6px;font-weight:600;font-size:.9rem}
.tld-input,.tld-select{width:100%;min-height:48px;padding:10px 14px;font-size:16px;color:var(--tld-fg);background:var(--tld-card);border:1px solid var(--tld-border);border-radius:var(--tld-radius)}
.tld-input:focus,.tld-select:focus,.tld-btn:focus-visible,.tld-app summary:focus-visible{outline:3px solid var(--tld-primary);outline-offset:2px}
.tld-captcha{margin-top:12px}
.tld-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.tld-btn{min-height:48px;padding:0 22px;font-size:16px;font-weight:600;border-radius:var(--tld-radius);border:1px solid transparent;cursor:pointer;touch-action:manipulation;flex:1 1 140px}
.tld-btn-primary{background:var(--tld-primary);color:#fff}
.tld-btn-ghost{background:transparent;color:var(--tld-fg);border-color:var(--tld-border)}
.tld-btn[disabled]{opacity:.55;cursor:not-allowed}
.tld-message{margin:14px 0 0;padding:10px 14px;border-radius:var(--tld-radius);background:var(--tld-card);border:1px solid var(--tld-border)}
.tld-message.tld-error,.tld-error{border-color:#ef4444;color:#b91c1c;background:rgba(239,68,68,.08)}
.tld-app[data-theme=dark] .tld-message.tld-error{color:#fca5a5}
.tld-message.tld-ok{border-color:#22c55e}
.tld-result{display:flex;gap:16px;margin-top:18px;padding:14px;background:var(--tld-card);border:1px solid var(--tld-border);border-radius:var(--tld-radius)}
.tld-thumb{width:120px;height:160px;object-fit:cover;border-radius:8px;flex:none;background:var(--tld-border)}
.tld-meta{flex:1;min-width:0}
.tld-meta p{margin:0 0 4px}
.tld-author{font-weight:700}
.tld-vtitle{overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.tld-facts{color:var(--tld-muted);font-size:.9rem;margin-bottom:10px!important}
.tld-progress{margin-top:18px;padding:14px;border:1px solid var(--tld-border);border-radius:var(--tld-radius);background:var(--tld-card)}
.tld-ptext{margin:0 0 8px;font-weight:600}
.tld-bar{height:14px;border-radius:99px;background:var(--tld-border);overflow:hidden}
.tld-fill{display:block;height:100%;width:0;background:var(--tld-primary);transition:width .15s linear}
.tld-bar.tld-indeterminate .tld-fill{width:35%;animation:tld-slide 1.1s ease-in-out infinite}
@keyframes tld-slide{0%{margin-left:-35%}100%{margin-left:100%}}
.tld-pstats{margin:8px 0 2px;font-variant-numeric:tabular-nums}
.tld-pct{font-weight:700;font-size:1.1rem;margin-right:8px}
.tld-pextra{margin:0 0 10px;color:var(--tld-muted);font-size:.9rem}
.tld-saved{margin-top:12px}
.tld-saved a{color:var(--tld-primary);font-weight:600}
.tld-history{margin-top:16px;font-size:.9rem}
.tld-history ul{margin:8px 0;padding-left:18px}
.tld-info{margin-top:22px}
.tld-info h3{margin:0 0 8px;font-size:1.1rem;color:inherit}
.tld-info ol{margin:0;padding-left:20px}
.tld-faq details{border-top:1px solid var(--tld-border);padding:8px 0}
.tld-faq summary{cursor:pointer;font-weight:600}
.tld-notice{margin:20px 0 0;padding:10px 14px;border-left:4px solid var(--tld-primary);background:var(--tld-card);font-size:.9rem}
.tld-privacy,.tld-footer,.tld-powered{margin:10px 0 0;color:var(--tld-muted);font-size:.8rem}
.tld-ad{margin:16px 0;text-align:center;overflow:hidden}
@media (max-width:520px){.tld-app{padding:14px;margin:12px 0;border-radius:0;border-left:0;border-right:0}.tld-result{flex-direction:column}.tld-thumb{width:100%;height:220px}.tld-btn{flex-basis:100%}}
@media (prefers-reduced-motion:reduce){.tld-bar.tld-indeterminate .tld-fill{animation:none;width:100%;opacity:.5}.tld-fill{transition:none}}
