
:root { --sf-1: #1d1d1f; --sf-2: #6e6e73; --sf-3: #86868b; --sf-4: #aeaeb2; --sf-brand: #4a55c7; --sf-ok: #3f8a5f; --sf-warn: #8a6100; --sf-err: #c4332b;
        --sf-font: "DM Sans", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; }
/* 深色模式文字色（法则第 6 条）：只用在深色模式下真的会变成深底的区域。
   设置中心、登录弹窗、两个编辑器、项目修改 / 系统确认弹窗、手机端菜单、空状态和未登录卡片在深色模式下仍是白底，保持浅色文字色，
   否则会变成「浅字配白底」看不清（实测深色对比度检查发现） */
html.dark-mode #saas-global-sidebar, html.dark-mode .saas-sidebar-member-dropdown,
html.dark-mode .saas-tab-header, html.dark-mode .saas-folder-header, html.dark-mode .saas-grid-card,
html.dark-mode body:has(#p-charmap) #quickedit-modal-box, html.dark-mode body:has(#p-charmap) #saas-dialog-box, html.dark-mode #story-modal-box, html.dark-mode #structure-modal-box, html.dark-mode #storyos-mm-sheet,
html.dark-mode .storyos-ai-menu, html.dark-mode .storyos-ai-result-modal {
    --sf-1: #f5f5f7; --sf-2: #a1a1a6; --sf-3: #86868b; --sf-4: #636366; --sf-brand: #8e96f0; --sf-ok: #8fd9ae; --sf-warn: #e0b45c; --sf-err: #ff6961;
}
/* 深色模式下仍是浅底的内层卡片 / 浅色按钮：换回浅色文字色 */
html.dark-mode #structure-modal-box .storyos-structure-card, html.dark-mode #structure-modal-box #structure-diagnostics,
html.dark-mode #structure-modal-box #structure-node-editor, html.dark-mode #structure-modal-box .storyos-structure-settings-fold,
html.dark-mode #structure-modal-box #structure-nodes-list, html.dark-mode #structure-modal-box .storyos-structure-tag-box,
html.dark-mode body:has(#p-charmap) #quickedit-modal-box > div > button:first-child, html.dark-mode body:has(#p-charmap) #saas-dialog-cancel,
html.dark-mode #story-modal-box .storyos-story-footer button:first-child, html.dark-mode #structure-modal-box .storyos-structure-cancel,
html.dark-mode #storyos-mm-sheet .storyos-mm-card, html.dark-mode #storyos-mm-sheet .storyos-mm-uvip {
    --sf-1: #1d1d1f; --sf-2: #6e6e73; --sf-3: #86868b; --sf-4: #aeaeb2; --sf-brand: #4a55c7; --sf-ok: #3f8a5f; --sf-warn: #8a6100; --sf-err: #c4332b;
}

/* ================= 一、全站共用组件（所有页面生效） ================= */
/* 菜单底部用户卡片 + 「即将开放」徽章（模块 2；菜单项本身按法则第 11 条不动） */
html body .saas-sidebar-member-entry, html body .saas-sidebar-member-entry * { font-family: var(--sf-font) !important; }
html body .saas-sidebar-member-entry__name { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .saas-sidebar-member-entry__sub { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-3) !important; letter-spacing: 0 !important; }
html body .saas-badge-coming-soon { font-family: var(--sf-font) !important; font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-brand) !important; }
/* 用户下拉菜单（模块 16） */
html body .saas-sidebar-member-dropdown, html body .saas-sidebar-member-dropdown * { font-family: var(--sf-font) !important; }
html body .saas-sidebar-member-dropdown__item, html body .saas-sidebar-member-dropdown__item span { font-size: 13px !important; line-height: 18px !important; font-weight: 400 !important; color: var(--sf-1) !important; }
html body .saas-sidebar-member-dropdown a.saas-sidebar-member-dropdown__item[href*="logout"], html body .saas-sidebar-member-dropdown a[href*="logout"] span { color: var(--sf-err) !important; }
/* 设置中心弹窗（模块 17） */
html body #so-hub-modal, html body #so-hub-modal * { font-family: var(--sf-font) !important; }
html body #so-hub-modal .so-hub-title { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-3) !important; }
html body #so-hub-modal .so-h2 { font-size: 24px !important; line-height: 30px !important; font-weight: 600 !important; letter-spacing: -0.01em !important; color: var(--sf-1) !important; }
html body #so-hub-modal .so-card-head { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #so-hub-modal .so-hub-nav-item { font-size: 14px !important; line-height: 20px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body #so-hub-modal .so-hub-nav-item.is-active { font-weight: 600 !important; color: var(--sf-brand) !important; }
html body #so-hub-modal .so-label { font-size: 13px !important; line-height: 18px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body #so-hub-modal .so-btn { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #so-hub-modal .so-btn.so-btn-primary { color: #ffffff !important; }
html body #so-hub-modal .so-row > div > div:first-child { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #so-hub-modal .so-row > div > div + div { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-3) !important; }
html body #so-hub-modal #so-panel-account > div > span { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-3) !important; }
html body #so-hub-modal #so-panel-account > div > a { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-err) !important; }
html body #so-hub-modal input, html body #so-hub-modal textarea, html body #so-hub-modal select { font-size: 14px !important; line-height: 20px !important; font-weight: 400 !important; color: var(--sf-1) !important; }
/* 登录弹窗 + 底部条款（模块 18、21） */
html body #saas-global-login-modal, html body #saas-global-login-modal * { font-family: var(--sf-font) !important; }
html body #saas-global-login-modal .storyos-form-title { font-size: 17px !important; line-height: 24px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #saas-global-login-modal .storyos-form-subtitle { font-size: 13px !important; line-height: 18px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body #saas-global-login-modal .storyos-guest-link { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-2) !important; }
html body #saas-global-login-modal .storyos-code-btn { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #saas-global-login-modal .storyos-switch-link { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-brand) !important; }
html body #saas-global-login-modal .storyos-submit-btn { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: #ffffff !important; }
html body #saas-global-login-modal .storyos-divider span { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-3) !important; }
html body #saas-global-login-modal .storyos-legal-row { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-3) !important; }
html body #saas-global-login-modal .storyos-legal-link { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-brand) !important; }
html body #saas-global-login-modal input { font-size: 14px !important; line-height: 20px !important; font-weight: 400 !important; color: var(--sf-1) !important; }
/* 手机端菜单（模块 19） */
html body #storyos-mm-sheet, html body #storyos-mm-sheet * { font-family: var(--sf-font) !important; }
html body #storyos-mm-sheet .storyos-mm-uname { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #storyos-mm-sheet .storyos-mm-uvip { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-warn) !important; }
html body #storyos-mm-sheet .storyos-mm-card span { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #storyos-mm-sheet .storyos-mm-card.is-soon span { color: var(--sf-2) !important; }
html body #storyos-mm-sheet .storyos-mm-foot a { font-size: 13px !important; line-height: 18px !important; color: var(--sf-2) !important; }
html body #storyos-mm-sheet .storyos-mm-foot a.exit { color: var(--sf-err) !important; }
/* AI 微观星芒（模块 22；也出现在剧本编辑器） */
html body .storyos-ai-menu, html body .storyos-ai-menu *, html body .storyos-ai-result-modal, html body .storyos-ai-result-modal * { font-family: var(--sf-font) !important; }
html body .storyos-ai-handle, html body .storyos-ai-task-anchor { font-weight: 600 !important; }
html body .storyos-ai-menu-title { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-2) !important; }
html body .storyos-ai-menu-item, html body .storyos-ai-custom-item .text { font-size: 13px !important; line-height: 18px !important; font-weight: 400 !important; color: var(--sf-1) !important; }
html body .storyos-ai-input-row input { font-size: 13px !important; line-height: 18px !important; font-weight: 400 !important; color: var(--sf-1) !important; }
html body .storyos-ai-result-header { font-size: 17px !important; line-height: 24px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .storyos-ai-result-option { font-size: 13px !important; line-height: 1.6 !important; color: var(--sf-1) !important; }
html body .storyos-ai-result-option.selected { font-weight: 600 !important; }
html body .storyos-ai-result-body { font-size: 14px !important; line-height: 1.6 !important; color: var(--sf-1) !important; }
html body .btn-ai-insert, html body .btn-ai-discard { font-family: var(--sf-font) !important; font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; }
/* V1.1：结果弹窗底部两个按钮的文字色（剧本编辑器实测补充） */
html body .btn-ai-discard, html body #btn-discard-ai-result { color: var(--sf-err) !important; }
html body .btn-ai-insert, html body #btn-insert-ai-result { color: #ffffff !important; }
html body .storyos-ai-input-row input::placeholder, html body #ai-custom-prompt::placeholder { color: var(--sf-4) !important; }

/* ================= 二、构思白板页（只在这个页面的元素上生效） ================= */
html body #saas-dashboard-main-container .ds-col-center-wrapper, html body #saas-dashboard-main-container .ds-col-center-wrapper button,
html body #quickedit-modal-box, html body #quickedit-modal-box *, html body #saas-dialog-box, html body #saas-dialog-box *,
html body #story-modal-box, html body #story-modal-box *, html body #structure-modal-box, html body #structure-modal-box * { font-family: var(--sf-font) !important; }
/* 标签页、新建按钮（模块 3、4） */
html body .html-tabs .html-tab { font-size: 14px !important; line-height: 20px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .html-tabs .html-tab.active { font-weight: 600 !important; color: var(--sf-1) !important; }
html body #p-tab-action-btn { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; }
@media (max-width: 960px) { html body.saas-takeover-active #p-tab-action-btn.saas-tab-action-btn { font-size: 0 !important; } }
/* 文件夹分组标题（模块 5） */
html body .saas-folder-title { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .saas-folder-count { font-family: var(--sf-font) !important; font-size: 11px !important; line-height: 14px !important; font-weight: 400 !important; color: var(--sf-3) !important; font-variant-numeric: tabular-nums; }
/* 三种卡片（模块 6、7、8） */
html body .saas-grid-card .saas-card-name { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .saas-grid-card .saas-card-desc { font-family: var(--sf-font) !important; font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-3) !important; font-variant-numeric: tabular-nums; }
html body #p-story .saas-grid-card .saas-card-desc { color: var(--sf-2) !important; line-height: 1.6 !important; }
html body .saas-grid-card .saas-card-icon { font-weight: 600 !important; color: var(--sf-brand) !important; }
html body .saas-grid-card .saas-card-side-text { font-family: var(--sf-font) !important; font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: #ffffff !important; }
/* 空状态、未登录锁定（模块 9、10）：样式写在行内，用结构选择 */
html body #charmap-content-wrapper > div > div:first-of-type, html body #story-content-wrapper > div > div:first-of-type, html body #structure-content-wrapper > div > div:first-of-type { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #charmap-content-wrapper > div > div:not(:first-of-type), html body #story-content-wrapper > div > div:not(:first-of-type), html body #structure-content-wrapper > div > div:not(:first-of-type),
html body #charmap-content-wrapper > div > p, html body #story-content-wrapper > div > p, html body #structure-content-wrapper > div > p { font-size: 13px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .ds-col-center-wrapper > div > h2 { font-size: 24px !important; line-height: 30px !important; font-weight: 600 !important; letter-spacing: -0.01em !important; color: var(--sf-1) !important; }
html body .ds-col-center-wrapper > div > p { font-size: 14px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .ds-col-center-wrapper > div > a { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; }
/* 项目修改、系统确认（模块 11、12） */
html body #quickedit-modal-box > h3 { font-size: 17px !important; line-height: 24px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #quickedit-modal-box input, html body #quickedit-modal-box select { font-size: 14px !important; line-height: 20px !important; font-weight: 400 !important; color: var(--sf-1) !important; }
html body #quickedit-modal-box button, html body #saas-dialog-box button { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; }
html body #quickedit-modal-box > div > button:first-child, html body #saas-dialog-cancel { color: var(--sf-2) !important; }
html body #saas-dialog-message { font-size: 14px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-1) !important; }
/* 灵感构建编辑器（模块 13） */
html body #story-modal-box .storyos-story-head h3 { font-size: 17px !important; line-height: 24px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #story-modal-box .storyos-story-head > div > div { font-size: 13px !important; line-height: 18px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body #story-modal-box .storyos-story-navlink { font-size: 13px !important; line-height: 18px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body #story-modal-box .storyos-story-navlink.active { font-weight: 600 !important; color: var(--sf-brand) !important; }
html body #story-modal-box .storyos-story-navnum { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: inherit !important; font-variant-numeric: tabular-nums; }
html body #story-modal-box .storyos-story-sec-head { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #story-modal-box .storyos-story-field-label, html body #story-modal-box .storyos-story-titlebox-label,
html body #story-modal-box label, html body #story-modal-box .storyos-story-side-label { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-2) !important; }
html body #story-modal-box .storyos-story-tag { font-size: 13px !important; line-height: 18px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body #story-modal-box .storyos-story-tag.active, html body #story-modal-box .storyos-story-tag.selected, html body #story-modal-box .storyos-story-tag.is-active, html body #story-modal-box .storyos-story-tag.on { font-weight: 600 !important; color: var(--sf-brand) !important; }
html body #story-modal-box .storyos-story-tag.storyos-story-tag-add { color: var(--sf-brand) !important; }
html body #story-modal-box #story-quill-counter { font-size: 11px !important; line-height: 14px !important; color: var(--sf-3) !important; font-variant-numeric: tabular-nums; }
html body #story-modal-box input, html body #story-modal-box select, html body #story-modal-box textarea { font-size: 14px !important; font-weight: 400 !important; color: var(--sf-1) !important; }
html body #story-modal-box textarea { line-height: 1.6 !important; }
html body #story-modal-box input, html body #story-modal-box select { line-height: 20px !important; }
html body #story-modal-box .storyos-story-footer button { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; }
html body #story-modal-box .storyos-story-footer button:first-child { color: var(--sf-2) !important; }
/* 结构骨架编辑器（模块 14） */
html body #structure-modal-box .storyos-structure-head h3 { font-size: 17px !important; line-height: 24px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #structure-modal-box .storyos-structure-sub { font-size: 13px !important; line-height: 18px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body #structure-modal-box .storyos-structure-section-title, html body #structure-modal-box .storyos-structure-settings-fold > summary { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #structure-modal-box .storyos-structure-label { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-2) !important; }
html body #structure-modal-box .storyos-structure-tip, html body #structure-modal-box .storyos-structure-timeline-el > div > span:not(.storyos-structure-segment-label),
html body #structure-modal-box [class*="storyos-structure-axis"], html body #structure-modal-box [class*="storyos-structure-scale"] { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-3) !important; }
html body #structure-modal-box .storyos-structure-stage-meta > span { font-size: 11px !important; line-height: 14px !important; font-weight: 400 !important; color: var(--sf-3) !important; font-variant-numeric: tabular-nums; }
html body #structure-modal-box .storyos-structure-stage-meta > strong { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #structure-modal-box .storyos-structure-segment-label { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: #ffffff !important; }
html body #structure-modal-box .storyos-structure-node-chip, html body #structure-modal-box .storyos-structure-tag { font-size: 13px !important; line-height: 18px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body #structure-modal-box .storyos-structure-node-chip.active, html body #structure-modal-box .storyos-structure-node-chip.is-active, html body #structure-modal-box .storyos-structure-tag.active, html body #structure-modal-box .storyos-structure-tag.is-active, html body #structure-modal-box .storyos-structure-tag.on { font-weight: 600 !important; color: var(--sf-brand) !important; }
html body #structure-modal-box .storyos-structure-add-node-chip, html body #structure-modal-box .storyos-structure-tag.custom-add { color: var(--sf-brand) !important; }
html body #structure-modal-box #structure-diagnostics li { font-size: 13px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body #structure-modal-box input, html body #structure-modal-box select, html body #structure-modal-box textarea { font-size: 14px !important; font-weight: 400 !important; color: var(--sf-1) !important; }
html body #structure-modal-box input, html body #structure-modal-box select { line-height: 20px !important; }
html body #structure-modal-box textarea { line-height: 1.6 !important; }
html body #structure-modal-box .storyos-structure-footer button { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; }
html body #structure-modal-box .storyos-structure-cancel { color: var(--sf-2) !important; }
/* 编辑器补漏（实测后补充） */
html body #story-modal-box .storyos-story-nav-meta > div { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-2) !important; }
html body #story-modal-box section[id^="sec-"] > div:not([class]) { font-size: 12px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-3) !important; }
html body #structure-modal-box #structure-diagnostics > strong { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #structure-modal-box .storyos-structure-settings-fold > summary > span { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-3) !important; }
html body #structure-modal-box .storyos-structure-select-empty > strong { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #structure-modal-box .storyos-structure-select-empty > span { font-size: 13px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-2) !important; }

/* ======================================================================
   三、我的资产页（/task-list/、/my-assets/）
   ====================================================================== */
html body #saas-global-stats-panel .saas-ov-lab { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body #saas-global-stats-panel .saas-ov-val { font-family: var(--sf-font) !important; font-size: 24px !important; line-height: 30px !important; font-weight: 600 !important; font-variant-numeric: tabular-nums; }
html body #stat-val-all { color: var(--sf-1) !important; }
html body #stat-val-done { color: var(--sf-ok) !important; }
html body #stat-val-wait { color: var(--sf-warn) !important; }
html body #stat-val-fail { color: var(--sf-err) !important; }
/* 生成记录头部 */
html body .stk-title { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .stk-chip { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .stk-chip.on { font-weight: 600 !important; color: var(--sf-brand) !important; }
html body .stk-thead > span, html body .th-actions, html body .th-cost { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-3) !important; }
/* 任务行 */
html body .stk-text { font-size: 13px !important; line-height: 18px !important; font-weight: 400 !important; color: var(--sf-1) !important; }
html body .stk-date, html body .stk-cost { font-family: var(--sf-font) !important; font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; font-variant-numeric: tabular-nums; }
html body .stk-date { color: var(--sf-3) !important; }
html body .stk-cost { color: var(--sf-2) !important; }
html body .stk-pill { font-family: var(--sf-font) !important; font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; }
html body .stk-pill[style*="16, 185, 129"], html body .stk-pill[style*="#10B981"], html body .stk-pill[style*="#10b981"] { color: var(--sf-ok) !important; }
html body .stk-pill[style*="239, 68, 68"], html body .stk-pill[style*="#EF4444"], html body .stk-pill[style*="#ef4444"] { color: var(--sf-err) !important; }
html body .stk-pill.is-running, html body .stk-pill[style*="245, 158, 11"], html body .stk-pill[style*="#F59E0B"], html body .stk-pill[style*="#f59e0b"] { color: var(--sf-warn) !important; }
html body .stk-retry-btn { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-brand) !important; }
html body .stk-running-tip { font-size: 12px !important; line-height: 16px !important; color: var(--sf-3) !important; }
html body .stk-empty { font-size: 13px !important; line-height: 1.6 !important; color: var(--sf-2) !important; }
html body #task-list-container > div[style*="ef4444"], html body #task-list-container > div[style*="EF4444"] { font-size: 13px !important; line-height: 1.6 !important; color: var(--sf-err) !important; }
/* 右栏：会员与算力卡 */
html body .sb-acct-name { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .sb-badge { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-2) !important; }
html body .sb-balance-lab, html body .sb-title { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-2) !important; }
html body #sb-points-val { font-family: var(--sf-font) !important; font-size: 24px !important; line-height: 30px !important; font-weight: 600 !important; color: var(--sf-1) !important; font-variant-numeric: tabular-nums; }
html body .sb-cta { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; }
/* 书本卡片：故事策划、剧本（色调只留在封面底色，文字统一中性灰） */
html body .sos-book .sos-book-title, html body .sos-book .sos-plan-title { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .sos-book .sos-book-tag { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-2) !important; }
html body .sos-book .sos-book-meta, html body .sos-book .sos-plan-one { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-3) !important; font-variant-numeric: tabular-nums; }
html body .sos-book .sos-plan-one { color: var(--sf-3) !important; }
html body .sos-book .sos-plan-mod { font-size: 11px !important; line-height: 14px !important; font-weight: 400 !important; color: var(--sf-3) !important; }
html body .sos-book .sos-plan-mod.is-on, html body .sos-book .sos-plan-mod.has { color: var(--sf-1) !important; }
html body .sos-book .sos-book-date { font-size: 11px !important; line-height: 14px !important; font-weight: 400 !important; color: var(--sf-3) !important; font-variant-numeric: tabular-nums; }
/* 空状态、小说标签页 */
html body #library-content-wrapper > div > div:first-of-type, html body #writer-content-wrapper > div > div:first-of-type, html body #p-novel > div > div:first-of-type,
html body #p-novel h2, html body #p-novel h3 { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #library-content-wrapper > div > div:not(:first-of-type), html body #writer-content-wrapper > div > div:not(:first-of-type),
html body #p-novel > div > div:not(:first-of-type), html body #p-novel p { font-size: 13px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-2) !important; }
/* 弹窗：任务结果、故事策划编辑、剧本预览、修改项目信息、系统提示 */
html body #task-modal-box, html body #task-modal-box *, html body #editor-modal-box, html body #editor-modal-box *,
html body #script-preview-modal-box, html body #script-preview-modal-box *, html body #quickedit-modal-box, html body #quickedit-modal-box *,
html body #saas-dialog-box, html body #saas-dialog-box * { font-family: var(--sf-font) !important; }
html body #task-modal-box .preview-tab, html body #editor-modal-box .preview-tab, html body #script-preview-modal-box .preview-tab { font-size: 13px !important; line-height: 18px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body #task-modal-box .preview-tab.active, html body #editor-modal-box .preview-tab.active, html body #script-preview-modal-box .preview-tab.active { font-weight: 600 !important; color: var(--sf-brand) !important; }
html body #task-modal-box .preview-tab[style*="C8CCD8"], html body #task-modal-box .preview-tab[style*="c8ccd8"], html body #editor-modal-box .preview-tab[style*="c8ccd8"] { color: var(--sf-4) !important; }
html body #task-modal-box .modal-header > span:first-child, html body #task-modal-box [style*="9aa0b8"] { font-size: 12px !important; line-height: 16px !important; color: var(--sf-3) !important; }
html body #task-modal-box [style*="font-size:18px"], html body #script-preview-modal-box #script-preview-title { font-size: 17px !important; line-height: 24px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #task-modal-box .mock-synopsis, html body #script-preview-modal-box .mock-synopsis { font-size: 15px !important; line-height: 1.8 !important; color: var(--sf-1) !important; }
html body #script-preview-modal-box h4 { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #copy-btn, html body #modal-save-btn, html body #modal-writer-btn, html body #update-mat-btn, html body #script-preview-edit-btn,
html body #editor-modal-box button, html body #quickedit-modal-box button, html body #saas-dialog-box button { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; }
html body #copy-btn { color: var(--sf-brand) !important; }
html body #quickedit-modal-box label, html body #editor-modal-box label { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-2) !important; }
html body #saas-dialog-title { font-size: 17px !important; line-height: 24px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #saas-dialog-box > div, html body #saas-dialog-box p, html body #saas-dialog-box span { font-size: 14px !important; line-height: 1.6 !important; color: var(--sf-2) !important; }
html body #editor-modal-box [style*="ef4444"], html body #editor-modal-box [style*="EF4444"] { color: var(--sf-err) !important; }
/* 我的资产页补漏（实测后补充） */
html body #task-modal-box .preview-pane, html body #task-modal-box .preview-pane *, html body #editor-modal-box .preview-pane { font-size: 15px !important; line-height: 1.8 !important; color: var(--sf-1) !important; }
html body #editor-modal-box button[style*="7083df"], html body #editor-modal-box button[style*="7083DF"] { color: var(--sf-brand) !important; }
html body #editor-modal-box button[style*="a0a8c0"], html body #editor-modal-box button[style*="A0A8C0"], html body #editor-modal-box button:disabled { color: var(--sf-4) !important; }
html body #editor-modal-box button[style*="6B6B9A"], html body #editor-modal-box button[style*="6b6b9a"], html body #task-modal-box button[style*="6B6B9A"] { color: var(--sf-2) !important; }
@media (max-width: 768px) { html body .stk-row .stk-status .stk-pill { font-size: 11px !important; line-height: 14px !important; } }

/* 我的资产页：深色模式下真正变深的区域（数据看板、生成记录、算力卡、三类列表）用深色模式文字色；
   本页的弹窗在深色模式下仍是白底，保持浅色文字色 */
html.dark-mode #saas-global-stats-panel, html.dark-mode #task-list-container, html.dark-mode .sb-card,
html.dark-mode #library-content-wrapper, html.dark-mode #writer-content-wrapper {
    --sf-1: #f5f5f7; --sf-2: #a1a1a6; --sf-3: #86868b; --sf-4: #636366; --sf-brand: #8e96f0; --sf-ok: #8fd9ae; --sf-warn: #e0b45c; --sf-err: #ff6961;
}
/* 空状态卡片和「小说」标签页在深色模式下仍是浅色底：换回浅色文字色 */
html.dark-mode #library-content-wrapper > div:not(.saas-folder-group), html.dark-mode #writer-content-wrapper > div:not(.saas-folder-group), html.dark-mode #p-novel {
    --sf-1: #1d1d1f; --sf-2: #6e6e73; --sf-3: #86868b; --sf-4: #aeaeb2; --sf-brand: #4a55c7; --sf-ok: #3f8a5f; --sf-warn: #8a6100; --sf-err: #c4332b;
}
/* 我的资产页 · 线上自查补漏 */
html body #editor-header-title { font-size: 17px !important; line-height: 24px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #editor-header-title > span { font-size: 17px !important; line-height: 24px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #editor-header-title > span[style*="9AA0B8"], html body #editor-header-title > span[style*="9aa0b8"],
html body #editor-header-title > span[style*="c8ccd8"], html body #editor-header-title > span[style*="C8CCD8"] { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-3) !important; }
html body .sb-acct-sub, html body .sb-acct-meta > div > span { font-size: 11px !important; line-height: 14px !important; font-weight: 400 !important; color: var(--sf-3) !important; font-variant-numeric: tabular-nums; }

/* ======================================================================
   四、故事情报页（/signal-home/，短剧风向标插件）
   数字与英文标签原来用系统等宽字体 ui-monospace，统一改为 DM Sans + 等宽数字；
   9 / 10px 的英文小标签统一提到 11px；涨幅统一用警示色。
   ====================================================================== */
html body .storyos-layout, html body .storyos-layout *, html body .sg-main, html body .sg-main *,
html body [class^="su-tb-"], html body [class^="su-meta-"], html body [class^="su-r-"], html body [class^="su-nav-"], html body [class^="su-ug-"],
html body [class^="sg-"], html body .storyos-tracking-empty { font-family: var(--sf-font) !important; }
html body .su-meta-num, html body .su-meta-update, html body .su-meta-badge, html body .sg-d4-row-num,
html body .sg-d4-leader-foot-chg, html body .sg-d4-row-chg, html body .sg-rchg, html body .su-r-hit, html body .su-r-hit-num { font-variant-numeric: tabular-nums; }
/* 顶栏（模块 3、4） */
html body .su-tb-title { font-size: 17px !important; line-height: 24px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .su-tb-subtitle { font-size: 13px !important; line-height: 18px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .su-tb-sep, html body .su-tb-divider { font-size: 13px !important; font-weight: 400 !important; color: var(--sf-4) !important; }
html body .su-tb-left span[class*="soon"], html body .su-tb-left .su-badge, html body .su-tb-subtitle + span { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-3) !important; }
html body .su-meta-eye, html body .su-meta-unit { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-3) !important; }
html body .su-meta-unit { font-weight: 400 !important; }
html body .su-meta-num, html body .su-meta-update { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .su-meta-badge { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-ok) !important; }
html body .su-meta-sep { color: var(--sf-4) !important; }
html body .su-tb-user-name { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .su-tb-search, html body [class*="su-tb-search"] { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-2) !important; }
/* 卡片头部（模块 5） */
html body .sg-pt { font-size: 17px !important; line-height: 24px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .sg-ts-btn { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .sg-ts-btn.on { font-weight: 600 !important; color: var(--sf-1) !important; }
html body .sg-pm { font-size: 11px !important; line-height: 14px !important; font-weight: 400 !important; color: var(--sf-3) !important; }
/* 领跑区（模块 6） */
html body .sg-d4-leader-eye, html body .sg-d4-leader-foot-label { font-size: 11px !important; line-height: 14px !important; font-weight: 400 !important; color: var(--sf-3) !important; }
html body .sg-d4-leader-name { font-size: 17px !important; line-height: 24px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .sg-d4-leader-sub { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-3) !important; }
html body .sg-d4-leader-foot-chg { font-size: 17px !important; line-height: 24px !important; font-weight: 600 !important; color: var(--sf-warn) !important; }
/* 排行列表（模块 7） */
html body .sg-d4-list-eye { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-3) !important; }
html body .sg-d4-row-num { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-3) !important; }
html body .sg-d4-row-name { font-size: 13px !important; line-height: 18px !important; font-weight: 400 !important; color: var(--sf-1) !important; }
html body .sg-d4-row-chg { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-warn) !important; }
/* 空状态（模块 9） */
html body .sg-empty-title { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .sg-empty-desc { font-size: 12px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-3) !important; }
/* 黑马异动（模块 10） */
html body .sg-surge-title { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .sg-surge-desc { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-3) !important; }
html body .sg-rtag { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-2) !important; }
html body .sg-rchg { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-warn) !important; }
/* 右栏：追踪雷达、继续探索（模块 11、12） */
html body .su-r-pt { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .su-r-pm, html body .su-r-ph, html body .su-r-list-eye, html body .su-r-more-eye { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-3) !important; }
html body .su-r-name { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .su-r-sub, html body .su-r-hit, html body .su-r-hit-num { font-size: 11px !important; line-height: 14px !important; font-weight: 400 !important; color: var(--sf-3) !important; }
html body .su-r-hit-new { color: var(--sf-brand) !important; font-weight: 600 !important; }
html body .su-r-more-label { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-brand) !important; }
html body .storyos-tracking-empty { font-size: 12px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .su-nav-title { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .su-nav-sub { font-size: 11px !important; line-height: 14px !important; font-weight: 400 !important; color: var(--sf-3) !important; }
html body .su-nav-arrow { color: var(--sf-4) !important; }
/* 未登录（模块 13） */
html body .su-tb-login { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; }
html body .su-login-btn { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; }
html body .su-ug-title { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .su-ug-desc { font-size: 13px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-2) !important; }
/* 顶栏「短剧风向标 / 小说风向标」切换与搜索（行内样式，按特征覆盖） */
html body .saas-topbar-switcher span[style*="font-size:18px"] { font-size: 17px !important; line-height: 24px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .saas-topbar-switcher span[style*="font-size:13px"][style*="c2c8d2"] { font-size: 13px !important; line-height: 18px !important; font-weight: 400 !important; color: var(--sf-4) !important; }
html body .saas-topbar-switcher span[style*="font-size:13px"][style*="9aa3af"] { font-size: 13px !important; line-height: 18px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .saas-topbar-switcher span[style*="font-size:9px"] { font-family: var(--sf-font) !important; font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-3) !important; }
html body .su-search, html body .su-search span { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-2) !important; }
/* 故事情报页 · 线上自查补漏 */
html body .su-tb-user-vip, html body .su-tb-vip { font-family: var(--sf-font) !important; font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-brand) !important; }
html body .storyos-right-card-more .su-r-more-label, html body .su-r-more-label { line-height: 16px !important; }

/* ======================================================================
   五、剧目库页（短剧风向标插件）
   ====================================================================== */
html body #storyos-drama-library-app, html body #storyos-drama-library-app *, html body [class^="dl-"] { font-family: var(--sf-font) !important; }
/* 筛选栏（收起 / 展开） */
html body .dl-fc-label, html body .dl-fr-label { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-2) !important; }
html body .dl-expand-btn, html body .dl-btn-collapse { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .dl-fc-chip { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-brand) !important; }
html body .dl-fc-chip-x { color: var(--sf-3) !important; }
html body .dl-clear-btn, html body .dl-btn-clear-all { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-err) !important; }
html body .dl-fr-tag { font-size: 13px !important; line-height: 18px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .dl-fr-tag.on, html body .dl-fr-tag.is-on, html body .dl-fr-tag.active { font-weight: 600 !important; color: var(--sf-brand) !important; }
html body #dl-apply-btn, html body .dl-btn-apply, html body .dl-apply-mini { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; }
html body #dl-selected-info { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-3) !important; }
/* 排序行 */
html body .dl-sort-label { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-2) !important; }
html body .dl-sort-btn { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .dl-sort-btn.on, html body .dl-sort-btn.is-on, html body .dl-sort-btn.active { font-weight: 600 !important; color: var(--sf-1) !important; }
html body #dl-result-count, html body .dl-result-meta { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-3) !important; font-variant-numeric: tabular-nums; }
/* 卡片：榜单角标（名次颜色统一，不再分四色） */
html body .dl-rb-eye { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-3) !important; }
html body .dl-rank, html body .dl-rank.t1, html body .dl-rank.t2, html body .dl-rank.t3 { font-size: 17px !important; line-height: 24px !important; font-weight: 600 !important; color: var(--sf-1) !important; font-variant-numeric: tabular-nums; }
html body .dl-rank.t1 { color: var(--sf-brand) !important; }
/* 卡片：主体 */
html body .dl-item-name { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .dl-badge { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-brand) !important; }
html body .dl-badge[class*="surge"], html body .dl-badge.up, html body .dl-badge.dl-badge-surge { color: var(--sf-warn) !important; }
html body .dl-item-meta { font-size: 11px !important; line-height: 14px !important; font-weight: 400 !important; color: var(--sf-3) !important; font-variant-numeric: tabular-nums; }
html body .dl-item-tag { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .dl-item-foot { font-size: 11px !important; line-height: 14px !important; font-weight: 400 !important; color: var(--sf-3) !important; font-variant-numeric: tabular-nums; }
/* 空状态 */
html body .dl-drama-list > div:not(.dl-drama-item) > div:first-child, html body [class*="dl-empty"] > div:first-child { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .dl-drama-list > div:not(.dl-drama-item) > div:not(:first-child), html body [class*="dl-empty"] > div:not(:first-child) { font-size: 13px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-2) !important; }

/* ======================================================================
   六、故事筛选页（短剧风向标插件；与剧目库同一套结构，类名前缀 ss-）
   ====================================================================== */
html body #storyos-signal-story-app, html body #storyos-signal-story-app *, html body [class^="ss-"] { font-family: var(--sf-font) !important; }
/* 筛选栏（收起 / 展开） */
html body .ss-fc-label, html body .ss-fr-label { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-2) !important; }
html body .ss-expand-btn, html body .ss-btn-collapse { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .ss-fc-chip { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-brand) !important; }
html body .ss-fc-chip-x { color: var(--sf-3) !important; }
html body .ss-clear-btn, html body .ss-btn-clear-all { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-err) !important; }
html body .ss-fr-tag { font-size: 13px !important; line-height: 18px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .ss-fr-tag.on, html body .ss-fr-tag.is-on, html body .ss-fr-tag.active { font-weight: 600 !important; color: var(--sf-brand) !important; }
html body #ss-apply-btn, html body .ss-btn-apply, html body .ss-apply-mini { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; }
html body #ss-selected-info { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-3) !important; }
/* 排序行 */
html body .ss-sort-label { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-2) !important; }
html body .ss-sort-btn { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .ss-sort-btn.on, html body .ss-sort-btn.is-on, html body .ss-sort-btn.active { font-weight: 600 !important; color: var(--sf-1) !important; }
html body #ss-result-count, html body .ss-result-meta { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-3) !important; font-variant-numeric: tabular-nums; }
/* 卡片：榜单角标（名次颜色统一，不再分四色） */
html body .ss-rb-eye { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-3) !important; }
html body .ss-rank, html body .ss-rank.t1, html body .ss-rank.t2, html body .ss-rank.t3 { font-size: 17px !important; line-height: 24px !important; font-weight: 600 !important; color: var(--sf-1) !important; font-variant-numeric: tabular-nums; }
html body .ss-rank.t1 { color: var(--sf-brand) !important; }
/* 卡片：主体 */
html body .ss-item-name { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .ss-badge { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-brand) !important; }
html body .ss-badge[class*="surge"], html body .ss-badge.up, html body .ss-badge.ss-badge-surge { color: var(--sf-warn) !important; }
html body .ss-item-meta { font-size: 11px !important; line-height: 14px !important; font-weight: 400 !important; color: var(--sf-3) !important; font-variant-numeric: tabular-nums; }
html body .ss-item-tag { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .ss-item-foot { font-size: 11px !important; line-height: 14px !important; font-weight: 400 !important; color: var(--sf-3) !important; font-variant-numeric: tabular-nums; }
/* 空状态 */
html body .ss-drama-list > div:not(.ss-drama-item) > div:first-child, html body [class*="ss-empty"] > div:first-child { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .ss-drama-list > div:not(.ss-drama-item) > div:not(:first-child), html body [class*="ss-empty"] > div:not(:first-child) { font-size: 13px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-2) !important; }
/* 故事筛选页独有：本周故事信号、热门公式组合 */
html body .ss-stat-name { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .ss-stat-sub { font-size: 11px !important; line-height: 14px !important; font-weight: 400 !important; color: var(--sf-3) !important; }
html body .ss-stat-val { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-2) !important; font-variant-numeric: tabular-nums; }
html body .ss-sc-name { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .ss-sc-val { font-size: 11px !important; line-height: 14px !important; font-weight: 400 !important; color: var(--sf-3) !important; font-variant-numeric: tabular-nums; }
html body .ss-shortcut { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-brand) !important; }
html body .ss-filter-hint { font-size: 12px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-3) !important; }
html body .ss-loading-pill { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-2) !important; }

