/* ==========================================================================
   多元动态 · AI 资讯
   03 HEATWIRE / SWISS BRUTALIST NEWSPAPER EDITORIAL THEME
   经典瑞士报纸野兽派 · 国际电报热度雷达风格
   ========================================================================== */

:root {
  --ink: #111114;
  --paper: #F4F1E9;
  --paper-dim: #E9E4D8;
  --mint: #3BFFC9;
  --heat: #FF3000;
  --rule: 3px solid var(--ink);
  --rule-thin: 2px solid var(--ink);

  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --font-serif: "Newsreader", "Charter", "Georgia", "Songti SC", "SimSun", serif;
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--paper);
}

body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 14.5px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.mono {
  font-family: var(--font-mono), monospace;
}

/* ==========================================================================
   1. TOP WIRE TICKER (03 标志性实时电报跑马灯)
   ========================================================================== */
.ticker {
  background: var(--ink);
  color: var(--paper);
  border-bottom: var(--rule);
  overflow: hidden;
  height: 38px;
  display: flex;
  align-items: stretch;
  position: sticky;
  top: 0;
  z-index: 100;
}

.ticker[hidden] {
  display: none;
}

.ticker-tag {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--mint);
  color: var(--ink);
  font-family: var(--font-mono), monospace;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: .14em;
  padding: 0 16px;
  border-right: var(--rule);
  z-index: 2;
  user-select: none;
}

.ticker-close {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 0 2px 0 -2px;
  padding: 0;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--mint);
  font-size: 18px;
  line-height: 18px;
  font-weight: 800;
  cursor: pointer;
}

.ticker-close:hover {
  background: var(--heat);
  color: var(--paper);
}

.ticker-tag .dot {
  width: 8px;
  height: 8px;
  background: var(--heat);
  display: inline-block;
  animation: ticker-blink 1.2s steps(2, start) infinite;
}

@keyframes ticker-blink {
  to { visibility: hidden; }
}

.ticker-track {
  flex: 1 1 auto;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker-inner {
  display: flex;
  align-items: center;
  width: max-content;
  animation: wire-scroll 65s linear infinite;
}

.ticker-inner:hover {
  animation-play-state: paused;
}

@keyframes wire-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-item-span {
  font-family: var(--font-mono), monospace;
  font-size: 12px;
  letter-spacing: .04em;
  white-space: nowrap;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.ticker-item-span b {
  color: var(--heat);
  font-weight: 700;
}

.ticker-item-span:hover {
  color: var(--mint);
}

.ticker-sep {
  width: 6px;
  height: 6px;
  background: var(--mint);
  display: inline-block;
  flex: 0 0 auto;
}

/* ==========================================================================
   2. TWO-COLUMN WORKSPACE (左侧竖向导航栏 + 右侧主内容区)
   ========================================================================== */
.site-workspace {
  --ticker-offset: 38px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: calc(100vh - var(--ticker-offset));
}

body:has(.ticker[hidden]) .site-workspace,
body:not(:has(.ticker)) .site-workspace {
  --ticker-offset: 0px;
}

/* ==========================================================================
   3. VERTICAL LEFT SIDEBAR (竖向分类导航栏: 内容 / 模型 / 更多)
   ========================================================================== */
.site-sidebar {
  position: sticky;
  top: var(--ticker-offset);
  height: calc(100vh - var(--ticker-offset));
  overflow-y: auto;
  background: var(--paper);
  border-right: var(--rule);
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: var(--ink) var(--paper-dim);
}

.site-sidebar::-webkit-scrollbar {
  width: 5px;
}
.site-sidebar::-webkit-scrollbar-track {
  background: var(--paper-dim);
}
.site-sidebar::-webkit-scrollbar-thumb {
  background: var(--ink);
}

/* Sidebar Brand Block - 英文大 / 中文小 */
.sb-brand {
  padding: 18px 18px 14px;
  border-bottom: var(--rule);
  background: var(--paper);
}

.sb-wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.sb-wordmark .sq {
  width: 12px;
  height: 12px;
  background: var(--heat);
  display: inline-block;
  flex-shrink: 0;
}

.brand-en-title {
  font-family: var(--font-mono), monospace;
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-cn-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.brand-cn-name {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--heat);
  text-transform: uppercase;
}

.brand-cn-tag {
  font-family: var(--font-mono), monospace;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  background: var(--ink);
  color: var(--paper);
  letter-spacing: 0.06em;
}

.sb-tagline {
  font-family: var(--font-mono), monospace;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(var(--ink-rgb), 0.65);
  margin-top: 8px;
  text-transform: uppercase;
}

/* Sidebar Group Headers */
.sb-section-title {
  font-family: var(--font-mono), monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(var(--ink-rgb), 0.6);
  padding: 12px 18px 6px;
  border-bottom: 2px solid var(--ink);
  background: var(--paper-dim);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Sidebar Navigation Items */
.sb-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.sb-nav-item {
  font-family: var(--font-mono), monospace;
  font-size: 12.5px;
  font-weight: 650;
  padding: 9px 18px;
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: var(--paper);
  color: var(--ink);
  transition: background .1s, color .1s;
  user-select: none;
}

.sb-nav-item:hover:not(.active) {
  background: var(--heat);
  color: var(--paper);
}

.sb-nav-item.active {
  background: var(--ink);
  color: var(--paper);
  font-weight: 750;
}

.sb-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sb-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border: 1px solid currentColor;
  border-radius: 0;
}

.sb-nav-item.active .sb-badge {
  background: var(--mint);
  color: var(--ink);
  border-color: var(--mint);
}

.sb-dot-unread {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--heat);
}

/* Sidebar Footer */
.sb-footer {
  margin-top: auto;
  padding: 14px 18px;
  border-top: var(--rule);
  background: var(--paper-dim);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono), monospace;
  font-size: 11px;
}

