*{box-sizing:border-box}body{margin:0;background:#0f1115;color:#e7e9ee;font-family:Arial,"Microsoft YaHei",sans-serif}.container{width:95%;max-width:1380px;margin:28px auto}header{display:flex;align-items:center;justify-content:space-between;gap:18px}h1{margin:0;font-size:28px}.sub,.muted{color:#8e95a2;font-size:13px;margin-top:6px}button{border:0;border-radius:8px;padding:10px 15px;cursor:pointer;background:#eef1f4;color:#111;font-weight:700}button:disabled{opacity:.5}.green{background:#58d68d;color:#101510}.danger{background:#ff6262;color:#fff}.tabs{display:flex;gap:10px;margin:26px 0 15px}.tab{background:#1b1f26;color:#aeb4bf;border:1px solid #303641;flex:1}.tab.active{background:#fff;color:#111}.stats-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-bottom:15px}.stat-card,.auto-card{background:#171a20;border:1px solid #262b34;border-radius:10px;padding:15px}.stat-card span{display:block;color:#8e95a2;font-size:13px}.stat-card b{display:block;font-size:25px;margin-top:7px}.auto-card{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px}.auto-controls,.toolbar,.actions,.row-actions{display:flex;align-items:center;gap:9px}.toolbar{margin:15px 0}.actions{margin-bottom:15px;flex-wrap:wrap}input,select,textarea{background:#171a20;color:#fff;border:1px solid #303641;border-radius:7px;padding:10px 12px}#searchInput{width:320px}.auto-controls input[type=number]{width:90px}.switch input{width:auto}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;background:#171a20;border-radius:10px;overflow:hidden}th,td{padding:13px 14px;border-bottom:1px solid #252a32;text-align:left;vertical-align:middle}th{color:#9299a6;font-weight:400}td a{color:#e7e9ee;text-decoration:none}.row-actions button{padding:7px 10px;font-size:12px;white-space:nowrap}.modal{position:fixed;inset:0;background:rgba(0,0,0,.7);z-index:9999;display:flex;align-items:center;justify-content:center;padding:18px}.modal[hidden]{display:none}.modal-card{width:min(620px,100%);max-height:88vh;overflow:auto;background:#171a20;border:1px solid #303641;border-radius:12px;padding:20px}.modal-head{display:flex;justify-content:space-between;align-items:center}.modal-head h2{margin:0}.icon{background:#252a32;color:#fff;padding:5px 11px;font-size:20px}.modal-card label{display:block;margin:15px 0 7px}.full{width:100%}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.history>div{padding:11px 0;border-bottom:1px solid #2b3038;line-height:1.6}.error-box{margin:25px 0;background:#392020;border:1px solid #763838;border-radius:10px;padding:18px}hr{border:0;border-top:1px solid #303641;margin:18px 0}@media(max-width:900px){.stats-grid{grid-template-columns:repeat(3,1fr)}.auto-card{align-items:flex-start;flex-direction:column}.row-actions{flex-wrap:wrap}}@media(max-width:600px){.container{width:96%;margin-top:15px}header{align-items:flex-start}.stats-grid{grid-template-columns:repeat(2,1fr)}.toolbar{flex-direction:column;align-items:stretch}#searchInput,select{width:100%}.actions{display:grid;grid-template-columns:repeat(2,1fr)}.actions button{width:100%}.row-actions{min-width:145px}.row-actions button{flex:1}.tabs{position:sticky;top:0;z-index:5;background:#0f1115;padding:8px 0}.auto-controls{flex-wrap:wrap}th,td{padding:11px 10px;font-size:13px}}
.progress-card{background:#171a20;border:1px solid #303641;border-radius:10px;padding:15px;margin:0 0 15px}.progress-card[hidden]{display:none}.progress-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.progress-track{height:12px;background:#252a32;border-radius:999px;overflow:hidden;margin:13px 0}.progress-bar{height:100%;width:0%;background:#eef1f4;border-radius:999px;transition:width .2s ease}.progress-stats{display:flex;gap:20px;flex-wrap:wrap;color:#aeb4bf;font-size:13px}.progress-stats b{color:#fff}.scan-locked{opacity:.65;pointer-events:none}@media(max-width:600px){.progress-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:8px 15px}.progress-card{padding:13px}}

/* v1.3 统计状态颜色与最近24小时新增禁用 */
.stat-card{width:100%;text-align:left;color:#e7e9ee}
.stat-card.stat-total b{color:#f3f5f7}
.stat-card.stat-normal b{color:#58d68d}
.stat-card.stat-disabled b{color:#ff6262}
.stat-card.stat-notfound b{color:#f2b84b}
.stat-card.stat-error b{color:#b894f6}
.stat-card.stat-unopened b{color:#6fa8ff}
.stat-number-line{display:flex;align-items:baseline;gap:8px;margin-top:7px;min-height:30px}
.stat-number-line b{display:block;margin:0;font-size:25px;line-height:1.15}
.stat-delta{font-style:normal;font-size:14px;font-weight:800;color:#ff8585;line-height:1}
.stat-clickable{appearance:none;border:1px solid #262b34;background:#171a20;border-radius:10px;padding:15px;cursor:pointer;font-family:inherit}
.stat-clickable:hover{border-color:#5a3034;background:#1d1b20;transform:translateY(-1px)}
.stat-clickable:focus-visible{outline:2px solid #ff8585;outline-offset:2px}
.recent-disabled-note{color:#8e95a2;font-size:13px;line-height:1.6;margin:4px 0 14px}
.recent-disabled-wrap{overflow-x:auto}
.recent-disabled-table{background:#12151a;border:1px solid #282e37}
.recent-disabled-table th,.recent-disabled-table td{padding:11px 12px}
.recent-disabled-table td a{color:#e7e9ee;text-decoration:none}
.empty-state{padding:28px 8px;text-align:center;color:#8e95a2}
@media(max-width:600px){
 .stat-number-line{gap:6px}.stat-delta{font-size:13px}
 .recent-disabled-wrap{overflow:visible}
 .recent-disabled-table,.recent-disabled-table tbody,.recent-disabled-table tr,.recent-disabled-table td{display:block;width:100%}
 .recent-disabled-table{background:transparent;border:0}
 .recent-disabled-table thead{display:none}
 .recent-disabled-table tr{background:#12151a;border:1px solid #2a3039;border-radius:9px;padding:8px 11px;margin-bottom:9px}
 .recent-disabled-table td{border:0;padding:5px 0;display:flex;justify-content:space-between;gap:16px;text-align:right}
 .recent-disabled-table td:before{content:attr(data-label);color:#8e95a2;text-align:left;flex:0 0 auto}
 .recent-disabled-table td a{word-break:break-all}
}

/* v1.5 分页、会员合集/备注拆分、操作区与系统设置 */
.add-primary{background:#b9ddff;color:#102033}.refresh-primary{background:#58d68d;color:#101510}.toolbar{gap:9px;flex-wrap:wrap}.toolbar-spacer{flex:1}.page-size-label{display:flex;align-items:center;gap:7px;color:#aeb4bf;font-size:13px}.page-size-label select{min-width:78px}.pagination{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;margin:16px 0 5px}.pagination button{padding:8px 12px;background:#1b1f26;color:#c7ccd5;border:1px solid #303641}.pagination button.active{background:#eef1f4;color:#111;border-color:#eef1f4}.pagination button:disabled{opacity:.4;cursor:default}.page-summary{color:#8e95a2;font-size:13px;margin-left:5px}.group-header{display:flex;align-items:center;gap:14px;background:#171a20;border:1px solid #262b34;border-radius:10px;padding:12px 14px;margin-bottom:15px}.group-header[hidden]{display:none}.group-header b{font-size:18px}.group-link{padding:0;background:transparent;color:#b9ddff;text-align:left;font-size:15px}.group-link:hover{text-decoration:underline}.group-status{display:flex;gap:10px;flex-wrap:wrap;color:#aeb4bf;font-size:12px}.group-status span{background:#111419;border:1px solid #2a3039;border-radius:999px;padding:4px 8px}.remark-field{position:relative}.remark-suggest{position:absolute;z-index:20;left:0;right:0;top:calc(100% + 4px);background:#111419;border:1px solid #303641;border-radius:8px;max-height:220px;overflow:auto;box-shadow:0 12px 30px rgba(0,0,0,.35)}.remark-suggest[hidden]{display:none}.remark-suggest button{display:flex;width:100%;justify-content:space-between;gap:12px;border-radius:0;background:transparent;color:#e7e9ee;text-align:left;padding:10px 12px}.remark-suggest button:hover{background:#222731}.remark-suggest span{color:#8e95a2;font-size:12px}.settings-section>b{display:block;margin-bottom:8px}.settings-section input[type=number]{width:120px}.setting-line{display:flex!important;align-items:center;justify-content:space-between;gap:15px}.setting-line input{width:auto}.actions #addBtn{order:1}.actions #importBtn{order:2}.actions #runsBtn{order:3}.actions #refreshBtn{order:4}
@media(max-width:600px){.toolbar-spacer{display:none}.page-size-label{width:100%;justify-content:flex-end}.group-header{align-items:flex-start}.group-status{gap:5px}.pagination{justify-content:flex-start}}
