:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#1d3029;background:#f4f7f5;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}button,a,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}a{color:inherit;text-decoration:none}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.topbar{height:84px;max-width:1160px;margin:auto;padding:0 34px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e0e7e1}.brand{display:flex;align-items:center;gap:11px;font-weight:700;font-size:19px;letter-spacing:-.4px}.brand-mark{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:#16745e;color:white;font-size:26px;line-height:1;padding-bottom:3px}.brand-divider{margin:0 4px;color:#cad4ce;font-weight:400}.brand-section{font-size:12px;font-weight:500;letter-spacing:1px;color:#738078}.online{font-size:12px;color:#6a7971;display:flex;gap:8px;align-items:center}.online i{height:6px;width:6px;border-radius:50%;background:#438b70}main{max-width:828px;margin:0 auto;padding:62px 24px 26px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2.4px;color:#40856b;margin-bottom:18px}h1{font-size:42px;letter-spacing:-1.9px;line-height:1.25;font-weight:650;margin:0 0 17px}.intro>p{font-size:14px;color:#75827a;margin:0 0 33px;line-height:1.8}.mobile-break{display:none}.download-panel{background:#fff;border:1px solid #dce5df;border-radius:17px;box-shadow:0 10px 30px #203e2d05;padding:27px 30px}.panel-title{display:flex;align-items:center;gap:13px;margin-bottom:27px}.icon-box{width:43px;height:43px;border:1px solid #d7e9df;border-radius:12px;display:grid;place-items:center;background:#f1f8f3;color:#297958}h2{margin:0;font-size:16px;font-weight:650}.panel-title p{margin:6px 0 0;color:#8a938d;font-size:12px}.format-tag{font-size:10px;letter-spacing:1px;color:#8a968e;border:1px solid #e3e8e4;border-radius:5px;padding:5px 7px;margin-left:auto}label{display:block;font-size:12px;font-weight:600;margin-bottom:10px;color:#47584e}.input-wrap{display:flex;border:1px solid #d7dfd9;border-radius:9px;background:#fcfdfb;transition:box-shadow .15s,border-color .15s}.input-wrap:focus-within{border-color:#30876e;box-shadow:0 0 0 3px #31876e12}input{min-width:0;width:100%;outline:none;color:#273c31;border:0;background:transparent;padding:15px 16px;font-size:14px}input::placeholder{color:#a1ada5}.paste-button{margin:9px 8px;border:0;background:#edf2ee;color:#637a6a;padding:3px 11px;border-radius:5px;font-size:12px;white-space:nowrap}.paste-button:hover{background:#e0ece4}details{margin:17px 0 21px;font-size:12px;color:#7d8c82}summary{cursor:pointer;width:fit-content;line-height:1.6}details[open] summary{margin-bottom:13px}.password-row{max-width:330px}.password-row input{border:1px solid #d7dfd9;border-radius:8px;padding:11px 12px}.primary-button{display:flex;justify-content:center;align-items:center;gap:10px;width:100%;border:0;border-radius:8px;background:#16745e;color:white;font-weight:600;font-size:14px;padding:14px 20px;box-shadow:0 3px 4px #16745e0c;transition:background .15s}.primary-button:hover{background:#11634f}.primary-button svg{width:18px;height:18px}.form-note{font-size:11px;text-align:center;color:#929e95;margin:15px 0 0;line-height:1.7}.form-error{background:#fff0ed;color:#b84531;padding:10px 12px;font-size:13px;line-height:1.7;margin:0 0 14px;border-radius:6px}.tasks-section{margin-top:34px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.section-heading h2{font-size:14px;display:flex;align-items:center;gap:8px}.section-heading h2 span{border:1px solid #dce4de;border-radius:5px;font-weight:500;font-size:10px;min-width:19px;display:grid;place-items:center;padding:2px 4px;color:#7a8c7e}.subtle{font-size:11px;color:#94a097}.empty-state{text-align:center;border:1px dashed #d4dfd7;border-radius:12px;padding:30px 16px;color:#a2b1a7}.empty-state svg{width:36px;height:36px;stroke-width:1.2;color:#b1c1b6}.empty-state h3{font-size:13px;font-weight:500;color:#7e9184;margin:12px 0 8px}.empty-state p{font-size:11px;color:#96a69b;margin:0;line-height:1.7}.task{background:#fff;border:1px solid #dce5df;border-radius:12px;padding:21px 23px;margin-bottom:12px}.task-header{display:flex;align-items:start;gap:12px;justify-content:space-between}.task-title{font-size:14px;line-height:1.5;font-weight:600;margin:0;overflow-wrap:anywhere}.task-url{display:block;max-width:530px;font-size:11px;color:#98a49c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:7px}.status{font-size:10px;white-space:nowrap;padding:5px 7px;border-radius:4px;color:#7c897f;background:#f0f3f0}.status.completed{color:#187456;background:#e9f6ef}.status.failed{color:#ac503b;background:#fff1eb}.progress-track{height:4px;background:#eef3ef;border-radius:3px;margin:19px 0 9px;overflow:hidden}.progress-fill{height:100%;width:0;background:#2e9470;transition:width .4s;border-radius:3px}.progress-fill.indeterminate{width:30%;animation:loading 1.7s ease-in-out infinite}.progress-text{font-size:11px;color:#89988e;display:flex;justify-content:space-between;gap:12px}.files{margin-top:18px}.file{border-top:1px solid #eff2ee;padding-top:13px;margin-top:12px}.file-meta{font-size:11px;color:#8a988e;line-height:1.8;overflow-wrap:anywhere}.actions{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}.action{font-size:12px;padding:8px 12px;border-radius:6px;border:1px solid #dae5de;background:#fff;color:#4e6d5b;display:inline-flex;align-items:center;justify-content:center;gap:7px}.action.download{background:#edf7f1;border-color:#d9ecdf;color:#1c7757}.action:hover{border-color:#8ab6a0}.task-error{font-size:12px;color:#b15a46;margin:15px 0 0;line-height:1.8}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin:36px 0 30px}.steps>div{position:relative;padding-left:34px}.steps span{position:absolute;left:0;top:1px;font-size:12px;color:#98ab9c;font-variant-numeric:tabular-nums}.steps h3{font-size:12px;margin:0 0 7px;color:#718477;font-weight:550}.steps p{font-size:10px;color:#96a299;margin:0;line-height:1.8}footer{border-top:1px solid #e0e7e1;padding-top:17px;display:flex;justify-content:space-between;gap:16px;align-items:start}footer p{font-size:10px;color:#a0aaa3;line-height:1.8;margin:0}footer>span{font-size:8px;white-space:nowrap;letter-spacing:1.2px;color:#a8b4ac;padding-top:4px}#toast{position:fixed;bottom:32px;left:50%;transform:translateX(-50%);background:#243e31;color:white;padding:12px 20px;border-radius:9px;font-size:13px;box-shadow:0 5px 20px #0002;max-width:90vw;text-align:center;z-index:10}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #83bca6;outline-offset:3px}.password-row input:focus{border-color:#30876e}.copy-fallback{margin-top:10px;border:1px solid #c5d8cc;border-radius:5px;font-size:11px}.offline{color:#b47a37}.network-note{font-size:11px;color:#a07b43;margin:10px 0 0}@keyframes loading{0%{transform:translateX(-100%)}100%{transform:translateX(440%)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}[hidden]{display:none!important}@media(max-width:600px){.mobile-break{display:block}.topbar{height:68px;padding:0 21px}.brand{font-size:17px;gap:8px}.brand-divider,.brand-section{display:none}.online{font-size:10px}main{padding:40px 18px 24px}.eyebrow{font-size:9px;margin-bottom:17px}h1{font-size:35px;letter-spacing:-1.4px}.intro>p{font-size:12px;margin-bottom:26px}.download-panel{padding:23px 19px;border-radius:13px}.panel-title{gap:10px;margin-bottom:23px}.panel-title p{font-size:10px}.icon-box{width:38px;height:38px}.format-tag{font-size:9px}.panel-title h2{font-size:15px}input{font-size:12px;padding:15px 11px}.paste-button{font-size:11px;margin-left:0}.form-note{font-size:10px}.steps{gap:13px;margin:29px 0}.steps>div{padding-left:0}.steps span{position:static;display:block;margin-bottom:8px;font-size:11px}.steps h3{font-size:11px}.steps p{font-size:10px;max-width:92px}footer{display:block}footer>span{display:block;margin-top:12px}.task{padding:18px 16px}.task-title{font-size:13px}.task-url{max-width:230px}.tasks-section{margin-top:28px}.subtle{font-size:10px}}@media(max-width:360px){.mobile-break{display:block}}