.sb-live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--ink);
}

.sb-live-dot {
  width: 7px;
  height: 7px;
  background: var(--mint);
  border: 1px solid var(--ink);
  display: inline-block;
}

.sb-admin-btn {
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 6px 10px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  transition: background .12s;
}

.sb-admin-btn:hover {
  background: var(--heat);
  color: var(--paper);
}

.sb-account {
  overflow: hidden;
  color: rgba(var(--ink-rgb), 0.7);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sb-session-form {
  display: contents;
}

.sb-session-btn {
  width: 100%;
  padding: 6px 10px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.sb-session-btn:hover {
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

/* ==========================================================================
   4. RIGHT MAIN WORKSPACE
   ========================================================================== */
.site-content {
  min-width: 0;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}

/* Top Navigation & Status Bar */
.content-topbar {
  border-bottom: var(--rule);
  background: var(--paper);
  padding: 14px 32px 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: var(--ticker-offset);
  z-index: 40;
}

.topbar-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.header-title-box h1 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.1;
}

.header-title-box h1 .sq {
  width: 10px;
  height: 10px;
  background: var(--heat);
  display: inline-block;
}

.header-date-subtitle {
  font-family: var(--font-mono), monospace;
  font-size: 11.5px;
  color: rgba(var(--ink-rgb), 0.65);
  margin-top: 4px;
}

/* 当前热点 TOP 5 (瑞士报纸风格小展板) */
.trending-top5-card {
  flex: 0 0 340px;
  background: var(--paper-dim);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 8px 12px;
}

.top5-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 4px;
  border-bottom: 1.5px solid var(--ink);
  margin-bottom: 6px;
}

.top5-card-title {
  font-family: var(--font-mono), monospace;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top5-card-more {
  font-family: var(--font-mono), monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--heat);
  cursor: pointer;
}

.top5-card-more:hover {
  text-decoration: underline;
}

.top5-card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.top5-card-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono), monospace;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  padding: 2px 4px;
  transition: all .12s;
}

.top5-card-item:hover {
  background: var(--ink);
  color: var(--mint);
}

.top5-rank-n {
  font-weight: 900;
}
.rank-1-color { color: var(--heat); }
.rank-2-color { color: var(--heat); opacity: .85; }
.rank-3-color { color: var(--ink); }
.rank-rest-color { color: rgba(var(--ink-rgb), 0.6); }

/* Horizontal Subcategory Underline Tabs (对标 aihot 经典滑动下划线栏) */
.subtabs-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 2px solid rgba(var(--ink-rgb), 0.15);
  overflow-x: auto;
  scrollbar-width: none;
}
.subtabs-bar::-webkit-scrollbar {
  display: none;
}

.subtab-item {
  position: relative;
  padding: 6px 2px 8px;
  font-family: var(--font-mono), monospace;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(var(--ink-rgb), 0.65);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.12s;
}

.subtab-item:hover {
  color: var(--ink);
}

.subtab-item.active {
  color: var(--ink);
  font-weight: 800;
}

.subtab-item.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--heat);
}

/* Filter Controls Row (Search, Score Segments, Story Count) */
.topbar-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 4px;
  flex-wrap: wrap;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--ink);
  padding: 6px 12px;
  background: var(--paper);
  min-width: 280px;
  transition: background .12s, box-shadow .12s;
}

.search-box:focus-within {
  background: #fff;
  box-shadow: 2px 2px 0 var(--ink);
}

.search-icon {
  color: var(--ink);
  flex-shrink: 0;
}

.search-input {
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-mono), monospace;
  font-size: 12px;
  color: var(--ink);
  width: 100%;
}

.search-input::placeholder {
  color: rgba(var(--ink-rgb), 0.5);
}

.search-key {
  margin-left: auto;
  border: 1.5px solid var(--ink);
  padding: 1px 5px;
  font-family: var(--font-mono), monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--ink);
  background: var(--paper-dim);
}

.topbar-right-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.score-seg {
  display: flex;
  align-items: stretch;
}

.score-seg .btn-seg {
  font-family: var(--font-mono), monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 2px solid var(--ink);
  margin-left: -2px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: background .12s, color .12s;
}

.score-seg .btn-seg:first-child {
  margin-left: 0;
}

.score-seg .btn-seg.active {
  background: var(--ink);
  color: var(--paper);
}

.score-seg .btn-seg:hover:not(.active) {
  background: var(--heat);
  color: var(--paper);
}

.counter-pill {
  font-family: var(--font-mono), monospace;
  font-size: 11.5px;
  color: rgba(var(--ink-rgb), 0.7);
  white-space: nowrap;
}

.counter-pill b {
  color: var(--heat);
  font-weight: 800;
}

/* ==========================================================================
   5. HERO STORY (03 标志性焦点大黑块海报展台)
   ========================================================================== */
.hero {
  background: var(--ink);
  color: var(--paper);
  border-bottom: var(--rule);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.hero .hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr 310px;
  gap: 0 36px;
  padding: 26px 32px 30px;
}

.hero-ghost {
  position: absolute;
  right: -10px;
  bottom: -60px;
  font-weight: 800;
  font-size: 320px;
  line-height: 1;
  letter-spacing: 0;
  color: transparent;
  -webkit-text-stroke: 2px rgba(244, 241, 233, .1);
  user-select: none;
  pointer-events: none;
  font-family: var(--font-mono), monospace;
}