/* ======================================================================
   七、数据视图页（短剧风向标插件）
   ====================================================================== */
html body #storyos-signal-view-app, html body #storyos-signal-view-app *, html body [class^="sv-"] { font-family: var(--sf-font) !important; }
html body .sv-pt { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .sv-pm, html body .sv-ph, html body .sv-pa { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-3) !important; }
html body .sv-metric-l { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .sv-metric-v { font-size: 17px !important; line-height: 24px !important; font-weight: 600 !important; color: var(--sf-1) !important; font-variant-numeric: tabular-nums; }
html body .sv-bar-label { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .sv-bar-val { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-2) !important; font-variant-numeric: tabular-nums; }
html body .sv-drama-rank { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-3) !important; font-variant-numeric: tabular-nums; }
html body .sv-drama-name { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .sv-drama-meta { font-size: 11px !important; line-height: 14px !important; font-weight: 400 !important; color: var(--sf-3) !important; font-variant-numeric: tabular-nums; }
html body .sv-drama-score { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-warn) !important; font-variant-numeric: tabular-nums; }
html body .sv-tag { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .sv-tag.on, html body .sv-tag.is-on, html body .sv-tag.active { font-weight: 600 !important; color: var(--sf-brand) !important; }
html body .sv-combo-row { font-size: 13px !important; line-height: 18px !important; font-weight: 400 !important; color: var(--sf-1) !important; }
html body .sv-signal { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-3) !important; }
/* 右栏共用卡片补齐（故事筛选、数据视图也用同一套） */
html body .su-r-ph, html body .su-r-ph span { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-3) !important; }
html body .storyos-right-card-more { font-family: var(--sf-font) !important; font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-brand) !important; }
html body .ss-shortcut, html body .ss-shortcut div { font-size: 11px !important; line-height: 14px !important; color: var(--sf-3) !important; }
html body .ss-shortcut > div > div:first-child { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .sv-combo-row span, html body .su-r-card .sv-combo-row { color: var(--sf-1) !important; }
html body .su-btn, html body .su-r-card .su-btn { font-family: var(--sf-font) !important; font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .sv-combo-row span:last-child { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-warn) !important; font-variant-numeric: tabular-nums; }

/* ======================================================================
   八、短剧拆解报告页（/signal-drama/，短剧风向标插件）
   插件用 #dd3-app 三层选择器 + !important，这里用 #dd3-app#dd3-app 提高权重压过它
   六幕结构条、爆点标签、人物头像的颜色保留在底色上，文字统一主文字色
   ====================================================================== */
html body #dd3-app#dd3-app [class^="d3-"], html body #dd3-app#dd3-app [class^="d3-"] * { font-family: var(--sf-font) !important; }
/* 面包屑与顶栏（模块 51、52） */
html body #dd3-app#dd3-app .d3-bcp { font-size: 13px !important; line-height: 18px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body #dd3-app#dd3-app .d3-bcs { color: var(--sf-4) !important; }
html body #dd3-app#dd3-app .d3-bcc { font-size: 17px !important; line-height: 24px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #dd3-app#dd3-app .d3-tb-name { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #dd3-app#dd3-app .d3-tb-vip { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-brand) !important; }
html body #dd3-app#dd3-app .d3-search, html body #dd3-app#dd3-app .d3-search * { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
/* 灵感卡头部（模块 53） */
html body #dd3-app#dd3-app .d3-sc-name-inline { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #dd3-app#dd3-app .d3-sc-meta-inline { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-3) !important; font-variant-numeric: tabular-nums; }
html body #dd3-app#dd3-app .d3-sc-eyebrowline-sep { color: var(--sf-4) !important; }
html body #dd3-app#dd3-app #dd3-save-story-idea { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-brand) !important; }
html body #dd3-app#dd3-app .d3-save-cost { font-size: 11px !important; line-height: 14px !important; font-weight: 400 !important; color: var(--sf-3) !important; font-variant-numeric: tabular-nums; }
/* 灵感卡正文（模块 54） */
html body #dd3-app#dd3-app .d3-sc-rk3, html body #dd3-app#dd3-app .d3-sc-ilk { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-3) !important; }
html body #dd3-app#dd3-app .d3-sc-oneline { font-size: 17px !important; line-height: 24px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #dd3-app#dd3-app .d3-sc-synopsis { font-size: 13px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body #dd3-app#dd3-app .d3-sc-il { font-size: 13px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-1) !important; }
/* 标签（模块 55） */
html body #dd3-app#dd3-app .d3-sc-tag, html body #dd3-app#dd3-app .d3-sc-chip { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
/* 展开完整灵感卡（模块 56） */
html body #dd3-app#dd3-app .d3-sc-more-sum, html body #dd3-app#dd3-app .d3-sc-more-sum span { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-2) !important; }
html body #dd3-app#dd3-app .d3-sc-more-hint { font-size: 11px !important; line-height: 14px !important; font-weight: 400 !important; color: var(--sf-3) !important; }
html body #dd3-app#dd3-app .d3-sc-mk { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-3) !important; }
html body #dd3-app#dd3-app .d3-sc-mv { font-size: 13px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-1) !important; }
html body #dd3-app#dd3-app .d3-sc-spoiler { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-4) !important; }
/* 四张分析卡的卡头（模块 57） */
html body #dd3-app#dd3-app .d3-ct { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #dd3-app#dd3-app .d3-cn { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-3) !important; font-variant-numeric: tabular-nums; }
html body #dd3-app#dd3-app .d3-cta { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-brand) !important; }
/* 幕结构条（模块 58）：底色保留，文字统一 */
html body #dd3-app#dd3-app .d3-act-name { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #dd3-app#dd3-app .d3-act-sub { font-size: 11px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body #dd3-app#dd3-app .d3-act-rg { font-size: 11px !important; line-height: 14px !important; font-weight: 400 !important; color: var(--sf-3) !important; font-variant-numeric: tabular-nums; }
/* 四幕要点链（模块 59） */
html body #dd3-app#dd3-app .d3-mini-label { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-3) !important; }
html body #dd3-app#dd3-app .d3-act-chain-tx b { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #dd3-app#dd3-app .d3-act-chain-tx span { font-size: 13px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-2) !important; }
/* 人物设计（模块 60） */
html body #dd3-app#dd3-app .d3-pp-avatar { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #dd3-app#dd3-app .d3-pp-name { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #dd3-app#dd3-app .d3-pp-sub { font-size: 11px !important; line-height: 14px !important; font-weight: 400 !important; color: var(--sf-3) !important; }
html body #dd3-app#dd3-app .d3-pp-bridge-t { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body #dd3-app#dd3-app .d3-pp-bridge-a { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-brand) !important; }
/* 爆点设计（模块 61）：胶囊底色保留，文字统一 */
html body #dd3-app#dd3-app .d3-trig-chip { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #dd3-app#dd3-app .d3-trig-intro { font-size: 13px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body #dd3-app#dd3-app .d3-trig-more { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-brand) !important; }
/* 首集 3 分钟留人（模块 62） */
html body #dd3-app#dd3-app .d3-op-chain-time { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-3) !important; font-variant-numeric: tabular-nums; }
html body #dd3-app#dd3-app .d3-op-chain-role { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body #dd3-app#dd3-app .d3-op-chain-act { font-size: 12px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-2) !important; }
/* 结构判断（模块 63） */
html body #dd3-app#dd3-app .d3-struct-judge { font-size: 13px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-2) !important; }
/* 右栏（模块 64） */
html body #dd3-app#dd3-app .d3-rcard-k, html body #dd3-app#dd3-app .d3-ov-label { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-3) !important; }
html body #dd3-app#dd3-app .d3-ov-val { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-1) !important; font-variant-numeric: tabular-nums; }
html body #dd3-app#dd3-app .d3-ov-tag { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body #dd3-app#dd3-app .d3-sv-name { font-size: 13px !important; line-height: 18px !important; font-weight: 400 !important; color: var(--sf-1) !important; }
html body #dd3-app#dd3-app .d3-sv-state { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-3) !important; }
html body #dd3-app#dd3-app .d3-sv-ico { color: var(--sf-ok) !important; }
html body #dd3-app#dd3-app .d3-bg, html body #dd3-app#dd3-app .d3-bp, html body #dd3-app#dd3-app .d3-bs { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; }
/* 权重补强：这几处插件用了更具体的选择器 */
html body #dd3-app#dd3-app .d3-card .d3-ch .d3-ct .d3-cn { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-3) !important; }
html body #dd3-app#dd3-app .d3-card .d3-ch .d3-cta { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-brand) !important; }
html body #dd3-app#dd3-app .d3-right .d3-rc button.d3-bs { color: var(--sf-brand) !important; }
html body #dd3-app#dd3-app .d3-right .d3-rc button.d3-bg { color: var(--sf-2) !important; }

/* 兜底：页面若没有 #dd3-app 外层容器时，用基础权重的同一套规则 */

html body [class^="d3-"], html body [class^="d3-"] * { font-family: var(--sf-font) !important; }
/* 面包屑与顶栏（模块 51、52） */
html body .d3-bcp { font-size: 13px !important; line-height: 18px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .d3-bcs { color: var(--sf-4) !important; }
html body .d3-bcc { font-size: 17px !important; line-height: 24px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .d3-tb-name { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .d3-tb-vip { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-brand) !important; }
html body .d3-search, html body .d3-search * { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
/* 灵感卡头部（模块 53） */
html body .d3-sc-name-inline { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .d3-sc-meta-inline { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-3) !important; font-variant-numeric: tabular-nums; }
html body .d3-sc-eyebrowline-sep { color: var(--sf-4) !important; }
html body #dd3-save-story-idea { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-brand) !important; }
html body .d3-save-cost { font-size: 11px !important; line-height: 14px !important; font-weight: 400 !important; color: var(--sf-3) !important; font-variant-numeric: tabular-nums; }
/* 灵感卡正文（模块 54） */
html body .d3-sc-rk3, html body .d3-sc-ilk { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-3) !important; }
html body .d3-sc-oneline { font-size: 17px !important; line-height: 24px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .d3-sc-synopsis { font-size: 13px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .d3-sc-il { font-size: 13px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-1) !important; }
/* 标签（模块 55） */
html body .d3-sc-tag, html body .d3-sc-chip { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
/* 展开完整灵感卡（模块 56） */
html body .d3-sc-more-sum, html body .d3-sc-more-sum span { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-2) !important; }
html body .d3-sc-more-hint { font-size: 11px !important; line-height: 14px !important; font-weight: 400 !important; color: var(--sf-3) !important; }
html body .d3-sc-mk { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-3) !important; }
html body .d3-sc-mv { font-size: 13px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-1) !important; }
html body .d3-sc-spoiler { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-4) !important; }
/* 四张分析卡的卡头（模块 57） */
html body .d3-ct { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .d3-cn { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-3) !important; font-variant-numeric: tabular-nums; }
html body .d3-cta { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-brand) !important; }
/* 幕结构条（模块 58）：底色保留，文字统一 */
html body .d3-act-name { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .d3-act-sub { font-size: 11px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .d3-act-rg { font-size: 11px !important; line-height: 14px !important; font-weight: 400 !important; color: var(--sf-3) !important; font-variant-numeric: tabular-nums; }
/* 四幕要点链（模块 59） */
html body .d3-mini-label { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-3) !important; }
html body .d3-act-chain-tx b { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .d3-act-chain-tx span { font-size: 13px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-2) !important; }
/* 人物设计（模块 60） */
html body .d3-pp-avatar { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .d3-pp-name { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .d3-pp-sub { font-size: 11px !important; line-height: 14px !important; font-weight: 400 !important; color: var(--sf-3) !important; }
html body .d3-pp-bridge-t { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .d3-pp-bridge-a { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-brand) !important; }
/* 爆点设计（模块 61）：胶囊底色保留，文字统一 */
html body .d3-trig-chip { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .d3-trig-intro { font-size: 13px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .d3-trig-more { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-brand) !important; }
/* 首集 3 分钟留人（模块 62） */
html body .d3-op-chain-time { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-3) !important; font-variant-numeric: tabular-nums; }
html body .d3-op-chain-role { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .d3-op-chain-act { font-size: 12px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-2) !important; }
/* 结构判断（模块 63） */
html body .d3-struct-judge { font-size: 13px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-2) !important; }
/* 右栏（模块 64） */
html body .d3-rcard-k, html body .d3-ov-label { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-3) !important; }
html body .d3-ov-val { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-1) !important; font-variant-numeric: tabular-nums; }
html body .d3-ov-tag { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .d3-sv-name { font-size: 13px !important; line-height: 18px !important; font-weight: 400 !important; color: var(--sf-1) !important; }
html body .d3-sv-state { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-3) !important; }
html body .d3-sv-ico { color: var(--sf-ok) !important; }
html body .d3-bg, html body .d3-bp, html body .d3-bs { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; }
/* 权重补强：这几处插件用了更具体的选择器 */
html body .d3-card .d3-ch .d3-ct .d3-cn { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-3) !important; }
html body .d3-card .d3-ch .d3-cta { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-brand) !important; }
html body .d3-right .d3-rc button.d3-bs { color: var(--sf-brand) !important; }
html body .d3-right .d3-rc button.d3-bg { color: var(--sf-2) !important; }

