:root{color-scheme:dark;--bg:#0d1915;--panel:#162b24;--panel-raised:#1b352c;--border:#36584a;--line:#2d4c40;--green:#52d6a5;--green-hover:#77e5bc;--text:#eff7f3;--muted:#9db6aa;--quiet:#79988a;font-family:Inter,"Microsoft YaHei UI","PingFang SC",system-ui,sans-serif;font-size:16px;line-height:1.5}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,textarea,select{font:inherit}button,a,input,textarea,select,summary{outline-offset:4px}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.43}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-library{position:absolute;width:0;height:0;overflow:hidden}.topbar{height:64px;border-bottom:1px solid #355046;background:#0c1814}.topbar-inner{height:100%;max-width:1540px;padding:0 34px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:18px;white-space:nowrap}.brand-mark{display:grid;place-items:center;width:38px;height:40px;border-radius:9px;background:var(--green);color:#103327;font-size:27px;font-weight:800}.brand strong{font-size:22px;letter-spacing:1px}.brand-divider,.nav-divider{height:23px;width:1px;background:#456254;margin:0 5px}.brand-title{font-size:19px;font-weight:600;letter-spacing:.3px}nav{height:100%;display:flex;gap:29px;align-items:center;font-size:15px}.nav-current{position:relative;display:flex;height:100%;align-items:center;font-weight:600}.nav-current:after{content:"";position:absolute;bottom:0;height:3px;background:var(--green);left:0;right:0;border-radius:2px}.nav-button{display:flex;gap:9px;align-items:center;border:0;padding:8px 0;background:none;color:#d0e1d8;font-size:15px}.nav-button:hover{color:var(--green)}.container{max-width:1540px;padding:0 34px 20px;margin:auto}.intro{text-align:center;margin:20px 0 20px}.intro h1{font-size:30px;font-weight:650;letter-spacing:.3px;line-height:1.3;margin:0 0 7px}.intro p{font-size:16px;letter-spacing:1px;color:var(--muted);margin:0}.panel{background:var(--panel);border:1px solid var(--border);border-radius:11px}.composer{padding:18px 24px 0}h2{font-size:20px;font-weight:650;line-height:1.4;margin:0}textarea{display:block;width:100%;min-height:86px;max-height:300px;resize:vertical;margin:13px 0 10px;border:1px solid #456959;border-radius:7px;background:#11251e;color:var(--text);font-size:16px;line-height:1.8;padding:13px 16px;outline-color:var(--green)}textarea::placeholder{color:#789588}.composer-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:12px}.hint{font-size:14px;color:var(--muted)}.actions{display:flex;align-items:center;gap:11px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:36px;padding:7px 16px;border-radius:6px;border:1px solid transparent;font-size:14px;font-weight:550;white-space:nowrap;transition:background .15s,color .15s}.button.primary{background:var(--green);color:#0b2f22;border-color:var(--green)}.button.primary:hover:not(:disabled){background:var(--green-hover);border-color:var(--green-hover)}.button.subtle{background:#192f27;border-color:#456757;color:#e0eee6}.button.subtle:hover:not(:disabled){background:#234435;border-color:#62836f}.button.compact{padding-inline:15px}.cookie-strip{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:12px 0;border-top:1px solid var(--line)}.cookie-label{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:16px}.cookie-label>svg{width:24px;height:24px}.strip-divider{width:1px;height:20px;background:#3b5c4c;margin:0 8px}.badge{display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:500;line-height:1.5;padding:3px 11px;border-radius:20px;background:#254638;color:#b1cfbf;white-space:nowrap}.badge.connected{background:#235340;color:#c6f5dc}.tasks{margin-top:20px;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 22px 14px}.title-group{display:flex;align-items:center;gap:15px}.title-group h2{font-size:23px}.count-badge{display:inline-block;border-radius:18px;background:#23533f;color:#d3f3e2;padding:4px 13px;font-size:13px;white-space:nowrap}.toolbar{gap:10px}.toolbar .button{min-height:36px;padding:6px 12px}.toolbar svg{width:18px;height:18px}.table-scroll{padding:0 21px;overflow:auto;max-height:555px}.task-table{min-width:1050px}.table-grid{display:grid;grid-template-columns:30px 72px 98px minmax(235px,1fr) 64px 104px 172px 112px;align-items:center;column-gap:14px}.table-head{background:#244638;border:1px solid #3b5d4b;border-radius:6px 6px 0 0;padding:9px 12px;color:#d9ece1;font-size:14px;font-weight:550;position:sticky;top:0;z-index:1}.table-head span{min-width:0}.table-row{padding:10px 12px;min-height:82px;border-bottom:1px solid var(--line);font-size:15px}.table-row:last-child{border-bottom:0}.table-row:hover{background:#19362b}.table-grid input[type=checkbox]{width:18px;height:18px;accent-color:var(--green);margin:0;cursor:pointer}.table-grid input:disabled{cursor:not-allowed}.thumb{position:relative;display:grid;place-items:center;height:60px;width:64px;border-radius:7px;background:#254637;overflow:hidden;color:#96bcaa;border:1px solid #3c5d4d}.thumb>svg{height:28px;width:28px}.thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.thumb .video-mark{position:absolute;right:3px;bottom:3px;background:#0d1c15bc;border-radius:4px;width:20px;height:20px;display:grid;place-items:center}.video-mark svg{width:13px;height:13px;stroke-width:2}.thumb.unavailable{background:#203c2f}.state-pill{display:inline-flex;align-items:center;gap:4px;border-radius:18px;background:#284c3c;color:#cee5d7;padding:4px 11px;font-size:13px;white-space:nowrap}.state-pill.downloading{background:var(--green);color:#0b3021}.state-pill.done{background:#205a41;color:#9be8bf}.state-pill.error,.state-pill.partial{background:#563c32;color:#ecc1a8}.state-pill.stopped,.state-pill.skipped{background:#34483e;color:#b4c7bb}.state-pill svg{width:14px;height:14px;stroke-width:2}.post-content{min-width:0}.post-title{font-size:15px;font-weight:550;margin:0;color:#edf5ef;line-height:1.6;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere}.post-author{color:#a0c0ae;font-size:13px;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-count{font-size:14px;white-space:pre-line;line-height:1.6;color:#dbece0}.progress-cell{min-width:0}.row-progress-value{font-size:14px;display:block;margin-bottom:5px}.row-progress-value.error{color:#e1ab90}.mini-progress,.overall-meter progress{display:block;width:100%;height:7px;appearance:none;border:0;border-radius:9px;overflow:hidden;background:#3a5d4d}.mini-progress::-webkit-progress-bar,.overall-meter progress::-webkit-progress-bar{background:#3a5d4d}.mini-progress::-webkit-progress-value,.overall-meter progress::-webkit-progress-value{background:var(--green);border-radius:9px}.mini-progress::-moz-progress-bar,.overall-meter progress::-moz-progress-bar{background:var(--green);border-radius:9px}.row-progress-hint{font-size:11px;color:#789888;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:4px;min-height:14px}.row-action{display:flex;flex-direction:column;gap:5px;align-items:stretch}.row-action .button{padding:6px 9px;min-height:33px;font-size:13px;gap:7px}.row-action svg{width:16px;height:16px}.original-small{font-size:12px;color:#95bca5;text-align:center;padding:2px}.original-small:hover{color:var(--green)}.selection-bar{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px 24px;border-top:1px solid var(--line);font-size:14px}.selection-bar strong{font-weight:600;color:var(--green)}select{appearance:none;color:#d6e9dc;background:#173326 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23d6e9dc' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center;border:1px solid #456757;border-radius:6px;font-size:14px;padding:8px 38px 8px 16px;min-height:39px}.empty{text-align:center;padding:41px 15px 43px}.empty-icon{display:grid;place-items:center;width:59px;height:59px;margin:0 auto 18px;background:#203f30;border:1px solid #3c5e4a;border-radius:16px;color:#84b298}.empty-icon svg{width:33px;height:33px}.empty h3{font-size:16px;font-weight:500;margin:0 0 8px;color:#c8dece}.empty p{font-size:14px;color:#7d9e89;margin:0;line-height:1.8}.progress-panel{margin-top:20px;padding:19px 24px 0}.overall-row{display:flex;gap:28px;align-items:center}.progress-caption{min-width:170px;display:flex;gap:10px;align-items:center}.progress-caption h2{font-size:21px}.progress-caption .badge{font-size:11px;padding:2px 8px}.overall-meter{flex:1;min-width:0}.progress-description{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:14px;margin-bottom:10px}.progress-description span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#c8dece}.overall-meter progress{height:8px}.progress-description span:last-child{white-space:nowrap}.progress-panel details{border-top:1px solid var(--line);margin-top:17px;padding:13px 0 14px;color:#d0e1d5;font-size:14px}.progress-panel summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center}.progress-panel summary>span:first-child:before{content:"";display:inline-block;width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:6px solid #adcab7;margin:0 10px 0 2px;transition:transform .15s}.progress-panel details[open] summary>span:first-child:before{transform:rotate(90deg)}.progress-panel summary::-webkit-details-marker{display:none}#logCount{font-size:12px;color:#789783}.logs{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.9;max-height:230px;overflow:auto;margin-top:14px;padding:11px 13px;background:#10261b;border:1px solid #294b38;border-radius:5px;overflow-wrap:anywhere}.log-line time{color:#73a285;display:inline-block;margin-right:12px}.bundle-row{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding-top:14px;margin-top:17px;color:#bfdcc8;font-size:14px}.bundle-row .button{font-size:13px;min-height:33px;padding:6px 12px}footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:18px;color:#789783;font-size:12px}.footer-right{display:flex;gap:20px}dialog{background:#142b20;color:var(--text);border:1px solid #55735e;border-radius:13px;padding:0;box-shadow:0 20px 100px #0006}dialog::backdrop{background:#06120dcc;backdrop-filter:blur(5px)}.history-dialog{width:min(940px,calc(100vw - 36px));max-height:85vh}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:23px 25px;border-bottom:1px solid var(--line)}.dialog-header h2{font-size:22px;display:flex;align-items:center;gap:12px}.eyebrow{display:block;color:#71d0a2;font-size:11px;letter-spacing:2px;font-weight:600;margin-bottom:8px}.icon-button{display:grid;place-items:center;width:34px;height:34px;padding:0;background:#254332;color:#d8eadd;border:1px solid #45644e;border-radius:6px;cursor:pointer}.icon-button:hover{background:#34593e}.history-body{max-height:61vh;overflow:auto;padding:0 25px}.history-record{border-bottom:1px solid var(--line);padding:19px 0}.history-record:last-child{border:0}.history-top{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:8px}.history-owner{font-size:14px;color:#9bc3a7}.history-time{font-size:12px;color:#7a9b85;white-space:nowrap}.history-title{margin:7px 0;font-size:15px;line-height:1.7;overflow-wrap:anywhere}.history-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.history-actions .button{font-size:13px;padding:6px 10px;min-height:32px}.history-note{margin:0;padding:15px 25px;border-top:1px solid var(--line);font-size:12px;color:#8fae97;line-height:1.7}.history-empty{text-align:center;padding:50px 15px;color:#94b59e;line-height:1.9}.files-dialog{width:min(580px,calc(100vw - 36px));max-height:85vh}.file-list{padding:10px 24px 24px;overflow:auto;max-height:65vh}.file-item{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 0;border-bottom:1px solid var(--line);font-size:14px}.file-item .button{font-size:13px;min-height:32px;padding:6px 12px}.confirm-dialog{padding:26px;max-width:430px;width:calc(100vw - 36px)}.confirm-dialog h2{font-size:20px}.confirm-dialog p{font-size:14px;color:#a3c0aa;line-height:1.8;margin:13px 0 24px}.confirm-dialog .actions{justify-content:flex-end}.login-overlay{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:20px;background:#08150fef;backdrop-filter:blur(12px)}.login-overlay[hidden]{display:none}.login-card{width:min(440px,100%);background:#173024;border:1px solid #43614d;border-radius:17px;padding:35px}.brand-mark.large{width:45px;height:47px;margin-bottom:26px;font-size:31px}.login-card .eyebrow{margin-bottom:11px}.login-card h1{font-size:26px;margin:0;letter-spacing:-.5px}.login-card p{font-size:14px;color:#91b59b;margin:10px 0 0;line-height:1.7}.login-card label{display:block;font-size:14px;margin:26px 0 9px;color:#c7dfcd}.login-card input{width:100%;background:#0d2517;color:var(--text);border:1px solid #44624c;border-radius:7px;font-size:16px;padding:12px 14px}.login-card .error{min-height:22px;color:#eeb39a;font-size:13px;margin:8px 0 14px}.login-card .button{width:100%;min-height:44px;font-size:15px}.login-card small{display:block;text-align:center;margin-top:25px;color:#7b9f84;font-size:11px}.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);z-index:100;background:#234c34;color:#e1f9e8;border:1px solid #699975;border-radius:8px;box-shadow:0 5px 30px #0005;padding:13px 21px;max-width:min(650px,90vw);font-size:14px;overflow-wrap:anywhere}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#11291a}::-webkit-scrollbar-thumb{background:#3c6549;border-radius:5px}@media(min-width:1600px){.intro{margin-top:35px;margin-bottom:29px}.composer{padding-top:24px}.panel-heading{padding-top:19px;padding-bottom:17px}.table-row{min-height:98px}.container{padding-bottom:26px}}@media(max-width:1100px){.topbar-inner,.container{padding-left:22px;padding-right:22px}.brand{gap:12px}.brand-title{font-size:17px}nav{gap:18px}.panel-heading{padding-left:18px;padding-right:18px}.table-scroll{padding-inline:17px}.intro h1{font-size:28px}.cookie-strip{gap:10px}.cookie-label{font-size:14px;gap:8px}.strip-divider{margin-inline:4px}}@media(max-width:760px){.topbar{height:62px}.topbar-inner,.container{padding-left:15px;padding-right:15px}.brand{gap:9px}.brand strong,.brand-divider,.nav-divider{display:none}.brand-mark{width:31px;height:33px;font-size:23px}.brand-title{font-size:15px}nav{gap:14px;font-size:13px}.nav-button{font-size:13px}.nav-current{display:none}.nav-button svg{width:17px;height:17px}#logout{gap:5px}.intro{margin:25px 0 21px}.intro h1{font-size:25px}.intro p{font-size:14px;letter-spacing:.4px}.composer{padding:17px 16px 0}h2{font-size:18px}textarea{font-size:14px;min-height:113px;padding:11px 12px;margin-top:13px}.hint{font-size:12px;line-height:1.7;max-width:125px}.button{font-size:13px;padding:8px 12px;gap:7px}.actions{gap:8px}.cookie-strip{flex-wrap:wrap;padding:14px 0;row-gap:12px}.cookie-strip>.actions{margin-left:auto}.cookie-label>svg{width:21px;height:21px}.panel-heading{flex-wrap:wrap;gap:13px;padding:16px 16px 14px}.title-group h2{font-size:21px}.count-badge{font-size:12px}.toolbar{width:100%;justify-content:flex-end;gap:8px}.toolbar .button{font-size:12px;padding:6px 10px}.table-scroll{padding:0 14px;max-height:510px}.selection-bar{padding:14px 16px;flex-wrap:wrap;font-size:13px}.selection-bar>.actions{margin-left:auto}select{font-size:13px;padding-left:12px;min-height:38px}.progress-panel{padding:17px 16px 0}.overall-row{display:block}.progress-caption{flex-direction:row;gap:13px;align-items:center;margin-bottom:15px}.progress-caption h2{font-size:19px}.overall-meter .progress-description{font-size:13px}.bundle-row{font-size:13px}.empty{padding:33px 12px}.empty p{font-size:13px}.empty h3{font-size:15px}.history-body{padding-inline:18px}.dialog-header{padding:19px}.dialog-header h2{font-size:20px}.history-top{align-items:flex-start;flex-direction:column;gap:5px}.login-card{padding:28px}.login-card h1{font-size:24px}footer{font-size:11px}.footer-right{gap:10px}}

.license-status{font-size:12px;color:#8fbc9e;white-space:nowrap}@media(max-width:1100px){.license-status{display:none}}
