:root {
  color-scheme: light;
  /* 民国书刊轻复古纸色：米卡其旧纸底，非纯白 */
  --paper: #f7f2e6;
  --paper-light: #fdfaf1;
  --paper-deep: #eee7d6;
  /* 复古点缀色：土金 / 暗红 / 灰蓝，低饱和，仅用于图标、标签与细线 */
  --vintage-gold: #8a6d3b;
  --vintage-red: #8c3a2e;
  --vintage-blue: #5a6b7d;
  --ink: #26221b;
  --ink-soft: #6a6250;
  --navy: #102b49;
  --navy-soft: #173b62;
  --gold: #bd8a2c;
  --gold-dark: #8a5f16;
  --rule: #d9d1bc;
  --rule-dark: #c9c0a9;
  --bullish: #9e352e;
  --bearish: #216641;
  --neutral: #695f4d;
  --unknown: #58636d;
  --bullish-on-dark: #ffaaa2;
  --bearish-on-dark: #91dfb1;
  --neutral-on-dark: #e6d7b1;
  --unknown-on-dark: #d3dce5;
  --focus: #8c3a2e;
  --content-width: 1040px;
  --radius-small: 5px;
  --radius: 9px;
  --shadow: 0 4px 16px rgba(16, 43, 73, 0.08);
  --shadow-strong: 0 6px 22px rgba(16, 43, 73, 0.11);
  /* 字体策略（无外链 webfont，白名单约束）：
     - 正文：现代国产系统字体优先（HarmonyOS/澎湃/微软雅黑），回退 PingFang；
     - 标题衬线：本机已装思源宋体（NotoSerifSC-VF）优先，真·粗衬线宋体，
       有完整 700 字重，民国书刊气质正主；无思源时 Mac 走 Songti SC，
       Windows 有 Office 走华文中宋，末级兜底 STSong/SimSun；
       Georgia 放在中文宋体之后承接拉丁/数字（宋体拉丁字形粗糙）。 */
  --sans: "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  --serif: "Noto Serif SC", "Source Han Serif SC", "思源宋体", "Songti SC", "STZhongsong", "华文中宋", "STSong", "SimSun", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-synthesis-weight: none;
  text-wrap: pretty;
}