.filename-field{margin-top:18px}.filename-field label span{font-weight:400;color:#94a097;margin-left:6px;font-size:11px}.filename-extension{align-self:center;color:#9baa9f;font-size:12px;padding-right:16px}
#filename-hint{margin:8px 0 0;color:#929e95;font-size:11px;line-height:1.6}
textarea{font:inherit;resize:vertical;min-height:106px;width:100%;border:0;background:transparent;padding:14px 16px;font-size:13px;line-height:1.9;outline:none;color:#273c31}textarea::placeholder{color:#a1ada5}.bulk-input{align-items:start}.bulk-input .paste-button{margin-top:12px}.label-note{font-weight:400;color:#96a299;font-size:11px;margin-left:8px}.input-hint{font-size:11px;line-height:1.8;color:#899b8e;margin:10px 0 20px}.draft-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;font-size:12px}.draft-heading strong{font-weight:600}.draft-heading strong span{color:#92a296;margin-left:4px}.draft-heading>span{font-size:11px;color:#558568}.draft-card{padding:15px;background:#f8faf8;border:1px solid #e2eae4;border-radius:9px;margin:10px 0}.draft-top{display:flex;gap:10px;align-items:center;margin-bottom:14px}.draft-number{font-size:10px;color:#83988a}.draft-url{font-size:11px;color:#708778;overflow-wrap:anywhere;min-width:0}.draft-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px}.draft-field{min-width:0}.draft-field label{font-size:11px;margin-bottom:7px}.draft-field input{font-size:12px;padding:10px 11px}.password-toggle{background:none;border:0;white-space:nowrap;color:#718e7b;font-size:11px;padding:0 10px}.draft-empty{font-size:12px;line-height:1.8;color:#8ea095;padding:16px;border:1px dashed #d7e2db;border-radius:8px}.download-panel #filename-hint{margin:12px 0 20px}.status-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:20px}.status-tabs button{border:1px solid #dce5df;background:transparent;border-radius:7px;padding:9px 12px;font-size:12px;color:#7a8c7e}.status-tabs button span{font-size:10px;margin-left:5px;opacity:.8}.status-tabs button[aria-selected=true]{border-color:#b7d6c3;color:#226f50;background:#eaf4ec}.record-group-heading{font-size:12px;color:#7c9383;font-weight:500;margin:20px 0 11px}.task-heading{min-width:0}.task-time{font-size:10px;color:#a1ada5;margin-top:10px;line-height:1.8}.queue-note{font-size:12px;color:#8b9b8f;margin:15px 0 0}.status.queued{color:#927134;background:#faf4e8}.status.downloading,.status.resolving,.status.verifying{color:#337b63;background:#edf7f1}@media(max-width:600px){.draft-fields{grid-template-columns:1fr;gap:12px}.draft-card{padding:13px}.status-tabs{gap:5px}.status-tabs button{padding:8px;font-size:11px}.label-note{display:block;margin:5px 0 0}textarea{font-size:12px;padding:12px 10px}.draft-top{align-items:start}.task-url{max-width:none}}
.cookie-section{margin:16px 0 0}.cookie-section summary{color:#567b65}.cookie-input{display:block;border:1px solid #d7dfd9;border-radius:8px;font-family:monospace;font-size:11px;line-height:1.6;min-height:85px;overflow-wrap:anywhere}.cookie-upload{font-size:11px;padding:10px 0}
#rename-dialog{width:420px;max-width:calc(100vw - 36px);max-height:calc(100dvh - 36px);padding:26px;border:1px solid #dce5df;border-radius:15px;background:#fff;color:#1d3029;box-shadow:0 18px 70px #12372833}#rename-dialog::backdrop{background:#172b2266}#rename-hint{font-size:12px;color:#7d8c82;line-height:1.8;margin:12px 0 22px}#rename-filename{font-size:16px}#rename-error{margin:12px 0 0}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.modal-actions .primary-button{width:auto;min-width:88px;padding:11px 20px}.modal-actions .action{min-width:72px}
.task-heading{min-width:0;flex:1}.task .task-url{max-width:none;white-space:normal;overflow-wrap:anywhere;line-height:1.6}.task a.task-url:hover{text-decoration:underline}.task .status{flex-shrink:0;max-width:42%}.task>.actions{margin-top:14px}.task .action:disabled{cursor:not-allowed}
.task-title-row{display:flex;align-items:flex-start;gap:9px}.task-number{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;min-width:23px;padding:2px 6px;border-radius:5px;background:var(--accent-soft,#fff0e9);color:var(--accent,#d9593e);font-size:11px;line-height:17px;font-weight:600;font-variant-numeric:tabular-nums}
.session-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px;padding:19px 22px;background:#edf5ef;border:1px solid #d7e6dc;border-radius:12px}.session-panel h2{font-size:14px}.session-panel p{font-size:11px;color:#708578;margin:8px 0 0;line-height:1.8}.session-panel>.action{flex-shrink:0}.status.waiting_auth{color:#986928;background:#fff3dc}#youtube-session-dialog{width:600px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);overflow:auto;padding:25px;border:1px solid #dce5df;border-radius:15px;background:#fff;color:#1d3029;box-shadow:0 18px 70px #12372833}#youtube-session-dialog::backdrop{background:#172b2266}.session-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.session-hint,.session-steps{font-size:12px;line-height:1.9;color:#74867b}.session-state{font-size:12px;line-height:1.9;background:#edf5ef;padding:12px;border-radius:8px}.session-steps{padding-left:22px}.session-steps li{margin:9px 0}.session-steps code{font-size:11px;overflow-wrap:anywhere;background:#f0f4f1;border-radius:4px;padding:2px 4px}.text-link{color:#16745e;text-decoration:underline;text-underline-offset:3px}#youtube-session-dialog h3{font-size:14px}#youtube-session-dialog hr{border:0;border-top:1px solid #e0e7e1;margin:22px 0}#youtube-pair-box{margin-top:16px}#youtube-pair-code{font-family:monospace;font-size:12px}#youtube-session-error{margin:16px 0 0}@media(max-width:600px){.session-panel{padding:16px}.session-panel h2{font-size:13px}#youtube-session-dialog{padding:20px}.session-steps code{font-size:12px}}

.conversion-progress{display:block;width:100%;height:6px;margin:8px 0 16px;accent-color:var(--accent)}