.hero-rail {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-mono), monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--mint);
  text-transform: uppercase;
  border-left: 2px solid var(--mint);
  padding-left: 10px;
  align-self: stretch;
}

.hero-main {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.hazard {
  background: var(--mint);
  color: var(--ink);
  font-family: var(--font-mono), monospace;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .16em;
  padding: 3px 8px;
  text-transform: uppercase;
}

.hero-kicker .meta {
  font-family: var(--font-mono), monospace;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--paper);
}

.hero-kicker .meta b {
  color: var(--heat);
}

.hero h1 {
  font-weight: 750;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  max-width: 28ch;
  color: var(--paper);
  transition: color .12s;
}

.hero:hover h1 {
  color: var(--mint);
}

.hero-summary {
  font-family: var(--font-serif), serif;
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(244, 241, 233, .88);
  max-width: 62ch;
  margin-bottom: 14px;
}

.why {
  max-width: 62ch;
}

.why .why-label {
  font-family: var(--font-mono), monospace;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--heat);
  margin-right: 8px;
  white-space: nowrap;
}

.why em {
  font-family: var(--font-serif), serif;
  font-style: italic;
  font-size: 15px;
  line-height: 1.55;
}

.hero .why {
  margin-bottom: 16px;
}

.hero .why em {
  color: rgba(244, 241, 233, .85);
}

.tags {
  font-family: var(--font-mono), monospace;
  font-size: 11.5px;
  letter-spacing: .05em;
  color: rgba(244, 241, 233, .6);
}

.tags i {
  font-style: normal;
  color: var(--mint);
  padding: 0 6px;
}

/* Proof Panel in Hero */
.proof {
  position: relative;
  z-index: 1;
  border: 3px solid var(--mint);
  padding: 18px 16px;
  align-self: start;
  background: var(--ink);
}

.proof .proof-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.proof .n {
  font-weight: 800;
  font-size: 64px;
  line-height: .82;
  letter-spacing: 0;
  color: var(--mint);
  font-variant-numeric: tabular-nums;
}

.proof .lbl {
  font-family: var(--font-mono), monospace;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.45;
  padding-top: 4px;
  color: var(--paper);
}

.proof .proof-heatline {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 2px solid rgba(244, 241, 233, .2);
  display: flex;
  align-items: center;
  gap: 10px;
}

.heat-meter {
  display: flex;
  gap: 3px;
}

.heat-meter b {
  width: 6px;
  height: 16px;
  border: 1.5px solid var(--heat);
}

.heat-meter b.f {
  background: var(--heat);
}

.heat-n {
  font-weight: 800;
  font-size: 22px;
  color: var(--heat);
  font-variant-numeric: tabular-nums;
}

.heat-lbl {
  font-family: var(--font-mono), monospace;
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: .16em;
  color: var(--heat);
  text-transform: uppercase;
}

/* ==========================================================================
   6. FEED SECTION & STORY ROWS (信息流与整行悬停反相交互)
   ========================================================================== */
.feed-content-area {
  padding: 24px 32px 80px;
  max-width: 1160px;
}

.view-panel {
  display: none;
}
.view-panel.active {
  display: block;
}

.feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: var(--rule);
  margin-bottom: 18px;
}