/* 金融数据场景：表格数字对齐，价格/百分比/人数列不跳动 */
.opinion-meta,
.change-row p,
.dv-side,
.ev-count,
.mention-row,
.overview-metrics,
.daily-report-item {
  font-variant-numeric: tabular-nums;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

button,
input,
select {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
  /* 浏览器默认按钮文字居中，但继承 font/reset 场景可能丢失，统一兜底 */
  text-align: center;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

::selection {
  color: var(--paper-light);
  background: var(--ink);
}

.page-shell {
  width: min(calc(100% - 40px), var(--content-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 12px;
  padding: 10px 16px;
  color: var(--paper-light);
  background: var(--ink);
  border-radius: var(--radius-small);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid var(--rule);
  background: rgba(247, 242, 230, 0.96);
  backdrop-filter: blur(8px);
  transition: box-shadow 200ms ease-out;
}

body.is-scrolled .site-header {
  box-shadow: 0 1px 0 rgba(38, 34, 27, 0.12);
}

.header-inner {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 7px;
  background-image: url("../images/consensus-logo.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 177px 32px;
}

.brand-copy {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand-name {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", var(--serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-tagline {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
  color: var(--ink-soft);
  font-size: 13px;
}

.site-nav a {
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.site-nav a:hover {
  color: var(--gold-dark);
}

.site-nav a.is-active {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

.back-to-top {
  position: fixed;
  z-index: 40;
  right: 20px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--paper-light);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 50%;
  box-shadow: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease, transform 200ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-2px);
  background: var(--vintage-gold);
  border-color: var(--vintage-gold);
}

.back-to-top svg {
  display: block;
}

.button {
  min-height: 44px;
  padding: 9px 16px;
  border-radius: var(--radius-small);
  font-size: 13px;
  font-weight: 700;
  /* 修复：部分浏览器/继承环境下按钮文字左对齐，统一居中 */
  text-align: center;
  transition: background-color 180ms ease-out, color 180ms ease-out,
    border-color 180ms ease-out, box-shadow 180ms ease-out, transform 180ms ease-out;
}

.button:active:not(:disabled) {
  transform: translateY(1px);
}

.button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.header-refresh {
  min-height: 44px;
  margin-left: 4px;
  color: var(--paper-light);
  background: var(--vintage-red);
  border: 1px solid var(--vintage-red);
}

.header-refresh:hover:not(:disabled) {
  background: #74301f;
  border-color: #74301f;
  box-shadow: none;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 58fr) minmax(300px, 42fr);
  gap: clamp(36px, 5.5vw, 68px);
  align-items: start;
  padding-block: 28px;
}

.hero-copy {
  max-width: 690px;
}

.hero-breadcrumb,
.section-kicker {
  margin: 0;
  /* 书刊装饰小字：纤细浅灰，仅做点缀不承载关键信息 */
  color: #948b76;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
}

/* 终端编号 → 书刊栏目序号：kicker 前缀的空心细圆环数字（01/02/03…），
   老刊物栏目编号意象，纯 CSS 无 HTML 改动。 */
main {
  counter-reset: section-no;
}

.portal-section .section-kicker::before {
  counter-increment: section-no;
  content: counter(section-no, decimal-leading-zero);
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-right: 10px;
  padding: 0;
  color: var(--vintage-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  border: 1px solid var(--vintage-gold);
  border-radius: 50%;
  vertical-align: -5px;
}

.hero-breadcrumb {
  display: inline-block;
  padding: 5px 12px;
  color: #8d8471;
  background: transparent;
  border: 1px solid var(--rule-dark);
  border-radius: 2px;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
h4,
h5,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4,
h5 {
  margin-top: 0;
}

h1 {
  max-width: 13em;
  margin: 18px 0 16px;
  /* 书刊大标题：粗衬线宋体、偏大、墨黑 */
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(44px, 5.2vw, 68px);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.08;
}

h1 span {
  display: inline-block;
  color: var(--vintage-red);
}

.hero-dek {
  max-width: 650px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 22px 0 0;
  padding: 14px 0;
  /* 双细线版心：上粗下细，黑色细线 */
  border-top: 2px solid rgba(38, 34, 27, 0.8);
  border-bottom: 1px solid rgba(38, 34, 27, 0.55);
}

/* 数据带：行情终端式的键值对，细竖线分隔 */
.hero-meta div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 22px;
  border-left: 1px solid var(--rule);
}

.hero-meta div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-meta dt {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-meta dd {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

/* 时间戳项：非计数型数据，字号降级保持层级 */
.hero-meta div:last-child dd {
  font-size: 14px;
  font-weight: 700;
}

/* 平台实力横条：收录大V / 累计观点 / 最近一周观点。
   书刊账簿式排版：无外框，衬线大数字 + 装饰小字标签，
   纵向细线分栏，上下留白，与 hero-meta 的双细线语言呼应。 */
.power-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 22px 0 0;
  padding: 18px 0 6px;
  border-top: 1px solid var(--rule-dark);
}

.power-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 22px;
}

.power-item:first-child {
  padding-left: 0;
}

.power-item + .power-item {
  border-left: 1px solid var(--rule);
}

.power-number {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.power-label {
  color: #948b76;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
}

@media (max-width: 480px) {
  .power-strip {
    grid-template-columns: 1fr;
    padding: 14px 0 4px;
  }

  .power-item + .power-item {
    border-left: 0;
    border-top: 1px solid var(--rule);
    margin-top: 12px;
    padding-top: 12px;
  }

  .power-item {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 0 0 12px;
  }

  .power-item:first-child {
    padding-left: 0;
  }

  .power-number {
    font-size: 26px;
  }
}

/* 今日判断统计卡片：书刊式统计框，纸底细线 */
.stat-card {
  position: relative;
  max-width: 560px;
  margin: 22px 0 0;
  padding: 20px 22px 16px;
  background: var(--paper-light);
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius-small);
  overflow: hidden;
}

/* 顶部双细线：上粗下细的书刊题线 */
.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(38, 34, 27, 0.8);
  box-shadow: 0 3px 0 -1px rgba(38, 34, 27, 0.55);
}

.stat-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.stat-card-kicker {
  margin: 0;
  color: #948b76;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
}

.stat-card-title {
  margin: 3px 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.stat-card-tag {
  flex: 0 0 auto;
  margin-top: 2px;
  padding: 4px 10px;
  color: var(--paper-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--vintage-blue);
  border-radius: 2px;
}

.stat-card-main {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 16px;
}

.stat-card-number {
  color: var(--ink);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-card-unit {
  color: var(--ink-soft);
  font-size: 13px;
}

.stat-card-divider {
  height: 1px;
  margin: 16px 0 14px;
  background: var(--rule);
}

.stat-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.stat-cell dt {
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.stat-cell dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.stat-card-note {
  margin: 14px 0 0;
  padding-top: 12px;
  color: var(--ink-soft);
  font-size: 12px;
  border-top: 1px dashed var(--rule);
}

@media (max-width: 480px) {
  .stat-card {
    padding: 16px 16px 14px;
  }

  .stat-card-grid {
    gap: 8px;
  }

  .stat-cell dd {
    font-size: 13px;
  }
}

.overview-card {
  padding: 24px 28px 22px;
  background: var(--paper-light);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  
}

.card-heading-row,
.split-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.card-heading-row h2 {
  margin: 6px 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 21px;
}

.status-chip,
.scope-label {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 10px;
  color: var(--bullish);
  background: #e5f3e9;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.overview-primary {
  display: flex;
  align-items: end;
  gap: 10px;
  margin: 22px 0 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}

.overview-primary strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(58px, 6vw, 82px);
  font-weight: 500;
  line-height: 0.85;
}

.overview-primary span {
  color: var(--ink-soft);
  font-size: 12px;
}

.overview-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.overview-metrics div + div {
  padding-left: 16px;
  border-left: 1px solid var(--rule);
}

.overview-metrics dt {
  color: var(--ink-soft);
  font-size: 11px;
}

.overview-metrics dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 13px;
}

.overview-metrics strong {
  font-size: 20px;
}

.overview-note {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
}

/* ===== 大V推荐 banner ===== */
.featured-rail {
  position: relative;
  padding: 20px 22px 16px;
  background: var(--paper-light);
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius-small);
  overflow: hidden;
}

/* 书刊题线：上粗下细双细线 */
.featured-rail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(38, 34, 27, 0.8);
  box-shadow: 0 3px 0 -1px rgba(38, 34, 27, 0.55);
}

.featured-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.featured-heading h2 {
  margin: 6px 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.03em;
}

/* 短矩形标签：暗红底白字，仅做高亮点缀 */
.featured-badge {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 3px 11px;
  color: var(--paper-light);
  background: var(--vintage-red);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.featured-card-status {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.featured-empty {
  margin: 14px 0 0;
  padding: 16px;
  color: var(--ink-soft);
  background: var(--paper-deep);
  border-radius: var(--radius-small);
  font-size: 12px;
  line-height: 1.7;
}

.featured-card {
  padding: 12px 0;
  border-top: 1px solid var(--rule);
}

.featured-card:first-of-type {
  border-top: 0;
  padding-top: 2px;
}

.featured-card:last-of-type {
  padding-bottom: 2px;
}

.featured-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.featured-avatar {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  color: var(--vintage-gold);
  background: transparent;
  border: 1px solid var(--vintage-gold);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  
}

.featured-author h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.3;
}


.featured-platform-link {
  color: var(--gold-dark);
  text-decoration: none;
}

.featured-platform-link:hover,
.featured-platform-link:focus-visible {
  text-decoration: underline;
}
.featured-author p {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
}

.featured-opinion {
  padding-left: 52px;
}

.featured-opinion .opinion-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
}

.featured-opinion h4 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

.featured-opinion-time {
  display: block;
  margin: -1px 0 7px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.5;
}

.featured-opinion .core-view {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.featured-opinion .source-link {
  display: inline-block;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

.featured-opinion .source-link:hover {
  color: var(--gold);
}

.portal-section {
  position: relative;
  padding-block: 48px 48px;
}

.portal-section + .portal-section {
  padding-top: 40px;
}

/* 老书刊版心：分区之间用双组细水平线（上粗下细），黑色细线复刻旧刊版心 */
.portal-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 40px), var(--content-width));
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(38, 34, 27, 0.8) 12%, rgba(38, 34, 27, 0.8) 88%, transparent);
}

.portal-section::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 40px), var(--content-width));
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(38, 34, 27, 0.55) 12%, rgba(38, 34, 27, 0.55) 88%, transparent);
}

