/* ============= 浅色清爽风格 v2 ============= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { background: #f7f8fa; color: #1f2937; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

/* ====== 顶部导航 ====== */
.topnav { background: #fff; padding: 12px 24px; display: flex; align-items: center; gap: 20px; border-bottom: 1px solid #eef0f3; position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 3px rgba(0,0,0,0.03); }
.topnav .logo { font-weight: 700; font-size: 16px; color: #111827; display: flex; align-items: center; gap: 6px; }
.topnav .tabs { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; margin-left: 16px; }
.topnav .tab { padding: 7px 14px; border-radius: 8px; cursor: pointer; font-size: 13px; color: #4b5563; transition: all .2s; display: flex; align-items: center; gap: 5px; }
.topnav .tab:hover { background: #f3f4f6; }
.topnav .tab.active { background: linear-gradient(135deg, #3b82f6, #6366f1); color: #fff; font-weight: 600; box-shadow: 0 2px 8px rgba(99,102,241,0.25); }
.topnav .step-num { background: #e5e7eb; color: #6b7280; width: 18px; height: 18px; border-radius: 50%; font-size: 11px; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.topnav .tab.active .step-num { background: rgba(255,255,255,0.85); color: #6366f1; }
.topnav .badge { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #fff; padding: 2px 7px; border-radius: 5px; font-size: 10px; font-weight: 700; }
.topnav .pool-btn { display: flex; align-items: center; gap: 6px; padding: 6px 12px; background: #f3f4f6; border-radius: 8px; font-size: 13px; cursor: pointer; color: #374151; }
.topnav .pool-btn:hover { background: #e5e7eb; }
.topnav .pool-btn .num { background: #ef4444; color: #fff; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 700; }

/* ====== Hero ====== */
.hero { background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 50%, #fdf2f8 100%); padding: 22px 24px; border-bottom: 1px solid #eef0f3; }
.hero-inner { max-width: 1680px; margin: 0 auto; }
.hero-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 12px; }
.hero h1 { font-size: 22px; font-weight: 800; color: #111827; }
.hero h1 .accent { background: linear-gradient(135deg, #3b82f6, #8b5cf6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero .sub { color: #6b7280; font-size: 12px; margin-top: 4px; display: flex; gap: 12px; flex-wrap: wrap; }

.week-switcher { display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 8px; padding: 4px 6px; border: 1px solid #e5e7eb; box-shadow: 0 1px 2px rgba(0,0,0,0.03); }
.week-switcher label { font-size: 11px; color: #6b7280; padding: 0 4px; }
.week-switcher select { background: transparent; border: none; font-size: 12px; color: #111827; font-weight: 600; padding: 4px 6px; cursor: pointer; outline: none; }
.week-switcher .icon-btn { width: 24px; height: 24px; border: 1px solid #e5e7eb; background: #fff; border-radius: 6px; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #6b7280; font-size: 11px; }
.week-switcher .icon-btn:hover { background: #f3f4f6; color: #111827; }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { background: #fff; border: 1px solid #eef0f3; padding: 12px 16px; border-radius: 10px; display: flex; gap: 10px; align-items: center; }
.stat-icon { width: 38px; height: 38px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.stat-icon.red { background: #fee2e2; }
.stat-icon.blue { background: #dbeafe; }
.stat-icon.green { background: #d1fae5; }
.stat-icon.orange { background: #fed7aa; }
.stat-body { flex: 1; min-width: 0; }
.stat .label { color: #6b7280; font-size: 11px; }
.stat .value { font-size: 20px; font-weight: 700; color: #111827; line-height: 1.2; }
.stat .delta { font-size: 11px; margin-top: 2px; color: #059669; }

/* ====== Sub Tab（4个核心模块） ====== */
.subtabs { display: flex; gap: 0; padding: 0 24px; max-width: 1680px; margin: 0 auto; border-bottom: 1px solid #eef0f3; background: #fff; position: sticky; top: 56px; z-index: 50; }
.subtab { padding: 14px 22px; cursor: pointer; color: #6b7280; font-size: 14px; border-bottom: 3px solid transparent; transition: all .2s; display: flex; align-items: center; gap: 8px; position: relative; }
.subtab:hover { color: #111827; }
.subtab.active { color: #3b82f6; border-bottom-color: #3b82f6; font-weight: 600; }
.subtab-num { background: #eef0f3; color: #6b7280; width: 22px; height: 22px; border-radius: 50%; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.subtab.active .subtab-num { background: #3b82f6; color: #fff; }
.subtab-arrow { color: #d1d5db; font-size: 12px; align-self: center; padding: 0 4px; }

/* ====== 容器 ====== */
.container { max-width: 1680px; margin: 0 auto; padding: 18px 24px 32px; }
.section { display: none; }
.section.active { display: block; animation: fadeIn .3s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ====== 通用面板 ====== */
.panel { background: #fff; border: 1px solid #eef0f3; border-radius: 12px; padding: 18px 20px; margin-bottom: 14px; box-shadow: 0 1px 3px rgba(0,0,0,0.02); }
.panel-title { font-size: 15px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; color: #111827; flex-wrap: wrap; row-gap: 6px; }
.panel-title .dot { width: 4px; height: 16px; background: linear-gradient(180deg, #3b82f6, #8b5cf6); border-radius: 2px; flex-shrink: 0; }
.panel-title .extra { margin-left: auto; font-size: 12px; color: #6b7280; font-weight: 400; }
.panel-title .doc-link { margin-left: 8px; }
.panel-title .extra + .doc-link { margin-left: 8px; }
.panel-title .live-badge { background: #fee2e2; color: #dc2626; padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.grid-23 { display: grid; grid-template-columns: 2fr 3fr; gap: 14px; }
.grid-32 { display: grid; grid-template-columns: 3fr 2fr; gap: 14px; }
@media (max-width: 1100px) { .grid-2, .grid-3, .grid-4, .grid-23, .grid-32 { grid-template-columns: 1fr; } }

.chart { width: 100%; height: 280px; }
.chart-md { height: 320px; }
.chart-lg { height: 380px; }
.chart-xl { height: 460px; }

/* ====== 关键指标卡（小） ====== */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 1100px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }
.kpi { background: #fff; border: 1px solid #eef0f3; padding: 12px 14px; border-radius: 10px; }
.kpi.tinted-red { background: linear-gradient(135deg, #fef2f2, #fee2e2); border-color: #fecaca; }
.kpi.tinted-orange { background: linear-gradient(135deg, #fff7ed, #fed7aa); border-color: #fdba74; }
.kpi.tinted-green { background: linear-gradient(135deg, #f0fdf4, #d1fae5); border-color: #a7f3d0; }
.kpi.tinted-purple { background: linear-gradient(135deg, #faf5ff, #ddd6fe); border-color: #c4b5fd; }
.kpi-label { font-size: 11px; color: #6b7280; display: flex; align-items: center; gap: 4px; }
.kpi-value { font-size: 22px; font-weight: 800; color: #111827; margin-top: 2px; line-height: 1.1; }
.kpi-sub { font-size: 11px; color: #4b5563; margin-top: 2px; }
.kpi-sub.up { color: #059669; }
.kpi-sub.down { color: #dc2626; }

/* ====== 一句话洞察 banner ====== */
.insight-banner { background: linear-gradient(90deg, #eff6ff, #faf5ff); border: 1px solid #ddd6fe; border-radius: 10px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.insight-banner .icon { font-size: 20px; }
.insight-banner .text { flex: 1; font-size: 13px; color: #4b5563; line-height: 1.6; }
.insight-banner .text strong { color: #1f2937; }
.insight-banner .hl { color: #3b82f6; font-weight: 700; }

/* ====== 节点 chips ====== */
.node-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.node-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 999px; background: #f3f4f6; font-size: 12px; color: #374151; }
.node-chip.hot { background: #fee2e2; color: #dc2626; font-weight: 600; }
.node-chip.cur { background: linear-gradient(135deg, #3b82f6, #6366f1); color: #fff; font-weight: 600; }

/* ====== 4 大品类卡（整行展开） ====== */
.cat-summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 1100px) { .cat-summary-grid { grid-template-columns: repeat(2, 1fr); } }
.cat-summary { background: #fff; border: 1px solid #eef0f3; border-top: 3px solid #3b82f6; padding: 14px 16px; border-radius: 10px; cursor: pointer; transition: all .2s; }
.cat-summary:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.06); }
.cat-summary.cat-教辅 { border-top-color: #ef4444; }
.cat-summary.cat-童书 { border-top-color: #f59e0b; }
.cat-summary.cat-健康 { border-top-color: #10b981; }
.cat-summary.cat-社科 { border-top-color: #8b5cf6; }
.cat-summary-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cat-summary-head .name { font-size: 16px; font-weight: 700; color: #111827; display: flex; align-items: center; gap: 6px; }
.cat-summary-head .share { font-size: 22px; font-weight: 800; }
.cat-summary-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 11px; color: #6b7280; }
.cat-summary-meta .m { display: flex; flex-direction: column; }
.cat-summary-meta .m strong { font-size: 13px; color: #1f2937; }
.cat-summary-tip { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #e5e7eb; font-size: 12px; color: #4b5563; line-height: 1.5; }
.cat-summary-tip .role { display: inline-block; padding: 1px 6px; border-radius: 4px; font-size: 10px; font-weight: 700; margin-right: 4px; background: #eef0f3; color: #4b5563; }

/* ====== 细分类目分布卡 ====== */
.subcat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 1100px) { .subcat-grid { grid-template-columns: 1fr; } }
.subcat-block { background: #fff; border: 1px solid #eef0f3; border-radius: 10px; padding: 14px 16px; }
.subcat-block-title { font-size: 14px; font-weight: 700; color: #111827; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.subcat-row { display: flex; align-items: center; gap: 8px; margin: 6px 0; font-size: 12px; }
.subcat-row .lbl { width: 110px; color: #4b5563; }
.subcat-row .bar { flex: 1; height: 10px; background: #f3f4f6; border-radius: 5px; overflow: hidden; }
.subcat-row .fill { height: 100%; border-radius: 5px; }
.subcat-row .num { font-size: 11px; color: #6b7280; min-width: 36px; text-align: right; font-weight: 600; }

/* ====== 书卡（紧凑型） ====== */
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.book-card { background: #fff; border: 1px solid #eef0f3; border-radius: 10px; overflow: hidden; transition: all .2s; cursor: pointer; }
.book-card:hover { border-color: #93c5fd; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(59,130,246,0.1); }
.book-cover { width: 100%; aspect-ratio: 3/4; position: relative; overflow: hidden; }
.book-cover img, .book-cover .cover-svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.book-rank-badge { position: absolute; top: 6px; left: 6px; background: linear-gradient(135deg, #3b82f6, #6366f1); color: #fff; padding: 3px 7px; border-radius: 5px; font-size: 11px; font-weight: 700; box-shadow: 0 2px 4px rgba(0,0,0,0.15); }
.book-rank-badge.gold { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.book-tag-corner { position: absolute; top: 6px; right: 6px; padding: 2px 6px; border-radius: 4px; font-size: 9px; font-weight: 700; }
.book-tag-corner.hot { background: #ef4444; color: #fff; }
.book-tag-corner.potential { background: #10b981; color: #fff; }
.book-tag-corner.new { background: #6366f1; color: #fff; }
.book-info { padding: 10px 11px; }
.book-title { font-size: 12px; line-height: 1.4; color: #111827; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 33px; }
.book-cat-row { font-size: 11px; color: #6b7280; margin-top: 5px; line-height: 1.4; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.cat-tag { display: inline-block; padding: 1px 6px; border-radius: 4px; font-size: 10px; font-weight: 600; }
.cat-tag.教辅 { background: #fee2e2; color: #dc2626; }
.cat-tag.童书 { background: #fed7aa; color: #ea580c; }
.cat-tag.健康 { background: #d1fae5; color: #059669; }
.cat-tag.社科 { background: #ddd6fe; color: #5b21b6; }
.cat-tag.其他 { background: #f3f4f6; color: #6b7280; }
.book-price { font-size: 12px; color: #ef4444; font-weight: 700; margin-top: 4px; }
.book-isbn { font-size: 10px; color: #6b7280; font-family: "SF Mono", monospace; margin-top: 6px; padding-top: 5px; border-top: 1px dashed #e5e7eb; display: flex; justify-content: space-between; }
.book-isbn .ok { color: #059669; }
.book-isbn .miss { color: #f59e0b; }
.book-metric { font-size: 11px; margin-top: 3px; font-weight: 600; }
.metric-conv { color: #059669; }
.metric-roi { color: #ea580c; }
.book-actions { padding: 0 11px 10px; }
.book-btn { width: 100%; padding: 5px 8px; border-radius: 6px; font-size: 11px; cursor: pointer; transition: all .2s; text-align: center; border: none; font-weight: 600; }
.book-btn.primary { background: linear-gradient(135deg, #3b82f6, #6366f1); color: #fff; }
.book-btn.primary:hover { box-shadow: 0 4px 10px rgba(59,130,246,0.25); }
.book-btn.primary.added { background: linear-gradient(135deg, #10b981, #059669); }

/* ====== 工具栏 ====== */
.toolbar { display: flex; gap: 8px; margin-bottom: 12px; align-items: center; flex-wrap: wrap; }
.toolbar-btn { padding: 6px 12px; background: #fff; border: 1px solid #e5e7eb; color: #4b5563; border-radius: 7px; cursor: pointer; font-size: 12px; transition: all .2s; }
.toolbar-btn:hover { border-color: #93c5fd; color: #2563eb; }
.toolbar-btn.active { background: linear-gradient(135deg, #3b82f6, #6366f1); border-color: #3b82f6; color: #fff; font-weight: 600; }
.toolbar-btn.success { background: linear-gradient(135deg, #10b981, #059669); border-color: #10b981; color: #fff; font-weight: 600; }
.toolbar-btn.success:hover { box-shadow: 0 4px 10px rgba(16,185,129,0.25); }

/* ====== 榜单 Tab ====== */
.rank-tabs { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.rank-tab { padding: 8px 14px; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; cursor: pointer; font-size: 13px; color: #4b5563; display: flex; align-items: center; gap: 6px; transition: all .2s; }
.rank-tab:hover { border-color: #93c5fd; color: #2563eb; }
.rank-tab.active { background: linear-gradient(135deg, #3b82f6, #6366f1); border-color: #3b82f6; color: #fff; font-weight: 600; box-shadow: 0 2px 8px rgba(59,130,246,0.2); }
.rank-tab .count { background: rgba(255,255,255,0.3); padding: 1px 7px; border-radius: 999px; font-size: 11px; }
.rank-tab:not(.active) .count { background: #f3f4f6; color: #6b7280; }

/* ====== 创意公式卡 ====== */
.formula-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 1100px) { .formula-grid { grid-template-columns: 1fr; } }
.formula-card { background: #fff; border: 1px solid #eef0f3; border-radius: 12px; overflow: hidden; transition: all .2s; }
.formula-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.06); transform: translateY(-2px); }
.formula-head { padding: 12px 16px; font-weight: 700; }
.formula-head.basic { background: linear-gradient(135deg, #fce7f3, #fbcfe8); color: #9f1239; }
.formula-head.opportunity { background: linear-gradient(135deg, #ddd6fe, #c4b5fd); color: #4c1d95; }
.formula-head.potential { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; }
.formula-head .role { font-size: 11px; opacity: 0.8; }
.formula-head h3 { font-size: 15px; margin-top: 2px; }
.formula-row { padding: 10px 16px; border-bottom: 1px solid #f3f4f6; font-size: 13px; }
.formula-row:last-child { border-bottom: none; }
.formula-row .l { font-size: 11px; color: #6b7280; font-weight: 600; margin-bottom: 3px; }
.formula-row .c { color: #1f2937; line-height: 1.6; }
.formula-row .quote { color: #6b7280; font-style: italic; font-size: 11.5px; padding: 4px 8px; background: #f9fafb; border-radius: 4px; border-left: 2px solid #c7d2fe; margin-top: 4px; }
.formula-row .stats { display: flex; gap: 8px; flex-wrap: wrap; }
.formula-row .stats span { background: #f3f4f6; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.formula-row .stats span.hot { background: #fee2e2; color: #dc2626; }
.book-mini { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.book-mini-card { width: 50px; }
.book-mini-card img, .book-mini-card .cover-svg { width: 50px; height: 67px; object-fit: cover; border-radius: 4px; border: 1px solid #e5e7eb; display: block; }
.book-mini-card .name { font-size: 9px; color: #4b5563; margin-top: 3px; line-height: 1.2; text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ====== 选品池表 ====== */
.pool-empty { text-align: center; padding: 50px 20px; color: #9ca3af; }
.pool-empty-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.5; }
.pool-table { width: 100%; border-collapse: collapse; }
.pool-table th { background: #f9fafb; padding: 10px 12px; text-align: left; font-size: 12px; color: #6b7280; font-weight: 600; border-bottom: 1px solid #eef0f3; }
.pool-table td { padding: 8px 12px; border-bottom: 1px solid #f3f4f6; font-size: 13px; color: #1f2937; }
.pool-table tr:hover { background: #fafbfc; }
.pool-cover-mini, .pool-cover-mini-svg { width: 32px; height: 42px; object-fit: cover; border-radius: 4px; border: 1px solid #e5e7eb; display: block; }
.status-pill { padding: 2px 9px; border-radius: 999px; font-size: 11px; background: #fef3c7; color: #92400e; }

/* ====== 节点日历卡 ====== */
.node-cal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.node-card { background: #fff; border: 1px solid #eef0f3; border-left: 3px solid #3b82f6; padding: 12px 14px; border-radius: 8px; transition: all .2s; }
.node-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.node-card.urgent { border-left-color: #ef4444; background: linear-gradient(135deg, #fff, #fff5f5); }
.node-card .icon { font-size: 24px; margin-bottom: 4px; }
.node-card .date { font-size: 12px; color: #2563eb; font-weight: 700; }
.node-card.urgent .date { color: #dc2626; }
.node-card .name { font-size: 14px; color: #111827; font-weight: 700; margin-top: 2px; }
.node-card .desc { font-size: 11.5px; color: #6b7280; margin-top: 4px; line-height: 1.5; }
.node-card .countdown { font-size: 11px; color: #ef4444; font-weight: 600; margin-top: 4px; }

/* ====== 节点 × 人群画像卡 ====== */
.node-persona-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.node-persona { background: #fff; border: 1px solid #eef0f3; border-radius: 12px; overflow: hidden; transition: all .2s; }
.node-persona:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.06); }
.node-persona.urgent { border: 2px solid #fca5a5; }
.np-head { padding: 12px 16px; display: flex; align-items: center; gap: 10px; background: linear-gradient(135deg, #eff6ff, #fafafa); }
.np-head .icon { font-size: 28px; }
.np-head .info { flex: 1; }
.np-head .date { font-size: 11px; color: #2563eb; font-weight: 700; }
.np-head .name { font-size: 15px; color: #111827; font-weight: 700; margin-top: 2px; }
.np-head .countdown { font-size: 11px; color: #dc2626; font-weight: 600; margin-top: 1px; }
.np-head .urgent-badge { background: #ef4444; color: #fff; padding: 2px 7px; border-radius: 4px; font-size: 10px; font-weight: 700; }
.np-row { padding: 10px 16px; border-top: 1px solid #f3f4f6; }
.np-row .l { font-size: 11px; color: #6b7280; font-weight: 600; margin-bottom: 4px; display: flex; align-items: center; gap: 4px; }
.np-row .c { font-size: 12.5px; color: #1f2937; line-height: 1.6; }

.persona-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.persona-tag { display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px; background: #f3f4f6; border-radius: 999px; font-size: 11px; color: #4b5563; }
.persona-tag.primary { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #1e40af; font-weight: 600; }
.persona-tag.secondary { background: linear-gradient(135deg, #fce7f3, #fbcfe8); color: #9d174d; font-weight: 600; }
.persona-tag.tertiary { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #065f46; font-weight: 600; }

.np-row .insight-tip { background: linear-gradient(135deg, #fef3c7, #fde68a); padding: 6px 10px; border-radius: 6px; font-size: 11.5px; color: #78350f; line-height: 1.5; margin-top: 4px; border-left: 3px solid #f59e0b; }
.np-row .insight-tip strong { color: #451a03; }

.np-books { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.np-book { width: 42px; }
.np-book img { width: 42px; height: 56px; border-radius: 4px; border: 1px solid #e5e7eb; display: block; }

/* ====== 典型跑量书拆解卡 ====== */
.breakdown-card { background: #fff; border: 1px solid #eef0f3; border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.breakdown-card .bd-header { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px dashed #e5e7eb; }
.bd-cover { width: 90px; flex-shrink: 0; }
.bd-cover img { width: 90px; height: 120px; border-radius: 6px; border: 1px solid #e5e7eb; display: block; }
.bd-meta { flex: 1; }
.bd-meta .role-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; margin-bottom: 4px; }
.bd-meta .role-badge.basic { background: #fce7f3; color: #9f1239; }
.bd-meta .role-badge.opportunity { background: #ddd6fe; color: #4c1d95; }
.bd-meta .role-badge.potential { background: #fef3c7; color: #92400e; }
.bd-meta h3 { font-size: 16px; color: #111827; margin: 4px 0; }
.bd-meta .sub { font-size: 12px; color: #6b7280; line-height: 1.5; }
.bd-meta .stats { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.bd-meta .stats span { background: #f3f4f6; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; color: #4b5563; }
.bd-meta .stats span.hot { background: #fee2e2; color: #dc2626; }
.bd-meta .stats span.new { background: #d1fae5; color: #065f46; }

.bd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 1100px) { .bd-grid { grid-template-columns: 1fr; } }
.bd-section { background: #f9fafb; border: 1px solid #eef0f3; border-radius: 8px; padding: 10px 12px; }
.bd-section-title { font-size: 12px; font-weight: 700; color: #111827; margin-bottom: 6px; display: flex; align-items: center; gap: 4px; }
.bd-section-content { font-size: 12px; color: #4b5563; line-height: 1.6; }
.bd-section-content ul { padding-left: 16px; margin-top: 2px; }
.bd-section-content li { margin: 2px 0; }
.bd-section .quote { color: #6b7280; font-style: italic; padding: 4px 8px; background: #fff; border-radius: 4px; border-left: 2px solid #c7d2fe; margin-top: 4px; font-size: 11.5px; }

/* ====== Subtab 描述文字 ====== */
.subtab-text { display: inline-flex; flex-direction: column; line-height: 1.2; }
.subtab-desc { font-size: 10px; color: #9ca3af; font-weight: 400; margin-top: 2px; }
.subtab.active .subtab-desc { color: #93c5fd; }

/* ====== 节点 × 人群（紧凑单行版）====== */
.np-list { display: flex; flex-direction: column; gap: 10px; }
.np-row-card { background: #fff; border: 1px solid #eef0f3; border-radius: 10px; padding: 12px 14px; display: grid; grid-template-columns: 60px 0.9fr 1.4fr 1.6fr 1.6fr; gap: 12px; align-items: stretch; transition: all .2s; }
.np-row-card:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.np-row-card.urgent { border-left: 3px solid #ef4444; background: linear-gradient(90deg, #fff5f5 0%, #fff 30%); }

.np-icon-block { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.np-icon-block .icon { font-size: 26px; }
.np-icon-block .countdown { font-size: 10px; color: #ef4444; font-weight: 700; margin-top: 2px; background: #fee2e2; padding: 1px 6px; border-radius: 4px; }

.np-name-block { display: flex; flex-direction: column; gap: 2px; }
.np-name-block .date { font-size: 11px; color: #2563eb; font-weight: 700; }
.np-name-block .name { font-size: 14px; color: #111827; font-weight: 700; }
.np-name-block .cat-line { display: flex; gap: 4px; align-items: center; margin-top: 2px; }
.np-name-block .urgent-pill { background: #ef4444; color: #fff; padding: 1px 6px; border-radius: 3px; font-size: 9px; font-weight: 700; }

.np-persona-block { display: flex; flex-direction: column; gap: 3px; font-size: 11px; align-self: center; }
.np-persona-block .l { font-size: 10px; color: #9ca3af; font-weight: 600; margin-bottom: 1px; }
.np-persona-block .p1 { color: #1e40af; font-weight: 600; }
.np-persona-block .p2 { color: #9d174d; font-weight: 600; }
.np-persona-block .p3 { color: #065f46; font-weight: 600; }
.np-persona-block .star { color: #f59e0b; }

/* 选品策略（蓝色调） */
.np-strategy-block { background: linear-gradient(135deg, #eff6ff, #dbeafe); border-radius: 6px; padding: 8px 10px; font-size: 11px; line-height: 1.55; color: #1e3a8a; border-left: 3px solid #3b82f6; }
.np-strategy-block .np-block-title { font-size: 11px; font-weight: 700; color: #1d4ed8; margin-bottom: 4px; padding-bottom: 3px; border-bottom: 1px dashed rgba(59,130,246,0.3); }
.np-strategy-block .np-block-body { color: #1e3a8a; }
.np-strategy-block strong { color: #1e3a8a; font-weight: 700; }

/* 创意亮点（橙黄调） */
.np-creative-block { background: linear-gradient(135deg, #fef3c7, #fde68a); border-radius: 6px; padding: 8px 10px; font-size: 11px; line-height: 1.55; color: #78350f; border-left: 3px solid #f59e0b; }
.np-creative-block .np-block-title { font-size: 11px; font-weight: 700; color: #b45309; margin-bottom: 4px; padding-bottom: 3px; border-bottom: 1px dashed rgba(245,158,11,0.3); }
.np-creative-block .np-block-body { color: #78350f; }
.np-creative-block strong { color: #451a03; font-weight: 700; }

/* 旧 insight 兼容（site_output 复用） */
.np-insight-block { background: linear-gradient(135deg, #fef3c7, #fde68a); border-radius: 6px; padding: 8px 10px; font-size: 11px; line-height: 1.5; color: #78350f; border-left: 3px solid #f59e0b; }
.np-insight-block strong { color: #451a03; }
.np-insight-block .creative { display: block; margin-top: 4px; padding-top: 4px; border-top: 1px dashed rgba(245,158,11,0.3); color: #92400e; }

.np-books-block { display: flex; gap: 4px; justify-content: flex-end; align-items: center; }
.np-books-block .np-book-img { width: 38px; height: 50px; object-fit: cover; border-radius: 4px; border: 1px solid #e5e7eb; }

@media (max-width: 1100px) {
  .np-row-card { grid-template-columns: 60px 1fr; grid-template-rows: auto auto auto auto auto; }
  .np-persona-block, .np-insight-block, .np-strategy-block, .np-creative-block, .np-books-block { grid-column: 2; }
}

/* ====== 6 月选品 by 周节奏图 ====== */
.week-rhythm { display: grid; grid-template-columns: 110px repeat(4, 1fr); gap: 8px; background: #f8fafc; padding: 10px; border-radius: 12px; border: 1px solid #e2e8f0; }
.wr-head-row, .wr-row { display: contents; }
.wr-corner { background: linear-gradient(135deg, #1e293b, #334155); color: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; letter-spacing: 0.5px; }
.wr-week-head { background: linear-gradient(135deg, #3b82f6, #2563eb); color: #fff; border-radius: 8px; padding: 10px 12px; text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 76px; }
.wr-week-head .wr-wk-summer { font-size: 13px; font-weight: 700; letter-spacing: 0.3px; line-height: 1.3; }
.wr-week-head .wr-wk-festival { font-size: 11.5px; font-weight: 600; opacity: 0.92; margin-top: 3px; padding: 1px 7px; background: rgba(255,255,255,0.18); border-radius: 8px; line-height: 1.3; }
.wr-week-head .wr-wk-date { font-size: 10.5px; opacity: 0.85; margin-top: 4px; letter-spacing: 0.2px; }
.wr-week-head .wr-wk { font-size: 13px; font-weight: 700; letter-spacing: 0.3px; margin-bottom: 3px; }
.wr-week-head .wr-wk-tag { display: inline-block; margin-top: 4px; background: rgba(255,255,255,0.22); padding: 1px 6px; border-radius: 8px; font-size: 10px; }

.wr-cat-head { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px 6px; gap: 4px; }
.wr-cat-head .wr-prio { display: inline-block; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 8px; letter-spacing: 0.3px; }
.wr-cat-head .wr-prio.p0 { background: #fee2e2; color: #b91c1c; }
.wr-cat-head .wr-prio.p1 { background: #fef3c7; color: #b45309; }
.wr-cat-head .wr-prio.p2 { background: #dcfce7; color: #166534; }
.wr-cat-head .wr-cat-name { font-size: 13px; font-weight: 700; color: #1e293b; }
.wr-cat-head .wr-cat-icon { font-size: 18px; }

.wr-cell { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px 11px; font-size: 11.5px; line-height: 1.55; color: #334155; display: flex; flex-direction: column; gap: 6px; transition: all .2s; min-height: 90px; }
.wr-cell:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.06); border-color: #93c5fd; }
.wr-cell.empty { background: #f1f5f9; color: #94a3b8; font-style: italic; align-items: center; justify-content: center; min-height: 60px; }
.wr-cell.span2 { /* 跨 2 列由 inline grid-column 控制 */ }
.wr-cell.span4 { /* 跨 4 列由 inline grid-column 控制 */ }

.wr-cell-direction { font-size: 12px; font-weight: 700; color: #1e3a8a; line-height: 1.45; }
.wr-cell-pain { font-size: 11px; color: #7c2d12; background: #fff7ed; border-left: 2px solid #fb923c; padding: 4px 7px; border-radius: 0 4px 4px 0; line-height: 1.5; }
.wr-cell-pain::before { content: "💢 痛点 · "; font-weight: 700; color: #c2410c; }
.wr-cell-lead { font-size: 10.5px; color: #166534; background: #dcfce7; padding: 3px 7px; border-radius: 4px; line-height: 1.45; display: inline-block; align-self: flex-start; }
.wr-cell-lead::before { content: "⏰ "; }

/* 分组：紧凑模式 —— 标题 + items 同一行 */
.wr-group { display: flex; flex-direction: column; gap: 3px; padding-bottom: 4px; border-bottom: 1px dashed #e2e8f0; }
.wr-group:last-of-type { border-bottom: none; padding-bottom: 0; }
.wr-group-line { font-size: 11.5px; line-height: 1.5; color: #334155; }
.wr-group-title { font-weight: 700; color: #1e3a8a; }
.wr-group-inline { color: #334155; }

.wr-cat-color-jiaofu  { border-top: 3px solid #ef4444; }
.wr-cat-color-tongshu { border-top: 3px solid #f59e0b; }
.wr-cat-color-sheke   { border-top: 3px solid #8b5cf6; }
.wr-cat-color-jiankang { border-top: 3px solid #10b981; }

@media (max-width: 1100px) {
  .week-rhythm { grid-template-columns: 90px repeat(4, 1fr); }
  .wr-cell { font-size: 11px; padding: 8px; }
  .wr-cell-direction { font-size: 11.5px; }
}

/* ====== 类目占比横条 ====== */
.cat-share-bar { display: flex; height: 50px; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 6px rgba(0,0,0,0.05); }
.cat-share-seg { display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; font-weight: 700; transition: all .2s; cursor: pointer; gap: 2px; }
.cat-share-seg:hover { filter: brightness(1.05); }
.cat-share-seg .label { font-size: 13px; }
.cat-share-seg .pct { font-size: 16px; font-weight: 800; }

/* ====== Excel 风格榜单表格 ====== */
.rank-table-excel { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; font-size: 13px; }
.rank-table-excel thead { background: linear-gradient(135deg, #4a90e2, #5b9bd5); }
.rank-table-excel.style-blue thead { background: #4a90e2; }
.rank-table-excel.style-green thead { background: #70ad47; }
.rank-table-excel.style-orange thead { background: #ed7d31; }
.rank-table-excel.style-purple thead { background: #7030a0; }
.rank-table-excel.style-cyan thead { background: #06b6d4; }
.rank-table-excel thead th { color: #fff; padding: 10px 8px; text-align: center; font-weight: 600; font-size: 12.5px; border-right: 1px solid rgba(255,255,255,0.2); white-space: nowrap; }
.rank-table-excel thead th:last-child { border-right: none; }
.rank-table-excel tbody tr { border-bottom: 1px solid #eef0f3; transition: background .15s; }
.rank-table-excel tbody tr:nth-child(even) { background: #fafbfc; }
.rank-table-excel tbody tr:hover { background: #eff6ff; }
.rank-table-excel tbody td { padding: 8px; text-align: center; vertical-align: middle; border-right: 1px solid #f3f4f6; }
.rank-table-excel tbody td:last-child { border-right: none; }
.rank-table-excel .col-rank { width: 40px; font-weight: 700; color: #6b7280; }
.rank-table-excel .col-rank .rank-1 { color: #fff; background: linear-gradient(135deg, #fbbf24, #f59e0b); border-radius: 50%; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.rank-table-excel .col-rank .rank-2 { background: linear-gradient(135deg, #d1d5db, #9ca3af); color: #fff; border-radius: 50%; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.rank-table-excel .col-rank .rank-3 { background: linear-gradient(135deg, #d97706, #b45309); color: #fff; border-radius: 50%; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.rank-table-excel .col-title { text-align: left; line-height: 1.4; max-width: 280px; min-width: 200px; }
.rank-table-excel .col-title .title-text { color: #111827; font-weight: 500; }
.rank-table-excel .col-cat { font-size: 11.5px; color: #4b5563; max-width: 160px; line-height: 1.3; }
.rank-table-excel .col-image { width: 60px; }
.rank-table-excel .col-image img { width: 50px; height: 65px; object-fit: cover; border-radius: 4px; border: 1px solid #e5e7eb; display: block; margin: 0 auto; }
.rank-table-excel .col-price { color: #ef4444; font-weight: 700; min-width: 70px; }
.rank-table-excel .col-conv { color: #059669; font-weight: 600; }
.rank-table-excel .col-roi { color: #ea580c; font-weight: 600; }
.rank-table-excel .col-action { width: 80px; }
.rank-table-excel .col-action button { padding: 4px 10px; border-radius: 5px; font-size: 11px; cursor: pointer; border: none; font-weight: 600; background: linear-gradient(135deg, #3b82f6, #6366f1); color: #fff; transition: all .15s; }
.rank-table-excel .col-action button:hover { box-shadow: 0 2px 6px rgba(59,130,246,0.3); }
.rank-table-excel .col-action button.added { background: linear-gradient(135deg, #10b981, #059669); }

.rank-header-bar { background: linear-gradient(90deg, #eff6ff, #f5f3ff); padding: 10px 14px; border-radius: 8px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; border: 1px solid #e0e7ff; }
.rank-header-bar .icon { font-size: 18px; }
.rank-header-bar .info { flex: 1; }
.rank-header-bar .name { font-size: 14px; font-weight: 700; color: #111827; }
.rank-header-bar .subtitle { font-size: 11.5px; color: #6b7280; margin-top: 1px; }
.rank-header-bar .meta { font-size: 11.5px; color: #6b7280; }

/* 周榜：合并到 panel-sub-tip 后，仅保留轻量计数 */
.rank-count-line {
  text-align: right;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 8px;
}
.rank-count-line strong { color: #3b82f6; font-weight: 700; }

/* 推荐书单按品类分组 */
.rec-group { margin-bottom: 18px; }
.rec-group-title { font-size: 14px; font-weight: 700; color: #111827; padding: 8px 12px; margin-bottom: 10px; border-radius: 6px; display: flex; align-items: center; gap: 8px; }
.rec-group-title.cat-童书 { background: linear-gradient(90deg, #fff7ed, #fed7aa30); border-left: 4px solid #f59e0b; color: #9a3412; }
.rec-group-title.cat-健康 { background: linear-gradient(90deg, #f0fdf4, #d1fae530); border-left: 4px solid #10b981; color: #065f46; }
.rec-group-title.cat-社科 { background: linear-gradient(90deg, #faf5ff, #ddd6fe30); border-left: 4px solid #8b5cf6; color: #5b21b6; }
.rec-group-title.cat-教辅 { background: linear-gradient(90deg, #fef2f2, #fecaca30); border-left: 4px solid #ef4444; color: #991b1b; }
.rec-group-title .count { font-size: 11px; background: rgba(0,0,0,0.06); padding: 2px 8px; border-radius: 999px; margin-left: auto; color: inherit; }

/* ====== 文档链接 ====== */
.doc-link { margin-left: auto; padding: 4px 12px; font-size: 11px; color: #2563eb; background: #dbeafe; border-radius: 6px; text-decoration: none; transition: all .2s; display: inline-flex; align-items: center; gap: 4px; }
.doc-link:hover { background: #2563eb; color: #fff; }

/* ====== Tab 提示文本 ====== */
.tab-tip { background: linear-gradient(90deg, #fef3c7, #fde68a30); border-left: 3px solid #f59e0b; padding: 8px 12px; border-radius: 6px; margin: 10px 0 12px; font-size: 12px; color: #78350f; line-height: 1.5; }
.tab-tip strong { color: #451a03; }

/* ====== 推荐书单内部 Tab（rec-tab）====== */
.rec-tabs { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.rec-tab { padding: 8px 14px; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; cursor: pointer; font-size: 13px; color: #4b5563; display: flex; align-items: center; gap: 6px; transition: all .2s; }
.rec-tab:hover { border-color: #93c5fd; color: #2563eb; }
.rec-tab.active { background: linear-gradient(135deg, #06b6d4, #0891b2); border-color: #06b6d4; color: #fff; font-weight: 600; box-shadow: 0 2px 8px rgba(6,182,212,0.25); }
.rec-tab .count { background: rgba(255,255,255,0.3); padding: 1px 7px; border-radius: 999px; font-size: 11px; }
.rec-tab:not(.active) .count { background: #f3f4f6; color: #6b7280; }

/* ====== 表格图片放大 ====== */
.rank-table-excel .col-image { width: 90px; }
.rank-table-excel .col-image img { width: 76px; height: 102px; object-fit: cover; border-radius: 5px; border: 1px solid #e5e7eb; display: block; margin: 0 auto; box-shadow: 0 2px 6px rgba(0,0,0,0.08); transition: all .2s; cursor: pointer; }
.rank-table-excel .col-image img:hover { transform: scale(1.05); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.rank-table-excel tbody td { padding: 10px 8px; }
.rank-table-excel .col-title { font-size: 13.5px; }
.rank-table-excel .col-title .title-text { line-height: 1.5; }

/* 鼠标悬停时图片放大预览 */
.rank-table-excel .col-image { position: relative; }
.rank-table-excel .col-image img:hover + .img-preview,
.rank-table-excel .col-image .img-preview { position: absolute; left: 100%; top: 50%; transform: translateY(-50%); z-index: 100; pointer-events: none; }

/* ====== 跑量书拆解（精简版 · 横向2列）====== */
.breakdown-compact { padding: 12px 14px; margin-bottom: 10px; }
.breakdown-compact .bd-header { padding-bottom: 10px; margin-bottom: 10px; }
.breakdown-compact .bd-cover { width: 70px; }
.breakdown-compact .bd-cover img { width: 70px; height: 94px; }
.breakdown-compact .bd-meta h3 { font-size: 14.5px; }
.breakdown-compact .bd-meta .sub { font-size: 11px; }
.breakdown-compact .bd-meta .stats span { font-size: 10.5px; padding: 1px 6px; }
.bd-grid-2 { grid-template-columns: 1fr 1.3fr; gap: 10px; }
@media (max-width: 1100px) { .bd-grid-2 { grid-template-columns: 1fr; } }
.breakdown-compact .bd-section { padding: 8px 10px; }
.breakdown-compact .bd-section-title { font-size: 11.5px; margin-bottom: 4px; }
.breakdown-compact .bd-section-content { font-size: 11.5px; line-height: 1.55; }

/* ====== 跑量书拆解（一行三列纵向版）====== */
.bd-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 1100px) { .bd-grid-3 { grid-template-columns: 1fr; } }
.breakdown-vertical { background: #fff; border: 1px solid #eef0f3; border-radius: 12px; overflow: hidden; transition: all .2s; padding: 0; margin: 0; display: flex; flex-direction: column; }
.breakdown-vertical:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.06); }
.breakdown-vertical .bd-cover-wrap { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg, #f8fafc, #f1f5f9); display: flex; align-items: center; justify-content: center; }
.breakdown-vertical .bd-cover-img { max-width: 80%; max-height: 100%; object-fit: contain; padding: 14px 0; box-shadow: 0 6px 14px rgba(0,0,0,0.08); border-radius: 4px; transition: transform .3s; }
.breakdown-vertical:hover .bd-cover-img { transform: scale(1.04); }
.breakdown-vertical .role-floating { position: absolute; top: 10px; left: 10px; z-index: 2; backdrop-filter: blur(4px); background: rgba(255,255,255,0.92); }
.breakdown-vertical .bd-body { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.breakdown-vertical .bd-title { font-size: 15px; font-weight: 700; color: #111827; margin: 0; line-height: 1.35; }
.breakdown-vertical .sub { font-size: 11px; color: #6b7280; line-height: 1.4; }
.breakdown-vertical .stats { display: flex; flex-wrap: wrap; gap: 4px; }
.breakdown-vertical .stats span { background: #f3f4f6; padding: 2px 7px; border-radius: 4px; font-size: 10.5px; font-weight: 600; color: #4b5563; }
.breakdown-vertical .stats span.hot { background: #fee2e2; color: #dc2626; }
.breakdown-vertical .stats span.new { background: #d1fae5; color: #065f46; }
.breakdown-vertical .bd-mini { background: #f9fafb; border: 1px solid #f3f4f6; border-radius: 7px; padding: 8px 10px; }
.breakdown-vertical .bd-mini .bd-section-title { font-size: 11.5px; font-weight: 700; color: #111827; margin-bottom: 4px; }
.breakdown-vertical .bd-mini .bd-section-content { font-size: 11.5px; color: #4b5563; line-height: 1.55; }

/* ====== 重点品类深度选品思路 - 分组 ====== */
.deep-group { margin-bottom: 18px; }
.deep-group:last-child { margin-bottom: 0; }
.deep-group-title { font-size: 14px; font-weight: 700; color: #111827; padding: 8px 14px; margin-bottom: 10px; background: linear-gradient(90deg, #f9fafb, #fff); border-radius: 6px; display: flex; align-items: center; gap: 8px; }
.deep-group-title .count { font-size: 11px; background: #f3f4f6; color: #6b7280; padding: 2px 9px; border-radius: 999px; margin-left: auto; font-weight: 500; }

/* ====== 跑量书洞察卡片（v2 精简实战版）====== */
.hot-card { background:#fff; border:1px solid #eef0f3; border-radius:12px; padding:14px; display:flex; flex-direction:column; gap:10px; transition:all .2s; }
.hot-card:hover { box-shadow:0 6px 18px rgba(0,0,0,0.06); transform:translateY(-1px); }

/* 头部：封面+标题（横向） */
.hot-head { display:flex; gap:12px; align-items:flex-start; }
.hot-cover { width:64px; height:86px; object-fit:cover; border-radius:5px; box-shadow:0 2px 8px rgba(0,0,0,0.12); flex-shrink:0; }
.hot-meta { flex:1; min-width:0; }
.hot-meta .role-tag { display:inline-block; padding:2px 8px; border-radius:4px; font-size:10px; font-weight:700; margin-bottom:4px; }
.hot-meta .role-tag.basic { background:#fce7f3; color:#9f1239; }
.hot-meta .role-tag.opportunity { background:#ddd6fe; color:#4c1d95; }
.hot-meta .role-tag.potential { background:#fef3c7; color:#92400e; }
.hot-meta h3 { font-size:14.5px; font-weight:700; color:#111827; margin:2px 0 4px; line-height:1.35; }
.hot-isbn { font-size:10.5px; color:#6b7280; font-family:'SF Mono',monospace; }

/* 数据条 */
.hot-stats { display:grid; grid-template-columns:repeat(2,1fr); gap:6px; }
.stat-chip { display:flex; align-items:center; gap:4px; background:#f9fafb; border:1px solid #f3f4f6; border-radius:6px; padding:5px 8px; font-size:11px; }
.stat-chip .ic { font-size:13px; }
.stat-chip .lb { color:#6b7280; }
.stat-chip .vl { color:#111827; font-weight:700; margin-left:auto; }
.stat-chip.hot { background:#fef2f2; border-color:#fecaca; }
.stat-chip.hot .vl { color:#dc2626; }

/* Block 标题 */
.hot-block { display:flex; flex-direction:column; gap:6px; }
.hot-block-title { font-size:11.5px; font-weight:700; color:#111827; display:flex; align-items:center; gap:4px; padding-bottom:4px; border-bottom:1px dashed #e5e7eb; }
.hot-block-title span { color:#374151; }

/* 人群 chips */
.persona-chips { display:grid; grid-template-columns:repeat(2,1fr); gap:5px; }
.persona-chip { display:flex; align-items:center; gap:4px; background:linear-gradient(135deg,#eff6ff,#f5f3ff); border-radius:5px; padding:4px 7px; font-size:10.5px; }
.persona-chip .ic { font-size:12px; }
.persona-chip .lb { color:#6b7280; font-size:9.5px; }
.persona-chip .vl { color:#1e40af; font-weight:600; margin-left:auto; font-size:10.5px; }

/* 视频参考链接 */
.ref-links { display:flex; flex-wrap:wrap; gap:5px; }
.ref-link { display:inline-flex; align-items:center; gap:3px; padding:4px 10px; background:linear-gradient(135deg,#fff7ed,#fef3c7); border:1px solid #fcd34d; color:#92400e; font-size:11px; font-weight:600; border-radius:5px; text-decoration:none; transition:all .15s; }
.ref-link:hover { background:#f59e0b; color:#fff; border-color:#f59e0b; }

/* 创意脚本流程 */
.script-flow { display:flex; flex-direction:column; gap:0; }
.script-step { display:flex; gap:8px; align-items:flex-start; background:#fafbfc; border-radius:6px; padding:6px 8px; }
.script-step .step-icon { width:24px; height:24px; background:linear-gradient(135deg,#3b82f6,#6366f1); border-radius:50%; color:#fff; font-size:12px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.script-step .step-body { flex:1; min-width:0; }
.script-step .step-name { font-size:10.5px; color:#6b7280; font-weight:600; }
.script-step .step-desc { font-size:11.5px; color:#1f2937; line-height:1.45; margin-top:1px; }
.step-arrow { text-align:center; color:#cbd5e1; font-size:11px; line-height:0.8; padding:1px 0; }

/* 卖点 grid */
.selling-grid { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.selling-item { display:flex; align-items:center; gap:6px; background:linear-gradient(135deg,#f0fdf4,#ecfdf5); border-radius:6px; padding:6px 8px; }
.sp-icon { font-size:16px; flex-shrink:0; }
.sp-body { flex:1; min-width:0; }
.sp-label { font-size:10px; color:#065f46; font-weight:600; }
.sp-val { font-size:11px; color:#111827; line-height:1.35; margin-top:1px; }

/* 自适应 */
@media (max-width: 1100px) {
  .bd-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hot-stats, .persona-chips, .selling-grid { grid-template-columns: 1fr; }
}

/* ====== 创意灵感下拉菜单 ====== */
.tab-dropdown { position: relative; display: inline-block; }
.tab-dropdown .tab { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.tab-dropdown .dropdown-arrow { font-size: 10px; color: inherit; opacity: 0.7; margin-left: 2px; }
.tab-dropdown .dropdown-menu { 
  position: absolute; top: calc(100% + 4px); left: 0; min-width: 180px;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08); padding: 6px; 
  display: none; z-index: 1000;
}
.tab-dropdown:hover .dropdown-menu { display: block; }
.tab-dropdown .dropdown-menu a { 
  display: block; padding: 8px 12px; color: #374151; font-size: 13px;
  text-decoration: none; border-radius: 6px; transition: all .15s;
}
.tab-dropdown .dropdown-menu a:hover { background: #eff6ff; color: #2563eb; }

/* ====== 人群三栏（核心/痛点/场景）====== */
.persona-3rows { display: flex; flex-direction: column; gap: 5px; }
.prow { display: flex; align-items: flex-start; gap: 6px; background: linear-gradient(135deg,#eff6ff,#f5f3ff); padding: 6px 9px; border-radius: 6px; font-size: 11.5px; line-height: 1.45; }
.prow .pic { font-size: 13px; flex-shrink: 0; line-height: 1.3; }
.prow .plb { color: #1e40af; font-weight: 700; flex-shrink: 0; min-width: 52px; }
.prow .pvl { color: #1f2937; flex: 1; }

/* ====== 往期周切换器 ====== */
.week-switcher-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: linear-gradient(135deg,#f0f9ff,#eff6ff); border: 1px solid #bfdbfe; border-radius: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.week-switcher-bar .ws-label { font-size: 12.5px; color: #1e40af; font-weight: 700; }
.week-switcher-bar .ws-btn { padding: 5px 12px; border: 1px solid #93c5fd; background: #fff; color: #2563eb; font-size: 12px; border-radius: 6px; cursor: pointer; font-weight: 600; transition: all .15s; }
.week-switcher-bar .ws-btn:hover:not(:disabled) { background: #2563eb; color: #fff; }
.week-switcher-bar .ws-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.week-switcher-bar .ws-select { padding: 5px 10px; border: 1px solid #93c5fd; background: #fff; color: #1f2937; font-size: 12.5px; border-radius: 6px; cursor: pointer; min-width: 220px; font-weight: 600; }
.week-switcher-bar .ws-current { margin-left: auto; font-size: 11.5px; color: #6b7280; background: #fff; padding: 4px 10px; border-radius: 999px; }
.week-switcher-bar .ws-current.is-history { background: #fef3c7; color: #92400e; font-weight: 700; }

/* ====== Panel sub tip ====== */
.panel-sub-tip { background: linear-gradient(135deg,#eff6ff,#f0fdf4); padding: 10px 14px; border-radius: 8px; font-size: 13px; color: #1f2937; margin: 10px 0 14px; border-left: 4px solid #3b82f6; line-height: 1.6; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.panel-sub-tip .hl { color: #2563eb; font-weight: 700; }
.panel-sub-tip strong { color: #1e40af; font-weight: 700; }

/* 各榜单类型差异化色块 */
.panel-sub-tip-rank { background: linear-gradient(135deg, #fef2f2, #fff7ed); border-left-color: #ef4444; }
.panel-sub-tip-rank strong { color: #b91c1c; }

.panel-sub-tip-shop { background: linear-gradient(135deg, #f0fdf4, #ecfdf5); border-left-color: #10b981; }
.panel-sub-tip-shop strong { color: #047857; }

.panel-sub-tip-potential { background: linear-gradient(135deg, #fffbeb, #fef3c7); border-left-color: #f59e0b; }
.panel-sub-tip-potential strong { color: #b45309; }

.panel-sub-tip-forecast { background: linear-gradient(135deg, #faf5ff, #f3e8ff); border-left-color: #8b5cf6; }
.panel-sub-tip-forecast strong { color: #6d28d9; }

.panel-sub-tip-strong { background: linear-gradient(135deg, #fff7ed, #fef3c7); border-left-color: #f97316; font-weight: 500; }
.panel-sub-tip-strong strong { color: #c2410c; }

/* ====== AMS 准入完整呈现（不截断）====== */
.ams-cell { max-width: 200px; padding: 4px 8px; font-size: 11px; line-height: 1.5; border-radius: 4px; word-break: break-all; white-space: normal; text-align: left; display: inline-block; }
.ams-cell.ams-ok { background: #d1fae5; color: #065f46; }
.ams-cell.ams-ban { background: #fee2e2; color: #991b1b; }
.ams-cell.ams-warn { background: #fef3c7; color: #92400e; }

/* ====== 推荐书单：左侧锚点导航 ====== */
#section-recommend.section.active { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: start; }
.rec-side-nav { position: sticky; top: 16px; background: #fff; border: 1px solid #eef0f3; border-radius: 12px; padding: 12px 10px; max-height: calc(100vh - 32px); overflow-y: auto; }
.rec-side-nav .rsn-title { font-size: 11.5px; color: #6b7280; font-weight: 700; padding: 4px 8px 8px; border-bottom: 1px dashed #e5e7eb; margin-bottom: 8px; letter-spacing: 1px; }
.rec-side-nav .rsn-item { display: flex; align-items: center; gap: 10px; padding: 10px 10px; border-radius: 8px; text-decoration: none; color: #1f2937; transition: all .15s; cursor: pointer; margin-bottom: 4px; }
.rec-side-nav .rsn-item:hover { background: #eff6ff; }
.rec-side-nav .rsn-item.active { background: linear-gradient(135deg, #3b82f6, #6366f1); color: #fff; box-shadow: 0 2px 8px rgba(59,130,246,0.25); }
.rec-side-nav .rsn-icon { font-size: 18px; }
.rec-side-nav .rsn-name { font-size: 13px; font-weight: 700; line-height: 1.3; }
.rec-side-nav .rsn-desc { font-size: 10.5px; opacity: 0.8; margin-top: 1px; }
.rec-side-nav .rsn-sub { padding: 4px 0 8px 36px; display: flex; flex-direction: column; gap: 2px; }
.rec-side-nav .rsn-sub-item { display: flex; align-items: center; gap: 4px; padding: 5px 10px; font-size: 12px; color: #6b7280; border-radius: 5px; text-decoration: none; transition: all .15s; }
.rec-side-nav .rsn-sub-item:hover { background: #f3f4f6; color: #2563eb; }
.rec-side-nav .rsn-sub-item.active { color: #2563eb; background: #eff6ff; font-weight: 600; }
.rec-side-nav .rsn-count { margin-left: auto; font-size: 10px; color: #9ca3af; background: #f3f4f6; padding: 1px 6px; border-radius: 999px; }
.rec-main { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.rec-main .insight-banner { margin: 0; }

@media (max-width: 1100px) {
  #section-recommend.section.active { grid-template-columns: 1fr; }
  .rec-side-nav { position: static; max-height: none; }
}

/* ====== 看过去板块：左侧导航布局 ====== */
#section-past.section.active { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: start; }

/* ====== 看未来板块：左侧导航布局 ====== */
#section-future.section.active { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: start; }

/* ====== 榜单中心：左侧导航布局（防止 aside 浮起覆盖 main 区域）====== */
#section-hub.section.active { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: start; }

@media (max-width: 1100px) {
  #section-past.section.active { grid-template-columns: 1fr; }
  #section-future.section.active { grid-template-columns: 1fr; }
  #section-hub.section.active { grid-template-columns: 1fr; }
}

/* ====== 全局免责声明（顶部常驻） ====== */
.disclaimer { max-width: 1640px; margin: 14px auto 4px; padding: 10px 16px; background: #fffbeb; border: 1px solid #fde68a; border-left: 3px solid #f59e0b; border-radius: 6px; display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.6; color: #78350f; }
.disclaimer-icon { flex-shrink: 0; font-size: 13px; margin-top: 1px; }
.disclaimer-text strong { color: #92400e; font-weight: 700; margin-right: 2px; }

/* ====== Benchmark 表格 ====== */
.bench-tabs { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.bench-tab { padding: 8px 14px; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; cursor: pointer; font-size: 13px; color: #4b5563; transition: all .15s; }
.bench-tab:hover { border-color: #93c5fd; color: #2563eb; }
.bench-tab.active { background: linear-gradient(135deg, #3b82f6, #6366f1); border-color: #3b82f6; color: #fff; font-weight: 600; box-shadow: 0 2px 8px rgba(59,130,246,0.2); }

/* 大盘指标 - 期间切换器（最新在前）*/
.bench-period-switcher { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; align-items: center; }
.bench-period-switcher::before { content: '📅 期间：'; font-size: 12px; color: #6b7280; margin-right: 4px; }
.bench-period-btn { padding: 5px 12px; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 999px; cursor: pointer; font-size: 12px; color: #6b7280; transition: all .15s; }
.bench-period-btn:hover { border-color: #93c5fd; color: #2563eb; background: #eff6ff; }
.bench-period-btn.active { background: #10b981; border-color: #10b981; color: #fff; font-weight: 600; }
.bench-period-btn .latest-tag { font-size: 10px; margin-left: 4px; padding: 1px 5px; background: rgba(255,255,255,0.25); border-radius: 4px; font-weight:500; }

.bench-table-wrap { display: flex; flex-direction: column; gap: 18px; }
.bench-block { border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; background: #fff; }
.bench-block-title { background: linear-gradient(90deg, #f9fafb, #fff); padding: 10px 14px; font-size: 13px; font-weight: 700; color: #111827; border-bottom: 1px solid #e5e7eb; display: flex; align-items: center; gap: 8px; }
.bench-block-title .price-tag { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #fff; padding: 2px 10px; border-radius: 4px; font-size: 12px; }
.bench-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.bench-table thead { background: #f8fafc; }
.bench-table thead th { padding: 8px 10px; text-align: center; font-weight: 600; color: #6b7280; border-bottom: 1px solid #e5e7eb; font-size: 11.5px; }
.bench-table tbody td { padding: 8px 10px; text-align: center; border-bottom: 1px solid #f3f4f6; }
.bench-table tbody tr:hover { background: #fafbfc; }
.bench-table tbody tr.bench-total { background: linear-gradient(90deg, #fef3c7, #fde68a); font-weight: 700; }
.bench-table tbody tr.bench-total td { color: #92400e; }
.bench-table tbody tr.bench-sub { background: #fafbfc; }
.bench-table tbody tr.bench-sub td:first-child { padding-left: 24px; color: #6b7280; font-size: 12px; }
.bench-table .col-cat { text-align: left; font-weight: 600; color: #111827; padding-left: 14px; }
.bench-table .val-share { color: #2563eb; font-weight: 600; }
.bench-table .val-cpm { color: #4b5563; }
.bench-table .val-ctr { color: #059669; }
.bench-table .val-cvr { color: #dc2626; font-weight: 600; }
.bench-table .val-roi { color: #ea580c; font-weight: 700; }

/* ============================================================ */
/* ★ 优化方向 · 配套样式（v3 · 2026-05）                          */
/* ============================================================ */

/* ====== 优化 1：本周决策摘要卡（三视角直达入口，紧凑布局）====== */
.decision-summary { max-width: 1640px; margin: 14px auto 0; padding: 0 16px; }
.decision-summary .ds-inner { background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%); border: 1px solid #dbeafe; border-radius: 14px; padding: 14px 18px; box-shadow: 0 2px 12px rgba(59,130,246,0.06); }
.decision-summary .ds-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.decision-summary .ds-head-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.decision-summary .ds-badge { background: linear-gradient(135deg, #3b82f6, #6366f1); color: #fff; padding: 4px 11px; border-radius: 6px; font-size: 12.5px; font-weight: 700; box-shadow: 0 2px 6px rgba(99,102,241,0.25); }
.decision-summary .ds-week { font-size: 12px; color: #64748b; padding: 3px 9px; background: #f1f5f9; border-radius: 5px; font-weight: 600; }
.decision-summary .ds-tip { font-size: 12px; color: #94a3b8; }

.decision-summary .ds-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.decision-summary .ds-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px 14px; cursor: pointer; transition: all .2s; display: flex; align-items: center; justify-content: space-between; gap: 10px; position: relative; overflow: hidden; }
.decision-summary .ds-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #cbd5e1; transition: all .2s; }
.decision-summary .ds-card:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(15,23,42,0.08); border-color: #93c5fd; }
.decision-summary .ds-card.ds-past::before { background: linear-gradient(180deg, #3b82f6, #6366f1); }
.decision-summary .ds-card.ds-future::before { background: linear-gradient(180deg, #f59e0b, #ef4444); }
.decision-summary .ds-card.ds-recommend::before { background: linear-gradient(180deg, #10b981, #059669); }
.decision-summary .ds-card-head { display: flex; align-items: center; gap: 8px; }
.decision-summary .ds-card-icon { font-size: 18px; }
.decision-summary .ds-card-name { font-size: 13.5px; font-weight: 700; color: #1e293b; letter-spacing: 0.2px; }
.decision-summary .ds-card-cta { font-size: 12px; color: #2563eb; font-weight: 600; white-space: nowrap; padding: 4px 10px; border-radius: 6px; background: #eff6ff; border: 1px solid #bfdbfe; transition: all .15s; }
.decision-summary .ds-card:hover .ds-card-cta { background: linear-gradient(135deg, #3b82f6, #6366f1); color: #fff; border-color: #3b82f6; }

@media (max-width: 1024px) {
  .decision-summary .ds-cards { grid-template-columns: 1fr; }
}

/* ====== 优化 2：跨模块交叉标记（榜单 / 推荐书单 互相打通）====== */
.cross-badge { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 4px; font-size: 10px; font-weight: 700; vertical-align: middle; letter-spacing: 0.2px; line-height: 1.5; white-space: nowrap; }
.cross-badge.cb-rec { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #b45309; border: 1px solid #fbbf24; }
.cross-badge.cb-onrank { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #047857; border: 1px solid #10b981; }

/* ====== 优化 3：周节奏图 → 推荐书单跳转链接 ====== */
.wr-cat-head .wr-cat-jump { margin-top: 6px; display: inline-block; font-size: 10.5px; color: #2563eb; padding: 3px 8px; border-radius: 5px; background: #eff6ff; border: 1px solid #bfdbfe; transition: all .15s; font-weight: 600; cursor: pointer; line-height: 1.4; text-align: center; }
.wr-cat-head .wr-cat-jump:hover { background: linear-gradient(135deg, #3b82f6, #6366f1); color: #fff; border-color: #3b82f6; transform: scale(1.03); }

/* ============================================================ */
/* ★ 选品池多选 + 加入按钮即时反馈（v4 · 2026-05）                 */
/* ============================================================ */

/* ====== 选品池：多选列、行选中高亮 ====== */
.pool-table th.col-check, .pool-table td.col-check { width: 36px; text-align: center; padding-left: 4px; padding-right: 4px; }
.pool-check-all, .pool-row-check { width: 16px; height: 16px; cursor: pointer; accent-color: #3b82f6; vertical-align: middle; }
.pool-table tr.pool-row-selected { background: linear-gradient(90deg, #eff6ff 0%, #f5f3ff 100%); }
.pool-table tr.pool-row-selected td { color: #1e40af; }
.pool-table tr:hover { background: #fafbfc; }
.pool-table tr.pool-row-selected:hover { background: linear-gradient(90deg, #dbeafe 0%, #ede9fe 100%); }

/* ====== 批量移除按钮 ====== */
.toolbar-btn.pool-batch-remove { background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff; border-color: #dc2626; font-weight: 600; }
.toolbar-btn.pool-batch-remove:hover:not(.is-disabled):not([disabled]) { background: linear-gradient(135deg, #dc2626, #b91c1c); transform: translateY(-1px); box-shadow: 0 4px 10px rgba(220,38,38,0.25); }
.toolbar-btn.pool-batch-remove.is-disabled, .toolbar-btn.pool-batch-remove[disabled] { background: #f3f4f6; color: #9ca3af; border-color: #e5e7eb; cursor: not-allowed; opacity: 0.7; }

/* ====== 「+ 加入选品池」按钮即时反馈动效 ====== */
@keyframes book-btn-pulse {
  0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(16,185,129,0.55); }
  50%  { transform: scale(1.06); box-shadow: 0 0 0 6px rgba(16,185,129,0.15); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
.book-btn-pulse { animation: book-btn-pulse 0.4s ease-out; }
.book-btn.added, button.added { background: linear-gradient(135deg,#10b981,#059669) !important; color: #fff !important; border-color: #059669 !important; transition: all 0.18s ease-out; }

/* ====== 选品池计数变化时的视觉同步反馈（v4.1）====== */
@keyframes pool-count-pulse {
  0%   { transform: scale(1);   color: inherit; }
  35%  { transform: scale(1.35); color: #ef4444; text-shadow: 0 0 8px rgba(239,68,68,0.45); }
  100% { transform: scale(1);   color: inherit; }
}
.pool-count-pulse { animation: pool-count-pulse 0.55s cubic-bezier(0.34, 1.56, 0.64, 1); display: inline-block; }

@keyframes pool-btn-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(239,68,68,0.55); transform: scale(1); }
  50%  { box-shadow: 0 0 0 8px rgba(239,68,68,0); transform: scale(1.04); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); transform: scale(1); }
}
.topnav .pool-btn.pool-btn-pulse { animation: pool-btn-pulse 0.6s ease-out; background: #fee2e2; }

/* ============================================================ */
/* ★ 榜单中心 v5（2026-05·一站式架构）                            */
/* ============================================================ */

/* ====== 左侧栏分组 ====== */
.hub-side-nav { padding: 10px 8px; }
.hub-side-nav .rsn-group { padding: 8px 0; border-top: 1px dashed #f3f4f6; }
.hub-side-nav .rsn-group:first-of-type { border-top: none; padding-top: 0; }
.hub-side-nav .rsn-group-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 4px 8px 6px;
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 0.3px;
  line-height: 1.3;
}
.hub-side-nav .rsn-group-title.rsn-group-link {
  text-decoration: none;
  cursor: pointer;
  border-radius: 5px;
  transition: all .15s;
}
.hub-side-nav .rsn-group-title.rsn-group-link:hover {
  background: linear-gradient(135deg, #eef2ff, #f5f3ff);
  color: #4338ca;
}
.hub-side-nav .rsn-group-title.rsn-group-link:hover .rsn-group-tip {
  color: #6366f1;
}
.hub-side-nav .rsn-group-title .rsn-group-tip {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 500;
  display: block;
  margin-left: 0;
  line-height: 1.4;
}
.hub-side-nav .rsn-item { padding: 8px 10px; margin-bottom: 2px; }
.hub-side-nav .rsn-item .rsn-name { font-size: 12.5px; }
.hub-side-nav .rsn-item .rsn-desc { font-size: 10px; color: #6b7280; margin-top: 2px; display: flex; gap: 5px; align-items: center; }
.hub-side-nav .rsn-item.active .rsn-desc { color: rgba(255,255,255,0.85); }
.hub-side-nav .rsn-item .rsn-count { background: #eef0f3; color: #6b7280; padding: 1px 6px; border-radius: 8px; font-size: 9px; font-weight: 700; }
.hub-side-nav .rsn-item.active .rsn-count { background: rgba(255,255,255,0.25); color: #fff; }

/* 不同分组的轻强调色 */
.hub-side-nav .rsn-group-rank .rsn-item.active { background: linear-gradient(135deg, #ef4444, #dc2626); }
.hub-side-nav .rsn-group-follow .rsn-item.active { background: linear-gradient(135deg, #f59e0b, #d97706); }
.hub-side-nav .rsn-group-rec .rsn-item.active { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.hub-side-nav .rsn-group-insight .rsn-item.active { background: linear-gradient(135deg, #6b7280, #4b5563); }

/* ====== panel 标题徽章 ====== */
.panel-title .badge-rank-fire,
.panel-title .badge-rank-potential,
.panel-title .badge-rank-forecast,
.panel-title .badge-rec,
.panel-title .badge-insight {
  display: inline-block; padding: 2px 8px; border-radius: 5px; font-size: 10px; font-weight: 700; margin-left: 8px; letter-spacing: 0.3px; vertical-align: middle;
}
.panel-title .badge-rank-fire { background: linear-gradient(135deg, #fee2e2, #fecaca); color: #b91c1c; border: 1px solid #fca5a5; }
.panel-title .badge-rank-potential { background: linear-gradient(135deg, #ddd6fe, #c4b5fd); color: #6d28d9; border: 1px solid #a78bfa; }
.panel-title .badge-rank-forecast { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #b45309; border: 1px solid #fbbf24; }
.panel-title .badge-rec { background: linear-gradient(135deg, #cffafe, #a5f3fc); color: #0e7490; border: 1px solid #67e8f9; }
.panel-title .badge-insight { background: #f3f4f6; color: #6b7280; border: 1px solid #e5e7eb; }

/* ====== ISBN 列（榜单表格中）====== */
.rank-table-excel .col-isbn {
  font-family: 'SF Mono', 'Monaco', monospace;
  font-size: 11px;
  color: #059669;
  white-space: nowrap;
  background: #f0fdf4;
  min-width: 110px;
  max-width: 130px;
  word-break: break-all;
}
.rank-table-excel th.col-isbn {
  background: #ecfdf5;
  color: #047857;
}

/* ====== 推荐投放时间列（推荐书单中）====== */
.rank-table-excel .col-rec-time {
  min-width: 88px;
  white-space: nowrap;
}
.rec-time-cell {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: .3px;
  background: #f1f5f9;
  color: #475569;
}
.rec-time-cell.is-month {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #065f46;
}
.rec-time-cell.is-quarter {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1e40af;
}

/* ====== ISBN 完整度提示（已去除，保留兼容样式以防有引用）====== */
.isbn-completeness { display: none; }

/* ====== Hub 周切换器作用域提示 ====== */
.hub-week-switcher .ws-scope { margin-left: auto; font-size: 11px; color: #94a3b8; padding: 3px 8px; background: #f1f5f9; border-radius: 4px; }

/* ====== 顶部 subtab 池子快捷数字 ====== */
.subtabs .pool-quick-link { transition: all .15s; }
.subtabs .pool-quick-link:hover { color: #2563eb !important; }

/* ====== Hub 关键词搜索框（sticky 锁定，常驻视口顶部） ====== */
.hub-search-bar {
  position: sticky;
  /* 顶部预留 topnav(56) + subtabs(48) ≈ 106px；嵌入 iframe 时由 JS 调整 */
  top: 106px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fff;
  border: 1.5px solid #c7d2fe;
  border-radius: 10px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(99,102,241,0.12);
  transition: all .2s;
}
.hub-search-bar.is-stuck {
  border-color: #6366f1;
  box-shadow: 0 6px 20px rgba(99,102,241,0.22);
}
.hub-search-bar:focus-within {
  border-color: #6366f1;
  box-shadow: 0 4px 14px rgba(99,102,241,0.18);
}
.hub-search-bar .hsb-icon { font-size: 16px; flex-shrink: 0; }
.hub-search-bar .hsb-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 13.5px;
  color: #1f2937;
  background: transparent;
  padding: 4px 0;
}
.hub-search-bar .hsb-input::placeholder { color: #9ca3af; }
.hub-search-bar .hsb-clear {
  border: none;
  background: #f3f4f6;
  color: #6b7280;
  width: 22px; height: 22px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 11px;
  line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hub-search-bar .hsb-clear:hover { background: #e5e7eb; color: #1f2937; }

/* 搜索结果下拉浮层 */
.hsb-result {
  position: absolute;
  left: 0; right: 0; top: calc(100% + 4px);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  max-height: 420px;
  overflow-y: auto;
  z-index: 100;
}
.hsb-result-empty {
  padding: 20px;
  text-align: center;
  color: #9ca3af;
  font-size: 13px;
}
.hsb-result-summary {
  padding: 8px 14px;
  font-size: 12px;
  color: #6b7280;
  background: #f9fafb;
  border-bottom: 1px solid #f3f4f6;
  position: sticky; top: 0;
}
.hsb-result-summary strong { color: #3b82f6; }
.hsb-result-group {
  padding: 6px 14px 4px;
  font-size: 11px;
  color: #6366f1;
  font-weight: 700;
  background: #f5f3ff;
  letter-spacing: .5px;
}
.hsb-result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid #f3f4f6;
  transition: background .12s;
}
.hsb-result-item:hover { background: #eff6ff; }
.hsb-result-item .hsbi-rank {
  width: 22px; height: 22px;
  background: #e0e7ff; color: #4338ca;
  border-radius: 50%;
  font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hsb-result-item .hsbi-body { flex: 1; min-width: 0; }
.hsb-result-item .hsbi-title { font-size: 13px; color: #1f2937; font-weight: 600; line-height: 1.3; }
.hsb-result-item .hsbi-title em { background: #fef3c7; color: #92400e; font-style: normal; padding: 0 2px; border-radius: 2px; }
.hsb-result-item .hsbi-meta { font-size: 11.5px; color: #6b7280; margin-top: 3px; display: flex; gap: 8px; flex-wrap: wrap; }
.hsb-result-item .hsbi-meta .hsbi-isbn { font-family: 'SF Mono', monospace; color: #059669; }
.hsb-result-item .hsbi-meta .hsbi-list { color: #3b82f6; font-weight: 600; }
.hsb-result-item .hsbi-go {
  font-size: 11px;
  color: #fff;
  background: #6366f1;
  padding: 4px 10px;
  border-radius: 999px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* 命中行高亮（5s 闪烁） */
.rank-table-excel tr.hsb-hit {
  background: #fef9c3 !important;
  animation: hsb-blink 1.6s ease-in-out 3;
  box-shadow: inset 4px 0 0 #f59e0b;
}
@keyframes hsb-blink {
  0%, 100% { background: #fef9c3 !important; }
  50% { background: #fde68a !important; }
}

/* ====== 榜单更新频率标签（by 周更新 / 6月推荐书单 等） ====== */
.badge-update {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #047857;
  background: #d1fae5;
  border-radius: 999px;
  letter-spacing: .2px;
  vertical-align: middle;
}
.badge-update.is-month {
  color: #92400e;
  background: #fed7aa;
}

/* ====== 榜单中心说明 banner（强化视觉，与看未来/选品池对齐）====== */
.hub-intro-banner {
  background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 50%, #fdf4ff 100%);
  border: 1.5px solid #c7d2fe;
  border-left: 4px solid #6366f1;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 12px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.hub-intro-banner .icon { font-size: 26px; flex-shrink: 0; line-height: 1; padding-top: 2px; }
.hub-intro-banner .text { flex: 1; min-width: 0; }
.hub-intro-banner .title { font-size: 14px; color: #1e293b; font-weight: 700; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hub-intro-banner .title .week-tag { font-size: 11px; font-weight: 600; color: #fff; background: linear-gradient(135deg, #10b981, #059669); padding: 2px 10px; border-radius: 999px; letter-spacing: .2px; }
.hub-intro-banner .desc { font-size: 12.5px; color: #4b5563; line-height: 1.65; }
.hub-intro-banner .desc .hl { color: #6366f1; font-weight: 700; }

/* iframe 嵌入时（topnav 隐藏），搜索栏只需偏移 subtabs 高度 */
body.is-embedded .hub-search-bar { top: 48px; }

/* ====== 跑量书洞察（精简版）====== */
.hot-card-slim {
  padding: 14px;
  gap: 10px;
  display: flex;
  flex-direction: column;
  height: 100%;  /* 拉伸到 grid cell 同高 */
}
.hot-card-slim .hot-head { gap: 10px; align-items: flex-start; min-height: 78px; }
.hot-card-slim .hot-cover { width: 56px; height: 78px; flex-shrink: 0; }
.hot-card-slim .hot-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hot-card-slim .hot-meta h3 {
  font-size: 13.5px; line-height: 1.35; margin: 4px 0 2px;
  /* 标题统一最多 2 行，超出截断 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}
.hot-card-slim .hot-isbn { font-size: 10.5px; color: #9ca3af; font-family: 'SF Mono', monospace; margin-top: auto; padding-top: 2px; }

/* 数据条：固定 1 行 3 chip 等宽，3 张卡同高 */
.hot-card-slim .hot-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 0;
  min-height: 32px;
}
.hot-card-slim .stat-chip {
  padding: 5px 6px;
  font-size: 11px;
  gap: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.hot-card-slim .stat-chip .lb { color: #9ca3af; font-size: 10px; }
.hot-card-slim .stat-chip .vl { font-weight: 700; }
.hot-card-slim .stat-chip.hot .vl { color: #dc2626; }

/* 行内单行块（创意核心 / 核心人群） */
.hot-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 12px;
  line-height: 1.55;
}
.hot-line .hl-tag {
  flex-shrink: 0;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.hot-line .hl-text { flex: 1; color: #1f2937; }
.hot-line-creative {
  background: #fff7ed;
  border-left: 3px solid #f97316;
  /* 创意核心：3 卡之间字数有差异，min-height 拉高确保对齐 */
  min-height: 88px;
  margin-top: auto;  /* 推到卡片底部，3 卡底对齐 */
}
.hot-line-creative .hl-tag { background: #f97316; color: #fff; }
.hot-line-persona {
  background: #f0f9ff;
  border-left: 3px solid #3b82f6;
  /* 目标人群行高对齐 */
  min-height: 64px;
}
.hot-line-persona .hl-tag { background: #3b82f6; color: #fff; }

/* 创意合规警示语（短、单行、紧贴创意核心下方） */
.hot-line-warning {
  background: #fef2f2;
  border-left: 3px solid #ef4444;
  color: #991b1b;
  font-size: 11px;
  padding: 4px 10px;
  font-weight: 600;
  line-height: 1.4;
  margin-top: -6px;
  border-radius: 0 6px 6px 0;
}
.hot-line-warning .hl-text { color: #991b1b; }

/* 卖点紧凑列表（推到底部，3 张卡的卖点区域底对齐） */
.hot-selling-slim {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  background: #fafafa;
  border-radius: 7px;
  margin-top: auto;  /* 推到卡片底部 */
}
.hot-selling-slim .ssi {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  line-height: 1.4;
}
.hot-selling-slim .ssi-ic { font-size: 13px; flex-shrink: 0; width: 16px; text-align: center; }
.hot-selling-slim .ssi-lb {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  color: #6b7280;
  background: #fff;
  padding: 1px 6px;
  border-radius: 3px;
  border: 1px solid #e5e7eb;
}
.hot-selling-slim .ssi-vl { flex: 1; color: #374151; }

/* bd-grid-3 在 1100px+ 时 3 张卡同行同高 */
.bd-grid-3 { align-items: stretch; }


/* 跑量书 hot-meta 顶部标签行（角色 + 霸榜徽章并排） */
.hot-tags-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.streak-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 8px;
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-radius: 999px;
  letter-spacing: .2px;
  box-shadow: 0 1px 4px rgba(245, 158, 11, 0.35);
  white-space: nowrap;
  animation: streak-pulse 2.4s ease-in-out infinite;
}
@keyframes streak-pulse {
  0%, 100% { box-shadow: 0 1px 4px rgba(245, 158, 11, 0.35); }
  50% { box-shadow: 0 2px 10px rgba(245, 158, 11, 0.6); }
}

/* 卖点紧凑列表（3 项） */
.hot-selling-slim {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  background: #fafafa;
  border-radius: 7px;
}
.hot-selling-slim .ssi {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  line-height: 1.4;
}
.hot-selling-slim .ssi-ic { font-size: 13px; flex-shrink: 0; width: 16px; text-align: center; }
.hot-selling-slim .ssi-lb {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  color: #6b7280;
  background: #fff;
  padding: 1px 6px;
  border-radius: 3px;
  border: 1px solid #e5e7eb;
}
.hot-selling-slim .ssi-vl { flex: 1; color: #374151; }