.feed-head h2 {
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feed-head h2 .sq {
  width: 9px;
  height: 9px;
  background: var(--heat);
  display: inline-block;
}

.feed-head .note {
  font-family: var(--font-mono), monospace;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.feed-head .note b {
  color: var(--heat);
}

/* Day Block Sticky Header */
.day-block {
  margin-bottom: 28px;
}

.day-sticky-title {
  position: sticky;
  top: 136px;
  z-index: 20;
  background: var(--paper);
  padding: 10px 0 8px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: var(--rule);
}

.day-title-text {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.day-meta-text {
  font-family: var(--font-mono), monospace;
  font-size: 11px;
  color: rgba(var(--ink-rgb), 0.65);
}

/* Story Row (3 Columns: Rank, Main Content, Proof Vitals) */
.story-list {
  display: flex;
  flex-direction: column;
}

.story {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 220px;
  gap: 0 28px;
  padding: 18px 0 20px;
  border-top: var(--rule);
  transition: background .12s, color .12s, box-shadow .12s;
  position: relative;
  cursor: pointer;
}

.story:last-of-type {
  border-bottom: var(--rule);
}

/* KILLER HOVER EFFECT: Inverted row on mouse over! */
.story:hover {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 32px 0 0 var(--ink), -32px 0 0 var(--ink);
  z-index: 2;
}

.rank {
  font-weight: 800;
  font-size: 54px;
  line-height: .82;
  letter-spacing: 0;
  color: transparent;
  -webkit-text-stroke: 1.8px var(--ink);
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
  font-family: var(--font-mono), monospace;
  user-select: none;
}

.story:hover .rank {
  -webkit-text-stroke: 0;
  color: var(--heat);
}

.s-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.cat {
  font-family: var(--font-mono), monospace;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1.5px solid currentColor;
  padding: 1px 6px;
}

.s-kicker .t {
  font-family: var(--font-mono), monospace;
  font-size: 11px;
  letter-spacing: .06em;
  opacity: .7;
}

.story h3 {
  font-weight: 750;
  font-size: 19px;
  line-height: 1.28;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  max-width: 48ch;
}

.story h3 a:hover {
  color: var(--heat);
}

.story:hover h3 a:hover {
  color: var(--mint);
}

.s-summary {
  font-size: 13.5px;
  line-height: 1.6;
  max-width: 68ch;
  margin-bottom: 8px;
  color: inherit;
  opacity: .85;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story .why {
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 68ch;
}

.story .why em {
  opacity: .9;
}

.story .tags {
  color: inherit;
  opacity: .6;
  font-size: 11px;
}

.story .tags i {
  color: var(--heat);
}

.story:hover .tags i {
  color: var(--mint);
}

/* Right Proof & Actions Column */
.s-proof {
  border-left: 2px solid var(--ink);
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: border-color .12s;
}

.story:hover .s-proof {
  border-left-color: var(--mint);
}

.s-src {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.s-src .n {
  font-weight: 800;
  font-size: 36px;
  line-height: .82;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.story:hover .s-src .n {
  color: var(--mint);
}

.s-src .lbl {
  font-family: var(--font-mono), monospace;
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.s-actions-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.story-btn {
  appearance: none;
  background: transparent;
  border: 1.5px solid currentColor;
  color: inherit;
  padding: 4px 7px;
  border-radius: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .12s;
  font-size: 11px;
  font-family: var(--font-mono), monospace;
  font-weight: 600;
}

.story-btn:hover {
  background: var(--heat);
  border-color: var(--heat);
  color: #fff;
}

.story:hover .story-btn:hover {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--ink);
}

.story-btn.is-starred {
  background: var(--heat);
  border-color: var(--heat);
  color: #fff;
}

/* ==========================================================================
   7. TOPIC MODAL / TAXONOMY DRAWER (核心主题全景抽屉 - 瑞士报纸纸墨版)
   ========================================================================== */
.topic-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(var(--ink-rgb), 0.7);
  backdrop-filter: blur(4px);
  z-index: 250;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.topic-modal-overlay.open {
  display: flex;
}

.topic-modal-window {
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  width: 100%;
  max-width: 960px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.topic-modal-head {
  padding: 16px 22px;
  border-bottom: 2.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper-dim);
}

.topic-modal-head h2 {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.topic-modal-close {
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 4px 10px;
  font-family: var(--font-mono), monospace;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
}

.topic-modal-close:hover {
  background: var(--heat);
}

.topic-modal-body {
  padding: 22px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: var(--paper);
}

.topic-col-title {
  font-family: var(--font-mono), monospace;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}

.topic-chips-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.topic-card-chip {
  padding: 8px 10px;
  background: #fff;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  transition: all .12s;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.topic-card-chip:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translate(-1px, -1px);
  box-shadow: 2px 2px 0 var(--heat);
}

.topic-chip-name {
  font-size: 13px;
  font-weight: 750;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topic-card-chip:hover .topic-chip-name {
  color: var(--mint);
}

.topic-chip-desc {
  font-size: 11px;
  opacity: .8;
  line-height: 1.35;
}

.topic-card-chip:hover .topic-chip-desc {
  color: rgba(244, 241, 233, 0.8);
}

/* ==========================================================================
   8. BENCHMARK, LEADERBOARD, & AGENT VIEWS
   ========================================================================== */
.hot-board-grid {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.hot-entity-card {
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  transition: all .12s;
}

.hot-entity-card:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--heat);
}

.hot-entity-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hot-rank-num {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 900;
  width: 32px;
  text-align: center;
}

.hot-entity-card:hover .hot-rank-num {
  color: var(--heat);
}

.hot-entity-info h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 2px;
}

.hot-entity-card:hover .hot-entity-info h3 {
  color: var(--mint);
}

.hot-entity-info p {
  font-size: 12px;
  opacity: .75;
}

.hot-entity-heat {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 800;
  color: var(--heat);
  border: 1.5px solid currentColor;
  padding: 3px 8px;
}

.hot-entity-card:hover .hot-entity-heat {
  background: var(--heat);
  color: #fff;
  border-color: var(--heat);
}

/* Page-specific controls must stay hidden even where a layout sets display. */
[hidden] { display: none !important; }
.topics-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 24px 0; }
.topics-page .topic-card-chip { display: block; text-decoration: none; color: var(--ink); }
.topics-page .topic-chip-name { flex-wrap: wrap; gap: 6px; }
.topics-page .topic-col { min-width: 0; }
.favorites-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0; color: rgba(var(--ink-rgb), .75); font-size: 13px; }
.favorites-tools button { border: 1px solid var(--ink); color: var(--ink); background: var(--paper); padding: 8px 12px; cursor: pointer; }
.event-favorite-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin: 18px 0; font-size: 13px; }
.favorite-feedback { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 1000; padding: 12px 18px; max-width: calc(100vw - 32px); background: var(--ink); color: var(--paper); border: 1px solid var(--paper); box-shadow: 3px 3px 0 var(--heat); font-size: 13px; }
.favorite-feedback[data-failed="true"] { border-color: var(--heat); }
.star-btn:disabled { cursor: progress; opacity: .65; }
@media (max-width: 1100px) { .topics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .topics-grid { grid-template-columns: 1fr; gap: 18px; } }

/* Benchmark Table */
.benchmark-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  margin-top: 14px;
}

.benchmark-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.benchmark-table th, .benchmark-table td {
  padding: 12px 14px;
  border-bottom: 1.5px solid var(--ink);
}

.benchmark-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  background: var(--paper-dim);
}

.benchmark-table tr:hover td {
  background: var(--paper-dim);
}

/* Agent Card */
.agent-endpoint-card {
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 20px;
  margin-top: 14px;
}

.agent-code-box {
  background: var(--ink);
  color: var(--mint);
  border: 1.5px solid var(--ink);
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  margin-top: 10px;
  overflow-x: auto;
}

/* ==========================================================================
   9. SLIDE-OVER READER DRAWER (瑞士报纸野兽派研报抽屉)
   ========================================================================== */
.reader-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(var(--ink-rgb), 0.65);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  display: flex;
  justify-content: flex-end;
}