.consensus-section,
.topic-section {
  background: #f2ecdb;
}

.opinion-stream,
.author-section {
  background: var(--paper);
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading.with-tabs {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

/* 观点流标题区：查看更多按钮 + 时间范围 tabs 同行 */
.section-heading.stream-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.heading-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
}

.heading-view-more {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.heading-view-more:hover {
  color: var(--ink);
  border-color: var(--gold);
}

/* 查看更多家族：右箭头随 hover 轻移，报刊金的行动召唤 */
.heading-view-more::after,
#influencer-load-button::after,
.load-more-region > .button-secondary::after {
  content: "→";
  margin-left: 8px;
  font-weight: 400;
  transition: transform 180ms ease-out;
}

.heading-view-more:hover::after,
#influencer-load-button:hover::after,
.load-more-region > .button-secondary:hover::after {
  transform: translateX(3px);
}

/* 移动端断点规则统一放主 767px 媒体块（见下），避免碎片化查询 */

.topic-tabs {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 4px;
  padding: 4px;
  background: var(--paper-deep);
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius-small);
}

.topic-tab {
  min-height: 44px;
  padding: 0 18px;
  color: var(--ink-soft);
  font: inherit;
  font-size: 13px;
  background: transparent;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  white-space: nowrap;
}

.topic-tab:hover,
.topic-tab:focus-visible {
  color: var(--ink);
  outline: 2px solid color-mix(in srgb, var(--gold) 48%, transparent);
  outline-offset: 1px;
}

.topic-tab.is-active {
  color: var(--paper-light);
  background: var(--ink);
  box-shadow: none;
}

.topic-panel {
  min-height: 120px;
}

.opinion-stream .section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.period-tabs {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 4px;
  padding: 4px;
  background: var(--paper-deep);
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius-small);
}

.period-tab {
  min-height: 44px;
  padding: 0 18px;
  color: var(--ink-soft);
  font: inherit;
  font-size: 13px;
  background: transparent;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  white-space: nowrap;
}

.period-tab:hover,
.period-tab:focus-visible {
  color: var(--ink);
  outline: 2px solid color-mix(in srgb, var(--gold) 48%, transparent);
  outline-offset: 1px;
}

.period-tab.is-active {
  color: var(--paper-light);
  background: var(--ink);
  box-shadow: none;
}

.section-heading h2 {
  margin: 7px 0 4px;
  /* 栏目标题：宋体墨黑，适度加大 */
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 40px);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.section-heading p:not(.section-kicker) {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.status-line {
  min-height: 20px;
  margin: 10px 0 14px;
  color: var(--ink-soft);
  font-size: 12px;
}

.stream-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(280px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.opinion-column,
.insight-rail {
  min-width: 0;
}

.opinion-column {
  background: var(--paper-light);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}

.insight-intro h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
}

.opinion-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 0 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--rule);
  transition: background-color 160ms ease-out, box-shadow 160ms ease-out;
}

.opinion-card:hover,
.opinion-card:focus-within {
  background: var(--paper-light);
  box-shadow: inset 3px 0 0 var(--gold);
}

.opinion-card::before {
  grid-row: 1 / span 6;
  width: 38px;
  height: 38px;
  color: var(--vintage-gold);
  background: transparent;
  border: 1px solid var(--vintage-gold);
  border-radius: 50%;
  content: attr(data-author-mark);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
}

.opinion-meta {
  grid-column: 2;
  margin: 0 0 5px;
  color: var(--ink-soft);
  font-size: 11px;
}

.opinion-card h4 {
  grid-column: 2;
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 14px;
}

