/* ============ Tokens ============ */
:root {
  --paper: #f6f4ef;
  --surface: #ffffff;
  --sunk: #efece4;
  --ink: #14161a;
  --ink-2: #454a52;
  --ink-3: #7b8089;
  --rule: #e2ddd2;
  --rule-strong: #14161a;

  --brand: #b8281e;
  --brand-tint: #fbece8;
  --gold: #9a6f12;
  --gold-tint: #f5ecd8;
  --blue: #1f4e8c;
  --blue-tint: #e8eef7;
  --violet: #5b3e96;
  --violet-tint: #efeaf7;
  --teal: #13756b;
  --teal-tint: #e3f2ef;

  /* A 股习惯：红涨绿跌。切换后 html[data-updown="west"] 覆盖 */
  --up: #cf2e24;
  --down: #12804a;

  --serif: "Noto Serif SC", "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 6px;
}
html[data-updown="west"] {
  --up: #12804a;
  --down: #cf2e24;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 2px; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.up { color: var(--up); }
.down { color: var(--down); }
.flat { color: var(--ink-3); }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246, 244, 239, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-in {
  display: flex; align-items: center; gap: 28px;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { width: 30px; height: 30px; }
.brand-name {
  font-family: var(--serif); font-weight: 900; font-size: 23px; letter-spacing: .08em; line-height: 1;
}
.brand-tag { display: block; font-size: 11px; color: var(--ink-3); letter-spacing: .06em; margin-top: 4px; font-family: var(--sans); font-weight: 400; }

.nav { display: flex; gap: 4px; }
.nav a {
  position: relative; padding: 8px 12px; font-size: 15px; font-weight: 600; color: var(--ink-2);
  border-radius: var(--radius);
}
.nav a:hover { color: var(--ink); background: var(--sunk); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -13px; height: 2px; background: var(--brand);
}

.header-tools { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.today { font-size: 13px; color: var(--ink-3); white-space: nowrap; }

.search { position: relative; }
.search input {
  width: 220px; height: 36px; padding: 0 12px 0 34px;
  background: var(--surface); border: 1px solid var(--rule); border-radius: 18px;
  font-size: 14px; outline: none; transition: border-color .15s, width .2s;
}
.search input:focus { border-color: var(--ink-2); width: 260px; }
.search svg { position: absolute; left: 11px; top: 10px; width: 16px; height: 16px; color: var(--ink-3); pointer-events: none; }
.search-results {
  position: absolute; right: 0; top: 44px; width: 360px; max-width: calc(100vw - 32px);
  background: var(--surface); border: 1px solid var(--rule); border-radius: 10px;
  box-shadow: 0 18px 40px -12px rgba(20, 22, 26, .25);
  overflow: hidden; display: none;
}
.search-results.open { display: block; }
.search-results a { display: block; padding: 10px 14px; border-bottom: 1px solid var(--sunk); font-size: 14px; line-height: 1.5; }
.search-results a:last-child { border-bottom: 0; }
.search-results a:hover, .search-results a.active { background: var(--sunk); }
.search-results small { display: block; color: var(--ink-3); font-size: 12px; margin-top: 2px; }
.search-results .empty { padding: 14px; font-size: 14px; color: var(--ink-3); }

/* ============ Market strip ============ */
.market { border-bottom: 1px solid var(--rule); background: var(--surface); }
.market-in { display: flex; align-items: stretch; }
.quotes {
  display: flex; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none;
  scroll-snap-type: x proximity;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
}
.quotes::-webkit-scrollbar { display: none; }
.quote {
  flex: none; padding: 9px 18px 8px; border-right: 1px solid var(--sunk); scroll-snap-align: start;
  display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: baseline;
}
.quote:first-child { padding-left: 0; }
.quote-name { grid-column: 1 / -1; font-size: 11.5px; color: var(--ink-3); letter-spacing: .02em; }
.quote-val { font-size: 14px; font-weight: 600; }
.quote-chg { font-size: 13px; font-weight: 700; }
.quote.hit { position: relative; }
.quote.hit .quote-name::after {
  content: "过线"; margin-left: 6px; padding: 0 5px; font-size: 10px; font-weight: 700; color: #fff;
  background: var(--brand); border-radius: 3px; vertical-align: 1px;
}
.market-meta {
  flex: none; display: flex; align-items: center; gap: 12px; padding-left: 16px;
  font-size: 12px; color: var(--ink-3); border-left: 1px solid var(--rule);
}
.updown-toggle {
  display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px;
  border: 1px solid var(--rule); border-radius: 13px; font-size: 12px; color: var(--ink-2); background: var(--paper);
}
.updown-toggle:hover { border-color: var(--ink-3); }
.updown-toggle .u { color: var(--up); font-weight: 700; }
.updown-toggle .d { color: var(--down); font-weight: 700; }

/* ============ Section scaffolding ============ */
main { padding-bottom: 72px; }
.section { margin-top: 44px; }
.section-head {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  border-top: 3px solid var(--rule-strong); padding-top: 12px; margin-bottom: 22px;
}
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--brand); }
.section-head h2 { font-family: var(--serif); font-size: 24px; font-weight: 900; letter-spacing: .02em; }
.section-head p { font-size: 14px; color: var(--ink-3); }
.section-head .more { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.section-head .more:hover { color: var(--brand); }

/* ============ Tags ============ */
.tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 4px;
  font-size: 12px; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
  background: var(--sunk); color: var(--ink-2);
}
.tag--new { background: var(--brand); color: #fff; }
.tag--follow { background: var(--ink); color: #fff; }
.tag--sec { background: var(--brand-tint); color: var(--brand); }
.tag--pol { background: var(--gold-tint); color: var(--gold); }
.tag--mkt { background: var(--blue-tint); color: var(--blue); }
.tag--ind { background: var(--violet-tint); color: var(--violet); }
.tag--digest { background: var(--teal-tint); color: var(--teal); }
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 13px; color: var(--ink-3); }
.meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }

/* ============ Today: lead + rail ============ */
.today-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
.lead h1 {
  font-family: var(--serif); font-weight: 900; font-size: clamp(27px, 3.4vw, 38px); line-height: 1.32;
  letter-spacing: .01em; margin: 14px 0 14px; text-wrap: balance;
}
.lead h1 a:hover { color: var(--brand); }
.lead .dek { font-size: 17px; line-height: 1.8; color: var(--ink-2); max-width: 46em; }

.keyfigs {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 26px 0 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.keyfig { padding: 16px 18px 16px 0; }
.keyfig + .keyfig { padding-left: 18px; border-left: 1px solid var(--rule); }
.keyfig b { display: block; font-family: var(--serif); font-size: 30px; font-weight: 900; line-height: 1.15; letter-spacing: -.01em; }
.keyfig b small { font-size: 15px; font-weight: 700; margin-left: 2px; }
.keyfig span { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-3); line-height: 1.5; }

.callouts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.callout { border-radius: var(--radius); padding: 16px 18px; font-size: 14.5px; line-height: 1.75; }
.callout h3 { font-size: 13px; font-weight: 800; letter-spacing: .08em; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.callout--line { background: var(--brand-tint); }
.callout--line h3 { color: var(--brand); }
.callout--next { background: var(--surface); border: 1px solid var(--rule); }
.callout--next ol { counter-reset: n; }
.callout--next li { position: relative; padding-left: 22px; counter-increment: n; }
.callout--next li + li { margin-top: 4px; }
.callout--next li::before {
  content: counter(n); position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 16px; text-align: center;
}

.also { margin-top: 34px; }
.also-title { font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 4px; }
.story-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px;
  padding: 16px 0; border-bottom: 1px solid var(--rule);
}
.story-row:first-of-type { border-top: 1px solid var(--rule); }
.story-row h3 { font-family: var(--serif); font-size: 19px; font-weight: 700; line-height: 1.45; margin-top: 6px; }
.story-row h3 a:hover { color: var(--brand); }
.story-row p { font-size: 14px; color: var(--ink-2); line-height: 1.7; margin-top: 4px; }
.story-row .time { font-size: 13px; color: var(--ink-3); white-space: nowrap; padding-top: 2px; }

/* rail */
.rail { display: flex; flex-direction: column; gap: 22px; }
.panel { background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; padding: 18px 20px; }
.panel h2 { font-size: 15px; font-weight: 800; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(184, 40, 30, .5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(184, 40, 30, 0); } 100% { box-shadow: 0 0 0 0 rgba(184, 40, 30, 0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

.flash { position: relative; }
.flash::before { content: ""; position: absolute; left: 44px; top: 8px; bottom: 8px; width: 1px; background: var(--rule); }
.flash li { display: grid; grid-template-columns: 38px 1fr; gap: 18px; padding: 7px 0; font-size: 14px; line-height: 1.6; position: relative; }
.flash li::after { content: ""; position: absolute; left: 41px; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink-3); }
.flash li:first-child::after { border-color: var(--brand); background: var(--brand); }
.flash time { font-size: 12.5px; font-weight: 700; color: var(--ink-3); padding-top: 1px; }
.flash li:first-child time { color: var(--brand); }

.standard { font-size: 13.5px; color: var(--ink-2); }
.standard li { padding: 7px 0 7px 18px; border-top: 1px dashed var(--rule); position: relative; line-height: 1.6; }
.standard li:first-child { border-top: 0; }
.standard li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 7px; height: 2px; background: var(--brand); }
.panel .fine { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; line-height: 1.6; }
.panel .fine a { color: var(--ink-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ============ Event tracking ============ */
.events { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.event { background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; padding: 22px 24px 20px; display: flex; flex-direction: column; }
.event--wide { grid-column: 1 / -1; }
.event-head { display: flex; align-items: flex-start; gap: 12px; }
.event-head h3 { font-family: var(--serif); font-size: 21px; font-weight: 900; line-height: 1.35; }
.event-head h3 a:hover { color: var(--brand); }
.status {
  flex: none; margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px;
  border-radius: 12px; font-size: 12px; font-weight: 700; background: var(--gold-tint); color: var(--gold);
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.event-sub { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.event-intro { font-size: 14.5px; color: var(--ink-2); margin-top: 10px; line-height: 1.75; }
.lanes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 18px; }
.lane-title { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 8px; }

.tl { position: relative; margin-top: 16px; }
.lanes .tl { margin-top: 0; }
.tl li { position: relative; padding: 0 0 14px 26px; font-size: 14px; line-height: 1.6; }
.tl li:last-child { padding-bottom: 0; }
.tl li::before {
  content: ""; position: absolute; left: 5px; top: 18px; bottom: -2px; width: 2px; background: var(--ink);
}
.tl li:last-child::before { display: none; }
.tl li::after {
  content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--ink); box-shadow: 0 0 0 3px var(--surface);
}
.tl li.latest::after { background: var(--brand); box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px rgba(184, 40, 30, .25); }
.tl li.pending::after { background: var(--surface); border: 2px solid var(--ink-3); }
.tl li.pending { color: var(--ink-3); }
.tl li:has(+ li.pending)::before, .tl li.pending::before { background: repeating-linear-gradient(var(--ink-3) 0 3px, transparent 3px 6px); width: 1px; left: 5.5px; }
.tl .d { display: block; font-size: 12px; font-weight: 700; color: var(--ink-3); letter-spacing: .02em; }
.tl li.latest .d { color: var(--brand); }
.tl a { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.tl a:hover { text-decoration-color: var(--brand); color: var(--brand); }
.tl li.current { font-weight: 700; }

.next-node {
  margin-top: auto; padding-top: 16px;
}
.next-node-in {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 14px; border-radius: var(--radius); background: var(--paper); border: 1px dashed var(--rule);
  font-size: 14px;
}
.next-node .label { font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--ink-3); }
.due {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 4px;
  font-size: 12px; font-weight: 800; background: var(--ink); color: #fff; white-space: nowrap;
}
.due[data-state="today"] { background: var(--brand); }
.due[data-state="soon"] { background: var(--gold); }
.due[data-state="past"] { background: var(--ink-3); }
.due[data-state="open"] { background: var(--sunk); color: var(--ink-2); }

/* ============ Verification calendar ============ */
.calendar { background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
.cal-group + .cal-group { border-top: 1px solid var(--rule); }
.cal-group h3 {
  display: flex; align-items: center; gap: 10px; padding: 12px 24px; background: var(--paper);
  font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--ink-2); border-bottom: 1px solid var(--rule);
}
.cal-group h3 span { font-weight: 600; letter-spacing: 0; color: var(--ink-3); }
.cal-row {
  display: grid; grid-template-columns: 92px minmax(0, 220px) minmax(0, 1fr) auto; gap: 20px; align-items: baseline;
  padding: 14px 24px; border-top: 1px solid var(--sunk);
}
.cal-group h3 + .cal-row { border-top: 0; }
.cal-date { font-size: 15px; font-weight: 800; }
.cal-date small { display: block; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.cal-name { font-weight: 700; font-size: 15px; line-height: 1.5; }
.cal-what { font-size: 14px; color: var(--ink-2); line-height: 1.65; }
.cal-link { font-size: 13px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.cal-link:hover { color: var(--brand); }
.cal-note { padding: 14px 24px; font-size: 13px; color: var(--ink-3); background: var(--paper); border-top: 1px solid var(--rule); }

/* ============ Archive page ============ */
.page-title { padding: 40px 0 8px; }
.page-title h1 { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 36px); font-weight: 900; }
.page-title p { color: var(--ink-2); margin-top: 6px; max-width: 44em; }

.archive { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; margin-top: 28px; }
.filters { position: sticky; top: 88px; align-self: start; }
.filter-group + .filter-group { margin-top: 26px; }
.filter-group h2 { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--ink-3); margin-bottom: 8px; }
.filter-btn {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 7px 10px; border-radius: var(--radius); font-size: 14.5px; text-align: left; color: var(--ink-2);
}
.filter-btn:hover { background: var(--sunk); color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.filter-btn .count { font-size: 12px; font-weight: 700; opacity: .65; }

.day + .day { margin-top: 34px; }
.day-head { display: flex; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.day-head h2 { font-family: var(--serif); font-size: 20px; font-weight: 900; }
.day-head span { font-size: 13px; color: var(--ink-3); }
.entry { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.entry[hidden] { display: none; }
.entry-time { font-size: 13px; font-weight: 700; color: var(--ink-3); padding-top: 2px; }
.entry h3 { font-family: var(--serif); font-size: 19px; font-weight: 700; line-height: 1.45; margin-top: 6px; }
.entry h3 a:hover { color: var(--brand); }
.entry p { font-size: 14.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.7; }
.entry .watch { font-size: 13px; color: var(--ink-3); margin-top: 8px; }
.entry .watch b { color: var(--ink-2); }
.event-chip {
  display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 4px;
  font-size: 12px; font-weight: 600; color: var(--ink-2); border: 1px solid var(--rule); background: var(--surface);
}
.event-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.empty-state { display: none; padding: 48px 0; text-align: center; color: var(--ink-3); }
.empty-state.show { display: block; }

/* ============ Article page ============ */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; margin-top: 32px; }
.crumbs { font-size: 13px; color: var(--ink-3); display: flex; gap: 8px; }
.crumbs a:hover { color: var(--ink); }
.article-head { max-width: 720px; }
.article-head .meta { margin-top: 18px; }
.article-head h1 {
  font-family: var(--serif); font-size: clamp(28px, 3.6vw, 40px); font-weight: 900; line-height: 1.3; margin-top: 12px; text-wrap: balance;
}
.article-head .dek { font-size: 18px; color: var(--ink-2); margin-top: 14px; line-height: 1.8; }
.byline { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 20px; padding: 12px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 13px; color: var(--ink-3); }
.byline b { color: var(--ink-2); font-weight: 600; }

.prose { max-width: 720px; margin-top: 28px; font-size: 17px; line-height: 1.9; }
.prose h2 { font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--ink-3); margin: 34px 0 12px; }
.facts { counter-reset: f; }
.facts li { position: relative; padding: 12px 0 12px 40px; border-top: 1px solid var(--rule); counter-increment: f; }
.facts li:last-child { border-bottom: 1px solid var(--rule); }
.facts li::before {
  content: counter(f, decimal-leading-zero); position: absolute; left: 0; top: 15px;
  font-family: var(--serif); font-size: 15px; font-weight: 900; color: var(--brand);
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chips span { font-size: 13px; padding: 1px 8px; border-radius: 4px; background: var(--sunk); color: var(--ink-2); font-weight: 600; }

.explain { margin-top: 30px; padding: 22px 24px; border-radius: 10px; background: var(--gold-tint); }
.explain h2 { margin: 0 0 8px; color: var(--gold); }
.explain p { font-size: 16.5px; line-height: 1.9; color: #3b3220; }
.explain .warn { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(154, 111, 18, .25); font-size: 14.5px; font-weight: 600; color: var(--brand); }

.checklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--rule); font-size: 16px; }
.checklist li:last-child { border-bottom: 1px solid var(--rule); }
.box { width: 16px; height: 16px; border: 2px solid var(--ink-3); border-radius: 3px; transform: translateY(2px); }

.sources { font-size: 13.5px; color: var(--ink-3); margin-top: 30px; padding-top: 14px; border-top: 2px solid var(--ink); }
.sources b { color: var(--ink-2); }
.share { display: flex; align-items: center; gap: 8px; margin-top: 26px; flex-wrap: wrap; }
.share-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px;
  border: 1px solid var(--rule); border-radius: 18px; background: var(--surface); font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.share-btn:hover { border-color: var(--ink-2); color: var(--ink); }
.share-tip { font-size: 13px; color: var(--teal); font-weight: 600; }

.article-rail { position: sticky; top: 88px; align-self: start; display: flex; flex-direction: column; gap: 20px; }
.article-rail .tl li { font-size: 13.5px; }
.article-rail .tl li.current { background: var(--brand-tint); margin-left: -8px; padding-left: 34px; border-radius: 6px; padding-top: 6px; padding-bottom: 6px; margin-bottom: 8px; }
.article-rail .tl li.current::after { left: 8px; top: 11px; }
.article-rail .tl li.current::before { left: 13px; }

.related { margin-top: 56px; }
.related-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related-card { background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; padding: 16px 18px; }
.related-card h3 { font-family: var(--serif); font-size: 16.5px; font-weight: 700; line-height: 1.5; margin-top: 8px; }
.related-card:hover h3 { color: var(--brand); }

/* ============ Footer ============ */
.site-footer { border-top: 1px solid var(--rule); background: var(--surface); }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding: 36px 0 28px; font-size: 13.5px; color: var(--ink-2); }
.footer-in h2 { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--ink-3); margin-bottom: 10px; }
.footer-in li + li { margin-top: 6px; }
.footer-in a:hover { color: var(--brand); }
.footer-brand p { margin-top: 10px; line-height: 1.75; max-width: 30em; }
.footer-legal { border-top: 1px solid var(--sunk); padding: 14px 0 22px; font-size: 12.5px; color: var(--ink-3); }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .today-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 36px; }
  .cal-row { grid-template-columns: 84px minmax(0, 1fr) auto; }
  .cal-what { grid-column: 2 / 3; }
  .cal-link { grid-row: 1; grid-column: 3; }
  .today { display: none; }
}
@media (max-width: 900px) {
  .header-in { height: auto; flex-wrap: wrap; gap: 0 16px; padding-top: 10px; }
  .nav { order: 3; width: calc(100% + 2 * var(--gutter)); margin: 6px calc(-1 * var(--gutter)) 0; padding: 0 calc(var(--gutter) - 12px); overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--rule); }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: none; padding: 10px 12px; }
  .nav a[aria-current="page"]::after { bottom: 0; }
  .search input, .search input:focus { width: 180px; }
  .today-grid, .article-layout, .archive { grid-template-columns: 1fr; }
  .rail { display: grid; grid-template-columns: 1fr 1fr; }
  .events, .lanes { grid-template-columns: 1fr; }
  .filters { position: static; display: flex; flex-direction: column; gap: 12px; }
  .filter-group + .filter-group { margin-top: 0; }
  .filter-group h2 { margin-bottom: 6px; }
  .filter-list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .filter-list::-webkit-scrollbar { display: none; }
  .filter-btn { width: auto; flex: none; gap: 6px; border: 1px solid var(--rule); background: var(--surface); }
  .article-rail { position: static; }
  .related-list { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .brand-tag { display: none; }
  .search input, .search input:focus { width: 38px; padding: 0; color: transparent; cursor: pointer; }
  .search input::placeholder { color: transparent; }
  .search.open { position: static; }
  .search.open input { position: absolute; left: var(--gutter); right: var(--gutter); top: 12px; width: auto; padding: 0 12px 0 34px; color: var(--ink); z-index: 2; }
  .search.open input::placeholder { color: var(--ink-3); }
  .search.open svg { left: calc(var(--gutter) + 11px); top: 22px; z-index: 3; }
  .search-results { left: var(--gutter); right: var(--gutter); top: 54px; width: auto; }
  .market-meta .asof { display: none; }
  .market-meta { padding-left: 10px; }
  .section { margin-top: 34px; }
  .section-head h2 { font-size: 21px; }
  .keyfigs { grid-template-columns: 1fr; }
  .keyfig, .keyfig + .keyfig { padding: 12px 0; border-left: 0; display: flex; align-items: baseline; gap: 12px; }
  .keyfig + .keyfig { border-top: 1px solid var(--rule); }
  .keyfig b { font-size: 24px; flex: none; }
  .keyfig span { margin-top: 0; }
  .callouts { grid-template-columns: 1fr; }
  .story-row { grid-template-columns: 1fr; }
  .story-row .time { grid-row: 1; }
  .rail { grid-template-columns: 1fr; }
  .event { padding: 18px 18px 16px; }
  .event-head { flex-wrap: wrap; }
  .event-head .status { margin-left: 0; order: -1; }
  .cal-group h3 { padding: 10px 16px; }
  .cal-row { grid-template-columns: 64px minmax(0, 1fr); gap: 4px 14px; padding: 14px 16px; }
  .cal-date { grid-row: span 3; }
  .cal-what, .cal-link { grid-column: 2; grid-row: auto; }
  .cal-note { padding: 12px 16px; }
  .entry { grid-template-columns: 1fr; gap: 0; }
  .entry-time { display: none; }
  .prose { font-size: 16.5px; }
  .explain { padding: 18px; }
  .footer-in { grid-template-columns: 1fr; }
}

/* ============ Compat: 停更频道页与关于页的旧内容类（2026-11-04 改版保留） ============ */
.sec-banner { border-radius: 10px; color: #fff; padding: 22px 24px; margin: 28px 0 18px; }
.sec-banner h1 { font-family: var(--serif); font-size: 26px; font-weight: 900; letter-spacing: .04em; }
.sec-banner p { font-size: 14px; opacity: .92; margin-top: 4px; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 40px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; padding: 18px 20px; }
.card.wide { grid-column: 1 / -1; }
.card .row1 { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 7px; }
.card .time { font-size: 12.5px; color: var(--ink-3); }
.card h3 { font-family: var(--serif); font-size: 18px; font-weight: 700; line-height: 1.45; margin-bottom: 7px; }
.card h3 a:hover { color: var(--brand); }
.card ul { margin: 4px 0 4px 20px; font-size: 14.5px; color: var(--ink-2); }
.card li { margin-bottom: 3px; }
.card p { font-size: 14.5px; color: var(--ink-2); }
.chip { font-size: 11px; padding: 1px 8px; border-radius: 10px; color: #fff; font-weight: 600; }
.chip.fin { background: #8a6508; } .chip.ent { background: #c2185b; } .chip.spt { background: #1e8449; }
.chip.auto { background: #2471a3; } .chip.elec { background: #0f766e; } .chip.ai { background: #6c3483; }
.plain { background: var(--gold-tint); border: 1px dashed rgba(154,111,18,.45); border-radius: 8px; padding: 9px 13px; font-size: 13.5px; margin-top: 9px; color: #3b3220; }
.plain b { color: var(--gold); }
.next { font-size: 13px; color: var(--ink-3); margin-top: 9px; }
.next b { color: var(--ink); }
.card .src, .src { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; border-top: 1px dashed var(--rule); padding-top: 8px; }
.cover-img { width: 100%; height: auto; display: block; border-radius: 8px; margin-bottom: 12px; }
.imgnote { font-size: 12px; color: var(--ink-3); margin: -6px 0 10px; }
.article-wrap { max-width: 840px; margin: 0 auto; padding-bottom: 40px; }
.crumb { font-size: 13px; color: var(--ink-3); margin: 26px 0 10px; }
.article-title { font-family: var(--serif); font-size: 30px; font-weight: 900; line-height: 1.4; margin: 8px 0 16px; }
.article-body { font-size: 16px; line-height: 1.9; color: var(--ink-2); }
.article-body ul { margin: 8px 0 8px 22px; }
.article-body li { margin-bottom: 5px; }
.article-body p { margin-bottom: 10px; }
.article-body b { color: var(--ink); }

/* ---- 2026-11-05 第一批改进：证据链 / 更正记录 / 行情标注 ---- */
.src-links { font-size: 13.5px; color: var(--ink-3); margin-top: 10px; }
.src-links b { color: var(--ink-2); }
.src-links a { color: var(--accent, #b03a2e); text-decoration: underline; text-underline-offset: 2px; }
.corrections { margin-top: 30px; padding: 14px 16px; border: 1px solid var(--rule); background: var(--surface); }
.corrections h2 { font-size: 15px; margin: 0 0 8px; }
.corrections ul { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--ink-2); }
.corrections li { margin: 4px 0; }
.corrections .num { color: var(--ink-3); margin-right: 8px; }
.quote-note { font-size: 12px; line-height: 1.7; color: var(--ink-3); margin: 0; padding: 8px 0 10px; }
.market .asof.stale { color: #b03a2e; font-weight: 700; }

/* —— 转化入口：观察列表 / 日历提醒 / 邮箱订阅 —— */
.watch-btn{margin-left:auto;flex:none;appearance:none;border:1px solid var(--line-2,#C9C2B4);background:transparent;color:var(--ink-2,#55534C);font:inherit;font-size:12.5px;font-weight:600;padding:5px 12px;border-radius:999px;cursor:pointer}
.watch-btn:hover{border-color:var(--red,#D2382C);color:var(--red,#D2382C)}
.watch-btn.is-on{background:var(--red,#D2382C);border-color:var(--red,#D2382C);color:#fff}
.event .watch-btn{align-self:flex-start}
.watch-list{display:grid;gap:8px}
.watch-item{display:flex;align-items:center;gap:10px;background:var(--card,#fff);border:1px solid var(--line,#E3DED2);border-radius:10px;padding:10px 14px}
.watch-item a{color:var(--ink,#14161A);font-weight:600;text-decoration:none}
.watch-item a:hover{color:var(--red,#D2382C)}
.watch-remove{margin-left:auto;appearance:none;border:0;background:transparent;color:var(--ink-3,#8A877D);font-size:14px;cursor:pointer;padding:2px 6px}
.watch-remove:hover{color:var(--red,#D2382C)}
.watch-empty{color:var(--ink-2,#55534C);font-size:14px;border:1px dashed var(--line-2,#C9C2B4);border-radius:10px;padding:14px 16px}
.ics-btn{appearance:none;border:1px solid var(--line-2,#C9C2B4);background:transparent;color:var(--ink-2,#55534C);font:inherit;font-size:12px;font-weight:600;padding:3px 9px;border-radius:999px;cursor:pointer;white-space:nowrap}
.ics-btn:hover{border-color:var(--red,#D2382C);color:var(--red,#D2382C)}
.cal-row .ics-btn{justify-self:end}
.checklist .ics-btn{margin-left:8px;vertical-align:1px}
.subscribe{display:grid;gap:14px}
@media(min-width:760px){.subscribe{grid-template-columns:1.2fr 1fr;align-items:center}}
.subscribe h2{margin:6px 0 8px}
.subscribe p{color:var(--ink-2,#55534C);font-size:14.5px;line-height:1.65}
.sub-form{display:flex;flex-wrap:wrap;gap:8px}
.sub-form input{flex:1 1 220px;border:1px solid var(--line-2,#C9C2B4);border-radius:8px;padding:10px 12px;font:inherit;font-size:14.5px;background:#fff;color:var(--ink,#14161A)}
.sub-form button{appearance:none;border:0;background:var(--ink,#14161A);color:#fff;font:inherit;font-weight:700;padding:10px 18px;border-radius:8px;cursor:pointer}
.sub-form button:hover{background:var(--red,#D2382C)}
.sub-msg{flex-basis:100%;font-size:13.5px;color:var(--ink-2,#55534C);min-height:1.2em}
.sub-msg.ok{color:#1E7B34;font-weight:600}
.sub-msg.err{color:var(--red,#D2382C);font-weight:600}

/* 按事件订阅（第一阶段 2026-11-05） */
.event-sub{margin-top:12px;border-top:1px dashed #D8D3C8;padding-top:10px}
.event-sub-t{font-weight:700;margin:0 0 6px;font-size:14px}
.event-sub-row{display:flex;gap:6px}
.event-sub-row input{flex:1;min-width:0;padding:7px 9px;border:1px solid #C9C4B8;border-radius:6px;font:inherit;font-size:14px}
.event-sub-row button{appearance:none;border:0;background:var(--ink,#14161A);color:#fff;font:inherit;font-weight:700;font-size:14px;padding:7px 14px;border-radius:6px;cursor:pointer}
.event-sub-row button:hover{background:var(--red,#D2382C)}
.event-sub .sub-msg{margin:6px 0 0}
.sub-toggle{margin-left:6px}