.reader-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.reader-drawer {
  width: min(680px, 92vw);
  height: 100vh;
  background: var(--paper);
  border-left: var(--rule);
  box-shadow: -10px 0 30px rgba(var(--ink-rgb), 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .24s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.reader-drawer-overlay.open .reader-drawer {
  transform: translateX(0);
}

.drawer-head {
  padding: 18px 22px;
  border-bottom: var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 10;
}

.drawer-close-btn {
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono), monospace;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 12px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background .12s;
}

.drawer-close-btn:hover {
  background: var(--heat);
}

.drawer-body {
  padding: 26px 26px 60px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drawer-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
}

.drawer-meta-line {
  font-family: var(--font-mono), monospace;
  font-size: 11.5px;
  color: rgba(var(--ink-rgb), 0.7);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.drawer-section-title {
  font-family: var(--font-mono), monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 5px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.drawer-summary-box {
  font-family: var(--font-serif), serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--ink);
  padding: 14px 16px;
}

.drawer-why-box {
  background: #fff;
  border: 2px solid var(--heat);
  border-left: 6px solid var(--heat);
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.6;
}

.drawer-sources-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-source-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border: 1.5px solid var(--ink);
  background: #fff;
  font-family: var(--font-mono), monospace;
  font-size: 12px;
  transition: background .12s;
}

.drawer-source-item:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ==========================================================================
   10. DAILY DIGEST VIEW
   ========================================================================== */
.digest-page {
  padding: 10px 0 60px;
}

.digest-head {
  border-bottom: var(--rule);
  padding-bottom: 18px;
  margin-bottom: 8px;
}

.digest-head .k {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono), monospace;
  font-size: 11.5px;
  letter-spacing: .14em;
  font-weight: 700;
  margin-bottom: 8px;
}

.digest-head .k .sq {
  width: 8px;
  height: 8px;
  background: var(--heat);
}

.digest-head h1 {
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: 0;
  line-height: 1.1;
}

.digest-head h1 em {
  font-style: italic;
  font-family: var(--font-serif), serif;
  font-weight: 600;
}

.digest-intro {
  font-family: var(--font-serif), serif;
  font-size: 16px;
  line-height: 1.65;
  padding: 16px 0;
  border-bottom: 1.5px solid rgba(var(--ink-rgb), .2);
}

.digest-cat {
  margin-top: 28px;
}

.digest-cat > h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  text-transform: uppercase;
  border-bottom: var(--rule);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.digest-cat > h2 .sq {
  width: 8px;
  height: 8px;
  background: var(--heat);
}

.digest-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(var(--ink-rgb), .16);
}

.digest-item h3 {
  font-size: 17px;
  line-height: 1.3;
}

.digest-item h3 a:hover {
  background: var(--ink);
  color: var(--paper);
}

.digest-item .why {
  margin-top: 6px;
}

.digest-item .meta-line {
  font-family: var(--font-mono), monospace;
  font-size: 11.5px;
  color: rgba(var(--ink-rgb), .65);
  margin-top: 5px;
}

/* ==========================================================================
   11. RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .site-workspace {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .hero .hero-inner {
    grid-template-columns: 1fr;
    gap: 20px 0;
  }
  .hero-rail {
    display: none;
  }
  .hero-ghost {
    display: none;
  }
  .proof {
    max-width: 480px;
  }
  .story {
    grid-template-columns: 60px minmax(0, 1fr);
  }
  .s-proof {
    grid-column: 2;
    border-left: none;
    border-top: 1.5px solid var(--ink);
    padding-left: 0;
    padding-top: 10px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .topic-modal-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-workspace {
    grid-template-columns: 1fr;
  }
  .site-sidebar {
    position: relative;
    top: 0;
    height: auto;
    border-right: none;
    border-bottom: var(--rule);
  }
  .content-topbar {
    position: relative;
    top: 0;
    padding: 12px 18px;
  }
  .topbar-header-row {
    flex-direction: column;
  }
  .trending-top5-card {
    width: 100%;
    flex: 1 1 auto;
  }
  .feed-content-area {
    padding: 16px 18px 60px;
  }
  .story {
    grid-template-columns: 1fr;
  }
  .story .rank {
    display: none;
  }
  .s-proof {
    grid-column: 1;
  }
  .story:hover {
    box-shadow: none;
  }
}

.panel-intro {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(var(--ink-rgb), .72);
}

.agent-workspace .agent-endpoint-card h2 {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.5;
}
.hot-stats-note { margin: 16px 0; color: rgba(var(--ink-rgb), .72); font-size: 13px; line-height: 1.8; }

.feed-load-sentinel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 82px;
  padding: 18px 0 36px;
  color: rgba(var(--ink-rgb), 0.58);
  font-family: var(--font-mono), monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.feed-load-sentinel button {
  padding: 8px 14px;
  color: var(--ink);
  background: var(--mint);
  border: 1px solid var(--ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
}

.feed-load-sentinel button:disabled {
  cursor: wait;
  opacity: 0.6;
}

/* ==========================================================================
   EVENT DETAIL PAGE (03 Heatwire 原汁原味事件研报大版式)
   ========================================================================== */
header.site {
  border-bottom: var(--rule);
  background: var(--paper);
}