.core-view {
  grid-column: 2;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.opinion-badges {
  grid-column: 3;
  grid-row: 1 / span 3;
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

/* 短矩形标签色块：低饱和，仅做高亮 */
.opinion-badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  vertical-align: top;
  padding: 3px 8px;
  color: var(--paper-light);
  background: var(--ink-soft);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.opinion-badge.stance-bullish {
  color: var(--paper-light);
  background: var(--bullish);
}

.opinion-badge.stance-bearish {
  color: var(--paper-light);
  background: var(--bearish);
}

.opinion-badge.stance-neutral {
  color: var(--paper-light);
  background: var(--neutral);
}

.opinion-badge.stance-unknown {
  color: var(--paper-light);
  background: var(--unknown);
}

.opinion-badge.content-badge {
  color: var(--ink);
  background: var(--paper-deep);
}

.classification-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 6px 0;
}

.classification-tag {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 3px 8px;
  color: var(--ink-soft);
  background: var(--paper-light);
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.4;
}

.opinion-card > .classification-tags {
  grid-column: 2;
  margin: 2px 0 7px;
}

.source-link,
.source-link-unavailable {
  grid-column: 2;
  margin-top: 9px;
  color: var(--gold-dark);
  font-size: 12px;
}

.source-link-unavailable {
  color: var(--ink-soft);
}

.opinion-detail-link {
  grid-column: 2;
  width: max-content;
  margin-top: 9px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.opinion-detail-link:hover,
.opinion-detail-link:focus-visible {
  color: var(--gold-dark);
  text-decoration: underline;
}

/* 观点库/主页时间线：卡片标题即详情入口（大可点区域） */
.card-title-link {
  color: inherit;
  text-decoration: none;
}

.card-title-link:hover,
.card-title-link:focus-visible {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.load-more-region {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 20px;
}

.button-secondary {
  min-width: 0;
  padding-inline: 22px;
  color: var(--ink);
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--ink) 55%, transparent);
}

.button-secondary:hover:not(:disabled) {
  color: var(--ink);
  background: color-mix(in srgb, var(--gold) 14%, transparent);
  border-color: var(--gold);
  
}

.load-more-region p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
}

.insight-rail {
  position: sticky;
  top: 84px;
  display: grid;
  align-self: start;
  max-height: calc(100vh - 104px);
  gap: 0;
  overflow-y: auto;
  background: var(--paper-light);
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius-small);
}

.insight-intro,
.insight-block {
  padding: 20px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.insight-block {
  border-top: 1px solid var(--rule);
}

.insight-intro h3 {
  margin-top: 5px;
}

.insight-intro > p:last-child {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.insight-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}

.insight-heading h4,
.mention-groups h5 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
}

.stance-breakdown {
  display: grid;
  gap: 9px;
}

.stance-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 9px;
  align-items: center;
  font-size: 12px;
}

.stance-bar {
  height: 6px;
  background: var(--paper-deep);
  border-radius: 999px;
  overflow: hidden;
}

.stance-bar span {
  display: block;
  height: 100%;
  background: currentColor;
}

.mention-groups {
  display: grid;
  gap: 18px;
}

.mention-groups section + section {
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

.mention-groups h5 {
  margin-bottom: 9px;
  font-size: 13px;
}

.rank-list {
  display: grid;
  gap: 7px;
}

.rank-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 12px;
}

.rank-item strong {
  color: var(--ink);
}

.empty-state {
  margin: 0;
  padding: 18px;
  color: var(--ink-soft);
  background: var(--paper-deep);
  border-radius: var(--radius-small);
  font-size: 12px;
  line-height: 1.7;
}

.confidence-note {
  margin: 0;
  padding: 14px 20px 17px;
  color: var(--ink-soft);
  border-top: 1px solid var(--rule);
  font-size: 11px;
}

.stance-bullish {
  color: var(--bullish);
}

.stance-bearish {
  color: var(--bearish);
}

.stance-neutral {
  color: var(--neutral);
}

.stance-unknown {
  color: var(--unknown);
}

.insight-rail .stance-bullish {
  color: var(--bullish);
}

.insight-rail .stance-bearish {
  color: var(--bearish);
}

.insight-rail .stance-neutral {
  color: var(--neutral);
}

.insight-rail .stance-unknown {
  color: var(--unknown);
}

.sector-heatmap {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.heat-cell {
  min-height: 100px;
  padding: 14px;
  color: var(--paper-light);
  background: var(--unknown);
  border-radius: var(--radius);
}

.heat-cell.stance-bullish {
  background: #a84339;
}

.heat-cell.stance-bearish {
  background: #277749;
}

.heat-cell.stance-neutral {
  background: #847a67;
}

.heat-cell.stance-unknown {
  background: var(--vintage-blue);
}

.heat-cell[data-intensity="1"] {
  opacity: 0.72;
}

.heat-cell[data-intensity="2"] {
  opacity: 0.86;
}

.heat-cell h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 16px;
}

.heat-cell strong {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
}

.heat-cell p {
  margin: 7px 0 0;
  font-size: 11px;
}

/* 热门主题：书刊"要目"式目录排版。
   去卡片化：三栏并置、栏间细线，每条主题一行（类型标签 + 观点 + 作者立场），
   与账簿式数据带同语言，避免页面盒子疲劳。 */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 28px;
  padding-top: 4px;
  border-top: 2px solid rgba(38, 34, 27, 0.8);
}

.topic-grid::after {
  content: "";
  display: block;
  grid-column: 1 / -1;
  margin-top: 2px;
  border-top: 1px solid rgba(38, 34, 27, 0.55);
}