/* ======================================================================
   九、会员中心（/member-center/）
   等宽字体 DM Mono 改为 DM Sans + 等宽数字；18 / 15 / 16 / 22px 归入 6 级；字重 500 → 400 / 600
   ====================================================================== */
html body .mc-main, html body .mc-main *, html body [class^="mc-"], html body [class^="mc-"] * { font-family: var(--sf-font) !important; }
html body .mc-section-title { font-size: 17px !important; line-height: 24px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
/* 个人资料卡 */
html body #mc-display-name, html body .mc-name-c { font-size: 17px !important; line-height: 24px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .mc-vip-badge { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-brand) !important; font-variant-numeric: tabular-nums; }
html body .mc-vip-badge.no-vip { color: var(--sf-2) !important; }
html body .mc-meta-strip, html body .mc-meta-strip span { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .mc-meta-strip span b { font-size: 12px !important; font-weight: 600 !important; color: var(--sf-1) !important; font-variant-numeric: tabular-nums; }
html body .mc-meta-dot, html body .mc-c-sep { color: var(--sf-4) !important; }
html body .mc-link { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .mc-link.danger { color: var(--sf-err) !important; }
html body .mc-btn { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; }
html body .mc-profile-c-btns .mc-btn:not(.primary) { color: var(--sf-1) !important; }
/* 升级推荐条 */
html body .mc-upsell-text { font-size: 13px !important; line-height: 18px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .mc-upsell-text strong { font-size: 13px !important; font-weight: 600 !important; color: var(--sf-brand) !important; font-variant-numeric: tabular-nums; }
/* 账单与流水 */
html body .mc-tab { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .mc-tab.active { font-weight: 600 !important; color: var(--sf-1) !important; }
html body .mc-table th { font-size: 11px !important; line-height: 14px !important; font-weight: 600 !important; color: var(--sf-3) !important; }
html body .mc-table td { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-2) !important; font-variant-numeric: tabular-nums; }
html body .mc-table td span { font-size: 12px !important; font-weight: 400 !important; color: var(--sf-1) !important; }
html body .mc-table td b, html body .mc-table td strong { font-weight: 600 !important; color: var(--sf-1) !important; }
html body .mc-empty { font-size: 13px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-3) !important; }
html body .mc-more-toggle, html body .mc-more-txt { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-brand) !important; }
/* 资产与快捷入口 */
html body .mc-asset-name { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .mc-asset-desc { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-3) !important; font-variant-numeric: tabular-nums; }
html body .mc-asset-action { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-brand) !important; }
/* 礼品中心 */
html body .mc-gift-pkg-name { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .mc-gift-pkg-desc { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-3) !important; }
html body .mc-gift-pkg-price { font-size: 17px !important; line-height: 24px !important; font-weight: 600 !important; color: var(--sf-1) !important; font-variant-numeric: tabular-nums; }
html body .mc-gift-sep, html body .mc-gift-grid > div { font-size: 12px !important; line-height: 16px !important; color: var(--sf-3) !important; }
html body #mc-gift-code-input { font-size: 14px !important; line-height: 20px !important; font-weight: 400 !important; color: var(--sf-1) !important; font-variant-numeric: tabular-nums; }
/* 账号绑定与设置 */
html body .mc-bind-name { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .mc-bind-val, html body .mc-bind-info { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-3) !important; }
html body .mc-bind-btn { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-brand) !important; }
html body .mc-setting-label { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-2) !important; }
html body .mc-setting-input { font-size: 14px !important; line-height: 20px !important; font-weight: 400 !important; color: var(--sf-1) !important; }
html body .mc-pwd-toggle { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-brand) !important; }
/* 弹窗：标题与说明（订阅、充值、支付、提示共用） */
html body .mc-modal-title, html body .mc-chooser-title, html body .mc-sub-header { font-size: 17px !important; line-height: 24px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .mc-modal-desc, html body .mc-chooser-desc { font-size: 13px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .mc-modal-box > div, html body .mc-modal-box p { font-size: 13px !important; line-height: 1.6 !important; color: var(--sf-2) !important; }
/* 充值套餐卡 */
html body .mc-pkg-pts { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; font-variant-numeric: tabular-nums; }
html body .mc-pkg-price { font-size: 17px !important; line-height: 24px !important; font-weight: 600 !important; color: var(--sf-1) !important; font-variant-numeric: tabular-nums; }
html body .mc-pkg-bonus { font-size: 11px !important; line-height: 14px !important; font-weight: 400 !important; color: var(--sf-ok) !important; }
html body .mc-pay-choice { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .mc-pay-btn { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; }
/* 订阅套餐卡 */
html body .mc-plan-name { font-size: 17px !important; line-height: 24px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .mc-plan-desc { font-size: 13px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .mc-plan-amount { font-size: 24px !important; line-height: 30px !important; font-weight: 600 !important; color: var(--sf-1) !important; font-variant-numeric: tabular-nums; }
html body .mc-plan-currency { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .mc-plan-period { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-3) !important; }
html body .mc-plan-old { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sf-3) !important; font-variant-numeric: tabular-nums; }
html body .mc-plan-features, html body .mc-plan-features * { font-size: 13px !important; line-height: 18px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .mc-plan-cta { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; }
/* 补漏：礼品中心的分组说明与卡片说明 */
html body .mc-gift-grid > div > div, html body .mc-card > div > div[style*="9aa0b8"], html body .mc-card > div > div[style*="9AA0B8"] { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: var(--sf-3) !important; }
html body .mc-gift-sep + div, html body .mc-gift-grid + div { color: var(--sf-3) !important; }
/* 会员中心深色模式：整页都会变深（插件有 69 条深色规则），这里把法则文字色换成深色模式那一套 */
html.dark-mode .mc-main, html.dark-mode .mc-card, html.dark-mode .mc-modal-box, html.dark-mode .mc-sub-container,
html.dark-mode .mc-pay-chooser-box, html.dark-mode [id*="recharge-modal"], html.dark-mode [id*="msg-modal"] {
    --sf-1: #f5f5f7; --sf-2: #a1a1a6; --sf-3: #86868b; --sf-4: #636366; --sf-brand: #8e96f0; --sf-ok: #8fd9ae; --sf-warn: #e0b45c; --sf-err: #ff6961;
}
/* 支付方式按钮在深色模式下仍是白底：文字保持浅色模式色 */
html.dark-mode .mc-pay-choice { --sf-1: #1d1d1f; --sf-2: #6e6e73; --sf-3: #86868b; --sf-brand: #4a55c7; }
/* 兑换码输入框：样式写在标签行内（DM Mono、#1a1a40），用 id 双写提高权重覆盖 */
html body input#mc-gift-code-input#mc-gift-code-input {
    font-family: var(--sf-font) !important; font-size: 14px !important; line-height: 20px !important;
    font-weight: 400 !important; color: var(--sf-1) !important; letter-spacing: .04em !important; font-variant-numeric: tabular-nums;
}
html body input#mc-gift-code-input#mc-gift-code-input::placeholder { color: var(--sf-4) !important; letter-spacing: .04em !important; }
/* 订阅套餐面板与账号设置补漏（线上自查） */
html body .mc-sub-header h1 { font-size: 24px !important; line-height: 30px !important; font-weight: 600 !important; letter-spacing: -0.01em !important; color: var(--sf-1) !important; }
html body .mc-sub-header p { font-size: 14px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .mc-billing-btn { font-size: 13px !important; line-height: 18px !important; font-weight: 400 !important; color: var(--sf-2) !important; }
html body .mc-billing-btn.active { font-weight: 600 !important; color: var(--sf-1) !important; }
html body .mc-plan-cta { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sf-1) !important; }
html body .mc-plan-card.featured .mc-plan-cta, html body .mc-plan-cta.primary, html body .mc-plan-cta[class*="primary"] { color: #ffffff !important; }
html body #mc-setting-profile > div:not(.mc-setting-group), html body #mc-setting-security > div:not(.mc-setting-group) { font-size: 12px !important; line-height: 1.6 !important; font-weight: 400 !important; color: var(--sf-3) !important; }

/* ===== V1.8.0（2026-10-22 · 新规则书 V2.234 · 效果图 T1）===== */
/* 一、全站：按钮、输入框、下拉框自己没写字体的，一律继承站点字体（原来掉成系统默认 Arial，如 AI 编剧单页「这个数字员工能产出什么」、内测反馈「提交」）。
   风向标（故事情报）各页先不动 */
html body:not(.storyos-signal-shortcode-mode):not(.sg2-page) :is(button, input, select, textarea, optgroup) { font-family: inherit; }
/* 二、AI 编剧单页（/ai_worker/某位编剧/，不含剧本编辑器）：只改字，不改布局。字重只用 400–700（原来大量 800），小标 10px → 11px，页面大标题衬线 */
html body.single-ai_worker:not(.postid-221) .storyos-page-title { font-family: "Songti SC", "STSong", "SimSun", serif !important; font-size: 24px !important; line-height: 32px !important; font-weight: 400 !important; letter-spacing: -.02em !important; color: #000000 !important; }
html body.single-ai_worker:not(.postid-221) .storyos-page-crumb, html body.single-ai_worker:not(.postid-221) .storyos-page-crumb a, html body.single-ai_worker:not(.postid-221) .storyos-page-crumb span { font-size: 12px !important; line-height: 16px !important; color: #71717A !important; }
html body.single-ai_worker:not(.postid-221) .storyos-page-crumb .crumb-here { font-weight: 500 !important; color: #3F3F46 !important; }
html body.single-ai_worker:not(.postid-221) .storyos-page-meta-cost, html body.single-ai_worker:not(.postid-221) .storyos-page-meta-cost span { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; color: #52525B !important; font-variant-numeric: tabular-nums; }
html body.single-ai_worker:not(.postid-221) .storyos-page-meta-time { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: #71717A !important; }
html body.single-ai_worker:not(.postid-221) .saas-v29-label { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; letter-spacing: .35px !important; color: #18181B !important; }
html body.single-ai_worker:not(.postid-221) .saas-v29-textarea { font-family: "Songti SC", "STSong", "SimSun", serif !important; font-size: 14px !important; line-height: 24px !important; font-weight: 400 !important; color: #27272A !important; }
html body.single-ai_worker:not(.postid-221) .saas-v29-textarea::placeholder { color: #A1A1AA !important; }
html body.single-ai_worker:not(.postid-221) .profile-badge { font-size: 11px !important; line-height: 16px !important; font-weight: 600 !important; letter-spacing: .02em !important; }
html body.single-ai_worker:not(.postid-221) .profile-name { font-family: "Songti SC", "STSong", "SimSun", serif !important; font-size: 18px !important; line-height: 24px !important; font-weight: 600 !important; letter-spacing: -.01em !important; }
html body.single-ai_worker:not(.postid-221) .profile-role { font-size: 12px !important; line-height: 16px !important; font-weight: 500 !important; }
html body.single-ai_worker:not(.postid-221) .profile-metric-label { font-size: 11px !important; line-height: 16px !important; font-weight: 600 !important; letter-spacing: .08em !important; color: #A1A1AA !important; }
html body.single-ai_worker:not(.postid-221) .profile-metric-value, html body.single-ai_worker:not(.postid-221) .profile-metric-value span { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; letter-spacing: 0 !important; color: #18181B !important; font-variant-numeric: tabular-nums; }
html body.single-ai_worker:not(.postid-221) .inspector-title { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; letter-spacing: .35px !important; color: #18181B !important; }
html body.single-ai_worker:not(.postid-221) .inspector-title > span { display: none !important; }
html body.single-ai_worker:not(.postid-221) .storyos-inspector-label { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; letter-spacing: 0 !important; color: #52525B !important; }
html body.single-ai_worker:not(.postid-221) .storyos-inspector-state { font-size: 11px !important; line-height: 14px !important; font-weight: 500 !important; color: #A1A1AA !important; }
html body.single-ai_worker:not(.postid-221) .storyos-inspector-value { font-size: 12px !important; line-height: 18px !important; font-weight: 400 !important; color: #71717A !important; }
html body.single-ai_worker:not(.postid-221) .saas-v29-action-label { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; letter-spacing: 0 !important; }
html body.single-ai_worker:not(.postid-221) .workspace-generate-cost-label { font-size: 12px !important; line-height: 16px !important; font-weight: 500 !important; color: #71717A !important; }
html body.single-ai_worker:not(.postid-221) .workspace-generate-vip, html body.single-ai_worker:not(.postid-221) .workspace-generate-cost-pill, html body.single-ai_worker:not(.postid-221) .workspace-generate-cost-pill span { font-size: 12px !important; line-height: 16px !important; font-weight: 600 !important; font-variant-numeric: tabular-nums; }
html body.single-ai_worker:not(.postid-221) .storyos-worker-intro-card > button, html body.single-ai_worker:not(.postid-221) .storyos-worker-intro-card > button span { font-family: inherit !important; font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; color: #3F3F46 !important; }
html body.single-ai_worker:not(.postid-221) .saas-nav-item > span:not(.saas-badge-coming-soon) { font-weight: 500 !important; }