.masthead {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 32px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "brand nav tools";
  align-items: center;
  gap: 14px 24px;
}

.wordmark {
  font-family: var(--font-mono), monospace;
  font-weight: 900;
  font-size: 27px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  grid-area: brand;
  display: grid;
  justify-self: start;
  gap: 8px;
  white-space: nowrap;
}

.wordmark-name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wordmark .sq {
  width: 11px;
  height: 11px;
  background: var(--heat);
  flex: 0 0 auto;
  display: inline-block;
}

.wordmark small {
  font-family: var(--font-mono), monospace;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .04em;
  line-height: 1.4;
  color: var(--ink);
}

nav.primary {
  grid-area: nav;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  min-width: 0;
  gap: 6px;
}

nav.primary a {
  font-family: var(--font-display), sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  padding: 7px 12px;
  border: 1px solid var(--ink);
  min-height: 36px;
  line-height: 20px;
  white-space: nowrap;
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
  transition: background-color .12s, color .12s;
}

nav.primary a.active,
nav.primary .mast-back,
nav.primary a:hover {
  background: var(--ink);
  color: var(--paper);
}

.mast-tools {
  grid-area: tools;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
  min-width: 0;
}

.mast-tools form {
  display: flex;
  flex: 0 0 auto;
}

.mast-account {
  min-width: 0;
  max-width: 180px;
  overflow: hidden;
  font-family: var(--font-mono), monospace;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mast-session-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 6px 10px;
  min-height: 36px;
  line-height: 20px;
  white-space: nowrap;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono), monospace;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.mast-session-link:hover {
  background: var(--ink);
  color: var(--paper);
}

.masthead :is(a, button) {
  touch-action: manipulation;
}

.masthead :is(a, button):focus-visible {
  outline: 3px solid var(--heat);
  outline-offset: 3px;
}

@media (max-width: 1199px) {
  .masthead {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand tools" "nav nav";
  }
  nav.primary { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .masthead { gap: 14px 12px; }
  .wordmark { font-size: 23px; }
  .wordmark small { font-size: 9px; }
  .mast-account { display: none; }
  nav.primary a { padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  nav.primary a { transition: none; }
}

/* Event Main Container */
.event-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 56px 40px 80px;
  color: var(--ink);
}

.event-page .s-kicker {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono), monospace;
  font-size: 13px;
}

.event-page .s-kicker .cat {
  background: var(--ink);
  color: var(--paper);
  padding: 3px 8px;
  font-weight: 700;
}

.event-page .s-kicker .t {
  color: rgba(var(--ink-rgb), .7);
}

.event-page h1 {
  font-family: var(--font-display), sans-serif;
  font-size: clamp(32px, 3.8vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 900;
  margin-bottom: 24px;
  color: var(--ink);
}

.event-page .s-summary {
  font-family: var(--font-display), sans-serif;
  font-size: 19px;
  line-height: 1.65;
  max-width: 75ch;
  margin-bottom: 28px;
  color: var(--ink);
}

.event-page .why {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 14px 18px;
  margin: 24px 0 34px;
  border-left: 5px solid var(--heat);
  background: rgba(255, 48, 0, 0.06);
}

.event-page .why-label {
  font-family: var(--font-mono), monospace;
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--heat);
  flex-shrink: 0;
}

.event-page .why em {
  min-width: 0;
  overflow-wrap: anywhere;
  font-style: normal;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}

/* Proof Metric Panel */
.proof {
  position: relative;
  z-index: 1;
  border: 3px solid var(--mint);
  padding: 26px 28px 24px;
  background: var(--ink);
  color: var(--paper);
  max-width: 480px;
  margin: 34px 0;
}

.proof .proof-top {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.proof .n {
  font-family: var(--font-mono), monospace;
  font-weight: 900;
  font-size: 96px;
  line-height: 0.82;
  letter-spacing: -0.04em;
  color: var(--mint);
  font-variant-numeric: tabular-nums;
}

.proof .lbl {
  font-family: var(--font-mono), monospace;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.6;
  padding-top: 8px;
  color: var(--paper);
}

.proof .lbl .langline {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.proof .langb {
  background: rgba(244, 241, 233, 0.18);
  padding: 2px 6px;
  font-size: 11px;
  color: var(--paper);
}

.proof .favs {
  margin-top: 20px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.proof .favs img {
  border-radius: 4px;
  background: #fff;
  padding: 2px;
}

.proof .heatline {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 2px solid rgba(244, 241, 233, 0.2);
  display: flex;
  align-items: center;
  gap: 14px;
}

.proof .heat-lbl {
  font-family: var(--font-mono), monospace;
  font-size: 11.5px;
  letter-spacing: .14em;
  color: rgba(244, 241, 233, 0.7);
  text-transform: uppercase;
}

.proof .heat-meter {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.proof .heat-meter b {
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--heat);
  display: inline-block;
}

.proof .heat-meter b.f {
  background: var(--heat);
}

.proof .heat-n {
  font-family: var(--font-mono), monospace;
  font-weight: 800;
  font-size: 16px;
  color: var(--heat);
}

/* Coverage List */
.coverage {
  margin-top: 44px;
  border-top: var(--rule);
}

.coverage h2 {
  font-family: var(--font-mono), monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  padding: 16px 0;
  color: var(--ink);
  text-transform: uppercase;
}

.coverage-item {
  display: grid;
  grid-template-columns: 160px 1fr 140px;
  gap: 18px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid rgba(var(--ink-rgb), 0.15);
}

.coverage-item .src {
  font-family: var(--font-mono), monospace;
  font-weight: 800;
  font-size: 13.5px;
  color: var(--ink);
}

.coverage-item .ttl {
  font-family: var(--font-display), sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

.coverage-item .ttl a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.3);
  transition: background .12s, color .12s;
}

.coverage-item .ttl a:hover {
  background: var(--ink);
  color: var(--paper);
}

.coverage-item .when {
  text-align: right;
  font-family: var(--font-mono), monospace;
  font-size: 12px;
  color: rgba(var(--ink-rgb), 0.65);
}

/* Event Page Footer */
footer.site {
  background: var(--paper);
  border-top: var(--rule);
  padding: 42px 0 48px;
  margin-top: 60px;
}

footer.site .container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 40px;
}

.f-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.15);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.f-brand .wm {
  font-family: var(--font-mono), monospace;
  font-weight: 900;
  font-size: 24px;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.f-brand .wm .sq {
  width: 8px;
  height: 8px;
  background: var(--heat);
  display: inline-block;
}

.f-brand a {
  font-family: var(--font-mono), monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.f-brand a:hover {
  color: var(--heat);
}

.f-eu {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono), monospace;
  font-size: 12px;
  color: rgba(var(--ink-rgb), 0.65);
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 768px) {
  .masthead {
    padding: 16px;
  }
  .event-page {
    padding: 32px 18px 60px;
  }
  .coverage-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .coverage-item .when {
    text-align: left;
  }
}
/* Per-item evidence, never substitute missing native metrics with zero. */
.content-signals { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; font-size: 12px; opacity: .8; }
.content-signals span { border: 1px solid currentColor; padding: 3px 6px; }
.extracted-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.85; margin-top: 20px; }