.topic-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 0;
  padding: 14px 0 16px;
  border-bottom: 1px solid var(--rule);
}

.topic-grid .topic-card:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.topic-grid .topic-card:nth-child(3n + 2),
.topic-grid .topic-card:nth-child(3n) {
  padding-left: 28px;
  border-left: 1px solid var(--rule);
}

.topic-card .opinion-badge {
  align-self: flex-start;
  margin-bottom: 0;
}

.topic-card h3 {
  display: block;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.6;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.topic-card footer {
  margin-top: auto;
  padding-top: 2px;
  color: #948b76;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.change-section,
.directory-section {
  background: #f2ecdb;
}

.action-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.change-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.change-row {
  min-width: 0;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 16px 18px 15px;
  background: var(--paper-light);
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius-small);
  transition: border-color 160ms ease-out;
}

.change-row:hover {
  border-color: var(--gold);
}

/* 顶行：类型徽章 + 变化幅度数值 */
.change-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.change-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* 四类变化徽章：新进入=金、升温/共识增强=红、降温/减弱=绿、分歧=蓝灰
   （后端 category 用单数 new_entry，同时兼容复数写法） */
.change-tag-new_entry,
.change-tag-new_entries {
  color: var(--paper-light);
  background: var(--vintage-gold);
}

.change-tag-rising,
.change-tag-consensus_strengthened {
  color: var(--paper-light);
  background: var(--vintage-red);
}

.change-tag-falling,
.change-tag-consensus_weakened {
  color: var(--paper-light);
  background: var(--bearish);
}

.change-tag-divergence_expanded,
.change-tag-generic {
  color: var(--paper-light);
  background: var(--vintage-blue);
}

/* 变化幅度：大号等宽数字，红升绿降 */
.change-delta {
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}

.change-delta.is-up {
  color: var(--bullish);
}

.change-delta.is-down {
  color: var(--bearish);
}

.change-row h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.3;
}

.change-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.change-row .change-direction {
  font-weight: 700;
}

.consensus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.evidence-panel {
  min-width: 0;
  padding: 20px;
  background: var(--paper-light);
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius-small);
}

.evidence-panel > h3,
.subsection-title {
  margin: 0 0 10px;
  color: #948b76;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
}

.evidence-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.65fr) minmax(0, 1.35fr);
  gap: 16px;
  padding-block: 10px;
  border-bottom: 1px solid var(--rule);
}

.evidence-row:last-child {
  border-bottom: 0;
}

.evidence-row h4,
.evidence-row p {
  margin: 0;
}

.evidence-row h4 {
  color: var(--ink);
  font-size: 14px;
}

.evidence-row p {
  color: var(--ink-soft);
  font-size: 12px;
}

/* 共识与分歧：榜单卡片化 + 红绿语义色（A 股红涨绿跌） */

/* 板块共识行：左侧方向色条 + 大号人数 */
.consensus-row {
  position: relative;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "name count" "detail count";
  gap: 3px 12px;
  padding: 11px 14px 11px 18px;
  border-bottom: 0;
  border-radius: var(--radius-small);
  transition: background-color 140ms ease-out;
}

.consensus-row:hover {
  background: var(--paper);
}

.consensus-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 2px;
  background: var(--rule);
}

.consensus-row.is-bullish::before {
  background: var(--bullish);
}

.consensus-row.is-bearish::before {
  background: var(--bearish);
}

.consensus-row h4 {
  grid-area: name;
  align-self: center;
  font-family: var(--serif);
  font-size: 15px;
}

.consensus-row p {
  grid-area: detail;
}

.ev-dir {
  font-weight: 700;
}

.consensus-row.is-bullish .ev-dir {
  color: var(--bullish);
}

.consensus-row.is-bearish .ev-dir {
  color: var(--bearish);
}

