/* collector.css */
#collectorRoot{--bg:#f6f5f1;--paper:#fff;--ink:#25241f;--muted:#77756b;--line:#e7e4da;--accent:#ffc30d;--accent-ink:#795800;--green:var(--accent-ink);--soft:#fff6d6;--orange:#a8662a;--red:#b14e43}
#collectorRoot *{box-sizing:border-box}
#collectorRoot{margin:0;background:var(--bg);color:var(--ink);font:14px/1.6 "Microsoft YaHei","PingFang SC",sans-serif}
#collectorRoot button,#collectorRoot input,#collectorRoot select{font:inherit}
#collectorRoot button,#collectorRoot a,#collectorRoot input,#collectorRoot select{outline-offset:4px}
#collectorRoot button{cursor:pointer;border:1px solid var(--line);background:#fff;border-radius:9px;padding:9px 15px;color:var(--ink);transition:.15s}
#collectorRoot button:hover{background:var(--soft);border-color:#b9cdbb}
#collectorRoot button:disabled{opacity:.45;cursor:not-allowed}
#collectorRoot a{color:var(--green)}
#collectorRoot .app{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100vh}
#collectorRoot .sidebar{background:#fbfcf9;border-right:1px solid var(--line);padding:30px 22px;display:flex;flex-direction:column;gap:28px}
#collectorRoot .brand{display:flex;gap:12px;align-items:center}
#collectorRoot .brandmark{background:var(--green);color:#fff;border-radius:12px;width:42px;height:45px;display:grid;place-items:center;font:27px Georgia}
#collectorRoot .brand strong{display:block;font-size:22px;letter-spacing:4px}
#collectorRoot .brand small{display:block;font-size:10px;letter-spacing:2px;color:var(--muted)}
#collectorRoot .navbutton{width:100%;text-align:left;border:0;padding:12px 14px;background:var(--soft);font-weight:bold;color:var(--green)}
#collectorRoot .sidelabel{font-size:11px;letter-spacing:1.5px;color:var(--muted);margin:0 0 10px}
#collectorRoot .library{display:grid;gap:8px;max-height:50vh;overflow:auto}
#collectorRoot .library button{text-align:left;padding:10px 12px;background:transparent;border-color:transparent;width:100%;overflow:hidden}
#collectorRoot .library button.active{background:#fff;border-color:var(--line)}
#collectorRoot .library strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
#collectorRoot .library small{color:var(--muted)}
#collectorRoot .sidebarfoot{margin-top:auto;border-top:1px solid var(--line);padding-top:18px;font-size:12px;color:var(--muted)}
#collectorRoot .dot{width:7px;height:7px;border-radius:50%;background:#478c59;display:inline-block;margin-right:6px}
#collectorRoot .main{padding:30px 38px 24px;max-width:1500px;width:100%;margin:auto}
#collectorRoot .topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}
#collectorRoot .eyebrow{font-size:10px;letter-spacing:2px;color:var(--muted)}
#collectorRoot h1{font-size:28px;margin:5px 0 0;font-weight:650;letter-spacing:.5px}
#collectorRoot .badge{font-size:12px;border:1px solid var(--line);padding:6px 11px;border-radius:20px;background:#fff}
#collectorRoot .intro{margin:4px 0 20px;color:var(--muted)}
#collectorRoot .card{background:var(--paper);border:1px solid var(--line);border-radius:15px;box-shadow:0 2px 4px #25352c03}
#collectorRoot .source{padding:20px 22px;margin-bottom:20px}
#collectorRoot .cardtitle{display:flex;gap:10px;align-items:center;font-weight:bold;margin-bottom:14px}
#collectorRoot .step{font-size:11px;display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:var(--soft);color:var(--green)}
#collectorRoot .inputrow{display:flex;gap:10px}
#collectorRoot input[type=url],#collectorRoot input[type=text],#collectorRoot input[type=number],#collectorRoot select{border:1px solid #d9e2d7;background:#fbfcfa;border-radius:8px;padding:11px 12px;color:var(--ink);min-width:0}
#collectorRoot input[type=url]{flex:1}
#collectorRoot input:focus{border-color:var(--green)}
#collectorRoot .primary{background:var(--green);border-color:var(--green);color:#fff}
#collectorRoot .primary:hover{background:#1b513c;color:#fff;border-color:#1b513c}
#collectorRoot .hintrow{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px;font-size:12px;color:var(--muted)}
#collectorRoot .linkbtn{border:0;background:none;padding:2px;color:var(--green);font-size:12px}
#collectorRoot .linkbtn:hover{background:none;text-decoration:underline}
#collectorRoot .importbar{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);margin-top:17px;padding-top:15px;font-size:12px;color:var(--muted)}
#collectorRoot .importbar select{padding:6px 8px;max-width:130px;font-size:12px}
#collectorRoot .importbar button{font-size:12px;padding:6px 10px}
#collectorRoot .progressbox{margin-top:14px;display:none;background:var(--soft);border-radius:9px;padding:11px 14px}
#collectorRoot .progressbox.show{display:block}
#collectorRoot .progresshead{display:flex;justify-content:space-between;gap:15px;font-size:12px}
#collectorRoot .bar{height:5px;border-radius:5px;background:#d6e4d6;overflow:hidden;margin-top:9px}
#collectorRoot .bar>i{display:block;background:var(--green);height:100%;width:0;transition:width .2s}
#collectorRoot .bar.busy>i{width:35%;animation:move 1.3s infinite ease-in-out}
@keyframes move{from{transform:translateX(-100%)}to{transform:translateX(350%)}}
#collectorRoot .workspace{display:grid;grid-template-columns:minmax(280px, .94fr) minmax(340px,1.16fr);gap:20px}
#collectorRoot .catalog{overflow:hidden;display:flex;flex-direction:column;height:514px}
#collectorRoot .bookheader{padding:20px 20px 16px;border-bottom:1px solid var(--line)}
#collectorRoot .bookheading{display:flex;gap:12px;align-items:flex-start}
#collectorRoot .bookicon{width:38px;height:46px;background:#eff3e8;border-radius:4px 8px 8px 4px;border-left:4px solid #a6b897;display:grid;place-items:center;font-family:serif;font-size:19px;flex-shrink:0}
#collectorRoot .bookheading h2{font-size:17px;line-height:1.45;margin:0 0 3px;overflow-wrap:anywhere}
#collectorRoot .bookheading p{margin:0;font-size:11px;color:var(--muted)}
#collectorRoot .stats{display:flex;gap:18px;margin-top:15px;font-size:11px;color:var(--muted)}
#collectorRoot .stats b{font-size:17px;color:var(--ink);margin-right:4px}
#collectorRoot .tools{padding:12px 16px;display:flex;gap:8px;align-items:center;border-bottom:1px solid var(--line)}
#collectorRoot .tools input{font-size:12px;padding:7px 9px;width:100%}
#collectorRoot .chapterlist{overflow:auto;flex:1;min-height:80px}
#collectorRoot .chapter{display:flex;gap:9px;align-items:center;padding:11px 17px;border-bottom:1px solid #f0f3ee}
#collectorRoot .chapter.current{background:#f0f6ef}
#collectorRoot .chapter input{accent-color:var(--green);width:15px;height:15px;flex-shrink:0}
#collectorRoot .chapter button{border:0;background:none;padding:0;text-align:left;flex:1;min-width:0}
#collectorRoot .chapter strong{display:block;font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#collectorRoot .chapter span{font-size:10px;color:var(--muted)}
#collectorRoot .selectionbar{padding:10px 16px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted)}
#collectorRoot .selectionbar button{font-size:11px;padding:3px 6px}
#collectorRoot .preview{height:514px;display:flex;flex-direction:column;overflow:hidden}
#collectorRoot .previewtop{display:flex;justify-content:space-between;align-items:center;padding:16px 22px;border-bottom:1px solid var(--line)}
#collectorRoot .previewtop strong{font-size:13px}
#collectorRoot .previewtop span{font-size:10px;color:var(--muted);letter-spacing:1px}
#collectorRoot .reader{padding:22px 30px;overflow:auto;flex:1;background:#fffefa}
#collectorRoot .reader h3{font:600 20px/1.6 "Songti SC",SimSun,serif;margin:0 0 18px}
#collectorRoot .reader .reader-paragraph{text-indent:2em;white-space:pre-wrap;overflow-wrap:anywhere;font:15px/2.05 "Songti SC",SimSun,serif;margin:0;color:#455148}
#collectorRoot .empty{height:100%;min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;color:var(--muted)}
#collectorRoot .empty .emptyicon{font:38px Georgia;color:#9caf99;margin-bottom:14px}
#collectorRoot .empty strong{color:var(--ink);font-size:15px;font-weight:500}
#collectorRoot .empty p{font-size:12px;max-width:270px}
#collectorRoot .exportbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:20px;padding:16px 21px}
#collectorRoot .exportbar strong{display:block;font-size:13px}
#collectorRoot .exportbar p{font-size:11px;color:var(--muted);margin:3px 0 0}
#collectorRoot .exportactions{display:flex;gap:9px}
#collectorRoot .foot{font-size:11px;color:var(--muted);display:flex;justify-content:space-between;gap:20px;margin-top:16px}
#collectorRoot .message{display:none;padding:11px 14px;border-radius:8px;margin-top:13px;font-size:12px;background:#f8eee8;color:#8b4e2a;white-space:pre-wrap}
#collectorRoot .message.show{display:block}
#collectorRoot .message.good{background:var(--soft);color:var(--green)}
#collectorRoot .toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);padding:11px 20px;border-radius:10px;background:#243d30;color:#fff;font-size:13px;box-shadow:0 4px 18px #0002;z-index:10;display:none}
#collectorRoot .toast.show{display:block}
#collectorRoot .video-cover{width:64px;height:86px;min-width:64px;border:1px solid #eee1b4;border-radius:8px;overflow:hidden;padding:0;background:#fff4ce;position:relative;display:grid;place-items:center;color:#a8831d}#collectorRoot .video-cover img{width:100%;height:100%;object-fit:cover}#collectorRoot .video-cover span{position:absolute;font-size:24px}#collectorRoot .video-catalog-identity{display:flex;gap:16px;align-items:center}#collectorRoot .video-catalog-actions{white-space:nowrap}#collectorRoot .video-catalog-actions button+button{margin-left:8px}#collectorRoot .video-preview-dialog{width:min(960px,94vw);max-height:92vh;padding:22px;border:1px solid #e8dbae;border-radius:16px;background:#fffdf6}#collectorRoot .video-preview-dialog::backdrop{background:#000a}#collectorRoot .video-preview-head{display:flex;justify-content:space-between;gap:16px;align-items:center}#collectorRoot .video-preview-head h2{margin:0}#collectorRoot .video-preview-selector{display:flex;align-items:center;gap:12px;margin:14px 0}#collectorRoot .video-preview-selector select{width:180px}#collectorRoot #videoPreviewPlayer{display:block;width:100%;height:min(65vh,620px);background:#111;border-radius:10px}#collectorRoot #videoPreviewStatus{font-size:13px;line-height:1.8;color:#756847}
#collectorRoot .muted{color:var(--muted)}
#collectorRoot .danger{color:var(--red)}
#collectorRoot .hide{display:none!important}
#collectorRoot dialog{border:1px solid var(--line);border-radius:14px;max-width:520px;padding:25px;color:var(--ink);box-shadow:0 10px 80px #0002}
#collectorRoot dialog::backdrop{background:#1b322d44}
#collectorRoot dialog h2{font-size:20px;margin-top:0}
#collectorRoot dialog p,#collectorRoot dialog li{font-size:13px}
#collectorRoot dialog button{float:right;margin-top:12px}
#collectorRoot .range{display:flex;align-items:center;gap:6px;font-size:11px}
#collectorRoot .range input{width:52px;padding:4px;font-size:11px}
#collectorRoot .range button{font-size:11px;padding:3px 5px}
#collectorRoot .shelfempty{font-size:12px;color:var(--muted);padding:10px 4px}
@media(max-width:1100px){#collectorRoot .main{padding:25px}
#collectorRoot .app{grid-template-columns:200px minmax(0,1fr)}
#collectorRoot .workspace{grid-template-columns:minmax(235px,.9fr) minmax(290px,1.1fr)}
#collectorRoot .range{display:none}
#collectorRoot .reader{padding:22px}
#collectorRoot .sidebar{padding:26px 16px}}
@media(max-width:800px){#collectorRoot .app{display:block}
#collectorRoot .sidebar{padding:15px 20px;display:block;border-right:0;border-bottom:1px solid var(--line)}
#collectorRoot .brand{display:inline-flex}
#collectorRoot .brand strong{font-size:19px}
#collectorRoot .brandmark{width:35px;height:37px}
#collectorRoot .navbutton,#collectorRoot .sidebarfoot,#collectorRoot .sidelabel{display:none}
#collectorRoot .library{display:flex;max-height:none;margin-top:12px;overflow:auto}
#collectorRoot .library button{width:150px;flex-shrink:0;padding:4px 9px}
#collectorRoot .shelfempty{display:none}
#collectorRoot .main{padding:20px}
#collectorRoot .workspace{grid-template-columns:1fr}
#collectorRoot .catalog{height:420px}
#collectorRoot .preview{height:400px}
#collectorRoot .topbar{margin-bottom:15px}
#collectorRoot h1{font-size:24px}
#collectorRoot .source{padding:17px}
#collectorRoot .inputrow{flex-wrap:wrap}
#collectorRoot .inputrow input{flex-basis:100%}
#collectorRoot .exportbar{align-items:flex-start;flex-direction:column}
#collectorRoot .exportactions{width:100%}
#collectorRoot .exportactions button{flex:1}
#collectorRoot .foot{display:block}
#collectorRoot .range{display:flex}}
#collectorRoot .scan-card{padding:22px;margin-bottom:18px}
#collectorRoot .source-tag{font-size:11px;font-weight:400;color:var(--green);margin-left:auto;background:var(--soft);padding:3px 9px;border-radius:20px}
#collectorRoot .scan-options{display:flex;gap:16px;align-items:center;margin-top:16px;flex-wrap:wrap}
#collectorRoot .scan-options label{display:flex;gap:7px;align-items:center;font-size:12px;color:var(--muted)}
#collectorRoot .scan-options input[type=text]{width:215px}
#collectorRoot .scan-options select,#collectorRoot .scan-options input[type=text]{padding:7px 9px;font-size:12px}
#collectorRoot .scan-options input[type=checkbox]{accent-color:var(--green)}
#collectorRoot .scan-note{font-size:11px;color:var(--muted);margin:12px 0 0}
#collectorRoot .bulk-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:18px 0}
#collectorRoot .bulk-stats>div{padding:15px 20px;background:#fff;border:1px solid var(--line);border-radius:11px;display:flex;justify-content:space-between;align-items:center}
#collectorRoot .bulk-stats span{font-size:12px;color:var(--muted)}
#collectorRoot .bulk-stats b{font-size:25px;font-weight:600}
#collectorRoot .discovery{overflow:hidden}
#collectorRoot .discovery-head{display:flex;justify-content:space-between;align-items:center;padding:19px 22px;gap:15px}
#collectorRoot .discovery h2{font-size:17px;margin:0}
#collectorRoot .discovery p{font-size:11px;color:var(--muted);margin:4px 0 0}
#collectorRoot .table-switch{display:flex;background:#f3f5f1;padding:3px;border-radius:9px}
#collectorRoot .table-switch button{padding:5px 9px;font-size:11px;border:0;background:none}
#collectorRoot .table-switch button.active{background:#fff;color:var(--green);box-shadow:0 1px 4px #0001}
#collectorRoot .table-tools{display:flex;justify-content:space-between;gap:15px;align-items:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px 20px}
#collectorRoot .table-tools button{font-size:11px;padding:5px 8px}
#collectorRoot .table-tools input{padding:6px 10px;font-size:12px;width:280px}
#collectorRoot .book-table-wrap{max-height:430px;overflow:auto;min-height:210px}
#collectorRoot .book-table{border-collapse:collapse;width:100%;font-size:12px}
#collectorRoot .book-table th{position:sticky;top:0;background:#fafbf8;text-align:left;color:var(--muted);font-size:10px;letter-spacing:.5px;font-weight:500;padding:10px 18px;z-index:1}
#collectorRoot .book-table td{padding:12px 18px;border-top:1px solid #f0f2ed;vertical-align:middle}
#collectorRoot .book-table tbody tr:hover{background:#fbfcf9}
#collectorRoot .book-table input[type=checkbox]{accent-color:var(--green);width:15px;height:15px}
#collectorRoot .pick-col{width:62px}
#collectorRoot .book-title{font-weight:500;max-width:480px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
#collectorRoot .book-author{font-size:10px;color:var(--muted);max-width:450px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;margin-top:3px}
#collectorRoot .status-chip{display:inline-block;font-size:10px;padding:3px 8px;border-radius:12px;background:#f0f2ed;color:var(--muted);white-space:nowrap}
#collectorRoot .status-chip.done{color:#2d714d;background:#e8f2e7}
#collectorRoot .status-chip.failed{color:#a3483d;background:#faebe8}
#collectorRoot .status-chip.downloading{color:#896328;background:#faf1db}
#collectorRoot .book-table td>button{font-size:11px;padding:5px 9px;white-space:nowrap}
#collectorRoot .table-footer{display:flex;justify-content:space-between;padding:10px 20px;border-top:1px solid var(--line);font-size:11px;color:var(--muted);align-items:center}
#collectorRoot .table-footer button{padding:4px 9px;font-size:11px}
#collectorRoot .table-footer #pageLabel{margin:0 10px}
#collectorRoot .batch-actions{padding:16px 20px;display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px}
#collectorRoot .batch-actions strong{font-size:13px}
#collectorRoot .batch-actions p{margin:4px 0 0;color:var(--muted);font-size:11px}
#collectorRoot .batch-buttons{display:flex;gap:8px;flex-shrink:0}
#collectorRoot .batch-buttons button{font-size:12px}
#collectorRoot .zip-card{display:flex;align-items:center;gap:18px;padding:20px;margin-top:18px;background:#edf3e9;border-color:#dce6d6}
#collectorRoot .zip-icon{height:51px;width:43px;display:grid;place-items:center;border:1px solid #b9c9af;background:#f9fbf7;border-radius:5px 10px 5px 5px;font-size:11px;font-weight:bold;letter-spacing:1px;color:var(--green);flex-shrink:0}
#collectorRoot .zip-copy{flex:1}
#collectorRoot .zip-copy strong{font-size:14px}
#collectorRoot .zip-copy p{font-size:11px;color:var(--muted);margin:4px 0 0}
#collectorRoot .zip-buttons{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end;max-width:330px}
#collectorRoot .zip-buttons button{font-size:12px}
#collectorRoot .zip-buttons a{font-size:12px;background:#fff;padding:8px 14px;border-radius:8px;text-decoration:none;border:1px solid #b9cdbb}
#collectorRoot .storage-note{font-size:11px;color:var(--muted);padding-left:3px;overflow-wrap:anywhere}
#collectorRoot .mode-nav{display:grid;gap:6px}
#collectorRoot .mode-nav .navbutton{background:transparent;color:var(--muted)}
#collectorRoot .mode-nav .navbutton.active{background:var(--soft);color:var(--green)}
#collectorRoot .back-to-scan{margin:0 0 15px;font-size:12px}
#collectorRoot .app .main{margin:0 auto}
#collectorRoot .book-error{font-size:10px;color:var(--red);max-width:220px;display:block}
#collectorRoot .whole-export{background:#edf3e9;border-color:#c3d7bb}
#collectorRoot .batch-actions #queueSummary{display:block}
#collectorRoot .book-table td:last-child{width:90px}
@media(max-width:1150px){#collectorRoot .batch-actions{align-items:flex-start;flex-direction:column}
#collectorRoot .book-title{max-width:330px}
#collectorRoot .zip-card{flex-wrap:wrap}
#collectorRoot .zip-buttons{max-width:none}
#collectorRoot .bulk-stats>div{padding:12px}
#collectorRoot .bulk-stats b{font-size:22px}
#collectorRoot .source-tag{font-size:10px}}
@media(max-width:800px){#collectorRoot .mode-nav{display:flex;margin-top:15px}
#collectorRoot .mode-nav .navbutton{display:block;width:auto}
#collectorRoot .scan-card{padding:17px}
#collectorRoot .source-tag{display:none}
#collectorRoot .bulk-stats{gap:7px}
#collectorRoot .bulk-stats>div{padding:10px;display:block}
#collectorRoot .bulk-stats b{display:block;margin-top:4px}
#collectorRoot .table-tools{flex-wrap:wrap}
#collectorRoot .table-tools input{width:100%}
#collectorRoot .book-table td,#collectorRoot .book-table th{padding:10px}
#collectorRoot .language-col{display:none}
#collectorRoot .book-table td:nth-child(3){display:none}
#collectorRoot .book-title{max-width:190px}
#collectorRoot .book-author{max-width:180px}
#collectorRoot .discovery-head{padding:15px;flex-wrap:wrap}
#collectorRoot .zip-buttons{width:100%;justify-content:flex-start}
#collectorRoot .batch-buttons{flex-wrap:wrap}
#collectorRoot .scan-options{gap:10px}
#collectorRoot .scan-options input[type=text]{width:160px}
#collectorRoot .book-table-wrap{max-height:420px}}
#collectorRoot .rules-panel{margin:18px 0 4px;border-top:1px solid var(--line);padding-top:14px}
#collectorRoot .rules-panel summary,#collectorRoot .analysis-panel summary{cursor:pointer;font-weight:600;font-size:14px}
#collectorRoot .rules-panel summary span{font-weight:400;color:var(--muted);margin-left:10px;font-size:12px}
#collectorRoot .rule-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 18px}
#collectorRoot .rule-grid label{font-size:12px;color:var(--muted);display:flex;flex-direction:column;gap:5px}
#collectorRoot .rule-grid input{width:100%;font-size:13px;padding:9px 10px}
#collectorRoot .rule-actions{display:flex;justify-content:space-between;align-items:center;margin-top:15px;gap:12px;font-size:12px;color:var(--muted)}
#collectorRoot .analysis-panel{margin-top:18px;background:#f2f7f4;border:1px solid var(--line);border-radius:10px;padding:16px}
#collectorRoot .analysis-panel p,#collectorRoot .analysis-panel li{font-size:12px}
#collectorRoot .analysis-panel pre{font-family:inherit;font-size:13px;line-height:1.8;white-space:pre-wrap;word-break:break-word;max-height:230px;overflow:auto;background:white;border-radius:6px;padding:12px;color:var(--ink)}
#collectorRoot .analysis-panel ul{max-height:150px;overflow:auto;padding-left:20px}
#collectorRoot .book-coverage{display:block;font-size:11px;color:var(--muted);margin-top:3px}
#collectorRoot .scan-note{overflow-wrap:anywhere}
@media(max-width:1000px){#collectorRoot .rule-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){#collectorRoot .rule-grid{grid-template-columns:1fr}
#collectorRoot .rules-panel summary span{display:block;margin-left:0}
#collectorRoot .inputrow{flex-wrap:wrap}
#collectorRoot .inputrow input{flex-basis:100%}}
#collectorRoot .rule-grid input{border:1px solid var(--line);border-radius:8px;background:#fbfcfa;color:var(--ink);box-sizing:border-box}
#collectorRoot .rule-grid input:focus{outline:2px solid #9fbdad;outline-offset:1px}
#collectorRoot .discovery-head>div:first-child{min-width:0;flex:1}
#collectorRoot .table-switch{flex-shrink:0}
#collectorRoot .table-switch button{white-space:nowrap}
#collectorRoot .range-grid{margin-top:14px}
#collectorRoot .wide-rule{grid-column:span 2}
#collectorRoot .rule-grid textarea,#collectorRoot .rule-grid select{width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:8px;background:#fbfcfa;color:var(--ink);font:inherit;padding:9px 10px}
#collectorRoot .rule-grid textarea{resize:vertical}
#collectorRoot .batch-buttons{flex-wrap:wrap;justify-content:flex-end}
#collectorRoot .scan-options select{max-width:190px}
#collectorRoot #scanWarningList{overflow-wrap:anywhere}
@media(max-width:650px){#collectorRoot .wide-rule{grid-column:auto}}
#collectorRoot .range-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
#collectorRoot .range-grid .wide-rule{grid-column:1/-1}
#collectorRoot .range-grid .range-half{grid-column:span 2}
@media(max-width:800px){#collectorRoot .range-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){#collectorRoot .range-grid{grid-template-columns:1fr}
#collectorRoot .range-grid .range-half{grid-column:auto}}
#collectorRoot .book-identity-inner{display:flex;align-items:center;gap:13px;min-width:0}
#collectorRoot .book-copy{min-width:0}
#collectorRoot .book-cover{position:relative;display:block;flex:0 0 52px;width:52px;height:72px;padding:0;border:1px solid #e5dec7;border-radius:4px;background:#f7f3e6;overflow:hidden;box-shadow:0 2px 3px #342d0010}
#collectorRoot .book-cover img{display:block;width:100%;height:100%;object-fit:contain;background:#faf9f5}
#collectorRoot .book-cover .cover-loading{opacity:0}
#collectorRoot .cover-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:10px;color:#9b8b61;line-height:1.5}
#collectorRoot .book-cover:disabled{opacity:1;cursor:default}
#collectorRoot .book-cover.cover-ready:hover{border-color:#bd8e00;box-shadow:0 2px 7px #8f6c0029;transform:translateY(-1px)}
#collectorRoot .discovery .cover-hint{color:#95866a;margin-top:5px}
#collectorRoot .cover-dialog{width:min(680px,calc(100vw - 32px));max-width:680px;max-height:calc(100vh - 32px);padding:0;overflow:hidden}
#collectorRoot .cover-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 20px;border-bottom:1px solid var(--line)}
#collectorRoot .cover-dialog-head strong{font-size:16px;overflow-wrap:anywhere}
#collectorRoot .cover-dialog-head button{float:none;margin:0;flex-shrink:0;font-size:12px;padding:6px 11px}
#collectorRoot .cover-dialog-body{padding:18px 20px;background:#f8f7f2;min-height:180px;text-align:center;overflow:auto;max-height:calc(100vh - 112px)}
#collectorRoot .cover-dialog-body img{display:block;width:100%;height:auto;max-height:calc(100vh - 196px);object-fit:contain;margin:auto}
#collectorRoot .cover-dialog-body p{font-size:12px;color:var(--muted);margin:14px 0 0}
#collectorRoot .cover-dialog::backdrop{background:#17160fc4}
@media(max-width:800px){#collectorRoot .book-identity-inner{gap:9px}
#collectorRoot .book-cover{width:44px;height:62px;flex-basis:44px}
#collectorRoot .book-copy .book-title{max-width:170px}
#collectorRoot .book-copy .book-author{max-width:160px}
#collectorRoot .cover-dialog-head{padding:12px 14px}
#collectorRoot .cover-dialog-body{padding:12px}}
#collectorRoot .access-panel{margin-top:16px;padding:16px;background:#fffaf0;border:1px solid #ecdab4;border-radius:10px;font-size:12px}
#collectorRoot .access-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}
#collectorRoot .access-heading>strong{font-size:14px}
#collectorRoot .access-heading button{padding:6px 10px;font-size:12px}
#collectorRoot .access-details{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
#collectorRoot .access-details>div{padding:12px;border:1px solid var(--line);background:#fff;border-radius:8px;min-width:0}
#collectorRoot .access-details strong{font-size:12px}
#collectorRoot .access-details p{margin:6px 0;line-height:1.6;overflow-wrap:anywhere}
#collectorRoot .access-details .access-detail-note{color:var(--muted);font-size:11px}
#collectorRoot .access-details a{display:inline-block;margin-top:4px;color:#815900;font-size:11px;text-underline-offset:3px}
#collectorRoot .access-suggestion{margin:12px 0 0;line-height:1.7;font-weight:500;overflow-wrap:anywhere}
#collectorRoot .access-cache{color:var(--muted);font-size:11px;line-height:1.7;margin:8px 0 0}
#collectorRoot .access-ok{background:#fffdf4;border-color:#e6ddbf}
@media(max-width:650px){#collectorRoot .access-details{grid-template-columns:1fr}
#collectorRoot .access-panel{padding:12px}}
#collectorRoot .access-recovery{margin-top:14px;padding-top:13px;border-top:1px solid #e5d8b9}
#collectorRoot .access-recovery-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
#collectorRoot .access-recovery-actions a{font-size:12px;text-underline-offset:3px}
#collectorRoot .access-recovery-actions button{font-size:12px;padding:7px 11px}
#collectorRoot .access-recovery p{font-size:11px;color:var(--muted);line-height:1.8;margin:10px 0 0}
#collectorRoot .app{grid-template-columns:256px minmax(0,1fr)}
#collectorRoot .sidebar{background:#080807;border-right:0;color:#f4f1e7;padding:30px 20px;gap:30px}
#collectorRoot .brand{gap:10px;padding:0 3px}
#collectorRoot .brandmark{width:46px;height:46px;object-fit:contain;background:#080807;border-radius:10px;flex-shrink:0}
#collectorRoot .brand strong{font-size:18px;letter-spacing:.8px;white-space:nowrap;color:#fff}
#collectorRoot .brand small{font-size:9px;letter-spacing:1.3px;color:#929084;margin-top:3px}
#collectorRoot .sidelabel{font-size:10px;letter-spacing:1.5px;color:#8d8b7e;margin:0 12px 12px}
#collectorRoot .mode-nav{gap:7px}
#collectorRoot .mode-nav .navbutton{display:flex;align-items:center;gap:12px;padding:12px 13px;color:#c3c0b5;border:1px solid transparent;border-radius:10px;font-size:13px;font-weight:500;line-height:1.5}
#collectorRoot .mode-nav .navbutton:hover{background:#23231f;color:#fff;border-color:#34332b}
#collectorRoot .mode-nav .navbutton.active{background:var(--accent);border-color:var(--accent);color:#211b00;box-shadow:0 3px 10px #0002}
#collectorRoot .navglyph{display:inline-flex;justify-content:center;align-items:center;width:22px;font-size:23px;font-weight:400;line-height:1}
#collectorRoot .navbutton small{display:block;font-size:10px;font-weight:400;color:#8e8c7f;margin-top:3px}
#collectorRoot .navbutton.active small{color:#705800}
#collectorRoot .library{max-height:38vh}
#collectorRoot .library button{color:#d2cfc2;padding:9px 12px;border-radius:8px}
#collectorRoot .library button:hover{background:#20201c;border-color:#333229}
#collectorRoot .library button.active{background:#28271e;border-color:#49442e}
#collectorRoot .library small,#collectorRoot .shelfempty{color:#999586}
#collectorRoot .library button.active strong{color:#ffe27a}
#collectorRoot .shelfempty{font-size:11px;padding:6px 12px}
#collectorRoot .sidebarfoot{border-color:#2e2c22;color:#999586;padding:20px 12px 0;font-size:11px}
#collectorRoot .sidebarfoot .local-label{color:#d6d2c1;margin-bottom:5px}
#collectorRoot .sidebarfoot .dot{background:var(--accent)}
#collectorRoot .sidebarfoot .linkbtn{display:block;color:#d7c275;margin-top:14px;font-size:11px}
#collectorRoot .sidebarfoot .linkbtn:hover{color:#ffdb60}
#collectorRoot .main{padding:34px 38px 24px}
#collectorRoot .topbar{margin-bottom:10px}
#collectorRoot .eyebrow{font-size:10px;font-weight:600;letter-spacing:1.6px;color:#9a8b64}
#collectorRoot h1{font-size:29px;font-weight:650;margin-top:7px;letter-spacing:.3px}
#collectorRoot .intro{font-size:13px;margin:0 0 27px}
#collectorRoot .badge{padding:7px 12px;font-size:11px;border-color:#e6e0d1;background:#fffdf6;white-space:nowrap}
#collectorRoot .badge .dot{background:#c29a00}
#collectorRoot .card{box-shadow:0 2px 6px #35290004;border-radius:13px}
#collectorRoot .cardtitle{font-size:14px}
#collectorRoot .step{background:#fff0ae;color:#785700;font-weight:700}
#collectorRoot .primary{background:var(--accent);border-color:var(--accent);color:#282000;font-weight:600}
#collectorRoot .primary:hover{background:#edb600;border-color:#edb600;color:#211b00}
#collectorRoot button:hover{border-color:#d3c595}
#collectorRoot button:focus-visible,#collectorRoot a:focus-visible{outline:2px solid #a77e00}
#collectorRoot button:disabled{opacity:.46}
#collectorRoot input[type=url],#collectorRoot input[type=text],#collectorRoot input[type=number],#collectorRoot select,#collectorRoot .rule-grid input,#collectorRoot .rule-grid textarea,#collectorRoot .rule-grid select{border-color:#e2dfd4;background:#fcfbf8}
#collectorRoot input:focus,#collectorRoot .rule-grid input:focus{border-color:#b88c00;outline-color:#eacb66}
#collectorRoot .source-tag{color:#816000;background:#fff6d6}
#collectorRoot .bar{background:#e7dfc4}
#collectorRoot .bar>i{background:var(--accent)}
#collectorRoot .bookicon{background:#fff5d0;border-color:#e1bd52;color:#765b18}
#collectorRoot .chapter{border-bottom-color:#f1eee7}
#collectorRoot .chapter.current{background:#fff8df}
#collectorRoot .reader{background:#fffefa}
#collectorRoot .reader .reader-paragraph{color:#49463c}
#collectorRoot .empty .emptyicon{color:#b5a568}
#collectorRoot .message.good{color:#715500;background:#fff6d6}
#collectorRoot .toast{background:#25241e}
#collectorRoot .whole-export{background:#fff6d6;border-color:#e9d79b}
#collectorRoot .foot{margin-top:22px;font-size:10px;line-height:1.7}
#collectorRoot .foot>span:last-child{white-space:nowrap}
#collectorRoot dialog::backdrop{background:#17160f66}
#collectorRoot .table-switch{background:#f3f1e9}
#collectorRoot .table-switch button.active{color:#745600}
#collectorRoot .book-table th{background:#faf8f1}
#collectorRoot .book-table td{border-top-color:#efede5}
#collectorRoot .book-table tbody tr:hover{background:#fffdf5}
#collectorRoot .status-chip{background:#f1f0ea}
#collectorRoot .status-chip.downloading{background:#fff1be;color:#785900}
#collectorRoot .zip-card{background:#fffae9;border-color:#ecdfb0}
#collectorRoot .zip-icon{background:#fffef7;border-color:#dfca7c;color:#8b6800}
#collectorRoot .zip-buttons a{border-color:#e2cf8c}
#collectorRoot .analysis-panel{background:#faf7eb}
#collectorRoot .bulk-stats>div{border-radius:11px}
#collectorRoot .bulk-stats b{font-variant-numeric:tabular-nums}
@media(max-width:1100px){#collectorRoot .app{grid-template-columns:230px minmax(0,1fr)}
#collectorRoot .sidebar{padding:26px 14px}
#collectorRoot .brand strong{font-size:16px}
#collectorRoot .brandmark{width:42px;height:42px}
#collectorRoot .main{padding:28px 25px}
#collectorRoot .mode-nav .navbutton{padding:11px 12px}}
@media(max-width:800px){#collectorRoot .app{display:block}
#collectorRoot .sidebar{padding:18px 20px;display:block}
#collectorRoot .brand strong{font-size:18px}
#collectorRoot .brandmark{width:40px;height:40px}
#collectorRoot .navgroup>.sidelabel,#collectorRoot .recent-books{display:none}
#collectorRoot .mode-nav{display:flex;gap:8px;margin-top:18px;overflow:auto;padding-bottom:2px}
#collectorRoot .mode-nav .navbutton{display:flex;flex:1;min-width:130px;width:auto;padding:9px 11px;gap:8px;white-space:nowrap}
#collectorRoot .navbutton small{font-size:9px}
#collectorRoot .navglyph{font-size:20px;width:18px}
#collectorRoot .main{padding:24px 20px}
#collectorRoot .topbar{margin-bottom:9px}
#collectorRoot h1{font-size:24px}
#collectorRoot .intro{margin-bottom:21px}
#collectorRoot .sidebarfoot{display:none}
#collectorRoot .foot{display:flex;flex-direction:column;gap:5px}}
@media(max-width:480px){#collectorRoot .mode-nav{gap:5px}
#collectorRoot .mode-nav .navbutton{min-width:0;justify-content:center;padding:9px 8px;font-size:12px}
#collectorRoot .navbutton small{display:none}
#collectorRoot .navglyph{font-size:18px;width:16px}
#collectorRoot .main{padding:20px 14px}
#collectorRoot .eyebrow{font-size:8px;letter-spacing:1px}
#collectorRoot .badge{font-size:10px;padding:5px 8px}
#collectorRoot .topbar{gap:8px}
#collectorRoot h1{font-size:22px}}
#collectorRoot .video-source{padding:24px}
#collectorRoot .video-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px}
#collectorRoot .video-kicker{font-size:10px;letter-spacing:1.6px;font-weight:600;color:#9c8034}
#collectorRoot .video-section-head h2{font-size:23px;font-weight:650;margin:4px 0 3px}
#collectorRoot .video-section-head p{font-size:12px;color:var(--muted);margin:0}
#collectorRoot .video-module-tag{font-size:10px;color:#816000;background:#fff5ce;border:1px solid #f2e3b1;border-radius:20px;padding:5px 10px;white-space:nowrap}
#collectorRoot .video-input-label{display:block;font-size:12px;font-weight:600;margin-bottom:9px}
#collectorRoot .video-input-label span{font-weight:400;font-size:11px;color:var(--muted);margin-left:10px}
#collectorRoot #videoUrls{display:block;width:100%;min-height:128px;max-height:360px;resize:vertical;border:1px solid #dedbcf;border-radius:9px;padding:13px 15px;background:#fcfbf8;color:var(--ink);font:13px/1.8 "Microsoft YaHei","PingFang SC",sans-serif;outline-offset:2px}
#collectorRoot #videoUrls:focus{border-color:#bc9100;outline:2px solid #ffe59c}
#collectorRoot #videoUrls::placeholder{color:#aaa694}
#collectorRoot .video-input-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:14px}
#collectorRoot .video-input-actions p{font-size:11px;line-height:1.8;color:var(--muted);margin:0}
#collectorRoot .video-input-actions button{min-width:126px;flex-shrink:0}
#collectorRoot .video-results{overflow:hidden}
#collectorRoot .video-list-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:21px 22px}
#collectorRoot .video-list-head h2{font-size:17px;margin:0}
#collectorRoot .video-list-head p{font-size:11px;color:var(--muted);margin:4px 0 0}
#collectorRoot .video-list-head>button{font-size:11px;padding:6px 10px}
#collectorRoot .video-list-tools{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:11px 20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
#collectorRoot .video-list-tools>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
#collectorRoot .video-list-tools button{font-size:11px;padding:5px 8px}
#collectorRoot #videoSelectionCount{font-size:11px;color:var(--muted);margin-left:5px}
#collectorRoot #videoSearch{width:255px;font-size:12px;padding:7px 10px}
#collectorRoot .video-table-wrap{overflow:auto;min-height:250px;max-height:490px}
#collectorRoot .video-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}
#collectorRoot .video-table th{text-align:left;position:sticky;top:0;background:#faf8f1;color:var(--muted);font-size:10px;letter-spacing:.4px;font-weight:500;padding:11px 18px;z-index:1}
#collectorRoot .video-table td{padding:15px 18px;border-top:1px solid #efede5;vertical-align:middle}
#collectorRoot .video-table tbody tr:hover{background:#fffdf5}
#collectorRoot .video-check-col{width:62px}
#collectorRoot .video-duration-col{width:90px}
#collectorRoot .video-state-col{width:225px}
#collectorRoot .video-table input[type=checkbox]{accent-color:#997300;width:15px;height:15px}
#collectorRoot .video-title-cell{display:flex;align-items:flex-start;gap:11px;min-width:0}
#collectorRoot .video-symbol{display:grid;place-items:center;width:35px;height:40px;border:1px solid #eadfbf;border-radius:7px;background:#fffae9;color:#b89a49;font-size:21px;flex-shrink:0}
#collectorRoot .video-title-copy{min-width:0;flex:1}
#collectorRoot .video-title-copy strong{display:block;font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#collectorRoot .video-source-url{display:block;font-size:10px;color:var(--muted);margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none}
#collectorRoot .video-source-url:hover{color:#816000;text-decoration:underline}
#collectorRoot .video-file{display:block;font-size:10px;color:#82785f;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#collectorRoot .video-status-message{display:block;font-size:10px;color:var(--muted);margin-top:5px;overflow-wrap:anywhere;max-height:70px;overflow:auto}
#collectorRoot .video-status-message.failed{color:var(--red)}
#collectorRoot .video-row-progress{height:4px;background:#eee8d7;border-radius:4px;margin-top:8px;overflow:hidden;width:100%;max-width:160px}
#collectorRoot .video-row-progress i{display:block;height:100%;background:var(--accent);border-radius:4px}
#collectorRoot .video-percent{font-variant-numeric:tabular-nums;font-size:10px;margin-left:7px;color:#8c722c}
#collectorRoot .video-table .empty{min-height:230px}
#collectorRoot .video-table .empty .emptyicon{font-size:36px;margin-bottom:10px}
#collectorRoot .video-download-bar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:18px;padding:18px 20px}
#collectorRoot .video-quality{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#collectorRoot .video-quality label{font-size:12px;font-weight:500}
#collectorRoot .video-quality select{padding:8px 10px;font-size:12px}
#collectorRoot .video-quality small{font-size:10px;color:var(--muted)}
#collectorRoot .video-download-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
#collectorRoot .video-download-actions button{font-size:12px;white-space:nowrap}
#collectorRoot .video-storage{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 3px 4px}
#collectorRoot .video-storage strong{font-size:12px;font-weight:500}
#collectorRoot .video-storage p{font-size:11px;color:var(--muted);margin:4px 0 0;overflow-wrap:anywhere}
#collectorRoot .video-storage button{font-size:11px;white-space:nowrap;background:transparent}
#collectorRoot #videoPageLabel{margin:0 10px}
#collectorRoot #videoNotice{max-height:180px;overflow:auto}
#collectorRoot #videoProgressText{overflow-wrap:anywhere}
@media(max-width:1150px){#collectorRoot .video-quality small{flex-basis:100%}
#collectorRoot .video-state-col{width:180px}
#collectorRoot .video-duration-col{width:75px}
#collectorRoot .video-download-bar{align-items:flex-start}
#collectorRoot .video-table td,#collectorRoot .video-table th{padding:13px 12px}}
@media(max-width:800px){#collectorRoot .video-source{padding:20px}
#collectorRoot .video-section-head{margin-bottom:18px}
#collectorRoot .video-section-head h2{font-size:21px}
#collectorRoot .video-module-tag{font-size:9px}
#collectorRoot .video-list-head{padding:18px}
#collectorRoot .video-list-tools{padding:11px 16px;flex-wrap:wrap}
#collectorRoot #videoSearch{width:100%}
#collectorRoot .video-duration-col,#collectorRoot .video-table td:nth-child(3){display:none}
#collectorRoot .video-state-col{width:155px}
#collectorRoot .video-check-col{width:43px}
#collectorRoot .video-symbol{display:none}
#collectorRoot .video-table td,#collectorRoot .video-table th{padding:12px 10px}
#collectorRoot .video-download-bar{flex-direction:column}
#collectorRoot .video-quality small{flex-basis:auto}
#collectorRoot .video-download-actions{justify-content:flex-start;width:100%}
#collectorRoot .video-download-actions .primary{flex:1}
#collectorRoot .video-storage{align-items:flex-start}
#collectorRoot .video-table-wrap{max-height:430px}}
@media(max-width:480px){#collectorRoot .video-source{padding:17px}
#collectorRoot .video-section-head{gap:9px}
#collectorRoot .video-module-tag{padding:4px 7px}
#collectorRoot .video-input-label span{display:block;margin:4px 0 0}
#collectorRoot .video-input-actions{align-items:flex-start;flex-direction:column;gap:12px}
#collectorRoot .video-input-actions button{width:100%}
#collectorRoot .video-state-col{width:125px}
#collectorRoot .video-status-message{font-size:9px;max-height:54px}
#collectorRoot .video-source-url{font-size:9px}
#collectorRoot .video-download-bar{padding:16px}
#collectorRoot .video-quality small{flex-basis:100%}
#collectorRoot .video-storage{flex-direction:column;gap:12px}
#collectorRoot .video-storage button{width:100%}
#collectorRoot .video-list-tools>div{gap:5px}
#collectorRoot #videoSelectionCount{margin-left:0}}
#collectorRoot .video-discover-form{display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(115px,.8fr) minmax(145px,1fr) auto;align-items:end;gap:12px}
#collectorRoot .video-discover-form label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:var(--muted)}
#collectorRoot .video-discover-form input,#collectorRoot .video-discover-form select{width:100%;font-size:12px;padding:10px 11px;height:41px}
#collectorRoot .video-discover-form button{height:41px;white-space:nowrap}
#collectorRoot .video-source-note{font-size:10px;color:var(--muted);margin:13px 0 0}
#collectorRoot .video-direct-input{border-top:1px solid var(--line);padding-top:16px;margin-top:18px}
#collectorRoot .video-direct-input summary{font-size:12px;font-weight:500;cursor:pointer}
#collectorRoot .video-direct-input summary span{font-size:10px;font-weight:400;color:var(--muted);margin-left:10px}
#collectorRoot .video-direct-input[open] summary{margin-bottom:17px}
#collectorRoot .video-direct-input #videoUrls{min-height:105px}
#collectorRoot .video-catalog{margin-top:18px;overflow:hidden}
#collectorRoot .video-catalog-step{font-size:10px;color:#9c8034;white-space:nowrap}
#collectorRoot .video-catalog-table-wrap{overflow:auto;max-height:420px}
#collectorRoot .video-catalog-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}
#collectorRoot .video-catalog-table th{position:sticky;top:0;background:#faf8f1;text-align:left;font-weight:500;color:var(--muted);font-size:10px;padding:11px 20px}
#collectorRoot .video-catalog-table td{padding:13px 20px;border-top:1px solid #efede5}
#collectorRoot .video-catalog-table tbody tr:hover{background:#fffdf5}
#collectorRoot .video-catalog-title{display:block;font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#collectorRoot .video-catalog-tags{display:block;margin-top:4px;color:var(--muted);font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#collectorRoot .video-episodes-col{width:130px}
#collectorRoot .video-catalog-action-col{width:120px}
#collectorRoot .video-load-detail{font-size:11px;padding:6px 11px;border-color:#e2cd86;background:#fff8df}
#collectorRoot .video-catalog .empty{min-height:140px}
#collectorRoot #videoCatalogPage{margin:0 10px}
#collectorRoot .video-quality-label{font-size:12px}
#collectorRoot .video-quality strong{font-size:12px;font-weight:500;border:1px solid #eadba7;background:#fff8df;color:#866500;border-radius:7px;padding:7px 11px}
#collectorRoot .video-advanced{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px;padding:18px 20px;background:#f9f8f4}
#collectorRoot .video-advanced strong{font-size:12px;font-weight:500}
#collectorRoot .video-advanced p{font-size:11px;color:var(--muted);margin:5px 0 0}
#collectorRoot .video-advanced button{font-size:11px;white-space:nowrap;flex-shrink:0}
@media(max-width:1150px){#collectorRoot .video-discover-form{grid-template-columns:1.2fr 1fr auto}
#collectorRoot .video-base-field{grid-column:1/-1}
#collectorRoot .video-catalog-step{display:none}}
@media(max-width:650px){#collectorRoot .video-discover-form{grid-template-columns:1fr 1fr}
#collectorRoot .video-discover-form button{grid-column:1/-1}
#collectorRoot .video-direct-input summary span{display:block;margin:5px 0 0}
#collectorRoot .video-catalog-table td,#collectorRoot .video-catalog-table th{padding:12px}
#collectorRoot .video-episodes-col{width:80px}
#collectorRoot .video-catalog-action-col{width:94px}
#collectorRoot .video-catalog .table-footer{gap:10px;flex-wrap:wrap}
#collectorRoot .video-advanced{flex-direction:column;align-items:flex-start}
#collectorRoot .video-advanced button{width:100%}}
#collectorRoot .browser-bridge{margin:0 0 20px;border-color:#e8d79c;overflow:hidden}
#collectorRoot .browser-bridge summary{display:flex;align-items:center;gap:14px;padding:17px 21px;cursor:pointer;list-style:none}
#collectorRoot .browser-bridge summary::-webkit-details-marker{display:none}
#collectorRoot .browser-bridge summary:before{content:'▸';color:var(--accent-ink)}
#collectorRoot .browser-bridge[open] summary:before{content:'▾'}
#collectorRoot .bridge-label{font-size:15px;font-weight:700}
#collectorRoot .bridge-summary{color:var(--muted);flex:1}
#collectorRoot .bridge-badge{background:var(--soft);border-radius:20px;padding:3px 10px;font-size:12px;color:var(--accent-ink)}
#collectorRoot .bridge-body{padding:0 22px 17px;border-top:1px solid var(--line)}
#collectorRoot .bridge-body p{margin:13px 0}
#collectorRoot .bridge-steps{padding-left:22px;color:var(--muted);line-height:1.9}
#collectorRoot .bridge-actions{display:flex;gap:9px;flex-wrap:wrap}
#collectorRoot .bridge-pairing{display:flex;align-items:center;gap:20px;flex-wrap:wrap;background:var(--soft);padding:11px 14px;border-radius:9px;margin-top:14px}
#collectorRoot .bridge-pairing[hidden]{display:none}
#collectorRoot .bridge-pairing strong{font-size:20px;font-variant-numeric:tabular-nums;letter-spacing:2px;margin-left:5px}
#collectorRoot .bridge-status{font-size:13px;color:var(--accent-ink)}
#collectorRoot .bridge-status.bridge-error{color:var(--red)}
#collectorRoot .bridge-note{font-size:12px;color:var(--muted)}
@media(max-width:650px){#collectorRoot .browser-bridge summary{flex-wrap:wrap;gap:8px}
#collectorRoot .bridge-summary{order:4;flex-basis:100%;margin-left:18px}
#collectorRoot .bridge-badge{margin-left:auto}
#collectorRoot .bridge-body{padding:0 16px 13px}
#collectorRoot .bridge-pairing{gap:10px}}
#collectorRoot .pool-panel{margin:24px 0;padding:24px}
#collectorRoot .pool-panel summary{cursor:pointer;display:flex;gap:16px;align-items:center}
#collectorRoot .pool-panel summary strong{font-size:20px}
#collectorRoot .pool-panel summary span,#collectorRoot .pool-note{font-size:13px;color:var(--muted,#777)}
#collectorRoot .pool-panel>p{line-height:1.75}
#collectorRoot .pool-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
#collectorRoot .pool-grid label{display:flex;flex-direction:column;gap:7px;font-size:14px}
#collectorRoot .pool-grid input,#collectorRoot .pool-grid select,#collectorRoot .pool-grid textarea{box-sizing:border-box;width:100%;padding:12px;border:1px solid #e5dfd2;border-radius:9px;background:#fffdf9;color:#24211b;font:inherit}
#collectorRoot .pool-grid input:disabled{background:#f4f2eb}
#collectorRoot .pool-wide{grid-column:1/-1}
#collectorRoot .pool-inline{display:flex;align-items:flex-end}
#collectorRoot .pool-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:18px 0}
#collectorRoot .pool-actions a,#collectorRoot .pool-inline button{padding:10px 14px}
#collectorRoot .pool-target{background:#fff8d7;padding:18px;border-radius:10px;margin-top:20px;overflow-wrap:anywhere}
#collectorRoot .pool-target li{margin:5px 0}
#collectorRoot .pool-table{max-height:330px;overflow:auto;margin:18px 0;border:1px solid #ece7dc;border-radius:8px}
#collectorRoot .pool-table table{border-collapse:collapse;width:100%;font-size:14px}
#collectorRoot .pool-table td,#collectorRoot .pool-table th{text-align:left;padding:11px;border-bottom:1px solid #eee8dc}
#collectorRoot .pool-table th{background:#faf7ee;position:sticky;top:0}
#collectorRoot .pool-slice{display:flex;align-items:center;gap:8px}
#collectorRoot .pool-panel progress{width:100%;accent-color:#ffbf00}
#collectorRoot .pool-panel [hidden]{display:none!important}
#collectorRoot #poolStatus{padding:13px;border-radius:8px;background:#f6f3ea;line-height:1.6}
#collectorRoot .pool-error{color:#9b3e17!important;background:#faeee7!important}
@media(max-width:700px){#collectorRoot .pool-grid{grid-template-columns:1fr}
#collectorRoot .pool-wide{grid-column:auto}
#collectorRoot .pool-panel summary{align-items:flex-start;flex-direction:column;gap:6px}}
#collectorRoot .workspace-feature .feature-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:10px 0 22px}
#collectorRoot .feature-heading h2{font-size:28px;margin:8px 0}
#collectorRoot .feature-heading p{color:var(--muted);margin:0;line-height:1.7}
#collectorRoot .feature-tag{font-size:12px;font-weight:500;color:#896700;background:#fff4c7;border-radius:20px;padding:7px 12px;white-space:nowrap}
#collectorRoot .workspace-feature details.pool-panel>summary{margin-bottom:20px}
#collectorRoot .workspace-feature .cardtitle{margin-bottom:22px;gap:12px;display:flex;align-items:center}
#collectorRoot .upload-editor{display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px}
#collectorRoot .upload-drafts{max-height:440px;overflow:auto;border:1px solid #eee8dc;border-radius:12px;background:#fcfbf7}
#collectorRoot .draft-item{display:block;width:100%;text-align:left;border:0!important;border-radius:0!important;background:transparent;padding:15px!important;border-bottom:1px solid #eee8dc!important;white-space:normal}
#collectorRoot .draft-item strong,#collectorRoot .draft-item small{display:block;overflow-wrap:anywhere}
#collectorRoot .draft-item small{font-size:12px;color:var(--muted);line-height:1.5;margin-top:6px}
#collectorRoot .draft-item.active{background:#fff3ba!important;box-shadow:inset 3px 0 #ffc400}
#collectorRoot .upload-preview-head{display:flex;gap:24px;margin-top:26px;padding-top:24px;border-top:1px solid #e8e3d8;align-items:stretch}
#collectorRoot .upload-preview-head .pool-target{margin:0;flex:1;min-width:0}
#collectorRoot .cover-zoom{padding:8px!important;width:140px;flex-shrink:0;display:flex;flex-direction:column;align-items:center;background:#faf7ed;gap:8px}
#collectorRoot .cover-zoom img{width:120px;height:166px;object-fit:contain;background:white}
#collectorRoot .cover-zoom span{font-size:12px;color:#8e7042}
#collectorRoot .pool-table td{vertical-align:top;overflow-wrap:anywhere}
#collectorRoot .pool-table td small{display:block;max-width:420px;color:var(--muted);font-size:12px;line-height:1.6;margin-top:5px}
#collectorRoot .queue-state{display:inline-block;font-size:12px;padding:4px 8px;border-radius:8px;background:#f3f0e7;white-space:nowrap}
#collectorRoot .queue-state.failed{color:#a44022;background:#fbece5}
#collectorRoot .queue-state.uploaded,#collectorRoot .queue-state.submitted{color:#266745;background:#e7f3e9}
#collectorRoot .queue-state.uploading{color:#977000;background:#fff2bd}
#collectorRoot .empty-note{padding:24px!important;color:var(--muted);line-height:1.7}
#collectorRoot .library-picker{border:1px solid #e7e0cf;border-radius:12px;padding:16px}
#collectorRoot .library-picker>div:last-child{max-height:260px;overflow:auto;display:grid;grid-template-columns:1fr 1fr;gap:10px}
#collectorRoot .library-picker label{display:flex;align-items:center;gap:10px;padding:10px;background:#fbfaf6;border-radius:8px}
#collectorRoot .workspace-status{position:sticky;bottom:0;background:#fffdf6ef;backdrop-filter:blur(8px);border:1px solid #e9dfc7;border-radius:12px;padding:8px 16px;box-shadow:0 6px 18px #34250b0a;z-index:3;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
#collectorRoot .workspace-status p{flex:1;min-width:200px;margin:8px 0;padding:8px!important;font-size:14px}
#collectorRoot .workspace-status progress{width:100%;height:6px;accent-color:#ffc400}
#collectorRoot .workspace-feature [hidden]{display:none!important}
#collectorRoot .upload-cover-dialog{max-width:80vw;max-height:90vh;padding:28px;border:1px solid #eee2c2;border-radius:16px;background:#fffcf2}
#collectorRoot .upload-cover-dialog img{display:block;max-width:70vw;max-height:80vh;object-fit:contain}
#collectorRoot .upload-cover-dialog::backdrop{background:#16130fbf}
#collectorRoot .upload-cover-dialog .dialog-close{position:absolute;right:5px;top:5px;padding:4px 10px}
#collectorRoot .tg-proxy{margin-top:20px}
#collectorRoot .tg-proxy summary{cursor:pointer;margin-bottom:16px}
#collectorRoot .tg-table{max-height:520px}
#collectorRoot .tg-table details p{white-space:pre-wrap;max-width:600px;max-height:200px;overflow:auto;font-size:13px;line-height:1.7}
#collectorRoot .tg-table summary{font-size:12px;color:#947200;cursor:pointer;margin-top:8px}
#collectorRoot #tgStatus.pool-error{padding:10px;border-radius:8px}
#collectorRoot .workspace-feature .pool-panel{margin:0 0 22px}
@media(max-width:1000px){#collectorRoot .upload-editor{grid-template-columns:1fr}
#collectorRoot .upload-drafts{max-height:200px;display:grid;grid-template-columns:1fr 1fr}
#collectorRoot .feature-heading{align-items:flex-start!important}
#collectorRoot .feature-heading>.feature-tag{display:none}}
@media(max-width:650px){#collectorRoot .upload-preview-head{gap:12px;flex-direction:column}
#collectorRoot .library-picker>div:last-child{grid-template-columns:1fr}
#collectorRoot .upload-drafts{grid-template-columns:1fr}}
@media(min-width:981px){#collectorRoot .sidebar{position:sticky;top:0;height:100vh;box-sizing:border-box;overflow-y:auto;align-self:start;gap:22px}
#collectorRoot .sidebar .recent-books{min-height:60px;overflow:auto;flex:1}
#collectorRoot .sidebar .navbutton{padding:11px 12px}
#collectorRoot .sidebar .sidebarfoot{margin-top:auto}}
#collectorRoot .tg-network{ margin:20px 0; padding:20px; border:1px solid #e8dfcd; border-radius:14px; background:#fffcf4; }
#collectorRoot .tg-network h3{ margin:0 0 10px; font-size:18px; }
#collectorRoot .tg-network [hidden]{ display:none !important; }
#collectorRoot .tg-network-result{ margin:16px 0 4px; padding:16px 18px; background:#f0f8ef; border:1px solid #bdd3b7; border-radius:12px; overflow-wrap:anywhere; }
#collectorRoot .tg-network-result.failed{ background:#fff1e8; border-color:#edc3a5; }
#collectorRoot .tg-network-result p{ margin:8px 0; }
#collectorRoot .tg-network-result ul{ margin:8px 0; padding-left:24px; }
#collectorRoot .tg-network-result small{ color:#766b56; }
#collectorRoot .tg-login-state{ margin:12px 0 20px; padding:14px 18px; background:#fff6d4; border:1px solid #ead38a; border-radius:12px; line-height:1.6; }
#collectorRoot .tg-login-state p{ margin:6px 0 0; color:#776544; font-size:13px; }
#collectorRoot #tgAccount .pool-inline{ flex-wrap:wrap; gap:8px; }
#collectorRoot .upload-type-tabs{display:flex;gap:8px;margin:0 0 22px;padding:6px;background:#eae6dc;border-radius:14px;width:fit-content}
#collectorRoot .upload-type-tabs button{border:0;background:transparent;padding:12px 24px}
#collectorRoot .upload-type-tabs button.active{background:#171713;color:#ffc400;box-shadow:0 2px 6px #21180020}
#collectorRoot .manga-import-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}
#collectorRoot .manga-import-grid button{text-align:left;padding:18px;white-space:normal;background:#fffcf2;border:1px solid #e8dfc6;border-radius:12px}
#collectorRoot .manga-import-grid strong,#collectorRoot .manga-import-grid small{display:block}
#collectorRoot .manga-import-grid small{margin-top:8px;color:#837864;line-height:1.6;font-weight:400}
#collectorRoot .upload-format{margin:14px 0;font-size:13px}
#collectorRoot .upload-format summary{cursor:pointer;color:#806200;font-size:14px}
#collectorRoot .upload-format pre{background:#f7f5ef;border:1px solid #e8e3d8;border-radius:10px;padding:16px;max-height:260px;overflow:auto;font:13px/1.8 Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:1100px){#collectorRoot .manga-import-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#collectorRoot .manga-import-grid{grid-template-columns:1fr}
#collectorRoot .upload-type-tabs button{padding:10px 16px}}
#collectorRoot .manga-rules{border-top:1px solid #ebe4d4;margin-top:22px;padding-top:20px}
#collectorRoot .manga-rules summary{cursor:pointer;font-weight:600;margin-bottom:18px}
#collectorRoot .manga-rules summary small{color:#8c7a57;font-weight:400;margin-left:12px}
#collectorRoot .manga-rules .pool-slice{margin-top:18px}
#collectorRoot .manga-range{width:85px;padding:9px;border:1px solid #e5dfd2;border-radius:8px;background:#fffdf9}
#collectorRoot .manga-table{max-height:520px}
#collectorRoot .manga-preview-images{display:flex;gap:18px;align-items:flex-start;flex-wrap:wrap}
#collectorRoot .manga-preview-images button{width:180px;padding:10px;display:flex;flex-direction:column;gap:8px;align-items:center}
#collectorRoot .manga-preview-images img{max-width:160px;height:220px;object-fit:contain}
#collectorRoot .manga-preview-images small{line-height:1.6;color:#8c7a57}
#collectorRoot #mangaCoverStatus{font-size:13px;line-height:1.6}
#collectorRoot #mangaImageDialog{overflow:auto}
#collectorRoot #mangaImageLarge{max-height:none;max-width:70vw}
#collectorRoot #mangaStatus{line-height:1.6}
#collectorRoot #mangaRows td:nth-child(3){max-width:420px}
#collectorRoot .manga-access{margin:20px 0 4px;padding:20px;border:1px solid #dfc676;border-radius:12px;background:#fff8df;line-height:1.7;overflow-wrap:anywhere}
#collectorRoot .manga-access.ready{border-color:#b8d0b1;background:#f1f8ee}
#collectorRoot .manga-access strong{font-size:18px}
#collectorRoot .manga-access p{margin:10px 0}
#collectorRoot .manga-access li{margin:8px 0}
#collectorRoot .manga-access .pool-actions{margin-bottom:0}
#collectorRoot #mangaAccessMeta{font-size:13px;color:#7b7057}
#collectorRoot .manga-browser-steps{padding-left:24px;line-height:1.8;color:#4c463a}
#collectorRoot .manga-browser-steps li+li{margin-top:7px}
#collectorRoot .manga-extension-entry .pool-actions{flex-wrap:wrap}
#collectorRoot{--accent:#ffc30d;--green:#ffc30d;--accent-ink:#171717;--soft:#fff7d6;--ink:#202020;--muted:#777;--bg:#f5f5f2;--line:#e6e3d8}
#collectorRoot .primary{background:#ffc30d;border-color:#ffc30d;color:#111}
#collectorRoot .primary:hover{background:#e6ac00;color:#111}
#collectorRoot .hide{display:none!important}
#collectorRoot .collector-shelf{margin-bottom:16px;background:white;padding:14px;border:1px solid #e6e3d8;border-radius:10px}
#collectorRoot .feature-heading{margin-top:0}
#collectorRoot .stats{display:flex;grid-template-columns:none;margin:12px 0 0}
#collectorRoot .card{box-shadow:none}
#collectorRoot .toast{display:none;position:fixed;bottom:25px;left:50%;background:#171717;color:white;padding:12px 20px;z-index:100}
#collectorRoot .toast.show{display:block}

#collectorRoot .novel-folder-card{padding:24px;margin:18px 0}#collectorRoot .novel-folder-controls{display:flex;gap:20px;flex-wrap:wrap;margin:12px 0}#collectorRoot .novel-folder-controls label{display:grid;gap:7px;min-width:240px}#collectorRoot .novel-folder-card .actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}#collectorRoot #novelSaveState{margin:14px 0 0;line-height:1.8}#collectorRoot .novel-zip-fallback{margin:18px 0}#collectorRoot .novel-zip-fallback summary{cursor:pointer;color:#746534;padding:10px}
#collectorRoot .novel-preview-dialog{width:min(980px,94vw);max-height:90vh;padding:24px;border:1px solid #e5dec7;border-radius:16px;background:#fffcf4;color:#191919}#collectorRoot .novel-preview-dialog::backdrop{background:#0008}#collectorRoot .novel-preview-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}#collectorRoot .novel-preview-head h2{margin:0}#collectorRoot .novel-preview-controls{display:flex;gap:12px;position:sticky;top:0;background:#fffcf4;padding:12px 0}#collectorRoot .novel-preview-controls select{flex:1;min-width:0}#collectorRoot #novelPreviewBody{white-space:pre-wrap;word-break:break-word;font:17px/2 system-ui,sans-serif;padding:16px 24px;max-height:58vh;overflow:auto;background:#fffef9;border-radius:10px}#collectorRoot #novelPreviewStatus{font-size:13px;color:#786d52}

/* 1.9.5 并行上传数量 */
.pool-workers{display:inline-flex;align-items:center;gap:8px;font-size:13px;margin-left:12px}
.pool-workers select{width:auto;min-width:150px;padding:6px 10px}

/* portal.css */
:root{--bg:#f5f4ef;--paper:#fff;--ink:#292a24;--muted:#7e8073;--line:#e4e5da;--gold:#ffc30d;--olive:#181818;--soft:#fff6d2;--red:#ab4b40}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;color:var(--ink);font:14px/1.65 "Microsoft YaHei","PingFang SC",sans-serif;background:var(--bg)}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer;background:white;border:1px solid var(--line);border-radius:8px;padding:9px 15px;color:var(--ink)}button:hover{border-color:var(--olive);background:var(--soft)}button:disabled{opacity:.5;cursor:default}.primary{background:var(--olive);color:#fff;border-color:var(--olive)}.primary:hover{background:#515a32;color:white}.text-button{border:0;background:transparent;color:var(--olive);padding:4px}input,select{border:1px solid var(--line);padding:11px 12px;border-radius:8px;background:#fcfcfa;min-width:0;width:100%;color:var(--ink)}input:focus,select:focus{border-color:var(--olive)}label{display:grid;gap:6px;font-size:13px}form{display:grid;gap:16px}h1,h2,p{margin-top:0}h1{font-size:28px;letter-spacing:.5px;margin-bottom:0}h2{font-size:20px;font-weight:600;margin-bottom:10px}.eyebrow{display:block;font-size:10px;letter-spacing:2px;color:var(--muted);margin-bottom:8px}.muted{color:var(--muted);font-size:13px}.error{color:var(--red);min-height:24px}.bean{display:grid;place-items:center;width:45px;height:45px;border-radius:14px 14px 14px 4px;background:var(--gold);font-size:23px;color:#4c492d}.auth-screen{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-card{width:min(400px,85%);margin:auto}.auth-card>.bean{margin-bottom:40px}.auth-card h1{font-size:26px;margin-bottom:10px}.auth-card>p{color:var(--muted);margin-bottom:25px}.auth-card .primary{margin-top:8px;padding:13px}.auth-card small{color:var(--muted)}.auth-story{background:#e9ecde;display:flex;flex-direction:column;justify-content:center;padding:12%;position:relative;overflow:hidden}.auth-story:after{content:'豆';font-size:370px;position:absolute;right:-45px;bottom:-75px;color:#dce1ca;z-index:0}.auth-story>*{position:relative;z-index:1}.auth-story h2{font-size:44px;line-height:1.4;margin:22px 0;color:#4d5938}.auth-story p{line-height:2;color:#727b60}.story-lines{display:flex;flex-direction:column;gap:15px;margin-top:45px;font-size:12px;color:#7a846b;letter-spacing:1px}.shell{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100vh}.shell aside{position:sticky;top:0;height:100vh;background:#fcfcf7;border-right:1px solid var(--line);padding:30px 22px;display:flex;flex-direction:column}.brand{display:flex;gap:13px;text-decoration:none;color:var(--ink);align-items:center}.brand strong{font-size:25px;letter-spacing:4px;display:block}.brand small{font-size:10px;color:var(--muted);display:block}.nav-label{font-size:11px;letter-spacing:1px;color:var(--muted);margin:45px 0 12px}nav{display:grid;gap:7px}nav button{display:flex;align-items:center;gap:12px;text-align:left;border:0;background:transparent;padding:12px}nav button.active{background:var(--soft);color:var(--olive);font-weight:bold}nav b{margin-left:auto;font-size:10px;background:var(--gold);border-radius:10px;padding:0 6px}.aside-bottom{margin-top:auto;font-size:11px;color:var(--muted);padding-top:20px}.aside-bottom p{font-size:13px;margin:13px 0 4px}.local-dot{display:inline-block;width:6px;height:6px;border-radius:100%;background:#8a9b58}.shell main{width:100%;max-width:1580px;padding:34px 38px;margin:0 auto}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px;gap:20px}.header-actions{display:flex;align-items:center;gap:16px}.welcome{background:#e9eddd;border:1px solid #dee4ce;border-radius:15px;padding:32px 36px;display:flex;justify-content:space-between;align-items:center}.welcome h2{font-size:30px;color:#4d5837;margin:8px 0}.welcome p{color:#7c846b;margin-bottom:22px}.welcome-mark{position:relative;font-size:100px;color:#aab88e;margin:0 40px;line-height:1}.welcome-mark i{font-style:normal;position:absolute;right:-20px;top:-14px;background:#e3bc43;border-radius:50%;width:38px;height:38px;font-size:26px;color:#fff;display:grid;place-items:center}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:22px 0 34px}.stats article{display:grid;gap:5px;padding:22px;background:white;border:1px solid var(--line);border-radius:12px}.stats article>span{font-size:12px;color:var(--muted)}.stats strong{font-size:34px;font-weight:500;line-height:1.4}.stats small{font-size:11px;color:#a0a290}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:28px 0 15px}.section-head h2{margin:0}.section-head p{margin:6px 0 0}.panel{background:white;border:1px solid var(--line);border-radius:12px;padding:25px}.record-table{width:100%;border-collapse:collapse;background:white;border:1px solid var(--line);border-radius:10px;font-size:13px}.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:10px}.record-table{border:0}.record-table th{text-align:left;background:#fafbf7;font-size:11px;font-weight:400;color:var(--muted);padding:13px 18px;white-space:nowrap}.record-table td{border-top:1px solid #eeefe7;padding:15px 18px;vertical-align:middle}.record-table td:first-child{min-width:190px;max-width:430px;overflow-wrap:anywhere}.record-title{display:block;color:var(--ink);font-weight:500}.record-source{display:block;font-size:10px;color:var(--muted);max-width:430px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px}.tag{font-size:10px;padding:3px 8px;border-radius:5px;display:inline-block;background:#f0f2e8;color:#737d55;white-space:nowrap}.tag.video{color:#8a7554;background:#f6f0e5}.tag.manga{color:#797499;background:#f1eff6}.empty-state{border:1px dashed #dcded1;border-radius:12px;padding:40px 20px;text-align:center;color:var(--muted);background:#fafbf7}.empty-state strong{color:var(--ink);display:block;margin-bottom:8px;font-weight:500}.empty-state p{font-size:12px;margin:0}.service-note{padding:20px 22px;border-left:3px solid #c0cba7;background:#eff1e7;margin:25px 0;display:grid;gap:4px;font-size:12px}.service-note strong{font-weight:500}.service-note span{color:var(--muted)}.searchbar{display:flex;gap:10px;margin-bottom:15px}.search-label{flex:1}.searchbar select{width:150px}.searchbar button{min-width:80px}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.pagination{display:flex;gap:20px;align-items:center;justify-content:center;margin-top:22px}.folder-box{padding:18px;background:var(--bg);border-radius:9px;margin:25px 0 20px}.folder-box label{color:var(--muted);margin-bottom:8px}.folder-box input{flex:1;min-width:150px;font-size:12px;background:white}.manga-hero ol{color:var(--muted);font-size:13px;padding-left:22px;line-height:2}.watch-card,.alert-card{background:white;border:1px solid var(--line);border-radius:10px;padding:18px 22px;margin-bottom:10px;display:flex;justify-content:space-between;gap:20px}.watch-card h3,.alert-card h3{font-size:14px;margin:0 0 5px}.watch-card p,.alert-card p{margin:4px 0;font-size:12px;color:var(--muted)}.watch-card select{width:auto;padding:6px;font-size:12px}.alert-card.unread{border-left:3px solid var(--gold)}.watch-error{color:var(--red)!important}.account-form{display:grid;grid-template-columns:1fr 1fr 130px auto;align-items:end}.narrow{max-width:500px}.narrow form{margin-top:20px}.workspace-help{font-size:12px;color:var(--muted)}iframe{border:1px solid var(--line);border-radius:12px;width:100%;height:calc(100vh - 215px);min-height:650px;background:white}footer{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px;color:#a2a491;margin-top:40px;padding-top:18px;border-top:1px solid var(--line)}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);border-radius:9px;box-shadow:0 6px 30px #0002;background:#343b29;color:white;padding:13px 22px;max-width:90vw;z-index:100;white-space:pre-wrap}.toast.fail{background:#854b42}dialog{border:1px solid var(--line);border-radius:14px;max-width:450px;width:90%;padding:28px}dialog::backdrop{background:#292d2055}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:1100px){.shell{grid-template-columns:185px 1fr}.shell main{padding:28px 23px}.shell aside{padding:25px 15px}.header-actions>span{display:none}.account-form{grid-template-columns:1fr 1fr}.welcome-mark{margin-right:0}.record-table td,.record-table th{padding:13px 12px}}@media(max-width:750px){.auth-screen{display:block;padding:60px 0}.auth-story{display:none}.auth-card{margin:auto}.shell{display:block}.shell aside{position:relative;height:auto;padding:18px;border-bottom:1px solid var(--line)}.brand .bean{width:35px;height:35px;font-size:19px}.brand strong{font-size:20px}.nav-label{display:none}nav{display:flex;overflow-x:auto;gap:4px;margin-top:20px}nav button{white-space:nowrap;font-size:12px;padding:9px}.aside-bottom{display:none}.shell main{padding:22px 15px}h1{font-size:23px}.eyebrow{font-size:8px}.welcome{padding:25px}.welcome h2{font-size:24px}.welcome-mark{display:none}.stats{gap:8px}.stats article{padding:14px}.stats strong{font-size:25px}.stats small{display:none}.section-head{align-items:flex-start;flex-wrap:wrap}.searchbar{flex-wrap:wrap}.search-label{flex-basis:100%}.searchbar select{flex:1}.watch-card{flex-direction:column}.account-form{grid-template-columns:1fr}.header-actions button{font-size:11px}iframe{height:900px}.record-source{max-width:220px}footer{font-size:8px}}

.record-dialog{max-width:850px;width:94%;max-height:90vh}.record-dialog .section-head{margin-top:0}.record-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;font:15px/2 SimSun,serif;max-height:50vh;overflow:auto;padding:18px;background:#fafbf6;border-radius:8px}.record-title.text-button{padding:0;text-align:left;color:var(--ink)}

/* Unified yellow / black identity */
:root{--gold:#ffc30d;--olive:#181818;--soft:#fff7db}
.product-logo{display:block;width:48px;height:48px;border-radius:14px;object-fit:cover}.auth-logo{width:66px;height:66px;margin-bottom:35px}
.auth-story{background:#161616}.auth-story h2{color:#ffc30d}.auth-story p,.auth-story .eyebrow,.story-lines{color:#b9b5a6}.auth-story:after{color:#26241b}
.shell>aside{background:#141414;color:#f6f4e9;border-right-color:#292929}.brand{color:#fff}.brand small,.nav-label,.aside-bottom{color:#96958c}.local-dot{background:#ffc30d}
.shell>aside nav>button,.shell>aside .subnav button{color:#c3c2bb}.shell>aside nav button:hover{background:#242424;color:#ffc30d}.shell>aside nav button.active{background:#ffc30d;color:#151515}.shell>aside .text-button{color:#ffc30d}
nav .nav-category{border-top:1px solid #2b2b28;margin-top:8px;padding-top:10px}nav summary{display:flex;justify-content:space-between;cursor:pointer;list-style:none;font-size:12px;letter-spacing:1px;padding:9px 12px;color:#f5f3e8}nav summary::-webkit-details-marker{display:none}nav details:not([open]) summary span{transform:rotate(-90deg)}nav .subnav{display:grid;gap:3px;padding:4px 0 6px 13px}nav .subnav button{font-size:12px;padding:10px 12px;border-radius:6px}.subnav button:before{content:'·';opacity:.5;margin-right:4px}
.primary{background:#ffc30d;border-color:#ffc30d;color:#131313;font-weight:600}.primary:hover{background:#e8ae00;border-color:#e8ae00;color:#111}.welcome{background:#fff1b8;border-color:#ecdb96}.welcome h2{color:#161616}.welcome p,.welcome .eyebrow{color:#8b7640}.welcome-mark{color:#b89529}.welcome-mark i{background:#171717;color:#ffc30d}.service-note{border-left-color:#ffc30d;background:#fff8df}.tag{background:#fff4cb;color:#8a6900}.toast{background:#171717;border-left:3px solid #ffc30d}
.nav-category .active{color:#111!important}.text-button{color:#77705a}.header-actions button:hover{background:#fff7d5}
textarea{font:inherit;border:1px solid var(--line);padding:12px;border-radius:8px;background:#fcfcfa;resize:vertical;min-width:0;width:100%;color:var(--ink)}
.manga-compose .section-head{margin-top:0}.manga-options{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:500px}.manga-options small{font-size:11px;color:var(--muted)}.folder-row{display:flex;gap:9px}.folder-row input{flex:1;font-size:12px}.folder-row button{white-space:nowrap}.task-card{background:white;border:1px solid var(--line);border-radius:12px;padding:20px;margin-bottom:12px}.task-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.task-heading h3{font-size:15px;margin:0 0 5px}.task-heading p{margin:4px 0}.task-card progress{width:100%;height:8px;accent-color:#ffc30d;margin:14px 0}.task-meta{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.task-albums{font-size:12px;line-height:2;margin-top:10px}.task-state{padding:3px 9px;background:#fff6d4;color:#896700;font-size:11px;border-radius:5px}.task-state.failed{background:#f7e4df;color:#a44838}.watch-fields{display:grid;grid-template-columns:2fr 1fr 1fr 80px;gap:15px}.watch-card input[type=number]{width:95px;padding:6px}.watch-card .chapter-links{margin:10px 0}.chapter-links{display:flex;gap:6px;flex-wrap:wrap}.chapter-links a{font-size:11px;padding:3px 8px;background:#fff6d5;border-radius:5px;color:#8b6a0b;text-decoration:none}.watch-card .actions{align-content:start;max-width:320px}.watch-source{display:block;color:#8e8b7e;font-size:10px;overflow-wrap:anywhere;max-width:620px}.watch-card details{margin-top:8px}.watch-card summary{cursor:pointer;font-size:12px;color:#89764d}
#collectorRoot{width:100%}#collectorRoot [id=mangaPanel]{display:none}#collectorRoot .library{max-height:180px}#collectorRoot .feature-tag{background:#fff7dc}
@media(max-width:1100px){.watch-fields{grid-template-columns:1fr 1fr}.folder-row{flex-wrap:wrap}.folder-row input{flex-basis:100%}.task-heading{flex-wrap:wrap}}@media(max-width:750px){nav{flex-wrap:wrap;overflow:visible}.nav-category{min-width:130px;flex:1}nav .subnav{padding-left:0}.shell>aside{padding:18px}.watch-fields{grid-template-columns:1fr 1fr}.manga-options{gap:10px}.task-heading{display:block}.task-heading .actions{margin-top:12px}nav>button{flex-grow:1}nav .nav-category{margin-top:0;padding-top:0}}

#collectorRoot input[type=checkbox]{width:15px;height:15px;padding:0;flex:0 0 15px}
#collectorRoot .scan-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;align-items:start}
#collectorRoot .scan-options label{display:flex;flex-direction:column;align-items:stretch;gap:6px;white-space:normal}
#collectorRoot .scan-options select,#collectorRoot .scan-options input[type=text],#collectorRoot .scan-options input[type=number]{width:100%;max-width:none}
#collectorRoot .scan-options label:has(input[type=checkbox]){flex-direction:row;align-items:center;align-self:end;min-height:35px}
.shell>aside{overflow-y:auto}
@media(max-width:750px){.shell>aside nav{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:6px}.shell>aside nav>button{align-self:start;height:auto;min-height:40px}.shell>aside nav .nav-category{grid-column:span 2}.shell>aside nav .subnav{grid-template-columns:1fr 1fr}.shell>aside nav .nav-category summary{padding:8px 12px}.shell>aside nav .nav-category[open]{margin-bottom:4px}.manga-options{grid-template-columns:1fr 1fr}}

.folder-dialog{max-width:850px;width:94%;padding:24px}.folder-dialog .section-head{margin-top:0}.folder-shortcuts{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.folder-shortcuts button{font-size:12px;padding:6px 11px}.folder-path{display:flex;gap:8px;align-items:center}.folder-path input{flex:1;font-size:12px}.folder-path button{white-space:nowrap}.folder-entries{display:grid;grid-template-columns:1fr 1fr;gap:5px;align-content:start;max-height:350px;min-height:220px;overflow:auto;margin-top:15px;padding:10px;background:#fafaf6;border:1px solid var(--line);border-radius:9px}.folder-entries button{text-align:left;background:transparent;border-color:transparent;padding:8px;overflow-wrap:anywhere;color:#5d5841}.folder-entries button:hover{background:#fff1bb}.folder-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px}.folder-bottom form{display:flex;gap:7px}.folder-bottom form input{max-width:160px}.folder-bottom button{white-space:nowrap}@media(max-width:750px){.folder-dialog{padding:16px}.folder-bottom{flex-direction:column;align-items:stretch}.folder-entries{grid-template-columns:1fr}.folder-path{flex-wrap:wrap}.folder-path input{flex-basis:100%;order:-1}}

#collectorRoot button[id$="OpenFolder"],#collectorRoot #videoAdvancedBtn{display:none!important} .task-heading a.button{display:inline-block;padding:9px 12px;background:#ffc30d;color:#111;border-radius:8px;text-decoration:none}

/* Operating dashboard */
.ops-intro{display:flex;justify-content:space-between;align-items:center;gap:25px;background:#191919;color:white;padding:30px 32px;border-radius:14px;border-top:4px solid #ffc30d;margin-bottom:22px}.ops-intro h2{font-size:27px;margin:7px 0 10px;color:#ffcd31}.ops-intro p{color:#bcb9ae;font-size:12px;margin:0}.ops-intro .eyebrow{color:#bcb9ae}.ops-freshness{display:grid;gap:4px;text-align:right;min-width:155px}.ops-freshness>span{font-size:11px;color:#bcb9ae}.ops-freshness strong{font-size:22px;letter-spacing:1px}.ops-freshness small{color:#e7c86d;font-size:11px}.ops-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:0 0 22px}.ops-filters label{min-width:150px;font-size:12px}.ops-filters label:first-child{flex:1;max-width:300px}.ops-shortcuts{display:flex;gap:7px}.ops-shortcuts button{padding:10px;font-size:12px}.ops-summary{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:14px}.ops-summary article{display:grid;gap:7px;background:white;border:1px solid var(--line);padding:20px;border-radius:10px;align-content:center}.ops-summary article>span,.ops-metric>span{font-size:12px;color:#78766b}.ops-summary strong{font-size:29px;line-height:1.5;font-variant-numeric:tabular-nums}.ops-summary small,.ops-metric small{font-size:11px;color:#868276}.ops-summary .ops-revenue{background:#ffcf36;border-color:#e9bb29}.ops-revenue>span,.ops-revenue small{color:#514516!important}.ops-day-label{display:flex;gap:12px;align-items:center;font-size:12px}.ops-day-label select{width:160px}.ops-daily{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:24px}.ops-metric{background:#fff;border:1px solid var(--line);border-radius:9px;padding:16px;display:grid;gap:6px}.ops-metric strong{font-size:24px;font-weight:600;font-variant-numeric:tabular-nums}.ops-metric.main-metric{border-top:3px solid #ffc30d}.ops-up{color:#2c795f!important}.ops-down{color:#b34d3e!important}.ops-chart-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.ops-chart{min-width:0;padding:19px 17px 10px}.ops-chart-head{display:flex;align-items:start;justify-content:space-between;gap:10px;margin:0 0 6px}.ops-chart-head h3{font-size:15px;margin:0;color:#24231e}.ops-chart-head p{font-size:10px;color:#8b8678;margin:5px 0}.ops-legend{display:flex;gap:9px;flex-wrap:wrap;justify-content:end;font-size:10px;color:#747166}.ops-legend span:before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--series);margin-right:4px}.ops-chart svg{width:100%;height:auto;display:block;overflow:visible}.ops-chart circle{cursor:pointer}.ops-chart circle:hover,.ops-chart circle:focus{r:5.5;stroke:#181818;stroke-width:2;outline:none}.ops-chart-empty{height:220px;display:grid;place-items:center;font-size:12px;color:#8b8678}.ops-table td{white-space:nowrap;font-variant-numeric:tabular-nums}.ops-table th{font-size:11px}.ops-table td:first-child{min-width:130px}.ops-table td,.ops-table th{padding:13px 15px}.ops-table td:not(:first-child),.ops-table th:not(:first-child){text-align:right}.ops-table .text-button{font-size:12px;padding:0}.ops-filters input[type=date]{min-height:42px}.ops-summary strong,.ops-daily strong{overflow-wrap:anywhere}
@media(max-width:1250px){.ops-daily{grid-template-columns:repeat(3,minmax(0,1fr))}.ops-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-legend{max-width:130px}.ops-summary strong{font-size:28px}}
@media(max-width:850px){.ops-chart-grid{grid-template-columns:1fr}.ops-intro{padding:23px}.ops-intro h2{font-size:23px}.ops-freshness{min-width:125px}.ops-freshness strong{font-size:18px}.ops-legend{max-width:none}.ops-metric strong{font-size:21px}}
@media(max-width:520px){.ops-intro{display:block}.ops-freshness{text-align:left;margin-top:20px}.ops-daily{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-filters label{flex:1;min-width:130px}.ops-filters label:first-child{flex-basis:100%;max-width:none}.ops-summary{gap:9px}.ops-summary article{padding:16px}.ops-summary strong{font-size:23px}.ops-range-label{font-size:10px}.ops-daily{gap:9px}.ops-chart-head{gap:8px}.ops-legend{max-width:135px}}

/* Aligned manga form and direct folder saving */
.manga-compose #mangaForm{gap:20px}.manga-options{max-width:800px;width:100%;align-items:start;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.manga-options>label{display:grid;grid-template-rows:24px 48px 18px;align-content:start;gap:8px;margin:0;min-width:0}.manga-options input,.manga-options select{box-sizing:border-box;height:48px;min-height:48px;width:100%;margin:0;padding:10px 14px;align-self:start}.manga-options small{line-height:18px;margin:0}.local-folder-box{background:#fff8df;border:1px solid #ebdb9e;border-radius:10px;padding:18px 20px;margin:4px 0 0}.local-folder-box>label{font-size:12px;margin-bottom:10px}.local-folder-controls{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.local-folder-controls strong{font-size:13px;overflow-wrap:anywhere;font-weight:500}.local-folder-box p{font-size:12px;line-height:1.8;margin:12px 0 0}.download-fallback{font-size:11px;color:var(--muted);position:relative}.download-fallback summary{cursor:pointer;padding:8px;list-style:none}.download-fallback>a{display:block;white-space:nowrap;font-size:11px;margin-top:6px}.task-heading .actions{align-items:center}.manga-compose .actions>.muted{font-size:12px;line-height:1.8}
@media(max-width:520px){.manga-options{gap:12px}.manga-options>label{font-size:12px}.manga-options input,.manga-options select{padding:9px 10px;font-size:13px}.local-folder-box{padding:16px}.local-folder-controls{align-items:flex-start;flex-direction:column}}

.manga-heading-info{display:flex;gap:18px;align-items:flex-start;min-width:0}.manga-cover{width:64px;height:88px;object-fit:cover;border-radius:7px;border:1px solid #e5dec6;background:#fff7dc;flex:none}.manga-heading-info h3{overflow-wrap:anywhere}

.archive-picker{width:min(720px,94vw);padding:24px;border:1px solid #e5dec6;border-top:5px solid #ffc400;border-radius:16px;background:#fffdf6}.archive-picker::backdrop{background:#0008}.archive-picker p{line-height:1.7;overflow-wrap:anywhere}.archive-picker-list{max-height:45vh;overflow:auto;margin:16px 0}.archive-picker-list>div{display:flex;align-items:center;gap:14px;justify-content:space-between;border-bottom:1px solid #eee5d3;padding:10px 0}.archive-picker-list span{min-width:0;overflow-wrap:anywhere}.archive-picker .actions{flex-wrap:wrap}.archive-picker input[hidden]{display:none}

.browser-upload-progress{position:fixed;right:24px;bottom:24px;z-index:1000;width:min(490px,calc(100vw - 32px));box-sizing:border-box;background:#161616;color:#fff;border:1px solid #444;border-top:4px solid #ffc400;border-radius:14px;padding:18px 20px;box-shadow:0 10px 36px #0004;font-size:14px;line-height:1.5}
.browser-upload-progress>div{display:flex;justify-content:space-between;align-items:center;gap:12px}.browser-upload-progress strong{color:#ffcf32;font-size:16px}.browser-upload-progress p{margin:10px 0 0;overflow-wrap:anywhere}.browser-upload-progress .muted{color:#d0cdc3;font-size:12px}.browser-upload-progress button{padding:4px 10px;background:#333;color:#fff;border-color:#666}.browser-upload-progress progress{display:block;width:100%;height:12px;margin:12px 0;accent-color:#ffc400;border:0;border-radius:8px;background:#444}.browser-upload-progress progress::-webkit-progress-bar{background:#444;border-radius:8px}.browser-upload-progress progress::-webkit-progress-value{background:#ffc400;border-radius:8px}.browser-upload-progress progress::-moz-progress-bar{background:#ffc400;border-radius:8px}
@media(max-width:600px){.browser-upload-progress{right:16px;bottom:16px;padding:14px;font-size:12px}}

/* 1.9: same Huangdou yellow/black identity, clearer hierarchy and restrained motion. */
:root{--bg:#f4f5f7;--ink:#191b20;--muted:#777d88;--line:#e7e9ee;--gold:#ffc30d;--radius:18px;--ease:cubic-bezier(.2,.7,.2,1)}
html{scroll-behavior:smooth;scroll-padding-top:28px}body{font-family:Inter,"Microsoft YaHei","PingFang SC",sans-serif;letter-spacing:.1px}h1,h2,h3,strong{font-variant-numeric:tabular-nums}h1{letter-spacing:-1px;font-weight:750;font-size:30px}h2{font-weight:700;letter-spacing:-.4px}.muted{line-height:1.7}.eyebrow{font-size:9px;font-weight:600;letter-spacing:2px}
button,.button,input,select,textarea{transition:background .18s var(--ease),border-color .18s var(--ease),box-shadow .18s var(--ease),transform .18s var(--ease)}button{min-height:40px;border-radius:10px;font-weight:550}button:enabled:active,.button:active{transform:translateY(1px)}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #e6a900;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:0;border-color:#d69f00;box-shadow:0 0 0 3px #ffc30d22}.primary{box-shadow:0 3px 0 #e6af0022}.primary:hover{box-shadow:0 5px 18px #ffc30d36;transform:translateY(-1px)}
.shell{grid-template-columns:228px minmax(0,1fr)}.shell>aside{padding:30px 18px;background:linear-gradient(175deg,#17191e,#111216);border-right:1px solid #262932}.brand{padding:0 10px 28px;gap:12px}.brand strong{font-size:26px;letter-spacing:2px}.brand .product-logo{width:44px;height:44px;border-radius:13px}.brand small{font-size:10px;letter-spacing:.3px}.nav-label{font-size:10px;letter-spacing:1.6px;margin:13px 12px 15px}.shell>aside nav{gap:5px}.shell>aside nav>button{font-size:13px;border-radius:10px;padding:12px;min-height:43px}.shell>aside nav button.active{box-shadow:0 4px 14px #0003;font-weight:700}.shell>aside nav button:hover:not(.active){background:#252830;transform:translateX(2px)}nav .nav-category{border-color:#282b32;margin-top:12px;padding-top:14px}nav summary{font-size:11px;letter-spacing:.4px}.shell>aside .subnav button{font-size:12px;min-height:37px;padding:7px 12px}.aside-bottom{border-top:1px solid #2a2c34;padding-top:18px;font-size:10px}.shell main{padding:32px 34px 60px;max-width:1900px;width:100%;margin:auto}.shell main>header{margin-bottom:30px;align-items:center;gap:15px}.header-actions{display:flex;gap:10px;align-items:center}.quick-open{background:#fff;border-color:#e3e6ec;color:#7e8490;font-size:12px;display:flex;align-items:center;gap:16px;min-width:190px}.quick-open kbd{font:10px inherit;border:1px solid #e3e6ec;padding:1px 5px;border-radius:4px;color:#a0a5ae}.mobile-menu{display:none}
.ops-intro{background:#191b20;border:0;border-radius:20px;position:relative;overflow:hidden;padding:28px 32px;min-height:150px;box-shadow:0 8px 22px #15171c0a}.ops-intro:before{content:'';position:absolute;right:24%;top:-80px;width:260px;height:260px;border:1px solid #ffffff0a;border-radius:50%;box-shadow:0 0 0 35px #ffffff02,0 0 0 70px #ffffff02;pointer-events:none}.ops-intro h2{font-size:28px;color:#fff;letter-spacing:-.8px;margin:8px 0 12px}.ops-intro .eyebrow{color:#e8bb3c}.ops-intro p{color:#a3a8b3;font-size:12px;margin:0}.ops-freshness{position:relative;z-index:1;max-width:340px}.ops-freshness strong{font-size:29px;letter-spacing:-.5px}.ops-freshness>span{font-size:10px;color:#aaaeba}.ops-freshness small{color:#e3bd50;font-size:10px;line-height:1.7}.ops-jump{display:flex;align-items:center;gap:24px;margin:22px 0 0;padding:0 4px;border-bottom:1px solid var(--line);overflow:auto;white-space:nowrap}.ops-jump a{font-size:12px;font-weight:650;color:#737987;text-decoration:none;padding:13px 0;border-bottom:2px solid transparent;transition:color .2s,border-color .2s}.ops-jump a:hover,.ops-jump a:focus{color:#191b20;border-bottom-color:#ffc30d}.ops-jump a:first-child{color:#191b20;border-bottom-color:#ffc30d}.ops-jump span{margin-left:auto;color:#9a9fa9;font-size:10px}.ops-filters{background:transparent;border:0;padding:20px 0 16px;gap:14px;align-items:end}.ops-filters label{font-size:11px;color:#858b97}.ops-filters input,.ops-filters select{background:#fff;font-size:12px;min-height:42px;padding:9px 12px}.ops-shortcuts{gap:5px}.ops-shortcuts button{font-size:11px;padding:9px 11px;min-height:40px}.ops-shortcuts button:hover{border-color:#e8b90e}.ops-summary{gap:14px;margin-top:20px}.ops-summary article{padding:22px 24px;border:1px solid var(--line);border-radius:15px;position:relative;overflow:hidden;background:radial-gradient(200px circle at var(--pointer-x,-100px) var(--pointer-y,-100px),#ffc30d10,transparent 70%),#fff;box-shadow:0 3px 14px #1a202904}.ops-summary article span{font-size:11px;color:#7c8390}.ops-summary article strong{font-size:30px;font-weight:720;letter-spacing:-.8px;margin:7px 0}.ops-summary article small{font-size:10px;color:#969ca7}.ops-summary article.ops-revenue{border-top:3px solid #ffc30d;background:linear-gradient(135deg,#fff9df,#fff)}
.section-head{margin-top:30px;margin-bottom:18px}.section-head h2{font-size:18px;margin-bottom:3px}.section-head .eyebrow{color:#9aa1ad;font-size:8px;margin-bottom:5px}.section-head p{font-size:11px;max-width:1050px}.ops-day-label{font-size:11px;color:#89909b;display:flex;align-items:center;gap:10px}.ops-day-label select{width:150px;min-height:40px;border-radius:10px;background:#fff}.ops-finance-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(340px,1fr);gap:18px;margin-bottom:20px;scroll-margin-top:24px}.finance-driver,.finance-funnel{min-width:0;border-radius:18px;padding:25px 26px;position:relative;overflow:hidden}.finance-driver{background:radial-gradient(420px circle at var(--pointer-x,100%) var(--pointer-y,0),#ffc30d12,transparent 70%),#1b1d23;color:#fff;border:1px solid #30333c}.finance-funnel{background:#fff;border:1px solid var(--line);box-shadow:0 4px 18px #181a2003}.finance-heading{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:20px}.finance-heading h2{font-size:18px;margin:4px 0 0}.finance-heading .eyebrow{color:#b3a16a;font-size:8px;margin-bottom:5px}.finance-funnel .eyebrow{color:#969daa}.finance-quality{font-size:9px;white-space:nowrap;background:#3b3318;color:#f0c951;border:1px solid #68571966;padding:4px 8px;border-radius:6px}.finance-quality.light{background:#f9fafb;color:#9097a4;border-color:#edf0f4}.finance-total>span{display:block;font-size:11px;color:#9da3b0}.finance-total>strong{display:block;font-size:42px;line-height:1.3;letter-spacing:-1.5px;font-weight:720;margin:8px 0;color:#ffce39}.finance-total>small{font-size:10px;color:#747b8b}.finance-equation{display:grid;grid-template-columns:1fr 16px 1fr 16px 1.25fr;align-items:center;gap:10px;padding:21px 0;margin:18px 0 0;border-top:1px solid #353740;border-bottom:1px solid #353740}.equation-factor>span,.equation-factor>small{display:block;color:#9ba2b0;font-size:10px}.equation-factor>strong{display:block;font-size:22px;color:#f4f5f8;letter-spacing:-.5px;margin:5px 0;font-weight:650}.equation-factor>small{font-size:9px;color:#676f80}.equation-sign{color:#9b8233;font-size:18px}.finance-mini{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:14px;margin:20px 0}.finance-mini span,.finance-mini strong{display:block}.finance-mini span{font-size:10px;color:#858d9c}.finance-mini strong{font-size:14px;font-weight:550;margin-top:6px;color:#d7dae2}.recharge-mix>div{height:5px;background:linear-gradient(to right,#ffcc38 var(--coin-share),#64768f var(--coin-share));border-radius:5px}.recharge-mix small{display:block;font-size:10px;color:#9da3b0;margin-top:8px}.finance-footnote{font-size:10px;line-height:1.8;color:#868e9c;margin:16px 0 0}.finance-driver .finance-footnote{color:#8b93a3}.payment-stages{padding:0;margin:0;list-style:none;display:grid;gap:16px}.payment-stages li{display:grid;grid-template-columns:32px 1fr;gap:12px}.stage-number{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#fff3c6;color:#977600;font-size:10px;font-weight:700}.stage-main{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px}.stage-main strong{font-size:21px;letter-spacing:-.5px}.stage small{display:block;color:#9aa0ab;font-size:9px;margin:2px 0 7px}.stage-track{height:4px;background:#f1f3f6;border-radius:5px;overflow:hidden}.stage-track i{display:block;background:#f5c129;height:100%;border-radius:5px;transition:width .4s var(--ease)}.stage.unknown .stage-number{background:#f0f2f5;color:#9da3ae}.stage.unknown .stage-main strong{color:#9da3ae;font-size:15px}.stage.unknown .stage-track i{background:repeating-linear-gradient(45deg,#c8ced8,#c8ced8 3px,#e5e8ef 3px,#e5e8ef 6px)}.payment-issues{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);padding-top:17px;margin-top:20px;gap:8px}.payment-issues strong{display:block;font-size:18px}.payment-issues span{font-size:9px;color:#959ca8}.finance-empty{padding:30px;border:1px dashed #d5d9e1;border-radius:15px;color:#949ba7;grid-column:1/-1}
.ops-daily{gap:12px}.ops-metric{border-radius:13px;padding:18px 19px;min-height:132px;box-shadow:0 3px 12px #171b2403}.ops-metric>span{font-size:11px;color:#7d8491}.ops-metric>strong{font-size:25px;letter-spacing:-.6px;margin:12px 0}.ops-metric small{font-size:10px;color:#9aa1ae;line-height:1.7}.ops-metric.main-metric{border-top-width:2px}.ops-chart-grid{gap:18px}.panel,.task-card,.watch-card,.welcome{border-radius:16px;box-shadow:0 3px 18px #181d2703}.panel{padding:24px}.ops-chart{padding:24px 22px;position:relative;background:radial-gradient(300px circle at var(--pointer-x,-200px) var(--pointer-y,-200px),#ffc30d08,transparent 70%),#fff}.ops-chart-head h3{font-size:14px;margin:0 0 4px}.ops-chart-head p{font-size:10px}.ops-legend{font-size:10px}.ops-chart svg{width:100%;height:auto}.ops-chart circle{cursor:pointer;transition:r .15s,stroke-width .15s}.ops-chart circle:hover,.ops-chart circle:focus{r:6;stroke-width:2}.record-table,.ops-table{font-size:12px}.record-table th{background:#fafbfc;font-size:10px;color:#9299a6;font-weight:550;letter-spacing:.2px}.record-table td,.record-table th{padding:14px 17px;border-bottom:1px solid #eef0f4}.record-table tbody tr:hover{background:#fffdf5}.table-wrap{border-radius:14px;border:1px solid var(--line);scrollbar-width:thin;scrollbar-color:#d3d7df transparent;background:#fff}.record-table td strong{font-weight:600}.service-note{background:#fffdf5;border:1px solid #f1e6bb;border-left:3px solid #e8bc2c;border-radius:12px;padding:18px 22px;font-size:11px;margin-top:24px}.service-note strong{font-size:12px}.task-card{padding:22px}.task-card progress{height:6px}.task-state,.tag{border-radius:6px;font-size:10px}.toast{border-radius:12px;box-shadow:0 10px 35px #1b202b30;font-size:12px;padding:15px 22px}.error{background:#fff4ed;border:1px solid #f5d8c8;border-radius:10px;padding:12px 16px;font-size:12px}.error:empty{padding:0;border:0;background:transparent;min-height:0}details.panel>summary{cursor:pointer;font-size:12px;color:#737b89;padding:0;list-style:none;display:flex;align-items:center;gap:9px}details.panel>summary:before{content:'+';width:19px;height:19px;display:inline-grid;place-items:center;border:1px solid #e4e7ed;border-radius:5px;color:#a0a7b1}details.panel[open]>summary:before{content:'−'}details.panel>summary::-webkit-details-marker{display:none}details.panel[open]>summary{margin-bottom:15px;color:#2a2f39}#collectorRoot input,#collectorRoot select,#collectorRoot textarea{border-radius:9px}#collectorRoot .panel,#collectorRoot .step-card{border-radius:16px}#collectorRoot button.primary{font-weight:650}#collectorRoot .scan-options label{font-size:11px}#collectorRoot .upload-card,#collectorRoot .resource-card{transition:border-color .18s,box-shadow .18s}#collectorRoot .upload-card:hover,#collectorRoot .resource-card:hover{box-shadow:0 5px 18px #171c2608;border-color:#d5b756}
.quick-dialog{width:min(560px,calc(100vw - 32px));border-radius:20px;border:1px solid #e8eaf0;padding:22px;box-shadow:0 30px 100px #0003;max-height:80vh}.quick-dialog::backdrop{background:#13172088;backdrop-filter:blur(4px)}.quick-dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.quick-dialog-head label{font-size:14px;font-weight:650}.quick-dialog-head button{min-height:26px;padding:3px 8px;font-size:10px;color:#8b94a2}.quick-dialog input{font-size:14px;background:#f9fafc;margin-bottom:12px}.quick-results{display:grid;gap:3px;max-height:40vh;overflow:auto}.quick-results button{text-align:left;border-color:transparent;font-size:12px;padding:10px 12px}.quick-results button.selected,.quick-results button:hover{background:#fff4c8;color:#5b4700}.quick-dialog>p{font-size:10px;margin:15px 0 0;color:#a3a9b3}.auth-card{border-radius:22px}.auth-story{background:radial-gradient(ellipse at 100% 0,#ffcc0013,transparent 60%),#17191e}.auth-story h2{font-weight:700;letter-spacing:-1px}.auth-screen .primary{min-height:47px}#opsContent[aria-busy=true]{opacity:.7;transition:opacity .15s}#opsRevenueSection,#opsChartsSection,#opsDetailsSection{scroll-margin-top:26px}
@media(max-width:1250px){.shell{grid-template-columns:200px minmax(0,1fr)}.shell main{padding:26px 24px}.quick-open{min-width:130px;gap:9px}.quick-open kbd{display:none}.ops-finance-grid{grid-template-columns:1fr 1fr}.finance-driver,.finance-funnel{padding:22px}.finance-total>strong{font-size:34px}.equation-factor>strong{font-size:19px}.finance-mini{gap:8px}.finance-mini strong{font-size:12px}.ops-summary article{padding:18px}.ops-summary article strong{font-size:26px}}
@media(max-width:1050px){.ops-finance-grid{grid-template-columns:1fr}.finance-equation{grid-template-columns:1fr 25px 1fr 25px 1.25fr}.finance-driver,.finance-funnel{padding:26px}.finance-total>strong{font-size:40px}.equation-factor>strong{font-size:25px}.ops-jump span{display:none}.ops-intro{gap:20px;padding:25px}.ops-intro h2{font-size:24px}.ops-freshness strong{font-size:24px}.ops-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:750px){.shell{display:block}.shell main{padding:20px 16px 50px}.shell main>header{gap:12px;margin-bottom:20px}.shell main>header h1{font-size:23px}.mobile-menu{display:block;padding:7px 10px;min-height:36px;background:#fff}.header-actions{margin-left:auto}.header-actions>.muted{display:none}.quick-open{min-width:0;padding:7px 11px;min-height:36px}.quick-open span,.quick-open kbd{display:none}.shell>aside{position:fixed;top:0;left:0;bottom:0;height:100dvh;width:250px;z-index:2001;transform:translateX(-100%);transition:transform .25s var(--ease);padding:25px 18px;box-shadow:15px 0 45px #0003}.nav-open .shell>aside{transform:translateX(0)}.nav-open:before{content:'';position:fixed;inset:0;background:#1118;z-index:2000}.shell>aside nav{display:grid;grid-template-columns:1fr;overflow:visible;margin-top:10px}.shell>aside nav .nav-category{grid-column:auto}.shell>aside nav .subnav{grid-template-columns:1fr}.shell>aside .nav-label,.shell>aside .aside-bottom{display:block}.ops-intro{display:block;padding:25px 23px;min-height:0}.ops-intro h2{font-size:24px}.ops-freshness{margin-top:24px;text-align:left;max-width:none}.ops-freshness strong{font-size:22px}.ops-freshness small{display:block;margin-top:6px}.ops-jump{gap:24px;margin-top:14px}.ops-filters{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px 0}.ops-filters>label:first-child{grid-column:span 2}.ops-shortcuts{grid-column:span 2}.ops-summary{gap:10px;margin-top:16px}.ops-summary article{padding:16px}.ops-summary article strong{font-size:22px}.ops-summary article small{font-size:9px}.section-head{margin-top:25px}.ops-finance-grid{gap:14px}.finance-driver,.finance-funnel{padding:22px}.finance-quality{font-size:8px;padding:4px 6px}.finance-heading h2{font-size:17px}.finance-equation{gap:6px;grid-template-columns:1fr 12px 1fr 12px 1.2fr}.equation-factor>strong{font-size:20px}.equation-factor>span{font-size:9px}.finance-total>strong{font-size:36px}.finance-mini strong{font-size:13px}.ops-daily{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ops-metric{padding:16px;min-height:130px}.ops-metric>strong{font-size:23px}.ops-chart-grid{grid-template-columns:1fr}.ops-day-label select{width:135px}.panel{padding:20px}.ops-chart{padding:20px 15px}.opsChart svg{min-width:0}.payment-issues{gap:6px}.service-note{padding:16px}.quick-dialog{padding:18px}.header-actions #refreshButton{min-height:36px;font-size:11px;padding:7px 11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.ops-chart circle{transition:none}}

.sync-settings-link{display:inline-block;margin-top:9px;font-size:10px;color:#c7cbd3;text-decoration:none}.sync-settings-link:hover{color:#ffcd37}
.public-watch-presets{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:4px 0 12px;color:var(--muted);font-size:12px}.public-watch-presets button{padding:6px 10px;border-radius:7px;font-size:11px;background:#fffaf0;border-color:#ead9a2}.public-watch-presets button:hover{background:#fff2be;border-color:#d5a900}
.ops-date-controls{display:flex;align-items:flex-end;gap:8px}.ops-date-controls>button{width:36px;min-height:38px;padding:6px}.metric-interactive{position:relative;cursor:pointer;outline-offset:3px;transition:transform .16s,border-color .16s,box-shadow .16s}.metric-interactive:hover,.metric-interactive:focus-visible{transform:translateY(-2px);border-color:#ddb52c;box-shadow:0 6px 20px #20263410}.metric-detail-hint{display:block;font-size:9px!important;font-weight:500!important;color:#9b7b19!important;margin-top:9px;opacity:.5;letter-spacing:0!important}.metric-interactive:hover .metric-detail-hint,.metric-interactive:focus-visible .metric-detail-hint{opacity:1}.equation-factor .metric-detail-hint{color:#ffe48b!important}.payment-stages li{border-radius:9px;padding:8px;margin:-2px -8px 7px}.payment-stages .metric-detail-hint{position:absolute;right:9px;bottom:1px;font-size:8px!important}.ops-interactive-chart{position:relative}.ops-series-controls{display:flex;gap:6px;flex-wrap:wrap;margin:2px 0 8px;justify-content:flex-end}.ops-series-controls button{display:flex;gap:6px;align-items:center;min-height:29px;padding:4px 9px;font-size:10px;border:1px solid #ebedf1;border-radius:7px;background:#fff}.ops-series-controls button:before{content:'';width:6px;height:6px;border-radius:50%;background:var(--series)}.ops-series-controls button[aria-pressed=false]{opacity:.45;text-decoration:line-through;background:#f6f7f9}.ops-chart-tooltip{position:absolute;top:42px;right:12px;z-index:3;min-width:155px;padding:13px 15px;border:1px solid #e7e9ef;background:#fffffff5;border-radius:12px;box-shadow:0 8px 30px #17202e20;font-size:11px;pointer-events:none;backdrop-filter:blur(6px)}.ops-chart-tooltip>strong{display:block;font-size:11px;margin-bottom:7px;color:#262d39}.ops-chart-tooltip>div{display:flex;align-items:center;gap:12px;justify-content:space-between;margin:4px 0}.ops-chart-tooltip span:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--series);margin-right:6px}.ops-chart-tooltip b{font-variant-numeric:tabular-nums;font-weight:600}.ops-metric-dialog{width:min(760px,calc(100vw - 28px));max-height:85dvh;border:1px solid #e7e9ed;border-radius:20px;padding:26px;color:var(--ink);box-shadow:0 24px 100px #0004;background:#fff}.ops-metric-dialog::backdrop{background:#10151d99;backdrop-filter:blur(5px)}.metric-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.metric-dialog-head h2{margin:0}.metric-dialog-head button{padding:6px 10px}.metric-current{margin:19px 0 8px;font-size:15px;font-weight:650}.metric-definition{font-size:12px;color:#737d8c;background:#f7f8fa;border-radius:9px;padding:12px 14px;line-height:1.8}.metric-partial{font-size:12px;color:#966b00;background:#fff6d7;padding:11px;border-radius:9px}.metric-range{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.metric-range>div{display:grid;gap:6px;background:#fffaf0;border:1px solid #f0e6cd;border-radius:10px;padding:14px}.metric-range span{font-size:10px;color:#938266}.metric-range strong{font-size:17px;font-variant-numeric:tabular-nums}.ops-metric-dialog .table-wrap{max-height:36dvh;overflow:auto}.ops-metric-dialog thead{position:sticky;top:0;z-index:1}.metric-selected-row{background:#fff5cf}.ops-metric-dialog .muted{margin:15px 0 0;font-size:11px}
@media(max-width:750px){.ops-date-controls{gap:5px}.ops-date-controls>button{width:29px;padding:4px}.ops-day-label select{width:125px!important}.section-head#opsRevenueSection{align-items:flex-start;flex-wrap:wrap}.ops-metric-dialog{padding:20px}.metric-range{gap:6px}.metric-range>div{padding:11px 9px}.metric-range strong{font-size:14px}.metric-range span{font-size:9px}.ops-chart-tooltip{top:44px;right:0;min-width:138px;padding:10px 12px}.equation-factor .metric-detail-hint{font-size:8px!important}}

.shell>aside{scrollbar-width:thin;scrollbar-color:#3a3f49 transparent}.shell>aside::-webkit-scrollbar{width:5px}.shell>aside::-webkit-scrollbar-thumb{background:#3a3f49;border-radius:5px}.shell>aside::-webkit-scrollbar-track{background:transparent}
@media(max-width:750px){.header-actions #refreshButton{white-space:nowrap}.shell main>header>.header-actions{gap:6px}.quick-open{padding:7px 9px}.shell main>header .eyebrow{font-size:7px;letter-spacing:1.1px}.ops-intro{padding:23px}.ops-intro .ops-freshness{margin-top:18px}}

/* ===== 1.9.4 数据看板视觉优化（沿用黄黑配色与H图标） ===== */
#opsContent{--ops-card:#fff;--ops-radius:16px;--ops-shadow:0 1px 2px #1b1c1f0a,0 6px 18px #1b1c1f08;--ops-shadow-hover:0 2px 4px #1b1c1f0f,0 14px 32px #1b1c1f14;--ops-gold:#ffc30d;--ops-gold-deep:#c48b00;--ops-ink:#191b20}
#opsContent .ops-summary{gap:16px;margin-bottom:6px}
#opsContent .ops-summary article{border:1px solid #ecebe4;border-radius:var(--ops-radius);box-shadow:var(--ops-shadow);padding:22px 24px;position:relative;overflow:hidden;transition:box-shadow .2s,transform .2s}
#opsContent .ops-summary article:hover{box-shadow:var(--ops-shadow-hover);transform:translateY(-1px)}
#opsContent .ops-summary article>span{font-size:12px;letter-spacing:.3px}
#opsContent .ops-summary strong{font-size:30px;font-weight:700;letter-spacing:-.6px;line-height:1.25}
#opsContent .ops-summary .ops-revenue{background:var(--ops-ink);border-color:var(--ops-ink)}
#opsContent .ops-summary .ops-revenue strong{color:var(--ops-gold)}
#opsContent .ops-summary .ops-revenue>span,#opsContent .ops-summary .ops-revenue small{color:#b9bcc6!important}
#opsContent .ops-summary .ops-revenue:after{content:'';position:absolute;right:-40px;top:-40px;width:150px;height:150px;border-radius:50%;background:radial-gradient(circle,#ffc30d26,transparent 70%);pointer-events:none}
#opsContent .ops-summary article:not(.ops-revenue):before{content:'';position:absolute;left:0;top:18px;bottom:18px;width:3px;border-radius:0 3px 3px 0;background:#ffc30d66}

/* 指标卡片：标签+变化、数值、迷你走势 */
#opsContent .ops-daily{gap:14px;grid-template-columns:repeat(5,minmax(0,1fr))}
#opsContent .ops-metric{position:relative;border:1px solid #ecebe4;border-radius:14px;box-shadow:var(--ops-shadow);padding:16px 18px 12px;gap:4px;align-content:start;transition:box-shadow .2s,transform .2s,border-color .2s;color:var(--ops-gold-deep)}
#opsContent .ops-metric:hover,#opsContent .ops-metric:focus-visible{box-shadow:var(--ops-shadow-hover);transform:translateY(-2px);border-color:#f0d27a;outline:none}
#opsContent .ops-metric.main-metric{border-top:1px solid #ecebe4;background:linear-gradient(180deg,#fffaea,#fff 60%)}
#opsContent .ops-metric.main-metric:before{content:'';position:absolute;left:18px;right:18px;top:0;height:3px;border-radius:0 0 3px 3px;background:var(--ops-gold)}
#opsContent .ops-metric-top{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:22px}
#opsContent .ops-metric-top>span{font-size:12px;color:#78766b}
#opsContent .ops-metric strong{font-size:25px;font-weight:700;letter-spacing:-.5px;color:var(--ink);line-height:1.35}
#opsContent .ops-metric small{font-size:11px;line-height:1.5;color:#8b897e;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#opsContent .ops-delta{font-style:normal;font-size:11px;font-weight:600;padding:2px 7px;border-radius:999px;white-space:nowrap;font-variant-numeric:tabular-nums}
#opsContent .ops-delta.up{color:#23795c;background:#e5f4ec}
#opsContent .ops-delta.down{color:#b04a3c;background:#fbe9e5}
#opsContent .ops-delta.flat{color:#7e8073;background:#f1f1ec}
#opsContent .ops-spark{height:30px;margin-top:4px;opacity:.85}
#opsContent .ops-spark svg{width:100%;height:30px;display:block}
#opsContent .ops-metric .metric-detail-hint{position:absolute;right:12px;bottom:10px;font-size:10px;color:#a08a3b;opacity:0;transition:opacity .2s}
#opsContent .ops-metric:hover .metric-detail-hint,#opsContent .ops-metric:focus-visible .metric-detail-hint{opacity:1}
#opsContent .ops-up{background:#e5f4ec;border-radius:999px;padding:1px 8px;justify-self:start;font-weight:600}
#opsContent .ops-down{background:#fbe9e5;border-radius:999px;padding:1px 8px;justify-self:start;font-weight:600}

/* 充值卡片与支付链路：去掉进度条上的重叠文字 */
#opsContent .ops-finance-grid{gap:18px}
#opsContent .finance-driver,#opsContent .finance-funnel{border-radius:20px}
#opsContent .finance-funnel{border:1px solid #ecebe4;box-shadow:var(--ops-shadow)}
#opsContent .stage .metric-detail-hint,#opsContent .equation-factor .metric-detail-hint{display:none}
#opsContent .equation-factor{border-radius:12px;padding:10px 12px;margin:-10px -12px;transition:background .2s}
#opsContent .equation-factor:hover,#opsContent .equation-factor:focus-visible{background:#ffffff0d;outline:none}
#opsContent .stage{border-radius:12px;transition:background .2s}
#opsContent .stage:hover,#opsContent .stage:focus-visible{background:#fffaea;outline:none}
#opsContent .stage-track{height:6px;border-radius:999px;background:#f1f0ea;overflow:hidden}
#opsContent .stage-track i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#ffd75a,#ffc30d)}
#opsContent .stage.unknown .stage-track i{background:repeating-linear-gradient(45deg,#d4d6dc,#d4d6dc 3px,#eceef2 3px,#eceef2 6px)}
#opsContent .recharge-mix>div{height:8px;border-radius:999px}

/* 趋势图：默认只显示最新点和所选日期，悬停显示全部数据点 */
#opsContent .ops-chart{border-radius:var(--ops-radius);border:1px solid #ecebe4;box-shadow:var(--ops-shadow);padding:20px 20px 12px}
#opsContent .ops-interactive-chart{position:relative}
#opsContent .ops-interactive-chart .ops-dot{opacity:0;transition:opacity .15s}
#opsContent .ops-interactive-chart .ops-dot.is-last,#opsContent .ops-interactive-chart .ops-dot[data-selected="1"],#opsContent .ops-interactive-chart .ops-dot:focus{opacity:1}
#opsContent .ops-interactive-chart svg:hover .ops-dot{opacity:.9}
#opsContent .ops-series-controls{display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap;margin-bottom:4px}
#opsContent .ops-series-controls button{font-size:11px;padding:4px 10px;border-radius:999px;border:1px solid #ecebe4;background:#fff;display:inline-flex;align-items:center;gap:6px}
#opsContent .ops-series-controls button:before{content:'';width:8px;height:8px;border-radius:50%;background:var(--series)}
#opsContent .ops-series-controls button[aria-pressed="false"]{opacity:.45;text-decoration:line-through}
#opsContent .ops-chart-tooltip{border-radius:12px;box-shadow:0 10px 30px #15171c2e;border:0;background:#191b20;color:#fff;padding:10px 12px;font-size:12px;min-width:150px}
#opsContent .ops-chart-tooltip strong{color:var(--ops-gold)}

/* 表格：紧凑行高、表头与日期列固定、可内部滚动 */
#opsContent .table-wrap{border:1px solid #ecebe4;border-radius:var(--ops-radius);box-shadow:var(--ops-shadow);background:#fff;overflow:auto;max-height:620px}
#opsContent #opsCompare .table-wrap{max-height:none}
#opsContent .ops-table{border-collapse:separate;border-spacing:0;width:100%}
#opsContent .ops-table th{position:sticky;top:0;z-index:2;background:#faf9f5;color:#8b897e;font-weight:600;font-size:11px;padding:11px 14px;border-bottom:1px solid #ecebe4;white-space:nowrap}
#opsContent .ops-table td{padding:9px 14px;border-bottom:1px solid #f2f1ec;font-size:13px}
#opsContent .ops-table td:first-child,#opsContent .ops-table th:first-child{position:sticky;left:0;z-index:1;background:inherit}
#opsContent .ops-table th:first-child{z-index:3;background:#faf9f5}
#opsContent .ops-table tbody tr{background:#fff;transition:background .15s}
#opsContent .ops-table tbody tr:nth-child(even){background:#fcfcfa}
#opsContent .ops-table tbody tr:hover{background:#fffaea}
#opsContent .ops-table tbody tr.is-selected{background:#fff3c4}
#opsContent .ops-table tbody tr.is-selected td:first-child{box-shadow:inset 3px 0 0 var(--ops-gold)}
#opsContent .ops-table td.ops-bar-cell{background-image:linear-gradient(90deg,#ffc30d,#ffd75a);background-size:calc(var(--bar) - 28px) 3px;background-position:right 14px bottom 5px;background-repeat:no-repeat;font-weight:600}
#opsContent .ops-table td.ops-missing{color:#c2c1b8}
#opsContent .ops-table td.ops-empty-cell{text-align:left!important;color:#9a988c;font-size:12px}
#opsContent .ops-table .text-button{font-weight:600;color:var(--ops-ink);min-height:0;line-height:1.4}
#opsContent .ops-table .text-button:hover{background:transparent;color:var(--ops-gold-deep)}

/* 分区标题与折叠面板 */
#opsContent .section-head{margin-top:34px}
#opsContent .section-head h2{font-size:21px;letter-spacing:-.3px}
#opsContent details.panel{border-radius:14px;border:1px solid #ecebe4;box-shadow:var(--ops-shadow)}
#opsContent details.panel>summary{cursor:pointer;font-weight:600}
#opsContent .service-note{border-radius:14px}
@media (prefers-reduced-motion:reduce){#opsContent *{transition:none!important}}
@media (max-width:1180px){#opsContent .ops-daily{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){
 #opsContent .ops-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 #opsContent .ops-summary article{padding:16px}
 #opsContent .ops-summary strong{font-size:22px}
 #opsContent .ops-daily{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 #opsContent .ops-metric{padding:13px 14px 10px}
 #opsContent .ops-metric strong{font-size:20px}
 #opsContent .ops-metric small:not(.ops-up):not(.ops-down){display:none}
 #opsContent .table-wrap{max-height:520px}
 #opsContent .ops-table td,#opsContent .ops-table th{padding:8px 10px}
}

/* 1.9.5 版本自动更新 */
#releasePanel{margin-top:22px}
.release-log{background:#191b20;color:#e8e6dc;border-radius:12px;padding:12px 14px;font-size:12px;max-height:320px;overflow:auto;white-space:pre-wrap}

/* 1.9.7 付费结构 */
#opsContent .ops-mix-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}
#opsContent .mix-card{background:#fff;border:1px solid #ecebe4;border-radius:16px;box-shadow:var(--ops-shadow);padding:18px 20px;display:grid;gap:8px;align-content:start;position:relative;transition:box-shadow .2s,transform .2s}
#opsContent .mix-card:hover,#opsContent .mix-card:focus-visible{box-shadow:var(--ops-shadow-hover);transform:translateY(-2px);outline:none}
#opsContent .mix-card .metric-detail-hint{position:absolute;right:14px;top:14px;font-size:10px;color:#a08a3b;opacity:0;transition:opacity .2s}
#opsContent .mix-card:hover .metric-detail-hint{opacity:1}
#opsContent .mix-head h3{margin:0;font-size:16px}
#opsContent .mix-head .eyebrow{margin-bottom:2px}
#opsContent .mix-caption{margin:4px 0 0;font-size:12px;color:#8b897e}
#opsContent .mix-big{font-size:34px;font-weight:700;letter-spacing:-.8px;color:var(--ink);line-height:1.2}
#opsContent .mix-bar{height:10px;border-radius:999px;background:linear-gradient(90deg,#ffc30d 0,#ffc30d var(--share),#2b2d33 var(--share),#2b2d33 100%)}
#opsContent .mix-legend{display:flex;justify-content:space-between;font-size:12px;margin-top:6px;font-variant-numeric:tabular-nums}
#opsContent .mix-legend .mix-a:before,#opsContent .mix-legend .mix-b:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px;background:#ffc30d}
#opsContent .mix-legend .mix-b:before{background:#2b2d33}
#opsContent .mix-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:6px}
#opsContent .mix-stat{display:grid;gap:2px}
#opsContent .mix-stat span{font-size:11px;color:#8b897e}
#opsContent .mix-stat strong{font-size:16px;font-variant-numeric:tabular-nums}
#opsContent .mix-stat small{font-size:11px;color:#9a988c}
#opsContent .mix-card .ops-spark{color:var(--ops-gold-deep)}
@media (max-width:1180px){#opsContent .ops-mix-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){#opsContent .ops-mix-grid{grid-template-columns:1fr}}

/* ===== 1.9.8 全站界面统一（黄黑主题、H 图标不变） ===== */
:root{--t-ink:#1f2024;--t-muted:#6b6d63;--t-line:#e7e6de;--t-surface:#fff;--t-soft:#faf9f5;--t-gold:#ffc30d;--t-gold-hover:#ffcd33;--t-gold-deep:#a87900;--t-dark:#17191e;--t-radius:14px;--t-shadow:0 1px 2px #1b1c1f0a,0 6px 18px #1b1c1f08;--t-shadow-hover:0 2px 6px #1b1c1f12,0 14px 30px #1b1c1f14;--t-ring:0 0 0 3px #ffc30d55}
body{color:var(--t-ink);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
::selection{background:#ffe68a}

/* 侧边导航：常驻全高、清晰的选中态 */
.shell>aside,#workspaceNav{position:sticky;top:0;height:100vh;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#3a3f49 transparent}
#workspaceNav nav{display:grid;gap:3px}
#workspaceNav nav>button,#workspaceNav .subnav button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:0;border-radius:10px;background:transparent;color:#c4c7cf;padding:10px 12px;font-size:14px;transition:background .15s,color .15s}
#workspaceNav nav>button:hover,#workspaceNav .subnav button:hover{background:#ffffff12;color:#fff}
#workspaceNav nav>button.active{background:var(--t-gold);color:var(--t-dark);font-weight:600;box-shadow:0 4px 14px #ffc30d33}
#workspaceNav .subnav{display:grid;gap:2px;padding:4px 0 6px 14px;margin-left:10px;border-left:1px solid #2c3038}
#workspaceNav .subnav button{font-size:13px;padding:8px 12px}
#workspaceNav .subnav button.active{background:#ffc30d1f;color:var(--t-gold);font-weight:600}
#workspaceNav .nav-category>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-radius:10px;color:#e6e7ea;font-size:13px;font-weight:600}
#workspaceNav .nav-category>summary::-webkit-details-marker{display:none}
#workspaceNav .nav-category>summary:hover{background:#ffffff0d}
#workspaceNav .nav-category>summary span{transition:transform .2s;opacity:.7}
#workspaceNav .nav-category:not([open])>summary span{transform:rotate(-90deg)}
#workspaceNav .nav-label{font-size:11px;letter-spacing:1.5px;color:#7d818c;margin:18px 12px 8px}
#workspaceNav #alertBadge{margin-left:auto;background:var(--t-gold);color:var(--t-dark);border-radius:999px;font-size:11px;padding:1px 7px}
#workspaceNav .aside-bottom{font-size:12px;color:#9a9ea8}

/* 顶部栏：滚动时保持可见 */
.shell main>header{position:sticky;top:0;z-index:40;padding:14px 0;margin:-14px 0 24px;background:color-mix(in srgb,var(--bg,#f5f4ef) 88%,transparent);backdrop-filter:saturate(1.4) blur(10px);-webkit-backdrop-filter:saturate(1.4) blur(10px)}
.shell main>header h1{font-size:26px;font-weight:700;letter-spacing:-.5px}
.shell .eyebrow{font-size:11px;letter-spacing:2px;color:#8b897e}
.shell .muted{color:var(--t-muted)}
.shell small{line-height:1.55}

/* 按钮 */
.shell button{min-height:38px;border-radius:10px;font-weight:500;transition:background .15s,border-color .15s,box-shadow .15s,transform .05s}
.shell button:active:not(:disabled){transform:translateY(1px)}
.shell button:focus-visible,.shell a:focus-visible,.shell summary:focus-visible{outline:none;box-shadow:var(--t-ring)}
.shell button.primary,.shell .button.primary{background:var(--t-gold);border-color:var(--t-gold);color:var(--t-dark);font-weight:600}
.shell button.primary:hover:not(:disabled){background:var(--t-gold-hover);border-color:var(--t-gold-hover);box-shadow:0 6px 16px #ffc30d40}
.shell button:not(.primary):not(.text-button):hover:not(:disabled){border-color:#cfcdc2;background:#fffdf3}
.shell .text-button{min-height:0}
.shell button:disabled{opacity:.45;cursor:not-allowed}
.shell a.button{display:inline-flex;align-items:center;min-height:38px;padding:0 15px;border-radius:10px;border:1px solid var(--t-line);background:#fff;color:var(--t-ink);text-decoration:none}

/* 表单 */
.shell input:not([type=checkbox]):not([type=radio]):not([type=file]),.shell select,.shell textarea{min-height:40px;border-radius:10px;border:1px solid #e1e0d7;background:#fff;transition:border-color .15s,box-shadow .15s}
.shell textarea{min-height:90px;line-height:1.6}
.shell input:focus,.shell select:focus,.shell textarea:focus{outline:none;border-color:var(--t-gold-deep);box-shadow:var(--t-ring)}
.shell input::placeholder,.shell textarea::placeholder{color:#a9aa9f}
.shell label{color:#4e5048;font-size:13px}
.shell input[type=checkbox],.shell input[type=radio]{accent-color:var(--t-gold-deep);width:16px;height:16px}

/* 卡片与面板 */
.shell .panel,.shell .card{border:1px solid #ecebe4;border-radius:var(--t-radius);background:var(--t-surface);box-shadow:var(--t-shadow)}
.shell .panel{padding:22px 24px}
.shell details.panel>summary{list-style:none;cursor:pointer;font-weight:600;display:flex;align-items:center;gap:10px}
.shell details.panel>summary::-webkit-details-marker{display:none}
.shell details.panel>summary:before{content:'›';display:inline-grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#f3f2ec;color:#6b6d63;font-size:16px;transition:transform .2s}
.shell details.panel[open]>summary:before{transform:rotate(90deg)}
.shell details.panel[open]>summary{margin-bottom:12px}
.shell .section-head{margin-top:30px;margin-bottom:14px;align-items:end}
.shell .section-head h2{font-size:20px;letter-spacing:-.3px;margin-bottom:4px}
.shell .empty,.shell .empty-state{border:1px dashed #dedcd1;border-radius:var(--t-radius);background:var(--t-soft);color:var(--t-muted)}

/* 表格 */
.shell .table-wrap{border:1px solid #ecebe4;border-radius:var(--t-radius);background:#fff;overflow:auto;box-shadow:var(--t-shadow)}
.shell .record-table{border:0;border-collapse:separate;border-spacing:0;font-size:13px}
.shell .record-table th{position:sticky;top:0;z-index:1;background:#faf9f5;color:#8b897e;font-size:11px;font-weight:600;letter-spacing:.3px;border-bottom:1px solid #ecebe4}
.shell .record-table td{border-top:0;border-bottom:1px solid #f2f1ec}
.shell .record-table tbody tr:hover{background:#fffaea}

/* 提示与弹层 */
.shell .toast{border-radius:12px;box-shadow:0 12px 34px #15171c33}
dialog{border:0;border-radius:18px;box-shadow:0 24px 60px #15171c40;padding:24px}
dialog::backdrop{background:#15171c66;backdrop-filter:blur(2px)}

/* 页面切换动效（尊重减少动态设置） */
.shell main>section:not([hidden]){animation:hd-page-in .22s ease-out}
@keyframes hd-page-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.shell main>section{animation:none!important}.shell *{transition:none!important}}

@media (max-width:900px){
 .shell>aside,#workspaceNav{position:fixed;height:100dvh}
 .shell main>header{margin:-10px -2px 18px;padding:10px 2px}
 .shell main>header h1{font-size:21px}
 .shell .panel{padding:18px}
}
/* 1.9.8 fixes: short pages start at the top; readable active sub-menu */
.shell>main{margin:0 auto;align-self:start}
#workspaceNav .subnav button.active,#workspaceNav .subnav button.active:hover{color:var(--t-gold)!important;background:#ffc30d1f!important}
#workspaceNav nav>button.active,#workspaceNav nav>button.active:hover{color:var(--t-dark)!important;background:var(--t-gold)!important}
#opsContent .ops-mix-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
#opsContent .funnel-split{display:grid;gap:14px;margin-top:6px;padding-top:16px;border-top:1px solid #f0efe8}
#opsContent .funnel-type{display:grid;gap:6px}
#opsContent .funnel-type-top{display:flex;justify-content:space-between;align-items:baseline;font-variant-numeric:tabular-nums}
#opsContent .funnel-type-top strong{font-size:14px}
#opsContent .funnel-type-top span{font-size:13px;color:#4e5048}
#opsContent .funnel-type small{font-size:12px;color:#8b897e}
@media (max-width:1180px){#opsContent .ops-mix-grid{grid-template-columns:1fr 1fr}}
@media (max-width:760px){#opsContent .ops-mix-grid{grid-template-columns:1fr}}

/* ===== 1.9.10 漫画批量勾选 ===== */
.manga-quick .folder-row{flex-wrap:wrap}
.hg-browse-bar{display:flex;align-items:center;gap:14px;margin:12px 0 6px;flex-wrap:wrap}
.hg-select-all{display:flex;align-items:center;gap:6px;cursor:pointer}
.hg-browse-bar #hgDownloadSelected{margin-left:auto}
.hg-browse-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.hg-browse-card{display:flex;flex-direction:column;gap:8px;padding:10px;border:1px solid var(--line,#2a2b2f);border-radius:12px;background:var(--panel,#17181b);cursor:pointer;position:relative}
.hg-browse-card input[type=checkbox]{position:absolute;top:14px;left:14px;width:18px;height:18px;accent-color:#f5c518;z-index:1}
.hg-browse-cover{aspect-ratio:3/4;border-radius:8px;overflow:hidden;background:#0d0e10;display:flex;align-items:center;justify-content:center}
.hg-browse-cover img{width:100%;height:100%;object-fit:cover}
.hg-browse-meta{display:flex;flex-direction:column;gap:2px}
.hg-browse-title{font-size:13px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* ===== 1.10.0 发现页封面大图 + 扩展中心 + 查重 ===== */
.poster-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px;margin-top:4px}
.poster-card{display:flex;flex-direction:column;background:var(--panel,#17181b);border:1px solid var(--line,#26272b);border-radius:14px;overflow:hidden;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.poster-card:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(0,0,0,.35);border-color:#f5c51866}
.poster-cover{position:relative;display:block;width:100%;aspect-ratio:3/4;padding:0;border:0;margin:0;background:#0d0e10;cursor:pointer;overflow:hidden}
.poster-cover img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block}
.poster-ph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:30px;color:#4a4b50;background:linear-gradient(135deg,#1b1c20,#141519)}
.poster-ep{position:absolute;left:8px;bottom:8px;padding:2px 8px;border-radius:999px;background:rgba(0,0,0,.66);color:#fff;font-size:11px;line-height:1.6;backdrop-filter:blur(2px)}
.poster-dup{position:absolute;right:8px;top:8px;padding:2px 8px;border-radius:999px;background:#ff5757;color:#fff;font-size:11px;font-weight:600;box-shadow:0 2px 8px rgba(255,87,87,.4)}
.poster-meta{padding:9px 10px 4px;display:flex;flex-direction:column;gap:3px;flex:1}
.poster-title{font-size:13px;line-height:1.35;color:var(--text,#f3f4f6);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em}
.poster-tags{font-size:11px;color:#8a8f99;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.poster-actions{display:flex;gap:6px;padding:8px 10px 10px}
.poster-btn{flex:1;padding:6px 8px;border:1px solid var(--line,#2a2b2f);background:transparent;color:var(--text,#e8e8ea);border-radius:8px;cursor:pointer;font-size:12px}
.poster-btn:hover{border-color:#f5c518;color:#f5c518}
.poster-btn.primary{background:#f5c518;border-color:#f5c518;color:#1a1a1a;font-weight:600}
.poster-btn.primary:hover{background:#ffd42a;color:#1a1a1a}
/* 查重条 */
.dedup-bar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0}
.dedup-bar input[type=search]{flex:1;min-width:220px;padding:7px 10px;border:1px solid var(--line,#2a2b2f);border-radius:8px;background:var(--panel-2,#121317);color:var(--text,#e8e8ea);font-size:13px}
.dedup-bar button{padding:7px 14px;border:0;border-radius:8px;background:#f5c518;color:#1a1a1a;font-weight:600;cursor:pointer}
.dedup-result{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:8px 0 2px}
.dedup-col{border:1px solid var(--line,#26272b);border-radius:10px;padding:10px;background:var(--panel,#17181b)}
.dedup-col h4{margin:0 0 6px;font-size:12px;color:#8a8f99;font-weight:600}
.dedup-item{display:flex;justify-content:space-between;gap:8px;font-size:12px;padding:4px 0;border-bottom:1px dashed #2a2b2f}
.dedup-item b{color:var(--text,#f3f4f6);font-weight:500;word-break:break-all}
.dedup-item span{color:#c9971a;white-space:nowrap}
.dedup-empty{font-size:12px;color:#5fae6a;padding:4px 0}
@media (max-width:720px){.dedup-result{grid-template-columns:1fr}}
/* 扩展中心 */
.ext-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
.ext-card{border:1px solid var(--line,#26272b);border-radius:14px;padding:16px;background:var(--panel,#17181b);display:flex;flex-direction:column;gap:8px}
.ext-card .ext-ic{font-size:26px}
.ext-card h3{margin:0;font-size:15px;display:flex;align-items:center;gap:8px}
.ext-ver{font-size:11px;font-weight:600;color:#1a1a1a;background:#f5c518;border-radius:999px;padding:1px 8px}
.ext-card p{margin:0;flex:1}
.ext-card .button,.ext-card a.button{align-self:flex-start;margin-top:4px}

/* MotionSites workspace: a shared component system, no external animation runtime. */
html,body#hdWorkspace.hd-next{background:#f4f5f7;color:#17191d}
body#hdWorkspace.hd-next{--bg:#f4f5f7;--paper:#fff;--ink:#17191d;--muted:#69717d;--line:#e8ebef;--gold:#ffc400;--soft:#fff7d6;--olive:#17191d;font-family:"Segoe UI","Microsoft YaHei","PingFang SC",sans-serif;-webkit-font-smoothing:antialiased}
#hdWorkspace.hd-next .shell{grid-template-columns:232px minmax(0,1fr)}
#hdWorkspace.hd-next .shell main{max-width:1680px;padding:26px clamp(20px,2.4vw,40px) 32px;min-width:0}
#hdWorkspace.hd-next #workspaceNav{padding:28px 18px 18px;background:#141518;border:0;height:100dvh;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#3b3d42 transparent;z-index:40}
#hdWorkspace.hd-next .brand{padding:0 10px 22px;border-bottom:1px solid #ffffff12;gap:12px;flex-shrink:0}
#hdWorkspace.hd-next .brand .product-logo{width:43px;height:43px;border-radius:13px}
#hdWorkspace.hd-next .brand strong{color:#fff;font-size:24px;letter-spacing:3px;line-height:1.4}
#hdWorkspace.hd-next .brand small{color:#93979f;font-size:10px;letter-spacing:.5px;margin-top:3px}
#hdWorkspace.hd-next .nav-label{display:none}
#hdWorkspace.hd-next #workspaceNav nav{display:grid;gap:4px;margin:17px 0 20px}
#hdWorkspace.hd-next .nav-group-label{display:block;font-size:10px;font-weight:500;letter-spacing:1.5px;color:#7e828c;margin:17px 12px 6px}
#hdWorkspace.hd-next .nav-group-label:first-child{margin-top:0}
#hdWorkspace.hd-next #workspaceNav nav button{display:flex;align-items:center;gap:12px;min-height:44px;padding:10px 13px;border:1px solid transparent;border-radius:10px;font-size:13px;line-height:1.4;color:#b9bdc6;background:transparent;transition:background .16s,color .16s,transform .16s;position:relative}
#hdWorkspace.hd-next #workspaceNav nav button svg{height:18px;width:18px;flex-shrink:0;opacity:.85}
#hdWorkspace.hd-next #workspaceNav nav button:hover{color:#fff;background:#ffffff0b}
#hdWorkspace.hd-next #workspaceNav nav button.active{color:#151619;background:#ffc400;font-weight:700;box-shadow:0 4px 16px #ffc40012}
#hdWorkspace.hd-next #workspaceNav nav button.active:after{display:none}
#hdWorkspace.hd-next #workspaceNav nav button.active svg{opacity:1}
#hdWorkspace.hd-next #workspaceNav nav b{margin-left:auto;background:#17191d;color:#ffc400;padding:2px 7px;line-height:1.4}
#hdWorkspace.hd-next .aside-bottom{margin-top:auto;border-top:1px solid #ffffff12;padding:17px 12px 0;flex-shrink:0;color:#868c96;font-size:10px}
#hdWorkspace.hd-next .aside-bottom p{color:#e3e5e8;font-size:12px;margin:10px 0 5px}
#hdWorkspace.hd-next .aside-bottom .text-button{color:#b9bdc6;font-size:11px;padding:3px 0;min-height:26px}
#hdWorkspace.hd-next .aside-bottom .local-dot{background:#99c4a1;box-shadow:0 0 0 3px #99c4a114;margin-right:5px}
#hdWorkspace.hd-next main>header{margin-bottom:26px;gap:18px;align-items:center;padding:0 0 23px;border-bottom:1px solid var(--line)}
#hdWorkspace.hd-next main>header .eyebrow{font-size:9px;letter-spacing:1.8px;margin-bottom:6px;color:#858b94}
#hdWorkspace.hd-next #pageTitle{font-size:clamp(23px,2vw,30px);line-height:1.3;font-weight:750;letter-spacing:-.8px}
#hdWorkspace.hd-next .page-description{font-size:12px;line-height:1.6;color:#7b818b;margin:8px 0 0}
#hdWorkspace.hd-next .header-actions{gap:10px;flex-wrap:wrap;justify-content:flex-end}
#hdWorkspace.hd-next #syncStatus{max-width:160px;font-size:10px;line-height:1.6}
#hdWorkspace.hd-next .quick-open{background:transparent;border-color:transparent;color:#69717d;gap:8px;font-size:12px}
#hdWorkspace.hd-next .quick-open kbd{background:#fff;border:1px solid #e2e5e9;border-radius:5px;padding:1px 5px;font:10px/1.7 inherit;color:#8b9098}
#hdWorkspace.hd-next #refreshButton{background:#fff;font-size:12px;padding:10px 14px;border-color:#e2e5e9}
#hdWorkspace.hd-next button,#hdWorkspace.hd-next .button{border-radius:10px;min-height:42px;padding:10px 16px;box-shadow:none;transition:background .16s,border-color .16s,box-shadow .16s,transform .16s;font-weight:550;line-height:1.4}
#hdWorkspace.hd-next button:not(:disabled):hover,#hdWorkspace.hd-next .button:hover{border-color:#d6b340;background:#fff9e6;box-shadow:0 3px 10px #17191d06}
#hdWorkspace.hd-next button:not(:disabled):active{transform:scale(.98)}
#hdWorkspace.hd-next .primary,#hdWorkspace.hd-next button.primary,#hdWorkspace.hd-next .button.primary{background:#ffc400;color:#17191d;border-color:#ffc400;box-shadow:0 3px 8px #ffc40018;font-weight:700}
#hdWorkspace.hd-next .primary:not(:disabled):hover{background:#f4b900;border-color:#f4b900;box-shadow:0 4px 12px #ffc40030}
#hdWorkspace.hd-next button:disabled{opacity:.45;transform:none;box-shadow:none}
#hdWorkspace.hd-next :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #e0a90080;outline-offset:3px}
#hdWorkspace.hd-next :is(input,select,textarea){border:1px solid #e1e5ea;border-radius:10px;background:#fcfcfd;color:#262a31;min-height:44px;padding:11px 13px;box-shadow:none;font:inherit;font-size:13px;transition:border-color .16s,box-shadow .16s}
#hdWorkspace.hd-next :is(input,select,textarea):focus{border-color:#d7ae27;box-shadow:0 0 0 3px #ffc40012;outline:none}
#hdWorkspace.hd-next input[type=checkbox],#hdWorkspace.hd-next input[type=radio]{min-height:0;width:16px;height:16px;accent-color:#e8b400;padding:0;flex-shrink:0}
#hdWorkspace.hd-next label{font-size:12px;color:#656d78;line-height:1.6;gap:7px;min-width:0}
#hdWorkspace.hd-next :is(h2,h3){color:#17191d;letter-spacing:-.4px}
#hdWorkspace.hd-next h2{font-size:20px;font-weight:720;line-height:1.4}
#hdWorkspace.hd-next h3{font-size:15px;font-weight:650;line-height:1.5}
#hdWorkspace.hd-next :is(.panel,#collectorRoot .card,.manga-compose,.watch-card,.alert-card,.stats article){background:#fff;border:1px solid #e5e8ed;border-radius:18px;box-shadow:0 2px 3px #17191d01;padding:26px}
#hdWorkspace.hd-next #collectorRoot .card{margin-bottom:18px}
#hdWorkspace.hd-next :is(.section-head,.discovery-head,.video-section-head){gap:16px}
#hdWorkspace.hd-next .section-head{margin:28px 0 16px}
#hdWorkspace.hd-next .section-head h2{font-size:19px}
#hdWorkspace.hd-next .section-head .eyebrow{font-size:9px;color:#969da7;letter-spacing:1.6px;margin-bottom:6px}
#hdWorkspace.hd-next .ops-intro,#hdWorkspace.hd-next .welcome{background:#181a1e;background-image:radial-gradient(ellipse at 90% 20%,#ffc40014,transparent 55%);border:1px solid #22252a;border-radius:20px;padding:29px 32px;position:relative;overflow:hidden}
#hdWorkspace.hd-next .ops-intro{border-top:0;min-height:156px}
#hdWorkspace.hd-next .ops-intro:after{content:"";position:absolute;right:31%;width:1px;height:100%;top:0;background:linear-gradient(transparent,#ffffff12,transparent);transform:rotate(25deg);pointer-events:none}
#hdWorkspace.hd-next .ops-intro h2,#hdWorkspace.hd-next .welcome h2{font-size:clamp(23px,2.5vw,33px);font-weight:700;letter-spacing:-1px;line-height:1.45;color:#fff;margin:8px 0}
#hdWorkspace.hd-next .ops-intro .eyebrow,#hdWorkspace.hd-next .welcome .eyebrow{font-size:9px;color:#ffc400;letter-spacing:2px}
#hdWorkspace.hd-next .ops-intro p,#hdWorkspace.hd-next .welcome p{font-size:12px;color:#a6aab3;margin-bottom:0}
#hdWorkspace.hd-next .welcome .primary{margin-top:23px}
#hdWorkspace.hd-next .welcome-mark{color:#ffc400;opacity:.7}
#hdWorkspace.hd-next .ops-freshness{position:relative;z-index:1}
#hdWorkspace.hd-next .ops-freshness>span{font-size:10px;color:#a4a9b3}
#hdWorkspace.hd-next .ops-freshness strong{font-size:26px;font-variant-numeric:tabular-nums;letter-spacing:-.8px;color:white}
#hdWorkspace.hd-next .ops-freshness small{font-size:10px;color:#d3bc6a;max-width:290px}
#hdWorkspace.hd-next .sync-settings-link{font-size:10px;color:#b8bdc8}
#hdWorkspace.hd-next .ops-jump{margin:17px 0 20px;padding:0 2px;gap:6px;background:transparent;border:0;display:flex;overflow:auto}
#hdWorkspace.hd-next .ops-jump a{font-size:12px;padding:7px 12px;border:1px solid transparent;border-radius:8px;color:#656d78;white-space:nowrap;text-decoration:none}
#hdWorkspace.hd-next .ops-jump a:hover{background:#fff;border-color:#e8ebef;color:#17191d}
#hdWorkspace.hd-next .ops-jump span{font-size:10px;margin-left:auto;color:#9399a3;white-space:nowrap}
#hdWorkspace.hd-next .ops-filters{border:1px solid #e5e8ed;background:white;padding:18px 20px;border-radius:14px;gap:12px;margin-bottom:22px;align-items:end}
#hdWorkspace.hd-next .ops-shortcuts button{min-height:36px;padding:7px 10px;font-size:11px}
#hdWorkspace.hd-next .ops-summary{gap:14px;margin-bottom:25px}
#hdWorkspace.hd-next .ops-summary article{border-radius:15px;padding:21px 23px;border:1px solid #e5e8ed;background:#fff;min-width:0;box-shadow:none}
#hdWorkspace.hd-next .ops-summary article:first-child{border-top:3px solid #ffc400;padding-top:19px}
#hdWorkspace.hd-next .ops-summary article>span{font-size:11px;color:#747d89}
#hdWorkspace.hd-next .ops-summary strong{font-size:clamp(26px,2.25vw,35px);letter-spacing:-1px;line-height:1.5;color:#17191d;font-variant-numeric:tabular-nums;font-weight:720}
#hdWorkspace.hd-next .ops-summary small{font-size:10px;color:#959ca7}
#hdWorkspace.hd-next .finance-total,#hdWorkspace.hd-next .finance-driver,#hdWorkspace.hd-next .ops-daily article,#hdWorkspace.hd-next .ops-mix-card{border-radius:15px}
#hdWorkspace.hd-next .ops-daily article,#hdWorkspace.hd-next .ops-mix-card{border-color:#e5e8ed;box-shadow:none}
#hdWorkspace.hd-next .finance-total{background:linear-gradient(180deg,#23252e,#1d1f26);border:1px solid #33363f;padding:17px 19px;margin:2px 0}
#hdWorkspace.hd-next .ops-chart{overflow:hidden;border-radius:17px;padding:23px}
#hdWorkspace.hd-next .ops-chart h3{font-size:15px;margin-bottom:5px}
#hdWorkspace.hd-next .ops-chart p{font-size:10px;color:#939aa5}
#hdWorkspace.hd-next :is(.table-wrap,.book-table-wrap,.pool-table){border-radius:13px;border-color:#e8ebef}
#hdWorkspace.hd-next :is(.record-table,.book-table,.pool-table table){font-size:12px}
#hdWorkspace.hd-next :is(.record-table,.book-table,.pool-table table) th{background:#f8f9fb;font-size:11px;color:#7c8491;border-color:#eef0f4;padding:13px 17px}
#hdWorkspace.hd-next :is(.record-table,.book-table,.pool-table table) td{padding:16px 17px;border-color:#eef0f4}
#hdWorkspace.hd-next :is(.record-table,.book-table,.pool-table table) tbody tr{transition:background .16s}
#hdWorkspace.hd-next :is(.record-table,.book-table,.pool-table table) tbody tr:hover{background:#fffcf0}
#hdWorkspace.hd-next :is(.empty,.empty-state){background:#fafbfc;border-color:#e2e6eb;color:#9098a4;border-radius:13px;padding:35px 20px}
#hdWorkspace.hd-next :is(.empty,.empty-state) strong{color:#5c6572;font-size:14px}
#hdWorkspace.hd-next .novel-hub{margin-bottom:18px;background:#fff;border:1px solid #e5e8ed;border-radius:18px;padding:25px 27px 0}
#hdWorkspace.hd-next .hub-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
#hdWorkspace.hd-next .hub-heading h2{font-size:24px;letter-spacing:-.7px;margin:4px 0 7px}
#hdWorkspace.hd-next .hub-heading p{font-size:12px;color:#7c8490;margin:0}
#hdWorkspace.hd-next .hub-heading .eyebrow{color:#a58828;font-size:9px;letter-spacing:1.7px}
#hdWorkspace.hd-next .hub-badge{font-size:10px;white-space:nowrap;color:#93751b;border:1px solid #f4e6ae;background:#fff9e3;border-radius:20px;padding:5px 10px}
#hdWorkspace.hd-next .novel-mode-tabs{display:flex;gap:5px;background:#f4f5f7;border:1px solid #eef0f3;border-radius:11px;width:max-content;max-width:100%;padding:4px;margin:22px 0}
#hdWorkspace.hd-next .novel-mode-tabs button{font-size:12px;min-height:36px;padding:8px 21px;background:transparent;border:1px solid transparent;color:#818894;white-space:nowrap}
#hdWorkspace.hd-next .novel-mode-tabs button[aria-pressed=true]{background:#17191d;color:#fff;border-color:#17191d;box-shadow:0 3px 8px #17191d15}
#hdWorkspace.hd-next .workflow-strip{display:flex;align-items:center;gap:16px;border-top:1px solid #eef0f3;padding:16px 0;font-size:11px;color:#8c939e}
#hdWorkspace.hd-next .workflow-strip span{display:flex;gap:8px;align-items:center;white-space:nowrap}
#hdWorkspace.hd-next .workflow-strip b{display:grid;place-items:center;border-radius:6px;background:#f4f5f7;width:23px;height:23px;font-size:9px;color:#8b929d;font-weight:600}
#hdWorkspace.hd-next .workflow-strip span:first-child{color:#343a43}
#hdWorkspace.hd-next .workflow-strip span:first-child b{color:#9b7815;background:#fff4ca}
#hdWorkspace.hd-next .workflow-strip i{height:1px;width:clamp(12px,3vw,50px);background:#e5e8ed}
#hdWorkspace.hd-next #collectorRoot .browser-bridge{border-radius:12px;background:#fafbfc;padding:0;margin:0 0 18px;font-size:12px}
#hdWorkspace.hd-next .browser-bridge>summary{min-height:48px;padding:13px 18px}
#hdWorkspace.hd-next .browser-bridge>div{padding:0 18px 18px}
#hdWorkspace.hd-next .cardtitle{font-size:15px;font-weight:700;color:#343b47;gap:10px;margin-bottom:19px}
#hdWorkspace.hd-next .step{width:27px;height:27px;border-radius:8px;background:#fff2bc;color:#8d6b0a;font-size:11px;display:inline-grid;place-items:center}
#hdWorkspace.hd-next #bulkPanel>.card:first-child .inputrow{display:flex;flex-wrap:wrap;gap:8px}
#hdWorkspace.hd-next #siteUrl{order:0;flex:1 1 60%;min-width:220px;min-height:48px;font-size:14px;background:#f9fafc}
#hdWorkspace.hd-next #scanBtn{order:1;min-height:48px;padding-inline:22px}
#hdWorkspace.hd-next #siteCheckBtn,#hdWorkspace.hd-next #analyzeBtn,#hdWorkspace.hd-next #continueScan,#hdWorkspace.hd-next #stopScan{order:3;font-size:11px;min-height:32px;padding:6px 11px;background:#fff;color:#727b88}
#hdWorkspace.hd-next .source-shortcuts{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:15px 0 20px;font-size:10px;color:#989faa}
#hdWorkspace.hd-next .source-shortcuts>span:first-child{margin-right:5px;color:#858d99}
#hdWorkspace.hd-next .source-shortcuts button{min-height:28px;font-size:10px;padding:5px 10px;border:1px solid #e9ecf1;border-radius:7px;background:#fafbfc;color:#616a77}
#hdWorkspace.hd-next .source-custom-note{margin-left:4px}
#hdWorkspace.hd-next .scan-advanced{border-top:1px solid #eef0f3;border-bottom:1px solid #eef0f3;margin:8px 0 16px}
#hdWorkspace.hd-next .scan-advanced>summary,#hdWorkspace.hd-next .manga-quick>summary{padding:15px 0;cursor:pointer;font-size:12px;font-weight:650;color:#59616f;list-style-position:inside}
#hdWorkspace.hd-next :is(.scan-advanced,.manga-quick)>summary span{font-size:10px;color:#969eaa;font-weight:400;margin-left:12px}
#hdWorkspace.hd-next .scan-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0;padding:5px 0 21px;align-items:start}
#hdWorkspace.hd-next .scan-options>label{width:auto;min-width:0}
#hdWorkspace.hd-next .scan-options input{width:100%!important}
#hdWorkspace.hd-next .scan-options .check-label{display:flex;align-items:center;min-height:44px;align-self:end;font-size:11px}
#hdWorkspace.hd-next .scan-note{font-size:10px;color:#929aa6;line-height:1.8;margin:5px 0}
#hdWorkspace.hd-next .rules-panel{border-color:#eef0f3}
#hdWorkspace.hd-next .rules-panel>summary{font-size:12px;padding:15px 0}
#hdWorkspace.hd-next .rules-panel>summary span{font-size:10px;color:#9ca3ae}
#hdWorkspace.hd-next .bulk-stats{gap:12px;margin:18px 0}
#hdWorkspace.hd-next .bulk-stats>div{background:white;border:1px solid #e5e8ed;border-radius:13px;padding:16px 20px}
#hdWorkspace.hd-next .bulk-stats b{font-size:26px;color:#343b47;font-variant-numeric:tabular-nums}
#hdWorkspace.hd-next .bulk-stats span{font-size:10px;color:#9199a6}
#hdWorkspace.hd-next .batch-actions,#hdWorkspace.hd-next .novel-folder-card,#hdWorkspace.hd-next .local-folder-box{background:#fffdf6;border-color:#f0e6c1;border-radius:14px}
#hdWorkspace.hd-next .batch-actions strong{font-size:13px}
#hdWorkspace.hd-next .batch-actions p,#hdWorkspace.hd-next .novel-folder-card p{font-size:11px;color:#8b8e8a}
#hdWorkspace.hd-next .feature-heading{padding:0 0 18px;border:0}
#hdWorkspace.hd-next .feature-heading h2{font-size:23px}
#hdWorkspace.hd-next .upload-type-tabs{background:#e9ecf1;padding:4px;border-radius:12px;width:max-content;max-width:100%;gap:4px;margin-bottom:20px}
#hdWorkspace.hd-next .upload-type-tabs button{min-height:38px;border:0;border-radius:9px;background:transparent;padding-inline:25px;font-size:12px}
#hdWorkspace.hd-next .upload-type-tabs button[aria-pressed=true]{background:#fff;color:#17191d;box-shadow:0 2px 6px #17191d0b}
#hdWorkspace.hd-next .pool-actions{gap:9px}
#hdWorkspace.hd-next .pool-note{font-size:11px;color:#929aa6;line-height:1.8}
#hdWorkspace.hd-next .manga-compose>.section-head{margin-top:0}
#hdWorkspace.hd-next #mangaInput{min-height:104px;font-size:13px}
#hdWorkspace.hd-next .manga-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start;max-width:760px}
#hdWorkspace.hd-next .manga-options label{grid-template-rows:20px 44px auto;align-content:start}
#hdWorkspace.hd-next .manga-options small{font-size:10px;color:#929aa6}
#hdWorkspace.hd-next .local-folder-box{margin:5px 0;padding:18px 20px}
#hdWorkspace.hd-next .local-folder-controls{align-items:center;gap:12px}
#hdWorkspace.hd-next #localFolderLabel{font-size:11px;font-weight:400;color:#858e9a;overflow-wrap:anywhere}
#hdWorkspace.hd-next .manga-quick{padding:4px 23px;margin-top:18px;background:#fafbfc}
#hdWorkspace.hd-next .manga-discovery-body{padding:8px 0 18px}
#hdWorkspace.hd-next .manga-quick .section-head{margin-top:8px}
#hdWorkspace.hd-next .manga-quick h2{font-size:17px}
#hdWorkspace.hd-next .manga-quick .eyebrow{display:none}
#hdWorkspace.hd-next .manga-job,#hdWorkspace.hd-next .watch-card,#hdWorkspace.hd-next .alert-card{border:1px solid #e5e8ed;border-radius:16px;padding:22px 25px;background:white}
#hdWorkspace.hd-next .watch-actions{align-content:start;gap:8px}
#hdWorkspace.hd-next .watch-actions button,#hdWorkspace.hd-next .watch-actions select{min-height:35px;font-size:11px;padding:7px 11px}
#hdWorkspace.hd-next .watch-card h3{font-size:15px}
#hdWorkspace.hd-next .watch-card p{font-size:11px;line-height:1.8}
#hdWorkspace.hd-next .bar,#hdWorkspace.hd-next .manga-progress{height:7px;border-radius:8px;overflow:hidden;background:#e9edf2}
#hdWorkspace.hd-next .bar>i,#hdWorkspace.hd-next .manga-progress>i{background:#e9b400;border-radius:8px}
#hdWorkspace.hd-next .toast{background:#1b1e24;color:white;border:1px solid #ffffff16;box-shadow:0 10px 35px #17191d25;border-radius:12px;font-size:12px;line-height:1.8;padding:15px 22px}
#hdWorkspace.hd-next dialog{border-radius:20px;border:1px solid #e5e8ed;box-shadow:0 28px 90px #17191d30;padding:26px;max-height:90dvh}
#hdWorkspace.hd-next dialog::backdrop{background:#1217246b;backdrop-filter:blur(4px)}
#hdWorkspace.hd-next .service-note{border:1px solid #ebe6d5;border-left:3px solid #e9bd3e;border-radius:10px;background:#fffdf5;padding:17px 20px;font-size:11px;gap:5px}
#hdWorkspace.hd-next .service-note span{font-size:10px;line-height:1.8}
#hdWorkspace.hd-next footer{border-color:#e3e7ed;color:#9ca3ae;font-size:9px;margin-top:34px}
#hdWorkspace.hd-next .auth-screen{background:#f4f5f7}
#hdWorkspace.hd-next .auth-card{max-width:380px}
#hdWorkspace.hd-next .auth-story{background:#17191d;background-image:radial-gradient(ellipse at 75% 25%,#ffc40014,transparent 65%)}
#hdWorkspace.hd-next .auth-story:after{color:#ffc40008;font-size:390px;right:-10px}
#hdWorkspace.hd-next .auth-story h2{color:#fff;font-weight:750;font-size:clamp(34px,3.5vw,54px);letter-spacing:-1.5px;line-height:1.4}
#hdWorkspace.hd-next .auth-story .eyebrow{color:#ffc400;font-size:10px}
#hdWorkspace.hd-next .auth-story p{color:#969eaa;font-size:13px}
#hdWorkspace.hd-next .story-lines{color:#c8ced7;font-size:11px;gap:20px;letter-spacing:1px}
#hdWorkspace.hd-next [data-view]:not([hidden]){animation:hd-page-in .26s cubic-bezier(.22,1,.36,1) both}
#hdWorkspace.hd-next dialog[open]{animation:hd-dialog-in .2s cubic-bezier(.22,1,.36,1) both}
@keyframes hd-page-in{from{opacity:.35;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes hd-dialog-in{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}
@media(hover:hover) and (pointer:fine){#hdWorkspace.hd-next :is(.ops-summary article,.stats article,.finance-driver,.ext-card){transition:transform .18s,border-color .18s,box-shadow .18s}#hdWorkspace.hd-next :is(.ops-summary article,.stats article,.finance-driver,.ext-card):hover{transform:translateY(-2px);border-color:#dac56f;box-shadow:0 8px 22px #17191d06}}
@media(max-width:1100px){#hdWorkspace.hd-next .shell{grid-template-columns:208px minmax(0,1fr)}#hdWorkspace.hd-next #workspaceNav{padding:24px 12px 16px}#hdWorkspace.hd-next .shell main{padding:22px 20px}#hdWorkspace.hd-next #syncStatus{display:none}#hdWorkspace.hd-next .ops-filters{flex-wrap:wrap}#hdWorkspace.hd-next .scan-options{grid-template-columns:repeat(3,minmax(0,1fr))}#hdWorkspace.hd-next .ops-intro{padding:24px}}
@media(max-width:760px){#hdWorkspace.hd-next .shell{display:block}#hdWorkspace.hd-next #workspaceNav{position:fixed;left:0;top:0;width:250px;height:100dvh;display:flex;transform:translateX(-100%);transition:transform .22s cubic-bezier(.22,1,.36,1);box-shadow:none}#hdWorkspace.hd-next.nav-open #workspaceNav{transform:translateX(0);box-shadow:25px 0 100px #17191d45}#hdWorkspace.hd-next .aside-bottom{display:block}#hdWorkspace.hd-next #workspaceNav nav{display:grid;overflow:visible}#hdWorkspace.hd-next .shell main{padding:18px 15px}#hdWorkspace.hd-next main>header{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;margin-bottom:20px;padding-bottom:17px}#hdWorkspace.hd-next .mobile-menu{display:block;min-height:36px;padding:6px;background:#fff;border:1px solid #e5e8ed;border-radius:9px;font-size:16px}#hdWorkspace.hd-next main>header .header-actions{grid-column:1/-1;justify-content:space-between;margin-top:5px}#hdWorkspace.hd-next main>header .eyebrow{font-size:8px}#hdWorkspace.hd-next #pageTitle{font-size:24px}#hdWorkspace.hd-next .page-description{font-size:10px;margin-top:5px}#hdWorkspace.hd-next .quick-open{font-size:11px;padding:5px 0;min-height:32px}#hdWorkspace.hd-next #refreshButton{font-size:11px;min-height:34px;padding:7px 12px}#hdWorkspace.hd-next :is(.panel,#collectorRoot .card,.watch-card,.alert-card){padding:19px;border-radius:14px}#hdWorkspace.hd-next .ops-intro{padding:23px;min-height:0;gap:15px;flex-wrap:wrap}#hdWorkspace.hd-next .ops-intro h2{font-size:25px}#hdWorkspace.hd-next .ops-freshness{text-align:left;width:100%;border-top:1px solid #ffffff12;padding-top:14px;display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}#hdWorkspace.hd-next .ops-freshness strong{font-size:20px}#hdWorkspace.hd-next .ops-freshness small{max-width:100%;font-size:9px}#hdWorkspace.hd-next .ops-jump span{display:none}#hdWorkspace.hd-next .ops-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#hdWorkspace.hd-next .ops-summary article{padding:16px}#hdWorkspace.hd-next .ops-summary article:first-child{padding-top:14px}#hdWorkspace.hd-next .ops-summary strong{font-size:26px}#hdWorkspace.hd-next .ops-filters{padding:16px;display:grid;grid-template-columns:1fr 1fr}#hdWorkspace.hd-next .ops-filters>label:first-child{grid-column:1/-1}#hdWorkspace.hd-next .ops-shortcuts{grid-column:1/-1}#hdWorkspace.hd-next .novel-hub{padding:21px 19px 0;border-radius:14px}#hdWorkspace.hd-next .hub-heading h2{font-size:22px}#hdWorkspace.hd-next .hub-badge{display:none}#hdWorkspace.hd-next .novel-mode-tabs{width:100%;margin:20px 0}#hdWorkspace.hd-next .novel-mode-tabs button{flex:1;padding:8px 5px;font-size:11px}#hdWorkspace.hd-next .workflow-strip{gap:9px;font-size:9px;justify-content:space-between}#hdWorkspace.hd-next .workflow-strip span{gap:5px}#hdWorkspace.hd-next .workflow-strip i{width:10px;flex-shrink:1}#hdWorkspace.hd-next .workflow-strip b{width:20px;height:20px;font-size:8px}#hdWorkspace.hd-next .scan-options{grid-template-columns:1fr 1fr}#hdWorkspace.hd-next .manga-options{max-width:none}#hdWorkspace.hd-next .manga-quick>summary span,#hdWorkspace.hd-next .scan-advanced>summary span{display:none}#hdWorkspace.hd-next .watch-card{flex-direction:column}#hdWorkspace.hd-next .source-custom-note{flex-basis:100%;margin-top:4px}#hdWorkspace.hd-next .upload-type-tabs{width:100%;display:flex}#hdWorkspace.hd-next .upload-type-tabs button{padding:9px 13px;flex:1}#hdWorkspace.hd-next .source-shortcuts{gap:6px}#hdWorkspace.hd-next #siteUrl{min-width:0;flex-basis:100%}#hdWorkspace.hd-next #scanBtn{flex-basis:100%;min-height:43px}#hdWorkspace.hd-next .section-head{flex-wrap:wrap}#hdWorkspace.hd-next .ops-chart-grid{grid-template-columns:1fr}#hdWorkspace.hd-next .hub-heading p{font-size:11px}#hdWorkspace.hd-next .auth-card{width:calc(100% - 48px)}}
@media(max-width:460px){#hdWorkspace.hd-next .shell main{padding:16px 12px}#hdWorkspace.hd-next .scan-options{grid-template-columns:1fr}#hdWorkspace.hd-next .manga-options{gap:11px}#hdWorkspace.hd-next .manga-options label{font-size:11px}#hdWorkspace.hd-next .manga-options select{font-size:11px;padding:10px 7px}#hdWorkspace.hd-next .workflow-strip i{display:none}#hdWorkspace.hd-next .workflow-strip{gap:5px}#hdWorkspace.hd-next .novel-mode-tabs button{font-size:10px}#hdWorkspace.hd-next .local-folder-controls{flex-wrap:wrap}#hdWorkspace.hd-next .ops-day-label{font-size:10px}#hdWorkspace.hd-next .ops-filters{gap:10px}#hdWorkspace.hd-next .ops-filters input{font-size:11px;padding:11px 7px}#hdWorkspace.hd-next .auth-story{display:none}}
@media(prefers-reduced-motion:reduce){#hdWorkspace.hd-next *,#hdWorkspace.hd-next *:before,#hdWorkspace.hd-next *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

#hdWorkspace.hd-next .novel-hub{padding-top:20px}
#hdWorkspace.hd-next .hub-heading h2{font-size:21px}
#hdWorkspace.hd-next .novel-mode-tabs{margin:17px 0}
#hdWorkspace.hd-next .workflow-strip{padding:13px 0}
#hdWorkspace.hd-next .ops-summary .ops-revenue{background:#fffdf6}
#hdWorkspace.hd-next #opsContent .ops-summary .ops-revenue>span,#hdWorkspace.hd-next #opsContent .ops-summary .ops-revenue small{color:#84806f!important}
#hdWorkspace.hd-next .header-actions .quick-open{min-height:36px}

/* Keep navigation identity and account controls anchored while the menu scrolls. */
#hdWorkspace.hd-next #workspaceNav{overflow:hidden}
#hdWorkspace.hd-next #workspaceNav nav{flex:1;min-height:0;overflow-y:auto;align-content:start;grid-auto-rows:max-content;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#3b3d42 transparent;padding-right:2px}
#hdWorkspace.hd-next #collectorRoot,#hdWorkspace.hd-next #collectorRoot .workspace-feature{background:transparent}
#hdWorkspace.hd-next #collectorRoot .workspace-feature{padding:0}
#hdWorkspace.hd-next #collectorRoot .feature-heading{padding:0 0 18px}
@media(max-width:760px){#hdWorkspace.hd-next .quick-open span{display:inline}#hdWorkspace.hd-next .quick-open kbd{display:none}#hdWorkspace.hd-next #workspaceNav nav{overflow-y:auto}}

#hdWorkspace.hd-next .workspace-loading{display:flex;align-items:center;gap:16px;min-height:170px;padding:30px;border:1px solid #e5e8ed;border-radius:18px;background:#fff;color:#69717d}
#hdWorkspace.hd-next .workspace-loading strong{font-size:15px;color:#343b47}
#hdWorkspace.hd-next .workspace-loading p{font-size:12px;margin:6px 0 0;color:#929aa6}
#hdWorkspace.hd-next .loading-orbit{width:30px;height:30px;flex-shrink:0;border:3px solid #fff1bd;border-top-color:#dca900;border-radius:50%;animation:hd-loading .8s linear infinite}
#hdWorkspace.hd-next #collectorRoot[aria-busy=true]{display:none}
@keyframes hd-loading{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#hdWorkspace.hd-next .loading-orbit{animation:none}}

/* Video cards: the cover stays in layout so native lazy loading can start. */
#hdWorkspace.hd-next #collectorRoot .poster-cover{padding:0;min-height:0;border:0;border-radius:0;aspect-ratio:3/4;background:#eef0f4}
#hdWorkspace.hd-next #collectorRoot .poster-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:opacity .2s;z-index:1}
#hdWorkspace.hd-next #collectorRoot .poster-ph{font-size:12px;color:#8993a2;background:linear-gradient(145deg,#eef0f4,#e3e7ed);z-index:0}
#hdWorkspace.hd-next #collectorRoot .poster-ep,#hdWorkspace.hd-next #collectorRoot .poster-dup{z-index:2}
#hdWorkspace.hd-next #collectorRoot .poster-card{background:#fff;border-color:#e1e5eb;box-shadow:0 2px 4px #17191d04}
#hdWorkspace.hd-next #collectorRoot .poster-card:hover{box-shadow:0 7px 20px #17191d0d}
#hdWorkspace.hd-next #collectorRoot .poster-title{color:#252a33;font-size:13px}
#hdWorkspace.hd-next #collectorRoot .poster-tags{color:#737d8b}
#hdWorkspace.hd-next #collectorRoot .poster-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}
#hdWorkspace.hd-next #collectorRoot .poster-actions button{padding:9px 6px;min-height:38px;font-size:12px;white-space:nowrap;color:#333b48;background:#fff}
#hdWorkspace.hd-next #collectorRoot .poster-actions .primary{background:#ffc400;color:#17191d}
#hdWorkspace.hd-next #collectorRoot .poster-actions .poster-dedup{grid-column:1/-1;min-height:32px;background:#f7f8fa;border-color:#e7ebf0;color:#657082}
#hdWorkspace.hd-next #collectorRoot .poster-dedup-result{padding:12px;border-top:1px solid #e8ebef;font-size:11px;color:#6b7584;overflow-wrap:anywhere;line-height:1.7}
#hdWorkspace.hd-next #collectorRoot .poster-dedup-result strong{font-size:12px;color:#374252}
#hdWorkspace.hd-next #collectorRoot .poster-dedup-result p{margin:5px 0}
#hdWorkspace.hd-next #collectorRoot .poster-dedup-result summary{font-size:11px;cursor:pointer;padding:5px 0}

#hdWorkspace.hd-next #collectorRoot .poster-grid{align-items:start}

/* ===== 竞品监控 & 视频水印（与全站浅色主题一致） ===== */
#hdWorkspace.hd-next [data-view="rival"],
#hdWorkspace.hd-next [data-view="watermark"]{padding:24px 0}
#hdWorkspace.hd-next .rival-account-card{background:#fff;border:1px solid var(--line);border-radius:14px;margin-bottom:14px;box-shadow:0 2px 10px #17182703}
#hdWorkspace.hd-next .rival-account-card .rival-account-body{padding:4px 20px 18px}
#hdWorkspace.hd-next .rival-account-head{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:16px 20px}
#hdWorkspace.hd-next .rival-account-head::-webkit-details-marker{display:none}
#hdWorkspace.hd-next .rival-account-head::before{content:'▸';display:inline-block;color:var(--muted);transition:transform .15s;font-size:12px}
#hdWorkspace.hd-next details[open]>.rival-account-head::before{transform:rotate(90deg)}
#hdWorkspace.hd-next .rival-handle{font-weight:600;font-size:15px;color:var(--ink)}
#hdWorkspace.hd-next .rival-label{font-size:12px;color:var(--muted);background:#f0f2e8;border-radius:4px;padding:2px 7px}
#hdWorkspace.hd-next .rival-total,#hdWorkspace.hd-next .rival-last-check{font-size:12px}
#hdWorkspace.hd-next .rival-last-check{margin-left:auto}
#hdWorkspace.hd-next .rival-total+.rival-last-check{margin-left:0}
#hdWorkspace.hd-next .rival-actions{display:flex;gap:4px;margin-left:12px}
#hdWorkspace.hd-next .rival-actions .text-button{padding:4px 8px;font-size:12px}
#hdWorkspace.hd-next .rival-batch-bar{display:flex;align-items:center;gap:12px;padding:8px 2px;margin-bottom:4px;flex-wrap:wrap}
#hdWorkspace.hd-next .rival-select-all-label{font-size:12px;display:flex;align-items:center;gap:5px;color:var(--muted);cursor:pointer;user-select:none}
#hdWorkspace.hd-next .rival-batch-dl-btn{font-size:12px;padding:4px 12px}
#hdWorkspace.hd-next .rival-batch-status{font-size:12px}
#hdWorkspace.hd-next .rival-posts-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px;margin-top:4px}
#hdWorkspace.hd-next .rival-post-item{position:relative;display:flex;flex-direction:column;background:#fff;border-radius:10px;overflow:hidden;border:1px solid var(--line);transition:border-color .15s,box-shadow .15s}
#hdWorkspace.hd-next .rival-post-item:hover{border-color:var(--olive);box-shadow:0 4px 14px #17182710}
#hdWorkspace.hd-next .rival-post-item.unseen{border-color:var(--gold)}
#hdWorkspace.hd-next .rival-post-cb{position:absolute;top:7px;left:7px;width:16px;height:16px;cursor:pointer;z-index:3;accent-color:var(--gold)}
#hdWorkspace.hd-next .rival-post-dot{position:absolute;top:8px;right:8px;width:9px;height:9px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 2px #fff;z-index:2}
#hdWorkspace.hd-next .rival-post-link{display:flex;flex-direction:column;text-decoration:none;flex:1}
#hdWorkspace.hd-next .rival-thumb{position:relative;aspect-ratio:16/9;background:#1d1e19;overflow:hidden}
#hdWorkspace.hd-next .rival-thumb img{width:100%;height:100%;object-fit:cover;display:block}
#hdWorkspace.hd-next .rival-dl-btn:disabled{opacity:.65;cursor:default}
#hdWorkspace.hd-next .rival-video-badge{position:absolute;bottom:6px;left:6px;background:rgba(0,0,0,.6);color:#fff;font-size:10px;padding:2px 6px;border-radius:3px}
#hdWorkspace.hd-next .rival-thumb-empty{background:#f5f6f1;display:flex;align-items:center;justify-content:center;color:#b7bba9;font-size:12px}
#hdWorkspace.hd-next .rival-post-meta{padding:9px 10px}
#hdWorkspace.hd-next .rival-post-caption{font-size:12px;color:var(--ink);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5}
#hdWorkspace.hd-next .rival-post-time{font-size:10px;display:block;margin-top:5px;color:var(--muted)}
#hdWorkspace.hd-next .rival-post-actions{padding:0 10px 10px;display:flex;gap:6px;flex-wrap:wrap}
#hdWorkspace.hd-next .rival-dl-btn{display:inline-block;padding:4px 12px;font-size:11px;font-weight:600;color:var(--olive);background:var(--soft);border:1px solid var(--line);border-radius:5px;cursor:pointer;transition:background .15s,border-color .15s}
#hdWorkspace.hd-next .rival-dl-btn:hover{background:var(--gold);border-color:var(--gold);color:#3a3600}
#hdWorkspace.hd-next .ok-note{color:#4a8a4f;font-size:13px}
#hdWorkspace.hd-next .warn-note{color:#b5790f;font-size:13px}
#hdWorkspace.hd-next .error-note{color:var(--red);font-size:12px;margin:4px 0}
#hdWorkspace.hd-next .badge{background:var(--gold);color:#4c492d;border-radius:12px;padding:2px 8px;font-size:11px;font-weight:700}
#hdWorkspace.hd-next .inline-form{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
#hdWorkspace.hd-next .inline-form input{flex:1;min-width:140px}
#hdWorkspace.hd-next .form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}
/* Watermark */
#hdWorkspace.hd-next .wm-settings{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin-top:12px}
#hdWorkspace.hd-next .wm-settings label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--muted);min-width:120px}
#hdWorkspace.hd-next .wm-settings input[type=number]{width:80px}
#hdWorkspace.hd-next .wm-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:12px}
#hdWorkspace.hd-next .wm-video-list{display:grid;gap:4px;margin-bottom:16px}
#hdWorkspace.hd-next .wm-video-row{display:flex;align-items:center;gap:10px;padding:8px 10px;background:#fafbf7;border:1px solid var(--line);border-radius:8px;cursor:pointer;font-size:13px}
#hdWorkspace.hd-next .wm-video-row:hover{background:var(--soft)}
#hdWorkspace.hd-next .wm-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#hdWorkspace.hd-next .wm-progress{margin-top:16px}
#hdWorkspace.hd-next .progress-bar{height:6px;background:var(--line);border-radius:3px;overflow:hidden;margin-bottom:8px}
#hdWorkspace.hd-next .progress-fill{height:100%;background:var(--gold);transition:width .3s;border-radius:3px}
#hdWorkspace.hd-next .wm-progress ul{margin:8px 0;padding-left:20px;font-size:12px;color:var(--muted);line-height:1.9}
#hdWorkspace.hd-next .checkbox-label{display:flex;align-items:center;gap:6px;font-size:13px;cursor:pointer}

/* ===== 1.12.0 导航整合与交互统一 ===== */
#hdWorkspace.hd-next #workspaceNav nav{gap:6px}
#hdWorkspace.hd-next #workspaceNav nav button[data-group-nav]{position:relative}
#hdWorkspace.hd-next #workspaceNav nav .group-badge{margin-left:auto;background:#ffc400;color:#151619;border-radius:999px;font-size:11px;font-weight:700;padding:1px 7px;line-height:1.5}
#hdWorkspace.hd-next #workspaceNav nav button.active .group-badge{background:#151619;color:#ffc400}
#hdWorkspace.hd-next main>header{margin-bottom:18px;padding-bottom:18px}
#hdWorkspace.hd-next main>header .eyebrow{letter-spacing:1.2px}
#hdWorkspace.hd-next #subNav{margin:0 0 22px;overflow-x:auto;scrollbar-width:none}
#hdWorkspace.hd-next #subNav::-webkit-scrollbar{display:none}
#hdWorkspace.hd-next #subNav .subnav-group{display:inline-flex;gap:4px;padding:4px;background:#ebeae3;border-radius:12px}
#hdWorkspace.hd-next #subNav button{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:7px 16px;border:0;border-radius:9px;background:transparent;color:#5f6156;font-size:13px;font-weight:500;white-space:nowrap;cursor:pointer;box-shadow:none;transition:background .15s,color .15s,box-shadow .15s}
#hdWorkspace.hd-next #subNav button svg{width:15px;height:15px;opacity:.7;flex-shrink:0}
#hdWorkspace.hd-next #subNav button:hover{color:var(--ink);background:#ffffff80}
#hdWorkspace.hd-next #subNav button.active{background:#fff;color:var(--ink);font-weight:700;box-shadow:0 1px 3px #1718271a,0 0 0 1px #17182708}
#hdWorkspace.hd-next #subNav button.active svg{opacity:1;color:#c48b00}
#hdWorkspace.hd-next #subNav button b{background:#ffc400;color:#151619;border-radius:999px;font-size:10px;font-weight:700;padding:0 6px;line-height:1.6}
/* 页面切换与请求反馈 */
#netBar{position:fixed;top:0;left:0;right:0;height:3px;z-index:999;overflow:hidden;pointer-events:none;background:#ffc40026}
#netBar::after{content:"";position:absolute;top:0;bottom:0;width:38%;background:#ffc400;border-radius:3px;animation:hdNetBar 1s ease-in-out infinite}
@keyframes hdNetBar{0%{left:-40%}100%{left:100%}}
@keyframes hdViewIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
#hdWorkspace.hd-next main>section[data-view]:not([hidden]){animation:hdViewIn .18s ease-out}
@media(prefers-reduced-motion:reduce){#hdWorkspace.hd-next main>section[data-view]:not([hidden]){animation:none}#netBar::after{animation-duration:2s}}
/* 统一的焦点、按压与禁用状态 */
#hdWorkspace.hd-next :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid #c48b00;outline-offset:2px}
#hdWorkspace.hd-next main button:not(:disabled):active{transform:translateY(1px)}
#hdWorkspace.hd-next main button:disabled{cursor:not-allowed}
/* 面板间距统一（竞品监控、视频水印的面板原来贴在一起） */
#hdWorkspace.hd-next :is(#rivalRoot,#watermarkRoot)>*+*{margin-top:16px}
#hdWorkspace.hd-next main>section[data-view]>.panel+.panel{margin-top:16px}
#hdWorkspace.hd-next .rival-account-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:6px 18px 14px}
#hdWorkspace.hd-next .rival-account-card>summary{padding:10px 0}
#hdWorkspace.hd-next #watermarkRoot input[type=file]{font-size:12px;max-width:260px}
/* 扩展中心卡片：原来用了深色底的兜底值，浅色主题下文字看不清 */
#hdWorkspace.hd-next .ext-card{background:#fff;border-color:var(--line);color:var(--ink)}
#hdWorkspace.hd-next .ext-card p{color:var(--muted)}
#hdWorkspace.hd-next .ext-card h3{color:var(--ink)}
@media(max-width:750px){#hdWorkspace.hd-next #subNav{margin-bottom:16px}#hdWorkspace.hd-next #subNav button{padding:7px 12px}}
#hdWorkspace.hd-next main>section[data-view]>.panel+:is(div,section,p,form){margin-top:16px}
/* 手机端：遮罩层(z-index 2000)原来盖在侧栏(z-index 40)上面，抽屉打开后点不到任何入口 */
#hdWorkspace.hd-next.nav-open #workspaceNav{z-index:2001}
/* ===== 1.12.1 视频水印 ===== */
#hdWorkspace.hd-next [data-view="watermark"]{padding:0}
#hdWorkspace.hd-next .wm-title{display:flex;align-items:baseline;gap:12px}
#hdWorkspace.hd-next .wm-auto{display:flex;gap:12px;align-items:flex-start;margin:12px 0 4px;padding:12px 14px;background:var(--soft);border:1px solid #f2e3a6;border-radius:10px;cursor:pointer}
#hdWorkspace.hd-next .wm-auto input{width:18px;height:18px;margin-top:2px;accent-color:#c48b00;flex-shrink:0}
#hdWorkspace.hd-next .wm-auto strong{display:block;font-size:14px}
#hdWorkspace.hd-next .wm-auto small{display:block;color:var(--muted);font-size:12px}
#hdWorkspace.hd-next .wm-settings{gap:18px}
#hdWorkspace.hd-next .wm-range{display:flex;align-items:center;gap:8px}
#hdWorkspace.hd-next .wm-range input{width:150px;accent-color:#c48b00}
#hdWorkspace.hd-next .wm-range output{font-size:12px;color:var(--ink);min-width:36px}
#hdWorkspace.hd-next .wm-settings .wm-check-label{flex-direction:row;align-items:center;gap:6px;font-size:13px;color:var(--ink)}
#hdWorkspace.hd-next .wm-logo{margin-top:14px;font-size:13px}
#hdWorkspace.hd-next .wm-logo summary{cursor:pointer;color:var(--muted)}
#hdWorkspace.hd-next .wm-jobs{display:grid;gap:10px;margin-top:10px}
#hdWorkspace.hd-next .wm-job{border:1px solid var(--line);border-radius:10px;padding:10px 14px;background:#fafbf7}
#hdWorkspace.hd-next .wm-job.running{border-color:var(--gold);background:#fffdf3}
#hdWorkspace.hd-next .wm-job.failed{border-color:#e5bfb9}
#hdWorkspace.hd-next .wm-job-head{display:flex;align-items:center;gap:10px;font-size:13px}
#hdWorkspace.hd-next .wm-job-state{margin-left:auto;font-size:11px;font-weight:700;padding:1px 9px;border-radius:999px;background:#ecebe4;color:#5f6156}
#hdWorkspace.hd-next .wm-job.running .wm-job-state{background:var(--gold);color:#3a3600}
#hdWorkspace.hd-next .wm-job.done .wm-job-state{background:#dcefdc;color:#2f6b35}
#hdWorkspace.hd-next .wm-job.failed .wm-job-state{background:#f6dcd8;color:var(--red)}
#hdWorkspace.hd-next .wm-job .progress-bar{height:6px;background:#ecebe4;border-radius:6px;overflow:hidden;margin:8px 0 2px}
#hdWorkspace.hd-next .wm-job .progress-fill{height:100%;background:var(--gold);transition:width .4s}
#hdWorkspace.hd-next .wm-job p{margin:4px 0 0;font-size:12px}
#hdWorkspace.hd-next .wm-job ul{margin:6px 0 0;padding-left:4px;list-style:none;font-size:12px;line-height:1.9}
#hdWorkspace.hd-next .wm-job a{color:#8a6200;font-weight:600}
#hdWorkspace.hd-next .wm-rival-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:8px;max-height:420px;overflow-y:auto;padding:2px}
#hdWorkspace.hd-next .wm-rival-item{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer;font-size:12px}
#hdWorkspace.hd-next .wm-rival-item:hover{border-color:var(--gold)}
#hdWorkspace.hd-next .wm-rival-item:has(input:checked){border-color:var(--gold);background:#fffdf3}
#hdWorkspace.hd-next .wm-rival-thumb{width:84px;aspect-ratio:16/9;border-radius:6px;background:#1d1e19;overflow:hidden;flex-shrink:0}
#hdWorkspace.hd-next .wm-rival-thumb img{width:100%;height:100%;object-fit:cover;display:block}
#hdWorkspace.hd-next .wm-rival-text{display:flex;flex-direction:column;min-width:0;line-height:1.45;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}
#hdWorkspace.hd-next .wm-rival-text b{font-size:11px;color:var(--muted);font-weight:500;margin-right:6px}
#hdWorkspace.hd-next .wm-rival-text small{display:block}
#hdWorkspace.hd-next .wm-video-row.wm-done{cursor:default}
#hdWorkspace.hd-next .rival-batch-wm-btn{font-size:12px;padding:4px 12px}

/* ===== 1.12.1 更新提醒：紧凑列表 + 状态筛选 ===== */
#hdWorkspace.hd-next .watch-add>summary{list-style:none;cursor:pointer;display:flex;align-items:baseline;gap:12px;font-weight:700;font-size:14px}
#hdWorkspace.hd-next .watch-add>summary::-webkit-details-marker{display:none}
#hdWorkspace.hd-next .watch-add>summary small{font-weight:400;color:var(--muted);font-size:12px}
#hdWorkspace.hd-next .watch-add[open]>summary{margin-bottom:12px}
#hdWorkspace.hd-next .watch-add:not([open]){padding-top:16px;padding-bottom:16px}
#hdWorkspace.hd-next .watch-filters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}
#hdWorkspace.hd-next .watch-filter{min-height:32px;padding:5px 14px;border-radius:999px;border:1px solid var(--line);background:#fff;color:#5f6156;font-size:12px;font-weight:500;box-shadow:none}
#hdWorkspace.hd-next .watch-filter.hot{border-color:#ffc400;color:#7a5600}
#hdWorkspace.hd-next .watch-filter.active{background:#181818;border-color:#181818;color:#fff;font-weight:700}
#hdWorkspace.hd-next .watch-note{font-size:12px;color:#7a5600;background:#fff6d2;border-radius:10px;padding:10px 14px;margin:0 0 12px}
#hdWorkspace.hd-next #watchList{display:grid;gap:8px}
#hdWorkspace.hd-next .watch-row{display:flex;align-items:flex-start;gap:16px;background:#fff;border:1px solid #e5e8ed;border-radius:14px;padding:14px 18px}
#hdWorkspace.hd-next .watch-row.updated{border-color:#ffc400;box-shadow:0 2px 10px #ffc4001f}
#hdWorkspace.hd-next .watch-row:is(.failed,.paused){background:#fbfbf8}
#hdWorkspace.hd-next .watch-main{flex:1;min-width:0}
#hdWorkspace.hd-next .watch-head{display:flex;align-items:center;gap:10px;min-width:0}
#hdWorkspace.hd-next .watch-head h3{margin:0;font-size:14px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#hdWorkspace.hd-next .watch-pill{flex-shrink:0;font-size:11px;font-weight:700;border-radius:999px;padding:1px 9px;line-height:1.7;background:#eef0e9;color:#5f6156}
#hdWorkspace.hd-next .watch-pill.updated{background:#ffc400;color:#151619}
#hdWorkspace.hd-next .watch-pill.ok{background:#e6f2e7;color:#2f6b36}
#hdWorkspace.hd-next .watch-pill.failed{background:#fdf0dc;color:#8a5a00}
#hdWorkspace.hd-next .watch-meta{display:flex;flex-wrap:wrap;gap:4px 14px;margin:5px 0 0;font-size:12px;color:var(--muted)}
#hdWorkspace.hd-next .watch-row .watch-source{display:block;margin-top:2px;font-size:11px;color:#a3a698;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none}
#hdWorkspace.hd-next .watch-row a.watch-source:hover{color:var(--ink);text-decoration:underline}
#hdWorkspace.hd-next .watch-row .watch-error{font-size:12px;color:var(--red);margin:6px 0 0}
#hdWorkspace.hd-next .watch-side{display:flex;align-items:flex-start;gap:10px;flex-shrink:0;max-width:60%}
#hdWorkspace.hd-next .watch-side>button{white-space:nowrap}
#hdWorkspace.hd-next .watch-manage>summary{list-style:none;cursor:pointer;font-size:12px;color:#5f6156;padding:8px 12px;border:1px solid var(--line);border-radius:9px;background:#fff;white-space:nowrap}
#hdWorkspace.hd-next .watch-manage>summary::-webkit-details-marker{display:none}
#hdWorkspace.hd-next .watch-manage[open]{flex-basis:100%}
#hdWorkspace.hd-next .watch-manage[open]>summary{background:#f1f1ec}
#hdWorkspace.hd-next .watch-manage-body{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;font-size:12px}
#hdWorkspace.hd-next .watch-manage-body input[type=number]{width:84px}
#hdWorkspace.hd-next .watch-manage-body :is(.task-meta,.watch-error,.chapter-links){flex-basis:100%;margin:2px 0 0}
#hdWorkspace.hd-next .watch-progress{display:inline-flex;align-items:center;gap:6px;color:var(--muted)}
#hdWorkspace.hd-next .watch-row:has(.watch-manage[open]){flex-wrap:wrap}
#hdWorkspace.hd-next .watch-row:has(.watch-manage[open]) .watch-side{max-width:100%;flex-basis:100%;flex-wrap:wrap}
@media(max-width:750px){#hdWorkspace.hd-next .watch-row{flex-direction:column;gap:10px}#hdWorkspace.hd-next .watch-side{max-width:100%;flex-wrap:wrap}}
#hdWorkspace.hd-next .watch-manage-body select{width:auto;min-width:120px}
#hdWorkspace.hd-next .watch-manage[open]>summary{display:inline-block}

/* 1.12.2 Modern Web Guidance: responsive components and restrained motion */
#hdWorkspace.hd-next{--bg:#f5f6f8;--paper:#fff;--line:#e6e8ed;--muted:#737985;--ink:#202328;--gold:#ffc400}
#hdWorkspace.hd-next .shell{min-height:100vh;min-height:100dvh}
#hdWorkspace.hd-next main{min-width:0}
#hdWorkspace.hd-next #pageTitle{font-size:clamp(1.5rem,1.2rem + 1vw,2.2rem);letter-spacing:-.035em}
#hdWorkspace.hd-next :is(.panel,.card){border-color:var(--line);border-radius:18px;box-shadow:0 3px 16px #18243804}
#hdWorkspace.hd-next :is(.panel,.card)>h3{font-size:16px;letter-spacing:-.02em;margin:0 0 16px}
#hdWorkspace.hd-next :is(button,.button){border-radius:10px;min-height:38px;transition:background-color .16s,border-color .16s,box-shadow .16s}
#hdWorkspace.hd-next :is(button,.button):focus-visible{outline:3px solid #b17f00;outline-offset:3px}
#hdWorkspace.hd-next :is(input,select,textarea):focus-visible{outline:3px solid #ffc40055;outline-offset:2px;border-color:#b58b12}
#hdWorkspace.hd-next input[type=checkbox]{accent-color:#d99e00;width:17px;height:17px;flex-shrink:0}
#hdWorkspace.hd-next :is(input,select,textarea){border-radius:10px;background:#fafbfc}
#hdWorkspace.hd-next .panel+.panel{margin-top:18px}
#hdWorkspace.hd-next #subNav{margin-bottom:24px}
#hdWorkspace.hd-next .rival-posts-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,235px),1fr));gap:18px}
#hdWorkspace.hd-next .rival-post-item{container-type:inline-size;border:1px solid var(--line);border-radius:15px;overflow:hidden;background:#fff;display:flex;flex-direction:column;box-shadow:0 2px 8px #17202a05}
#hdWorkspace.hd-next .rival-post-item:has(input:checked){border-color:#d6a400;box-shadow:0 0 0 2px #ffc40040}
#hdWorkspace.hd-next .rival-post-item:focus-within{outline:2px solid #b78a00;outline-offset:3px}
#hdWorkspace.hd-next .rival-thumb{aspect-ratio:16/10;background:#181b20}
#hdWorkspace.hd-next .rival-thumb img{aspect-ratio:16/10;object-fit:cover;width:100%;height:100%}
#hdWorkspace.hd-next .rival-post-caption{padding:14px 14px 5px;font-size:13px;line-height:1.7;min-height:76px}
#hdWorkspace.hd-next .rival-post-time{padding:0 14px 12px;font-size:11px}
#hdWorkspace.hd-next .rival-post-actions{margin-top:auto;padding:0 14px 14px}
#hdWorkspace.hd-next .rival-post-actions button{flex:1}
#hdWorkspace.hd-next :is(.wm-rival-grid,.wm-settings){container-type:inline-size}
#hdWorkspace.hd-next .wm-settings{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));align-items:end;gap:22px}
#hdWorkspace.hd-next .wm-settings label{min-width:0;gap:8px}
#hdWorkspace.hd-next .wm-auto{background:#fff9e5;border:1px solid #f0df9e;border-radius:13px;padding:18px}
#hdWorkspace.hd-next .wm-auto small{line-height:1.8;margin-top:3px}
#hdWorkspace.hd-next .wm-logo{border-top:1px solid var(--line);margin-top:24px;padding-top:18px}
#hdWorkspace.hd-next .wm-logo summary{cursor:pointer;font-weight:600;color:#4a4f58}
#hdWorkspace.hd-next .wm-logo-preview{width:min(320px,100%);height:90px;object-fit:contain;display:block;background:#202226;border-radius:12px;padding:12px;margin-top:14px}
#hdWorkspace.hd-next .wm-video-row{padding:13px;border-radius:10px}
#hdWorkspace.hd-next .wm-job{border-radius:12px;padding:16px;background:#fafbfc}
#hdWorkspace.hd-next .wm-job.running{border-color:#e1bc43;background:#fffdf5}
#hdWorkspace.hd-next .progress-bar{height:7px;border-radius:10px;overflow:hidden;background:#e9ebef}
#hdWorkspace.hd-next .progress-fill{background:#e3b000;border-radius:10px}
#hdWorkspace.hd-next .wm-detection-note{border-left:3px solid #e5ba2d;padding:10px 14px;background:#fffdf5;color:#746028;line-height:1.8;font-size:12px;margin-top:18px}
#hdWorkspace.hd-next .record-table th{background:#f7f8fa;font-weight:600;color:#727985}
#hdWorkspace.hd-next .record-table tbody tr:hover{background:#fffdf2}
@container(max-width:260px){.rival-post-actions{flex-direction:column}.rival-post-actions button{width:100%}}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 #hdWorkspace.hd-next .rival-post-item{transition:transform .18s ease,box-shadow .18s ease}
 #hdWorkspace.hd-next .rival-post-item:hover{transform:translateY(-3px);box-shadow:0 8px 24px #17202a12}
}
@media(max-width:650px){#hdWorkspace.hd-next .panel{padding:18px}#hdWorkspace.hd-next .wm-job-head{flex-wrap:wrap}#hdWorkspace.hd-next .rival-posts-grid{gap:12px}}

#hdWorkspace.hd-next .wm-job:is(.failed,.partial){border-color:#dfb1a8;background:#fff8f5}
#hdWorkspace.hd-next .wm-job:is(.failed,.partial) .wm-job-state{color:#a12f20;background:#fce7e0}
#hdWorkspace.hd-next .wm-job progress{display:block;width:100%;accent-color:#946d00}