.event-page .extracted-body {
  font-family: var(--font-display), sans-serif;
  font-size: 19px;
  line-height: 1.65;
}
.event-next {
  display: block;
  margin-top: 28px;
  padding: 20px 0;
  border-top: var(--rule-thin);
  font-family: var(--font-display), sans-serif;
}
.event-next span {
  display: block;
  margin-bottom: 8px;
  color: var(--heat);
  font-weight: 800;
}
.event-next strong { font-size: 19px; overflow-wrap: anywhere; }
.event-next:hover strong { text-decoration: underline; }
.event-next:focus-visible { outline: 2px solid var(--heat); outline-offset: 4px; }
.event-end { margin-top: 24px; }

.event-page .body-heading { margin-top: 24px; }
.original-toggle { margin-top: 3em; }
.original-toggle summary {
  width: fit-content;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  background: var(--paper-dim);
  font-family: var(--font-display), sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.original-toggle summary:hover { background: var(--mint); }
.event-action {
  font-family: var(--font-mono), monospace;
  font-weight: 700;
  font-size: 14px;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 20px;
  text-decoration: none;
  border: 2px solid var(--ink);
}
.event-next-list { margin-top: 28px; padding-top: 20px; border-top: var(--rule-thin); }
.event-next-list h2 { color: var(--heat); font-size: 16px; margin-bottom: 12px; }
.event-next-list ol { padding-left: 26px; }
.event-next-list li { padding: 12px 0; border-bottom: 1px solid var(--paper-dim); }
.event-next-list a { font-family: var(--font-display), sans-serif; font-size: 19px; font-weight: 700; overflow-wrap: anywhere; }
.event-next-list a:hover { color: var(--heat); }
.event-next-row { display: flex; align-items: baseline; gap: 12px 20px; flex-wrap: wrap; }
.event-next-row a { flex: 1 1 260px; min-width: 0; }
.event-next-score { color: var(--heat); font-size: 14px; white-space: nowrap; }
.event-next-score strong { font-size: 20px; }

.event-page .event-metrics {
  align-items: center;
  opacity: 1;
}
.event-page .event-metrics .event-score {
  border: 0;
  padding: 0;
  margin-right: 8px;
  color: var(--heat);
  font-size: 15px;
  font-weight: 800;
}
.event-page .event-score strong {
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 480px) {
  .event-page .why {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
}
/* Repeated coverage stays reachable without occupying another featured card. */
.related-coverage { margin-top: 12px; font-size: 12px; line-height: 1.7; }
.related-coverage summary { cursor: pointer; color: var(--heat); }
.related-coverage ul { margin: 8px 0 0; padding-left: 18px; }
.related-coverage li { margin: 4px 0; overflow-wrap: anywhere; }
.related-coverage li a + a { margin-left: 8px; white-space: nowrap; }

/* Reading layout: let titles, summaries and source evidence carry the page. */
.sb-section-title {
  border: 0;
  background: transparent;
  font: 400 12px/1.5 var(--font-display), sans-serif;
  letter-spacing: 0;
  padding-top: 20px;
}
.sb-nav-item {
  font-family: var(--font-display), sans-serif;
  font-size: 14px;
  font-weight: 400;
  border-bottom: 0;
  min-height: 42px;
}
.sb-nav-item.active, .sb-nav-item:hover:not(.active) {
  color: var(--heat);
  background: var(--paper-dim);
  box-shadow: none;
}
.sb-nav-item.active { font-weight: 600; }
.sb-badge, .sb-nav-item.active .sb-badge {
  background: transparent;
  color: inherit;
  border: 0;
  font-weight: 400;
}
.sb-footer { background: transparent; border-top-width: 1px; }
.site-sidebar, .content-topbar, .reports-header { border-width: 1px; }
.subtab-item {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: var(--font-display), sans-serif;
  font-size: 13px;
  letter-spacing: 0;
  min-height: 36px;
}
.subtab-item:focus-visible { outline: 2px solid var(--focus, var(--heat)); outline-offset: -2px; }
.search-box, .score-seg .btn-seg { border-width: 1px; box-shadow: none; }
.score-seg .btn-seg { margin-left: -1px; min-height: 36px; }
.story { gap: 0 22px; grid-template-columns: 44px minmax(0, 1fr) 162px; padding: 24px 0; border-top: 1px solid rgba(var(--ink-rgb), .18); }
.story:last-of-type { border-bottom: 1px solid rgba(var(--ink-rgb), .18); }
.story:hover { background: var(--paper-dim); color: var(--ink); box-shadow: none; }
.story .rank, .story:hover .rank { font-size: 24px; line-height: 1.3; font-weight: 400; color: var(--muted, rgba(var(--ink-rgb), .65)); -webkit-text-stroke: 0; }
.story h3 { font-size: 24px; line-height: 1.45; margin-bottom: 10px; max-width: none; }
.story:hover h3 a:hover { color: var(--heat); }
.s-kicker .t, .cat, .tags { font-family: var(--font-display), sans-serif; letter-spacing: 0; }
.cat { border: 0; padding: 0; font-size: 12px; font-weight: 400; color: var(--heat); }
.s-kicker .t { font-size: 12px; }
.s-summary, .hero-summary, .why, .why em, .why-text {
  font-family: var(--font-display), sans-serif;
  font-size: 15px;
  line-height: 1.8;
  font-style: normal;
  font-weight: 400;
  color: var(--ink);
  opacity: 1;
  overflow-wrap: anywhere;
  max-width: none;
}
.why .why-label, .event-page .why-label {
  font-family: var(--font-display), sans-serif;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--muted, rgba(var(--ink-rgb), .7));
}
.story .why { max-width: none; }
.story .tags { font-size: 12px; }
.story:hover .tags i { color: var(--heat); }
.s-proof, .story:hover .s-proof { border-left: 1px solid rgba(var(--ink-rgb), .18); padding-left: 16px; }
.s-src .n, .story:hover .s-src .n { font-size: 30px; font-weight: 600; line-height: 1.2; color: var(--ink); }
.s-actions-row { flex-wrap: wrap; gap: 0 4px; }
.story-btn {
  border: 0;
  padding: 6px;
  min-height: 36px;
  font: 400 14px/1.5 var(--font-display), sans-serif;
  transition: color .12s, background .12s;
}
.story-btn:hover, .story:hover .story-btn:hover, .story-btn.is-starred {
  background: transparent;
  color: var(--heat);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.story-btn:disabled { cursor: wait; opacity: .65; }
.content-signals > span { border: 0; padding: 0; background: transparent; }
.day-sticky-title { border-bottom-width: 1px; }
.hero { color: var(--ink); background: var(--paper); border-bottom-width: 1px; }
.hero .hero-inner { grid-template-columns: minmax(0, 1fr) 162px; gap: 22px; }
.hero h1 { font-size: 28px; line-height: 1.4; max-width: none; color: var(--ink); }
.hero:hover h1 { color: var(--heat); }
.hero-kicker .meta { color: var(--muted, rgba(var(--ink-rgb), .7)); font-family: var(--font-display), sans-serif; letter-spacing: 0; }
.hero .proof { border: 0; border-left: 1px solid rgba(var(--ink-rgb), .18); padding: 0 0 0 16px; margin: 0; background: transparent; color: var(--ink); display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; }
.hero .proof .heat-n { font-size: 30px; color: var(--ink); }
.hero .tags, .hero .tags i { color: var(--muted, rgba(var(--ink-rgb), .7)); }
.event-page .s-summary, .event-page .why, .event-page .why em, .event-page .why-text { font: 400 17px/1.8 var(--font-display), sans-serif; }
.event-page .why { display: block; padding: 0; background: transparent; border: 0; }
.event-page .why-label { display: block; margin-bottom: 4px; }
.event-page .event-metrics { gap: 14px; }
.event-favorite-actions { flex-wrap: wrap; gap: 6px 12px; }
:is(.topic-modal-window, .hot-entity-card, .benchmark-table-wrap, .agent-endpoint-card) { box-shadow: none; }
@media (max-width: 1100px) {
  .story { grid-template-columns: 36px minmax(0, 1fr); }
  .s-proof { grid-column: 2; border-left: 0; padding-left: 0; flex-direction: row; align-items: center; margin-top: 16px; }
  .story:hover .s-proof { border-left: 0; }
  .s-actions-row { margin-top: 0; }
  .hero .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero .proof { border: 0; padding: 0; flex-direction: row; align-items: center; }
}
@media (max-width: 768px) {
  .story { grid-template-columns: minmax(0, 1fr); padding: 22px 0; }
  .story h3, .hero h1 { font-size: 20px; }
  .s-proof { grid-column: 1; }
  .hero .hero-inner { padding: 22px 18px; }
  .event-page .s-summary, .event-page .why, .event-page .why-text { font-size: 16px; }
}

/* Current Chinese brand; keep legacy class names for compatibility. */
.sb-wordmark .brand-en-title { font-family: var(--font-display); font-size: 27px; letter-spacing: 1px; font-weight: 650; }
.brand-tagline { margin-top: 10px; color: rgba(var(--ink-rgb), .68); font: 400 14px/1.7 var(--font-display); max-width: 42em; }
.wordmark-name, .login-brand { font-family: var(--font-display); }
@media(max-width:600px) { .brand-tagline { font-size: 13px; } }