.ev-count {
  grid-area: count;
  align-self: center;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.ev-count::after {
  content: "位";
  margin-left: 3px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 400;
}

/* 个股/板块分歧行：多空对抗布局 */
.divergence-row {
  display: grid;
  gap: 10px;
  padding: 13px 16px 14px;
  border-bottom: 0;
  border-radius: var(--radius-small);
  transition: background-color 140ms ease-out;
}

.divergence-row:hover {
  background: var(--paper);
}

/* 标题行：名称 + 总人数 */
.dv-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.dv-title-row h4 {
  font-family: var(--serif);
  font-size: 15px;
}

.dv-total {
  color: var(--ink-soft);
  font-size: 11px;
}

/* 对抗行：左（看多阵营）、中（博弈条）、右（看空阵营） */
.dv-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.dv-side {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-size: 12px;
}

.dv-side b {
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.dv-bull {
  color: var(--bullish);
}

.dv-bull b {
  color: var(--bullish);
}

.dv-bear {
  color: var(--bearish);
}

.dv-bear b {
  color: var(--bearish);
}

.dv-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  align-self: center;
}

.dv-bull .dv-dot {
  background: var(--bullish);
}

.dv-bear .dv-dot {
  background: var(--bearish);
}

/* 博弈条：红色=看多占比，绿底=看空；中线是 50% 势均力敌参照 */
.dv-bar {
  position: relative;
  height: 10px;
  overflow: hidden;
  background: var(--bearish);
  border-radius: 5px;
}

.dv-bull-fill {
  display: block;
  height: 100%;
  background: var(--bullish);
  transition: width 320ms ease-out;
}

.dv-mid {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: var(--paper-light);
  opacity: 0.9;
}

.influencer-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px 28px;
  margin-bottom: 20px;
  padding: 16px 20px;
  background: var(--paper-light);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.filter-search {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1 1 200px;
  min-width: 160px;
}

.filter-search-label,
.filter-group-label {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.filter-search-input {
  min-height: 36px;
  padding: 7px 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-small);
  font-size: 13px;
}

.filter-search-input:focus {
  border-color: var(--vintage-gold);
  outline: 2px solid color-mix(in srgb, var(--ink) 24%, transparent);
  outline-offset: 0;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.filter-chips {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  border-radius: 8px;
}

.filter-chip {
  min-height: 36px;
  padding: 6px 14px;
  color: var(--ink-soft);
  font: inherit;
  font-size: 12px;
  background: transparent;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  white-space: nowrap;
}

.filter-chip:hover {
  color: var(--ink);
}

.filter-chip.is-active {
  color: var(--paper-light);
  background: var(--ink);
}

.directory-card.is-filtered-out {
  display: none;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.directory-card {
  min-width: 0;
  padding: 20px;
  background: var(--paper-light);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.directory-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.directory-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  color: var(--vintage-gold);
  background: transparent;
  border: 1px solid var(--vintage-gold);
  border-radius: 50%;
  object-fit: cover;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
}

.directory-identity h3,
.directory-identity p {
  margin: 0;
}

.directory-identity h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
}

.directory-identity p,
.directory-category,
.directory-bio,
.directory-facts,
.directory-focus {
  color: var(--ink-soft);
  font-size: 12px;
}

.directory-category {
  margin: 14px 0 0;
  color: var(--vintage-gold);
  font-weight: 700;
}

.directory-bio {
  margin: 8px 0;
}

.directory-facts,
.directory-focus {
  margin: 4px 0;
}

.directory-recent-opinion {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}

.directory-recent-label,
.directory-recent-view {
  margin: 0;
}

.directory-recent-label {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
}

.directory-recent-view {
  margin: 4px 0 7px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.55;
}

.directory-recent-opinion > .opinion-badge {
  margin-right: 4px;
}

.directory-recent-opinion > .classification-tags {
  display: inline-flex;
  margin: 0;
  vertical-align: top;
}

.directory-timeline-button {
  min-height: 44px;
  margin-top: 13px;
  padding: 8px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-size: 11px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.directory-timeline {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}

.timeline-item {
  padding-block: 12px;
  border-bottom: 1px solid var(--rule);
}

.timeline-item:last-child {
  border-bottom: 0;
}

.timeline-item .opinion-meta {
  display: flex;
  grid-column: auto;
  justify-content: space-between;
  gap: 10px;
}

.timeline-item > .opinion-badge {
  margin-right: 4px;
}

.timeline-item > .classification-tags {
  display: inline-flex;
  margin: 0;
  vertical-align: top;
}

.timeline-item h4 {
  margin: 5px 0;
  color: var(--ink);
  font-size: 14px;
}

.timeline-item > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.methodology-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
  gap: 56px;
}

.methodology-grid h2 {
  margin: 7px 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
}

.methodology-grid p {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 13px;
}

.site-footer {
  padding-block: 0;
  color: #d6e0e9;
  background: #0c2345;
}

/* 主区：品牌块（左）与站内导航（右） */
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
  gap: 28px clamp(40px, 7vw, 96px);
  align-items: start;
  padding-block: 44px 38px;
}

/* 品牌字标：中文衬线大字 + 细分隔线 + 英文 Georgia 小字 */
.footer-brand-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.footer-brand {
  color: var(--paper-light);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}

.footer-brand-divider {
  align-self: center;
  width: 1px;
  height: 22px;
  background: rgba(186, 139, 38, 0.55);
}

.footer-brand-en {
  color: #9db0c4;
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.footer-tagline {
  margin: 10px 0 0 !important;
  color: #6f8399 !important;
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: 0.3em;
}

.footer-summary {
  margin-top: 16px !important;
  max-width: 460px;
  color: #93a5b8 !important;
  font-size: 13px !important;
  line-height: 1.85 !important;
}

/* 友情链接：横向胶囊 chips。
   仅面向爬虫保留于 HTML 源码（外链可被索引），普通访客不渲染。 */
.footer-links {
  display: none;
}

/* 站内导航：接替友链位置的胶囊 chips，视觉语言与友链一致 */
.footer-nav {
  min-width: 0;
}

.footer-links-title {
  margin: 2px 0 14px;
  color: #ba8b26;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.footer-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-link-list a {
  display: inline-flex;
  align-items: center;
  padding: 7px 15px;
  color: #a9bacb;
  font-size: 13px;
  background: rgba(180, 192, 204, 0.07);
  border: 1px solid rgba(180, 192, 204, 0.14);
  border-radius: 999px;
  transition: color 160ms ease-out, background-color 160ms ease-out, border-color 160ms ease-out;
}

.footer-link-list a:hover {
  color: var(--paper-light);
  background: rgba(189, 138, 44, 0.16);
  border-color: rgba(189, 138, 44, 0.45);
}

.site-footer p {
  margin: 0;
}

/* 底部备案条 */
.footer-bottom {
  border-top: 1px solid rgba(180, 192, 204, 0.13);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 15px 17px;
}

.footer-bottom p,
.footer-icp {
  color: #74889d;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.footer-icp {
  text-decoration: none;
  transition: color 160ms ease-out;
}

.footer-icp:hover {
  color: #b4c0cc;
}

.noscript-note {
  position: fixed;
  z-index: 50;
  right: 16px;
  bottom: 16px;
  max-width: 420px;
  padding: 14px 18px;
  color: var(--paper-light);
  background: var(--bearish);
  border-radius: var(--radius);
  font-size: 13px;
}

.skeleton {
  pointer-events: none;
}

.skeleton > span,
.skeleton li > span,
.skeleton article > span {
  display: block;
  width: 100%;
  height: 10px;
  margin: 9px 0;
  background: var(--paper-deep);
  border-radius: 3px;
  animation: skeleton-pulse 1.5s ease-in-out infinite alternate;
}

@keyframes skeleton-pulse {
  to {
    opacity: 0.42;
  }
}

/* 切换时间范围时保留旧内容等待新数据，用轻微透明度过渡提示刷新中，不改变布局高度。 */
.opinion-list.is-refreshing {
  opacity: 0.55;
  transition: opacity 0.18s ease-out;
}

.opinion-list:not(.is-refreshing) {
  transition: opacity 0.18s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .opinion-list.is-refreshing,
  .opinion-list:not(.is-refreshing) {
    transition: none;
  }
}

@media (max-width: 1199px) {
  .hero-section {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
    gap: 38px;
  }

  .stream-grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.8fr);
  }

  .sector-heatmap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-grid .topic-card:nth-child(3n + 2),
  .topic-grid .topic-card:nth-child(3n) {
    padding-left: 0;
    border-left: 0;
  }

  .topic-grid .topic-card:nth-child(2n) {
    padding-left: 24px;
    border-left: 1px solid var(--rule);
  }

  .topic-grid .topic-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .change-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 1fr);
    padding-block: 34px 28px;
  }
}

