/* ===== AI 新闻播报创作 · 暖色工作台（#p24s0） ===== */
body:has(#p24s0.act) #pageHead{display:none!important}
body:has(#p24s0.act){--c-line-2:#e8ded2!important;--border:#e8ded2!important}
body:has(#p24s0.act) .main,body:has(#p24s0.act) .main-content{background:#f2ebe2!important}
body:has(#p24s0.act) .main-content{padding:24px 20px 60px!important}
@media(max-width:900px){body:has(#p24s0.act) .main-content{padding:18px 14px 48px!important}}

#p24s0{color:#3d3936;--nw-card:#fffdfb;--nw-soft:#fbf6f0;--nw-soft2:#f7f0e7;--nw-line:#e8ded2;--nw-line2:#efe6da;--nw-tx:#2f2a26;--nw-tx2:#6b6259;--nw-mut:#9a9186;--nw-red:#a93822;--nw-red2:#c25532;--nw-pink:#fbe9e2}
#p24s0 *{box-sizing:border-box}
#p24s0 .nw-shell{max-width:none;margin:0}

/* 页头 */
#p24s0 .nw-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap;margin:0 0 14px}
#p24s0 .nw-kicker{font-size:10px;font-weight:800;letter-spacing:.16em;color:#a8917d;text-transform:uppercase;margin-bottom:5px}
#p24s0 .nw-head h1{margin:0;font-size:34px;line-height:1.16;letter-spacing:-.01em;color:#1d1d20;font-weight:800}
#p24s0 .nw-head p{margin:5px 0 0;font-size:12.5px;line-height:1.55;color:var(--nw-tx2);max-width:620px}
#p24s0 .nw-head-pills{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
#p24s0 .nw-pill{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:999px;border:1px solid var(--nw-line);background:#fffdfb;color:#7c6a5b;font-size:11px;font-weight:700;white-space:nowrap}

/* 步骤导轨 */
#p24s0 .nw-steps{display:flex;align-items:center;gap:8px;margin:0 0 14px;padding:8px 10px;border:1px solid var(--nw-line);border-radius:12px;background:#fffdfb}
#p24s0 .nw-step{display:flex;align-items:center;gap:8px;min-width:0;padding:5px 8px;border:0;border-radius:8px;background:transparent;cursor:pointer;text-align:left;font:inherit;color:var(--nw-tx2);transition:background .15s ease}
#p24s0 .nw-step:hover{background:#f9f2ea}
#p24s0 .nw-step-no{display:grid;place-items:center;width:22px;height:22px;flex:0 0 22px;border-radius:999px;border:1px solid var(--nw-line);background:var(--nw-soft2);color:#8a7869;font-size:10px;font-weight:800}
#p24s0 .nw-step-tx{display:flex;flex-direction:column;gap:1px;min-width:0}
#p24s0 .nw-step-tx b{font-size:11.5px;font-weight:800;color:#4a423b;line-height:1.3;white-space:nowrap}
#p24s0 .nw-step-tx small{font-size:9.5px;color:var(--nw-mut);white-space:nowrap}
#p24s0 .nw-step.is-current{background:#fff4ef}
#p24s0 .nw-step.is-current .nw-step-no{background:#d64226;border-color:#d64226;color:#fff}
#p24s0 .nw-step.is-current .nw-step-tx b{color:#a93822}
#p24s0 .nw-step.is-done .nw-step-no{background:#fbe9e2;border-color:#e8c9b8;color:#a93822}
#p24s0 .nw-step-line{flex:1 1 20px;min-width:10px;height:1px;background:linear-gradient(90deg,#e7dfd6,#f2ede6)}

/* 双栏 */
#p24s0 .nw-cols{display:grid;grid-template-columns:minmax(0,1fr) 352px;gap:14px;align-items:start}
#p24s0 .nw-main{display:flex;flex-direction:column;gap:14px;min-width:0}
#p24s0 .nw-side{min-width:0;position:sticky;top:12px}

/* 卡片 */
#p24s0 .nw-card{background:var(--nw-card);border:1px solid var(--nw-line);border-radius:14px;overflow:hidden}
#p24s0 .nw-card-head{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid var(--nw-line2);background:#faf6f0}
#p24s0 .nw-card-no{display:grid;place-items:center;width:26px;height:26px;flex:0 0 26px;border-radius:8px;background:var(--nw-soft2);border:1px solid var(--nw-line);color:#8a6a4f;font-size:10.5px;font-weight:800;font-family:Georgia,serif}
#p24s0 .nw-card-title{min-width:0;flex:1}
#p24s0 .nw-card-title h2{margin:0;font-size:13.5px;font-weight:800;color:#2f2a26;line-height:1.3}
#p24s0 .nw-card-title p{margin:2px 0 0;font-size:10px;color:var(--nw-mut);line-height:1.4}
#p24s0 .nw-head-meta{font-size:10.5px;color:var(--nw-tx2);white-space:nowrap}
#p24s0 .nw-head-meta b{color:#a93822;font-size:12px;font-weight:800}
#p24s0 .nw-ratio{font-size:10px;font-weight:800;color:#8a6a4f;background:var(--nw-soft2);border:1px solid var(--nw-line);border-radius:999px;padding:3px 8px;white-space:nowrap}
#p24s0 .nw-card-body{padding:14px}
#p24s0 .nw-card-foot{display:flex;justify-content:flex-end;padding-top:12px;margin-top:2px;border-top:1px dashed var(--nw-line2)}

/* 通用控件 */
#p24s0 .nw-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
#p24s0 .nw-inline-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#p24s0 .nw-select,#p24s0 .nw-input{height:30px;padding:0 9px;border:1px solid var(--nw-line);border-radius:8px;background:#fffdfb;color:#2f2a26;font-size:11px;outline:none}
#p24s0 .nw-select{appearance:none;padding-right:24px;background-image:linear-gradient(45deg,transparent 50%,#a99c8e 50%),linear-gradient(135deg,#a99c8e 50%,transparent 50%);background-position:calc(100% - 13px) 13px,calc(100% - 9px) 13px;background-size:4px 4px,4px 4px;background-repeat:no-repeat}
#p24s0 .nw-select:focus,#p24s0 .nw-input:focus{border-color:#d8b6a3;box-shadow:0 0 0 3px rgba(214,66,38,.08)}
#p24s0 .nw-btn{display:inline-flex;align-items:center;justify-content:center;gap:4px;height:28px;padding:0 10px;border-radius:8px;border:1px solid var(--nw-line);background:#fffdfb;color:#5f5348;font-size:10.5px;font-weight:700;cursor:pointer;white-space:nowrap;transition:border-color .15s ease,background .15s ease,color .15s ease}
#p24s0 .nw-btn:hover{border-color:#dcb9a6;background:#fdf6f1;color:#a93822}
#p24s0 .nw-btn.primary{background:#c25532;border-color:#c25532;color:#fff}
#p24s0 .nw-btn.primary:hover{background:#a93822;border-color:#a93822;color:#fff}
#p24s0 .nw-btn.wide{width:100%;height:32px;font-size:11.5px}
#p24s0 .nw-link{border:0;background:none;padding:0;color:#a93822;font-size:10px;font-weight:700;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
#p24s0 .nw-hidden{display:none!important}
#p24s0 .nw-hint{font-size:9.5px;line-height:1.55;color:var(--nw-mut)}
#p24s0 .nw-tip{font-size:10px;color:var(--nw-tx2);line-height:1.5}

/* 配音语速：与 p7s0 同款分段按钮 */
#p24s0 .vlog-rate-field{display:flex;align-items:center;gap:8px;margin-top:10px}
#p24s0 .vlog-rate-field>span:first-child{white-space:nowrap;font-size:10px;font-weight:700;color:#8d857d}
#p24s0 .vlog-rate{flex:1;min-width:0;display:flex;gap:3px;padding:3px;border:1px solid #ece3d8;border-radius:10px;background:#f7f1ea}
#p24s0 .vlog-rate-btn{flex:1 1 0;min-width:0;height:27px;padding:0;border:0;border-radius:7px;background:transparent;color:#8d857d;font-family:inherit;font-size:10.5px;font-weight:750;font-variant-numeric:tabular-nums;cursor:pointer;transition:.16s ease}
#p24s0 .vlog-rate-btn:hover{background:rgba(255,255,255,.6);color:#a93822}
#p24s0 .vlog-rate-btn.active{background:#fff;color:#a93822;box-shadow:0 2px 6px rgba(75,45,30,.1)}
#p24s0 .vlog-rate-native{display:none!important;position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;opacity:0;clip-path:inset(50%);pointer-events:none}
#p24s0 .nw-warn{margin-top:8px;padding:7px 9px;border-radius:8px;border:1px solid #eecfae;background:#fdf1e3;color:#8a5a1f;font-size:10px;line-height:1.5}
#p24s0 .nw-check{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:#6b6259;cursor:pointer;user-select:none}
#p24s0 .nw-check input{accent-color:#c25532}
#p24s0 .tw-help{display:inline-grid;place-items:center;width:14px;height:14px;border-radius:50%;border:1px solid #e3d5c7;background:#fdf8f2;color:#a08a76;font-size:9px;font-weight:800;cursor:help;line-height:1;vertical-align:1px;margin-left:3px}
#p24s0 .tw-help:hover,#p24s0 .tw-help:focus{background:#fbe9e2;border-color:#e3b7a4;color:#a93822;outline:none}

/* 第 1 步：标题 */
#p24s0 .nw-seg{display:inline-flex;gap:2px;padding:2px;border-radius:8px;background:#f3e9dd;border:1px solid #e9dccc}
#p24s0 .nw-seg-btn{border:0;background:transparent;border-radius:6px;padding:5px 10px;font-size:11px;font-weight:700;color:#8b7b6d;cursor:pointer;line-height:1.3;white-space:nowrap}
#p24s0 .nw-seg-btn:hover{color:#a93822}
#p24s0 .nw-seg-btn.is-on{background:#fffdfb;color:#a93822;box-shadow:0 1px 4px rgba(120,72,44,.10)}
#p24s0 .nw-seg-btn.active{background:#fffdfb;color:#a93822;box-shadow:0 1px 4px rgba(120,72,44,.10)}
#p24s0 .nw-title-line{display:flex;align-items:center;gap:8px;margin-top:7px}
#p24s0 .nw-title-no{display:grid;place-items:center;width:22px;height:22px;flex:0 0 22px;border-radius:6px;background:#f3e9dd;color:#a08a76;font-size:10px;font-weight:800}
#p24s0 .nw-title-line .nw-input{flex:1;min-width:0}
#p24s0 .nw-chars{display:flex;flex-wrap:wrap;gap:4px;margin:6px 0 2px 30px;min-height:26px}
#p24s0 .nw-chars:empty{display:none}
#p24s0 .news-title-char{min-width:26px;height:26px;padding:0 5px;border-radius:6px;border:1px solid #e3d5c6;font-size:12px;font-weight:700;cursor:pointer;line-height:1}
#p24s0 .news-title-char:hover{border-color:#d0a58f}
#p24s0 .nw-palette{display:flex;align-items:center;gap:6px;margin:10px 0 0;flex-wrap:wrap}
#p24s0 .nw-palette>span{font-size:10px;color:#8b7b6d;font-weight:600;margin-right:2px}
#p24s0 .nw-swatch{width:22px;height:22px;padding:0;border-radius:50%;border:1px solid #e3d5c6;background:var(--sw);cursor:pointer;box-shadow:0 1px 2px rgba(90,60,40,.08)}
#p24s0 .nw-swatch:hover{transform:scale(1.08);border-color:#d0a58f}
#p24s0 .nw-colorcfg{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0 4px;padding:8px 10px;border:1px solid #efe3d5;border-radius:9px;background:#fbf6f0}
#p24s0 .nw-colorcfg>span{font-size:10px;color:#8b7b6d;font-weight:600}
#p24s0 .nw-colorswatch{display:inline-flex;align-items:center;gap:6px;height:30px;padding:3px 6px 3px 9px;border:1px solid #e3d5c6;border-radius:8px;background:#fffdfb;cursor:pointer}
#p24s0 .nw-colorswatch>span{font-size:9.5px;font-weight:700;color:#8b7b6d;white-space:nowrap}
#p24s0 .nw-colorswatch input{width:30px;height:22px;padding:0;border:1px solid #e3d5c6;border-radius:5px;background:#fffdfb;cursor:pointer}
#p24s0 .nw-colorswatch input::-webkit-color-swatch-wrapper{padding:0}
#p24s0 .nw-colorswatch input::-webkit-color-swatch{border:0;border-radius:4px}
#p24s0 .nw-head-meta{font-size:9.5px;font-weight:800;color:#8a6a4f;background:#f7f0e7;border:1px solid #eadfd3;border-radius:999px;padding:2px 8px;white-space:nowrap}
#p24s0 .nw-colorcfg .nw-btn{margin-left:auto}

/* 文案框 */
#p24s0 .nw-script{margin-top:8px;border:1px solid #e8ded2;border-radius:10px;background:#fffdfb;overflow:hidden}
#p24s0 .nw-textarea{display:block;width:100%;min-height:190px;border:0;outline:none;resize:vertical;padding:12px 12px 4px;background:transparent;color:#2f2a26;font-size:12.5px;line-height:1.75;font-family:inherit}
#p24s0 .nw-script-foot{display:flex;align-items:center;gap:10px;padding:6px 10px 8px;border-top:1px solid #f2e8dc;background:#fdf9f4}
#p24s0 .nw-lenhint{flex:1;min-width:0;font-size:10px;color:#8b7b6d;line-height:1.5}
#p24s0 .nw-lenhint strong{color:#a93822;font-weight:800}
#p24s0 .nw-lenhint .ic{width:11px;height:11px;vertical-align:-1px}
#p24s0 .nw-mini-btn{border:1px solid #e8c9b7;background:#fffdfb;color:#a93822;border-radius:7px;padding:4px 9px;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}
#p24s0 .nw-mini-btn:hover{background:#fbe9e2}

/* 第 2 步：素材匹配 */
#p24s0 .nw-src-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:2px 0 10px}
#p24s0 .nw-src-row .nw-select{min-width:126px;flex:0 1 auto}
#p24s0 .news-src-preview{margin:0 0 8px}
#p24s0 .nw-lbl-inline{font-size:10px;font-weight:800;color:#6b6259;white-space:nowrap}
#p24s0 .news-match-list{display:flex;flex-direction:column;gap:6px}
#p24s0 .news-match-row{display:flex;align-items:center;gap:8px;padding:7px 8px;border:1px solid #efe5d9;border-radius:9px;background:#fffdfb}
#p24s0 .news-match-row.is-missing{border-color:#eed6bd;background:#fdf6ee}
#p24s0 .news-match-idx{display:grid;place-items:center;width:18px;height:18px;flex:0 0 18px;border-radius:6px;background:#f7efe6;color:#8a6a4f;font-size:9px;font-weight:800}
#p24s0 .news-match-line{flex:1;min-width:0;font-size:11px;color:#3d3936;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#p24s0 .news-match-clip{display:flex;align-items:center;gap:6px;flex:0 0 auto;max-width:218px;min-width:0}
#p24s0 .news-match-clip img,#p24s0 .news-match-ph{width:52px;height:30px;flex:0 0 52px;border-radius:6px;object-fit:cover;background:#f2e9de}
#p24s0 .news-match-meta{min-width:0}
#p24s0 .news-match-meta b{display:block;font-size:9.5px;color:#4a423b;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#p24s0 .news-match-meta span{display:block;margin-top:1px;font-size:8.5px;color:#9a9186}
#p24s0 .news-match-actions{display:flex;align-items:center;gap:4px;flex:0 0 auto}
#p24s0 .news-match-actions button{border:1px solid #e8ded2;background:#fffdfb;color:#6b5c4d;border-radius:6px;padding:3px 6px;font-size:9px;font-weight:700;cursor:pointer;white-space:nowrap}
#p24s0 .news-match-actions button:hover{border-color:#d8b7a0;color:#a93822}
#p24s0 .news-match-actions button.is-locked{border-color:#e0b48f;background:#fbe9e2;color:#a93822}
#p24s0 .news-match-empty{padding:16px;border:1px dashed #e3d5c7;border-radius:10px;background:#fdf9f4;color:#8d8175;font-size:10.5px;text-align:center}

/* 第 3 步：右侧成片设置 */
#p24s0 .nw-side{position:sticky;top:12px;min-width:0}
#p24s0 .nw-sidecard{border:1px solid #e8ded2;border-radius:14px;background:#fffdfb;box-shadow:0 2px 10px rgba(88,62,38,.05);overflow:visible}
#p24s0 .nw-sidecard>.nw-card-head{border-bottom:1px solid #f1e7dc;background:#faf6f0;border-radius:14px 14px 0 0}
#p24s0 .nw-side-body{padding:10px 12px 12px;display:flex;flex-direction:column;gap:11px}
#p24s0 .nw-field{min-width:0}
#p24s0 .nw-flabel{display:flex;align-items:center;gap:6px;margin:0 0 5px;font-size:10px;font-weight:800;color:#4a423b}
#p24s0 .nw-flabel b{margin-left:auto;font-size:9.5px;font-weight:800;color:#8a6a4f;background:#f7f0e7;border:1px solid #eadfd3;border-radius:999px;padding:1px 7px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#p24s0 .nw-flabel-links{margin-left:auto;display:inline-flex;align-items:center;gap:8px}
#p24s0 .nw-flabel-note{font-size:9px;font-weight:600;color:#9a9186}

/* 配音：横排声音卡（与其他创作模块同款） */
#p24s0 .nw-voice-list{display:grid;gap:7px;max-height:172px;overflow-y:auto;padding:2px 4px 2px 0;scrollbar-width:thin;scrollbar-color:#e2d3c4 transparent}
#p24s0 .nw-voice-list::-webkit-scrollbar{width:4px}
#p24s0 .nw-voice-list::-webkit-scrollbar-thumb{background:#e2d3c4;border-radius:99px}
#p24s0 .dh22-vc{display:grid!important;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:8px;width:auto!important;padding:7px 8px!important;border:1px solid #e8ded2!important;border-radius:10px!important;background:#fffdfb!important;cursor:pointer;position:relative}
#p24s0 .dh22-vc:hover{border-color:#e0bfae!important;background:#fffaf6!important}
#p24s0 .dh22-vc.is-active{border-color:#d64226!important;background:#fff4ef!important;box-shadow:0 4px 12px rgba(214,66,38,.08)}
#p24s0 .dh22-vc-avatar{position:relative;display:grid;place-items:center;width:30px!important;height:30px!important;border-radius:50%;background:linear-gradient(150deg,#f6ebe2,#ecdccf);color:#92705d;flex:0 0 30px}
#p24s0 .dh22-vc-avatar .ic{width:14px;height:14px}
#p24s0 .dh22-vc-check{position:absolute;right:-3px;bottom:-3px;display:none;place-items:center;width:13px;height:13px;border-radius:50%;background:#d64226;color:#fff;font-size:8px;box-shadow:0 0 0 2px #fff4ef}
#p24s0 .dh22-vc.is-active .dh22-vc-check{display:grid}
#p24s0 .dh22-vc-main{display:flex;flex-direction:column;gap:3px;min-width:0}
#p24s0 .dh22-vc-name{color:#2f2a26;font-size:11px;font-weight:700;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#p24s0 .dh22-vc-meta{display:flex;align-items:center;gap:6px;min-width:0}
#p24s0 .dh22-vc-tag{flex:0 0 auto;padding:0 4px;border-radius:4px;background:#f1ece7;color:#8b8178;font-size:8px;font-weight:700;line-height:1.6}
#p24s0 .dh22-vc-tag.is-clone{background:#ffe9e1;color:#a8472f}
#p24s0 .dh22-vc-wave{display:flex;align-items:center;gap:2px;height:12px;overflow:hidden;opacity:.7}
#p24s0 .dh22-vc-wave i{display:block;width:2px;border-radius:99px;background:linear-gradient(180deg,#f0b09c,#d64226)}
#p24s0 .dh22-vc-wave i:nth-child(1){height:4px}
#p24s0 .dh22-vc-wave i:nth-child(2){height:7px}
#p24s0 .dh22-vc-wave i:nth-child(3){height:10px}
#p24s0 .dh22-vc-wave i:nth-child(4){height:6px}
#p24s0 .dh22-vc-wave i:nth-child(5){height:11px}
#p24s0 .dh22-vc-wave i:nth-child(6){height:5px}
#p24s0 .dh22-vc-wave i:nth-child(7){height:9px}
#p24s0 .dh22-vc-wave i:nth-child(8){height:5px}
#p24s0 .dh22-vc-play{flex:0 0 auto;padding:3px 8px;border:1px solid #eddfd3;border-radius:99px;background:#fff;color:#8d5a45;font-size:9px;font-weight:700;line-height:1.5;cursor:pointer;white-space:nowrap}
#p24s0 .dh22-vc-play:hover{border-color:#d64226;color:#b03c25;background:#fff4ef}
#p24s0 .dh22-vc-play .ic{width:8px;height:8px;margin-right:2px}
#p24s0 .dh22-vc-noplay{flex:0 0 auto;color:#b6ada5;font-size:8.5px;white-space:nowrap}

/* 主播列表 */
#p24s0 .nw-anchor-list{display:flex;flex-direction:column;gap:6px;max-height:186px;overflow-y:auto;padding:1px 3px 1px 0;scrollbar-width:thin;scrollbar-color:#e2d3c4 transparent}
#p24s0 .nw-anchor-list::-webkit-scrollbar{width:4px}
#p24s0 .nw-anchor-list::-webkit-scrollbar-thumb{background:#e2d3c4;border-radius:99px}
#p24s0 .ns-avatar-card{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;width:auto!important;padding:6px 8px!important;border:1px solid #efe5d9!important;border-radius:9px!important;background:#fffdfb!important;cursor:pointer;text-align:left;position:relative}
#p24s0 .ns-avatar-card:hover{background:#fdf6ef!important;border-color:#e5d3c3!important}
#p24s0 .ns-avatar-card.active{background:#fbe9e2!important;border-color:#e0b7a4!important;box-shadow:inset 3px 0 0 #d64226}
#p24s0 .ns-avatar-card img,#p24s0 .ns-avatar-card video,#p24s0 .ns-avatar-ph{width:30px!important;height:30px!important;flex:0 0 30px!important;border-radius:50%!important;object-fit:cover!important;background:#f2e9de;border:1px solid #e8ded2}
#p24s0 .ns-avatar-name{font-size:10px;font-weight:700;color:#2f2a26;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#p24s0 .ns-avatar-check{display:none;margin-left:auto;font-size:9px;font-weight:800;color:#a93822}
#p24s0 .ns-avatar-card.active .ns-avatar-check{display:inline}
#p24s0 .ns-avatar-empty{padding:12px;border:1px dashed #e3d5c7;border-radius:9px;background:#fdf9f4;color:#8d8175;font-size:10px;line-height:1.6;text-align:center}
#p24s0 .ns-avatar-main{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}
#p24s0 .ns-avatar-main small{display:block;font-size:8.5px;color:#9a9186;line-height:1.35}
#p24s0 .ns-avatar-pick{margin-left:auto;flex:0 0 auto;border:1px solid #e8c9b7;background:#fffdfb;color:#a93822;border-radius:5px;padding:2px 6px;font-size:8.5px;font-weight:800}
#p24s0 .ns-avatar-card.active .ns-avatar-pick{display:none}
#p24s0 .ns-avatar-check{margin-left:auto;flex:0 0 auto;border-radius:5px;background:#f7e3d9;color:#a93822;padding:2px 6px;font-size:8.5px;font-weight:800}

/* 主播名牌 + 上传 */
#p24s0 #newsHostBadgeBox{display:grid;gap:6px;margin-top:8px;padding-top:8px;border-top:1px dashed #f0e4d7}
#p24s0 .nw-uploadbox{display:none;gap:6px;margin-top:8px;padding:8px;border:1px dashed #e3d5c7;border-radius:9px;background:#fdf9f4}
#p24s0 .nw-cost{margin-top:8px;font-size:9.5px;color:#8a6a4f;background:#fdf5ec;border:1px solid #efe1d2;border-radius:8px;padding:6px 8px;line-height:1.5}
#p24s0 .nw-loading{padding:12px;color:#9a9186;font-size:10px;text-align:center}

/* 背景音乐：紧凑竖排列表 */
#p24s0 .nw-bgm-list{border:1px solid #efe3d5;border-radius:10px;background:#fbf6f0;overflow-y:auto;max-height:158px;scrollbar-width:thin;scrollbar-color:#d9c9b8 transparent}
#p24s0 .nw-bgm-list::-webkit-scrollbar{width:5px}
#p24s0 .nw-bgm-list::-webkit-scrollbar-thumb{background:#d9c9b8;border-radius:99px}
#p24s0 .nw-bgm-row{display:flex;align-items:center;gap:7px;padding:6px 8px;border-top:1px solid #f1e7dc;cursor:pointer}
#p24s0 .nw-bgm-row:first-child{border-top:0}
#p24s0 .nw-bgm-row:hover{background:#f7eee4}
#p24s0 .nw-bgm-row.is-on{background:#fbe9e2;box-shadow:inset 3px 0 0 #d64226}
#p24s0 .nw-bgm-ico{display:grid;place-items:center;width:21px;height:21px;flex:0 0 21px;border-radius:6px;background:#fffdfb;color:#a93822;border:1px solid #e5d5c6;font-size:8px}
#p24s0 .nw-bgm-name{flex:1;min-width:0;font-size:10px;color:#3d3936;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#p24s0 .nw-bgm-play{border:1px solid #e8ded2;background:#fffdfb;color:#8d5a45;border-radius:99px;padding:2px 7px;font-size:8.5px;font-weight:700;cursor:pointer}
#p24s0 .nw-bgm-row.is-on .nw-bgm-play{border-color:#e0b7a4;color:#a93822}
#p24s0 .nw-vol{display:flex;align-items:center;gap:8px;margin-top:7px;font-size:9.5px;color:#8d8175}
#p24s0 .nw-vol input{flex:1;accent-color:#c25532;height:3px}
#p24s0 .nw-vol b{font-size:9.5px;color:#8a6a4f;min-width:30px;text-align:right}

/* 字幕 / 标题样式卡片 */
#p24s0 .nw-tpl-row{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 6px;scrollbar-width:thin;scrollbar-color:#e2d3c4 transparent}
#p24s0 .nw-tpl-row::-webkit-scrollbar{height:5px}
#p24s0 .nw-tpl-row::-webkit-scrollbar-thumb{background:#e2d3c4;border-radius:99px}
#p24s0 .nw-tpl-row .ks-tpl-card{display:flex;flex-direction:column;align-items:center;width:auto!important;padding:4px!important;border:1px solid transparent!important;border-radius:11px!important;background:transparent!important}
#p24s0 .nw-tpl-row .ks-tpl-card:hover{background:#fbf3ea!important}
#p24s0 .nw-tpl-row .ks-tpl-card.active{border-color:#d64226!important;background:#fff4ef!important}
#p24s0 .nw-tpl-row .ks-tpl-card>div:last-child{font-size:9.5px!important;color:#5a4f45!important;margin-top:4px!important;max-width:104px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
#p24s0 .dh-tpl-thumb{background-image:linear-gradient(180deg,rgba(22,14,9,.20) 0%,rgba(22,14,9,.03) 34%,rgba(22,14,9,.26) 62%,rgba(22,14,9,.66) 100%),var(--tpl-bg)!important;background-size:cover!important;background-position:50% 16%!important;background-repeat:no-repeat!important;border:1px solid #e8ded2}

/* 摘要 + 生成 */
#p24s0 .nw-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:2px;padding:8px 4px;border-top:1px solid #f1e7dc;border-bottom:1px solid #f1e7dc}
#p24s0 .nw-summary>div{text-align:center;min-width:0}
#p24s0 .nw-summary b{display:block;font-size:13px;font-weight:800;color:#2f2a26;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#p24s0 .nw-summary span{display:block;margin-top:1px;font-size:8.5px;color:#9a9186}
#p24s0 .nw-footer{display:flex;flex-direction:column;gap:6px;position:sticky;bottom:-1px;margin:0 -12px -12px;padding:10px 12px 12px;background:linear-gradient(180deg,rgba(255,253,251,.72) 0%,#fffdfb 34%);border-top:1px solid #f1e7dc;border-radius:0 0 14px 14px}
#p24s0 .nw-generate{width:100%;border:0;border-radius:10px;padding:11px 12px;background:linear-gradient(135deg,#d64226,#a93822);color:#fff;font-size:12.5px;font-weight:800;cursor:pointer;box-shadow:0 6px 16px rgba(169,56,34,.22)}
#p24s0 .nw-generate:hover{background:linear-gradient(135deg,#c93c22,#9a3120)}
#p24s0 .nw-generate:disabled{opacity:.6;cursor:not-allowed;box-shadow:none}
#p24s0 .nw-footer .ks-status{font-size:10px;line-height:1.5;color:#8a6a4f}
#p24s0 .nw-footer .ks-status:empty{display:none}

/* 细节 */
#p24s0 .nw-pill.is-mode{background:#fbe9e2;border-color:#eccfbe;color:#a93822}
#p24s0 .nw-seg.is-version{display:grid;grid-template-columns:1fr 1fr;width:100%}
#p24s0 .nw-seg.is-version .nw-seg-btn{text-align:center}
#p24s0 .nw-card-head.is-side{padding:10px 12px}
#p24s0 .nw-card-head.is-side .nw-card-title h2{font-size:13px}
#p24s0 .nw-card-head.is-side .nw-card-title p{display:none}
#p24s0 .nw-more{border-top:1px dashed #f0e4d7;padding-top:8px}
#p24s0 .nw-more>summary{list-style:none;cursor:pointer;font-size:10px;font-weight:800;color:#6b6259;display:flex;align-items:center;gap:4px}
#p24s0 .nw-more>summary::-webkit-details-marker{display:none}
#p24s0 .nw-more>summary::after{content:'▾';margin-left:auto;font-size:9px;color:#9a9186}
#p24s0 .nw-more[open]>summary::after{transform:rotate(180deg)}
#p24s0 .nw-more-body{display:grid;gap:6px;margin-top:7px}
#p24s0 .spinner{display:inline-block;width:10px;height:10px;border:2px solid #e6d8ca;border-top-color:#c25532;border-radius:50%;animation:nwspin .7s linear infinite;vertical-align:-1px}
@keyframes nwspin{to{transform:rotate(360deg)}}

@media(max-width:1200px){
  #p24s0 .nw-cols{grid-template-columns:minmax(0,1fr) 322px}
}
@media(max-width:980px){
  #p24s0 .nw-cols{grid-template-columns:minmax(0,1fr)}
  #p24s0 .nw-side{position:static}
}
@media(max-width:640px){
  #p24s0 .nw-head h1{font-size:24px}
  #p24s0 .nw-head p{font-size:11.5px}
  #p24s0 .nw-steps{gap:4px}
  #p24s0 .nw-step{padding:6px 6px;min-width:0}
  #p24s0 .nw-step-tx small{display:none}
  #p24s0 .nw-step-line{flex:0 0 8px}
  #p24s0 .nw-card-head{padding:9px 10px;gap:8px}
  #p24s0 .nw-card-body{padding:10px}
  #p24s0 .news-match-row{flex-wrap:wrap}
  #p24s0 .news-match-line{flex:1 1 100%;order:2}
  #p24s0 .news-match-clip{max-width:none}
  #p24s0 .news-match-actions{margin-left:auto}
  #p24s0 .nw-summary b{font-size:12px}
}

/* ---------- p20s0 AI新闻播报作品：暖色作品库 ---------- */
body:has(#p20s0.act) #pageHead{display:none!important}
body:has(#p20s0.act) .main,body:has(#p20s0.act) .main-content{background:#f2ebe2!important}
body:has(#p20s0.act) .main-header{background:rgba(255,253,251,.92);border-bottom-color:#e8ded2!important}
#p20s0{background:#f2ebe2;border-radius:18px}
#p20s0>.section{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important}

#p20s0 .lib-head{margin:0 0 18px;padding:0;background:none;border:0}
#p20s0 .lib-head-top{display:none}
#p20s0 .lib-head-row{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap;min-width:0}
#p20s0 .lib-head-ic{display:none}
#p20s0 .lib-head-tx{flex:1 1 auto;min-width:0}
#p20s0 .lib-head-tx::before{
  content:"WORKS · 新闻播报";display:block;margin-bottom:8px;padding-left:26px;
  color:#a54832;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  font-size:9px;line-height:1.6;font-weight:800;letter-spacing:.17em;
  background:linear-gradient(#d64226,#d64226) 0 50%/18px 1px no-repeat;
}
#p20s0 .lib-head-name{
  font-family:Georgia,"Noto Serif CJK SC","Songti SC",serif;
  font-size:34px;line-height:1.12;font-weight:800;letter-spacing:-.02em;color:#1d1d20;
}
#p20s0 .lib-head-desc{margin-top:6px;font-size:12px;line-height:1.7;color:#716c66}
#p20s0 .lib-head-act{gap:10px;padding-bottom:2px}
#p20s0 .lib-count{
  height:27px;padding:0 11px;border-radius:999px;background:#f7f0e7;color:#a93822;
  border:1px solid #e8ded2;font-size:10.5px;font-weight:700;
}
#p20s0 .lib-sort{
  height:30px;padding:0 10px;border:1px solid #e8ded2;border-radius:9px;background:#fffdfb;
  color:#6b6259;font-size:10.5px;font-weight:600;cursor:pointer;outline:none;
}
#p20s0 .lib-sort:focus{border-color:#d9b6a6;box-shadow:0 0 0 3px rgba(194,85,50,.10)}

/* 作品卡 */
#p20s0 .vv-result-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;overflow:visible;align-content:start}
#p20s0 .vv-thumb{
  display:flex;flex-direction:column;padding:9px;background:#fffdfb;
  border:1px solid #e9e2d9;border-radius:14px;box-shadow:0 12px 28px -28px rgba(74,48,32,.45);
  transition:border-color .16s,box-shadow .16s,transform .16s;
}
#p20s0 .vv-thumb:hover{border-color:#dcc9b9;transform:translateY(-2px);box-shadow:0 16px 30px -24px rgba(74,48,32,.5)}
#p20s0 .vv-thumb>img{aspect-ratio:9/16!important;border-radius:9px!important;background:#e7d9c9!important}
#p20s0 .vv-thumb-info{padding:9px 2px 0;background:transparent;min-height:56px;display:flex;flex-direction:column;gap:4px}
#p20s0 .vv-thumb-name{
  font-size:11.5px;line-height:1.45;font-weight:700;color:#1d1d20;white-space:normal;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
#p20s0 .ai-tag{background:#fbe9e2;color:#a93822;font-size:9px;line-height:15px;margin-left:5px}
#p20s0 .vv-thumb-meta{
  display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:auto;
  font-size:9.5px;line-height:1.4;color:#9a9186;
}
#p20s0 .vv-thumb-meta .ks-work-dur{
  display:inline-flex;align-items:center;height:17px;padding:0 6px;border-radius:5px;
  background:#f7f0e7;color:#8a6a4f;font-size:9px;font-weight:700;
}
#p20s0 .vv-thumb-meta .ks-work-dur::before{content:"";width:4px;height:4px;border-radius:50%;background:#c25532;margin-right:4px}
#p20s0 .vv-thumb-note{
  font-size:9.5px;line-height:1.4;color:#b45309;
  display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;
}
#p20s0 .vv-thumb-actions{display:flex;gap:5px;padding:8px 0 0;margin-top:auto;background:transparent}
#p20s0 .vv-thumb-act{
  flex:1 1 0;min-width:0;height:26px;padding:0 5px;border:1px solid #e8ded2;border-radius:7px;
  background:#fffdfb;color:#6b6259;font-size:9.5px;font-weight:700;gap:4px;cursor:pointer;
}
#p20s0 .vv-thumb-act .ic{width:12px;height:12px}
#p20s0 .vv-thumb-act:hover{background:#fbe9e2;border-color:#e5c4b8;color:#a93822}
#p20s0 .vv-thumb-del{top:15px;right:15px;background:rgba(29,29,32,.55);border-radius:8px}
#p20s0 .vv-thumb-del:hover{background:#c25532}

#p20s0 .lib-empty{
  padding:44px 24px;border:1px dashed #e2d3c4;border-radius:14px;
  background:linear-gradient(180deg,#fffdfb,#faf5ef);
}
#p20s0 .lib-empty-ic{background:#f7f0e7;color:#a93822;border:1px solid #e8ded2}
#p20s0 .lib-empty-t{color:#1d1d20}
#p20s0 .lib-empty-d{color:#8f857c;font-size:11.5px}
#p20s0 .lib-empty .btn-pri{background:linear-gradient(135deg,#c25532,#a33820);border-color:#a33820;color:#fff}
#p20s0 .lib-skel{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
#p20s0 .lib-skel-i{background:#eadfd3;border-radius:14px;aspect-ratio:9/16!important}

#p20s0 #newsWorkList_pager span{color:#9a9186!important}
#p20s0 #newsWorkList_pager .btn-out{color:#8f5b47!important;border-color:#e8ded2!important;background:#fffdfb!important}
#p20s0 #newsWorkList_pager .btn-out:hover:not(:disabled){background:#fbe9e2!important;border-color:#e5c4b8!important;color:#a93822!important}
#p20s0 #newsWorkList_pager .btn-out:disabled{opacity:.42}

body:has(#p20s0.act) .vv-preview-overlay{background:rgba(46,32,22,.55);backdrop-filter:blur(8px)}
body:has(#p20s0.act) #dhPreviewOverlay .vv-preview-card{
  background:#fffdfb;border:1px solid #e9e2d9;border-radius:16px;
  box-shadow:0 28px 70px -30px rgba(61,38,22,.55);
}
body:has(#p20s0.act) #dhPreviewOverlay .vv-preview-header{
  background:#faf6f0;border-bottom:1px solid #efe3d5;color:#1d1d20;
}
body:has(#p20s0.act) #dhPreviewOverlay .vv-preview-close{
  background:#f7f0e7;color:#716c66;border-radius:9px;border:1px solid #efe3d5;
}
body:has(#p20s0.act) #dhPreviewOverlay .vv-preview-close:hover{background:#c25532;color:#fff}
body:has(#p20s0.act) #dhPreviewOverlay video{background:#1b1511}
body:has(#p20s0.act) #dhPreviewOverlay .vv-preview-actions{background:#faf6f0;border-top:1px solid #efe3d5}

@media(max-width:1300px){
  #p20s0 .vv-result-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  #p20s0 .lib-skel{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:1100px){
  #p20s0 .vv-result-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  #p20s0 .lib-skel{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:820px){
  #p20s0 .vv-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #p20s0 .lib-skel{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
  #p20s0 .vv-result-grid{grid-template-columns:minmax(0,1fr)}
  #p20s0 .lib-skel{grid-template-columns:minmax(0,1fr)}
}