@media (max-width: 900px) {
  .site-nav {
    gap: 15px;
  }

  .hero-section {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  }

  h1 {
    font-size: clamp(38px, 5vw, 48px);
  }

}

@media (min-width: 768px) and (max-width: 900px) {
  .overview-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .page-shell {
    width: min(calc(100% - 28px), var(--content-width));
  }

  .header-inner {
    min-height: 60px;
  }

  .site-nav {
    display: none;
  }

  .header-refresh {
    margin-left: auto;
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 34px;
    padding-block: 52px;
  }

  h1 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .overview-card {
    padding: 24px;
  }

  .featured-rail {
    padding: 20px 18px;
  }

  .featured-opinion {
    padding-left: 54px;
  }

  .featured-avatar {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    font-size: 17px;
  }

  .portal-section {
    padding-block: 36px 44px;
  }

  .portal-section + .portal-section {
    padding-top: 24px;
  }

  .opinion-stream .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .section-heading.stream-heading {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  /* 移动端：查看更多整宽在上，时间 tabs 整宽在下 */
  .heading-actions {
    display: grid;
    width: 100%;
    gap: 10px;
  }

  .heading-actions .period-tabs {
    width: 100%;
  }

  .heading-actions .period-tab {
    flex: 1 1 0;
  }

  .section-heading.with-tabs {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .topic-tabs {
    width: 100%;
  }

  .topic-tab {
    flex: 1 1 0;
    padding-inline: 10px;
  }

  .action-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .action-heading .button {
    width: 100%;
  }

  .period-tabs {
    width: 100%;
  }

  .period-tab {
    flex: 1 1 0;
    padding-inline: 10px;
  }

  .stream-grid,
  .consensus-grid,
  .directory-grid,
  .methodology-grid,
  .change-list {
    grid-template-columns: 1fr;
  }

  .influencer-filters {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .filter-search {
    min-width: 0;
  }

  .filter-group {
    flex-wrap: wrap;
  }

  .methodology-grid {
    gap: 20px;
  }

  .evidence-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .opinion-card {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 16px 14px;
  }

  .opinion-badges {
    grid-column: 2;
    grid-row: auto;
    margin-top: 8px;
  }

  .insight-rail {
    position: static;
    grid-template-columns: 1fr;
    max-height: none;
    overflow: visible;
  }

  .insight-intro,
  .confidence-note {
    grid-column: auto;
  }

  .sector-heatmap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .topic-grid .topic-card:nth-child(n) {
    padding: 0;
    border-left: 0;
  }

  .topic-grid .topic-card:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--rule);
  }

  .topic-grid .topic-card:last-child {
    border-bottom: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-block: 30px 24px;
  }

  .footer-brand {
    font-size: 28px;
  }

  /* 底部备案条窄屏堆叠 */
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (max-width: 390px) {
  .page-shell {
    width: min(calc(100% - 22px), var(--content-width));
  }

  .brand {
    gap: 7px;
  }

  .brand-mark {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
    background-size: 160px 29px;
  }

  .brand-name {
    font-size: 16px;
  }

  /* 超窄屏隐藏品牌副标题：装饰性文字，避免过小字号影响可读性 */
  .brand-tagline {
    display: none;
  }

  .header-refresh {
    padding-inline: 12px;
  }

  .hero-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .overview-metrics {
    grid-template-columns: 1fr;
  }

  .overview-metrics div + div {
    padding: 12px 0 0;
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .sector-heatmap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .heat-cell {
    min-height: 96px;
    padding: 13px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --rule: #746e65;
    --rule-dark: #554f47;
    --ink-soft: #384653;
  }

  .site-header {
    background: var(--paper);
  }

  .opinion-column,
  .insight-block,
  .overview-card,
  .topic-card {
    border-width: 2px;
  }
}

/* ===== 栏目页 / 二级页共享组件 ===== */

/* 面包屑：全站层级路径 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 12px;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb [aria-current="page"],
.breadcrumb span:last-child {
  color: var(--ink);
  font-weight: 700;
}

/* 栏目页头部：简版 hero（kicker + 标题 + 说明） */
.channel-hero .section-heading {
  margin-bottom: 20px;
}

.channel-hero h1 {
  margin: 8px 0 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
}

.channel-hero .section-heading p:not(.section-kicker) {
  max-width: 640px;
}

/* 栏目页工具栏：时间 tab + 筛选 chips 同行，移动端换行 */
.channel-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.channel-toolbar .period-tabs {
  border: 1px solid var(--rule);
  border-radius: 9px;
}

/* 栏目页主体：列表 + 侧栏（与首页 stream-grid 同构但更宽的主列） */
.channel-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(280px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.mention-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
}

.mention-row:last-child {
  border-bottom: 0;
}

.mention-row span:first-child {
  color: var(--ink);
  font-weight: 700;
}

.mention-row span:last-child {
  color: var(--ink-soft);
  font-size: 12px;
}

@media (max-width: 1023px) {
  .channel-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .channel-toolbar {
    gap: 10px;
  }

  .channel-toolbar .period-tab {
    flex: 0 0 auto;
  }
}

/* 大V个人主页头部：头像字块 + 身份信息 */
.kol-head {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 22px;
}

.kol-avatar-wrap .directory-avatar {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  font-size: 30px;
}

.kol-avatar-wrap .directory-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kol-head-copy {
  min-width: 0;
}

.kol-head-copy h1 {
  margin: 6px 0 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
}

.kol-head-meta {
  margin: 0 0 6px;
  color: var(--ink-soft);
  font-size: 13px;
}

.kol-head-bio {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
  max-width: 640px;
}

.kol-stance-card {
  margin-top: 0;
  max-width: none;
}

.kol-more-hint {
  margin: 10px 0 0;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 700;
}

.kol-card-link {
  transition: border-color 160ms ease-out;
}

.kol-card-link:hover,
.kol-card-link:focus-within {
  border-color: var(--gold);
}

.kol-profile-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.kol-profile-link:hover h3 {
  color: var(--gold-dark);
}

@media (max-width: 767px) {
  .kol-head {
    gap: 14px;
  }

  .kol-avatar-wrap .directory-avatar {
    width: 56px;
    height: 56px;
    border-radius: 11px;
    font-size: 24px;
  }
}

/* 每日日报页：日期选择与摘要列表 */
.daily-date-picker {
  flex: 0 0 auto;
}

.daily-stat-card {
  margin-bottom: 22px;
  max-width: none;
}

.daily-report-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.daily-report-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 0 14px;
  align-items: start;
  padding: 16px 18px;
  background: var(--paper-light);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.daily-report-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--vintage-gold);
  background: transparent;
  border: 1px solid var(--vintage-gold);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
}

.daily-report-copy {
  min-width: 0;
}

.daily-report-copy .core-view {
  margin: 4px 0 0;
}

@media (max-width: 767px) {
  .daily-report-item {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .daily-report-item .opinion-badges {
    grid-column: 2;
    grid-row: auto;
    justify-content: flex-start;
  }
}

/* 404 页：报刊风"此版面暂未收录" */
.notfound-section {
  padding-block: 72px 64px;
}

.notfound-inner {
  text-align: center;
}

.notfound-inner .section-kicker {
  font-size: 13px;
}

.notfound-inner h1 {
  margin: 10px 0 14px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: 0;
}

.notfound-copy {
  margin: 0 auto 26px;
  max-width: 460px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.notfound-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.notfound-actions .button {
  text-decoration: none;
}

/* 观点详情落地页 */
.detail-layout {
  grid-template-columns: minmax(0, 2.4fr) minmax(280px, 0.85fr);
}

.detail-main {
  padding: 4px 0 0;
}

.detail-card {
  grid-template-columns: 44px minmax(0, 1fr);
  padding: 22px 24px 24px;
  border-bottom: 0;
}

.detail-card .opinion-badges {
  grid-column: 2;
  grid-row: auto;
  justify-content: flex-start;
  margin-top: 4px;
}

.detail-title {
  grid-column: 2;
  margin: 2px 0 6px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(20px, 2.6vw, 27px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
}

.detail-core-view {
  grid-column: 2;
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.9;
}

.detail-fields {
  grid-column: 2;
  margin-top: 18px;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.detail-fields-title {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
}

.detail-fields .detail-row {
  margin: 8px 0;
  font-size: 13px;
  line-height: 1.8;
}

.detail-original {
  grid-column: 2;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.detail-original-text {
  margin: 14px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--paper-light);
  color: var(--ink);
  font: inherit;
  line-height: 1.85;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.detail-original-unavailable {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.detail-source {
  grid-column: 2;
  margin: 16px 0 0;
}

.detail-skeleton {
  padding: 20px;
}

/* 侧栏：同作者观点列表 */
.related-list {
  display: grid;
  gap: 8px;
}

.related-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  color: inherit;
  text-decoration: none;
  background: var(--paper-light);
  border: 1px solid var(--rule);
  border-radius: var(--radius-small);
  transition: border-color 160ms ease-out;
}

.related-item:hover {
  border-color: var(--gold);
}

.related-stance {
  flex: 0 0 auto;
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--paper-light);
  font-size: 11px;
  font-weight: 700;
}

.related-stance.stance-bullish { background: var(--bullish); }
.related-stance.stance-bearish { background: var(--bearish); }
.related-stance.stance-neutral { background: var(--neutral); }
.related-stance.stance-unknown { background: var(--unknown); }

.related-text {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 1023px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
}
