/* === Reset / 盒模型基线 === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; font: inherit; color: inherit; cursor: pointer; }
input, textarea { font: inherit; border: none; outline: none; }
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* === 排版基线 === */
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Noto Sans SC", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
::selection { background: var(--brand-soft); color: var(--text-strong); }

/* === 语义变量 :root === */
:root {
  --canvas: #f6f7f9;
  --surface: #ffffff;
  --surface-hover: #eef1f5;
  --brand: #3360c4;
  --brand-hover: #2850a8;
  --brand-soft: rgba(51, 96, 196, 0.08);
  --on-brand: #ffffff;
  --text-strong: #101418;
  --text-primary: #232a33;
  --text-secondary: #525d6d;
  --text-tertiary: #687281;
  --border: rgba(20, 30, 45, 0.08);
  --max: 1180px;
  --gutter: 24px;
  --nav-height: 58px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 999px;
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.05), 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-md: 0 6px 18px rgba(16, 24, 40, 0.07), 0 2px 6px rgba(16, 24, 40, 0.05);
  --shadow-lg: 0 16px 44px rgba(16, 24, 40, 0.1), 0 4px 12px rgba(16, 24, 40, 0.06);
  --transition: 220ms cubic-bezier(0.33, 1, 0.68, 1);
  --font-mono: "SF Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}

/* === 自定义滚动条 === */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(16, 24, 40, 0.14); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(16, 24, 40, 0.26); }
* { scrollbar-width: thin; scrollbar-color: rgba(16, 24, 40, 0.14) transparent; }

/* === 导航 === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-height);
  display: flex; align-items: center;
  padding: 0 var(--gutter);
  background: rgba(246, 247, 249, 0.86);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center;
  width: 100%; max-width: var(--max); margin: 0 auto;
  gap: 28px;
}
.nav-logo {
  display: flex; align-items: center; gap: 9px;
  font-size: 17px; font-weight: 700; letter-spacing: 1px;
  color: var(--text-strong);
}
.nav-logo-mark {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-mark svg { width: 14px; height: 14px; color: var(--on-brand); }
.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-link {
  position: relative;
  padding: 6px 12px;
  font-size: 14px; font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-link.active { color: var(--brand); font-weight: 600; }
.nav-actions {
  display: flex; align-items: center; gap: 8px;
  margin-left: auto;
}
.icon-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.icon-btn svg { width: 18px; height: 18px; }
.nav-sub-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 12px;
  font-size: 14px; font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  cursor: pointer;
}
.nav-sub-btn svg { width: 14px; height: 14px; transition: transform var(--transition); }
.nav-sub-btn.open svg { transform: rotate(180deg); }
.nav-sub-wrap { position: relative; }
.nav-sub-panel {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 190px;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 200;
  opacity: 0; transform: translateY(-6px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}
.nav-sub-panel.open {
  opacity: 1; transform: translateY(0);
  pointer-events: auto;
}
.nav-sub-item {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.nav-sub-item:hover { background: var(--surface-hover); color: var(--brand); }
.nav-sub-item.soon { color: var(--text-tertiary); cursor: default; }
.nav-sub-item.soon:hover { background: none; color: var(--text-tertiary); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 20px;
  border-radius: var(--radius-full);
  font-size: 13px; font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition);
}
.btn svg { width: 15px; height: 15px; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:active { transform: scale(0.97); }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:active { transform: scale(0.97); }
.btn-lg { height: 44px; padding: 0 28px; font-size: 14px; }

/* 移动端菜单 */
.nav-menu-btn { display: none; }
.nav-mobile-panel {
  position: fixed; top: var(--nav-height); left: 0; right: 0; z-index: 99;
  background: rgba(246, 247, 249, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 12px var(--gutter) 20px;
  opacity: 0; transform: translateY(-8px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}
.nav-mobile-panel.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav-mobile-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.nav-mobile-link {
  padding: 10px 8px;
  font-size: 14px; font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
}
.nav-mobile-link.active { color: var(--brand); font-weight: 600; }

@media (hover: hover) and (pointer: fine) {
  .nav-link:hover { color: var(--text-strong); background: var(--surface-hover); }
  .nav-link.active:hover { color: var(--brand); background: transparent; }
  .icon-btn:hover { color: var(--text-strong); background: var(--surface-hover); }
  .nav-sub-btn:hover { color: var(--text-strong); background: var(--surface-hover); }
  .nav-sub-item:hover { background: var(--surface-hover); color: var(--brand); }
  .btn-primary:hover { background: var(--brand-hover); box-shadow: 0 4px 14px rgba(51, 96, 196, 0.28); transform: translateY(-1px); }
  .btn-ghost:hover { color: var(--text-strong); background: var(--surface-hover); }
  .nav-mobile-link:hover { background: var(--surface-hover); }
}

/* === 快讯条 (首屏) === */
.ticker {
  margin-top: var(--nav-height);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.ticker-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 46px;
  display: flex; align-items: center; gap: 16px;
  overflow: hidden;
}
.ticker-badge {
  display: inline-flex; align-items: center; gap: 7px;
  height: 26px; padding: 0 12px;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}
.ticker-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--on-brand);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
.ticker-viewport {
  flex: 1; min-width: 0;
  overflow: hidden;
  height: 100%;
  position: relative;
}
.ticker-item {
  position: absolute; inset: 0;
  display: flex; align-items: center; gap: 12px;
  opacity: 0; transform: translateY(6px);
  transition: opacity 240ms ease, transform 240ms ease;
  pointer-events: none;
  cursor: pointer;
}
.ticker-item.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.ticker-time {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600;
  color: var(--brand);
  flex-shrink: 0;
}
.ticker-tag {
  flex-shrink: 0;
  font-size: 11px; font-weight: 600;
  color: var(--text-tertiary);
  background: var(--surface-hover);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.ticker-text {
  font-size: 13px; color: var(--text-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ticker-more {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600;
  color: var(--brand);
  transition: color var(--transition);
}
.ticker-more svg { width: 13px; height: 13px; transition: transform var(--transition); }
@media (hover: hover) and (pointer: fine) {
  .ticker-more:hover { color: var(--brand-hover); }
  .ticker-more:hover svg { transform: translateX(2px); }
}

/* === 主体布局 === */
.main {
  min-height: 60vh;
  padding-bottom: 72px;
  padding-top: calc(var(--nav-height) + 8px);
}
body[data-page="index"] .main { padding-top: 0; }
.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* === 首页：头条区 === */
.lead {
  padding-top: 32px;
}
.lead-grid {
  display: grid;
  grid-template-columns: 1.62fr 1fr;
  gap: 32px;
  align-items: start;
}
.lead-featured {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
}
.lead-featured:hover { box-shadow: var(--shadow-lg); }
.lead-featured-img {
  width: 100%; aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--surface-hover);
}
.lead-featured-body { padding: 22px 24px 24px; }
.sec-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--brand);
  margin-bottom: 10px;
}
.lead-title {
  font-size: 20px; font-weight: 700;
  line-height: 1.4;
  color: var(--text-strong);
  margin-bottom: 8px;
}
.lead-excerpt {
  font-size: 13px; color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}
.lead-meta {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; color: var(--text-tertiary);
}
.lead-meta time { font-family: var(--font-mono); }

/* 头条侧列 */
.lead-list { padding-top: 2px; }
.lead-list-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 6px;
}
.lead-list-title {
  font-size: 15px; font-weight: 700;
  color: var(--text-strong);
  display: flex; align-items: center; gap: 8px;
}
.lead-list-title svg { width: 16px; height: 16px; color: var(--brand); }
.lead-list-more {
  font-size: 12px; font-weight: 600;
  color: var(--brand);
  display: inline-flex; align-items: center; gap: 4px;
  transition: color var(--transition);
}
.lead-list-more svg { width: 13px; height: 13px; }
.headline {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition);
}
.headline-num {
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 700;
  color: var(--text-tertiary);
  padding-top: 1px;
  transition: color var(--transition);
}
.headline-title {
  font-size: 14px; font-weight: 600;
  line-height: 1.5;
  color: var(--text-primary);
  transition: color var(--transition);
}
.headline-meta {
  margin-top: 4px;
  font-size: 11px; color: var(--text-tertiary);
  display: flex; gap: 10px;
}
.headline-meta time { font-family: var(--font-mono); }
@media (hover: hover) and (pointer: fine) {
  .lead-featured:hover { box-shadow: var(--shadow-lg); }
  .headline:hover { background: var(--surface); box-shadow: var(--shadow-sm); }
  .headline:hover .headline-title { color: var(--brand); }
  .headline:hover .headline-num { color: var(--brand); }
  .lead-list-more:hover { color: var(--brand-hover); }
}

/* === 首页：栏目分区 === */
.section-block {
  padding-top: 56px;
}
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.section-title {
  font-size: 17px; font-weight: 700;
  color: var(--text-strong);
  display: flex; align-items: center; gap: 10px;
}
.section-title::before {
  content: '';
  width: 4px; height: 16px;
  border-radius: 2px;
  background: var(--brand);
}
.section-more {
  font-size: 12px; font-weight: 600;
  color: var(--text-tertiary);
  display: inline-flex; align-items: center; gap: 4px;
  transition: color var(--transition);
}
.section-more svg { width: 13px; height: 13px; transition: transform var(--transition); }
@media (hover: hover) and (pointer: fine) {
  .section-more:hover { color: var(--brand); }
  .section-more:hover svg { transform: translateX(2px); }
}

/* 网格区 */
.grid-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-row.two { grid-template-columns: repeat(2, 1fr); }
.news-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.news-card-img {
  width: 100%; aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--surface-hover);
  transition: transform var(--transition);
}
.news-card:hover .news-card-img { transform: scale(1.03); }
.news-card-body { padding: 16px 18px 18px; }
.news-card-title {
  font-size: 15px; font-weight: 600;
  line-height: 1.5;
  color: var(--text-strong);
  margin-bottom: 6px;
  transition: color var(--transition);
}
.news-card:hover .news-card-title { color: var(--brand); }
.news-card-meta {
  display: flex; gap: 12px;
  font-size: 11px; color: var(--text-tertiary);
}
.news-card-meta time { font-family: var(--font-mono); }
.news-card-imgwrap { overflow: hidden; }

/* 列表区 */
.list-row { display: flex; flex-direction: column; }
.list-item {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 20px;
  align-items: start;
  padding: 16px 12px;
  margin: 0 -12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition);
}
.list-item:hover { background: var(--surface); box-shadow: var(--shadow-sm); }
.list-item-imgwrap {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-hover);
}
.list-item-img {
  width: 100%; aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform var(--transition);
}
.list-item:hover .list-item-img { transform: scale(1.04); }
.list-item-info { min-width: 0; padding-top: 2px; }
.list-item-title {
  font-size: 15px; font-weight: 600;
  line-height: 1.45;
  color: var(--text-strong);
  margin-bottom: 5px;
  transition: color var(--transition);
}
.list-item:hover .list-item-title { color: var(--brand); }
.list-item-excerpt {
  font-size: 12px; color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 8px;
}
.list-item-meta {
  display: flex; gap: 12px;
  font-size: 11px; color: var(--text-tertiary);
}
.list-item-meta time { font-family: var(--font-mono); }

/* 非卡片分区：专题条 */
.feature-strip {
  border-radius: var(--radius-lg);
  background: var(--brand-soft);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
}
.feature-strip-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--brand);
  white-space: nowrap;
  text-transform: uppercase;
}
.feature-strip-title {
  font-size: 15px; font-weight: 600;
  color: var(--text-strong);
  line-height: 1.5;
}
.feature-strip-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  color: var(--brand);
  white-space: nowrap;
}
.feature-strip-link svg { width: 14px; height: 14px; }
@media (hover: hover) and (pointer: fine) {
  .feature-strip-link:hover { color: var(--brand-hover); }
}

/* === 首页：热榜 + 侧栏 === */
.home-bottom {
  padding-top: 56px;
  display: grid;
  grid-template-columns: 1.62fr 1fr;
  gap: 40px;
  align-items: start;
}
.rank-list { display: flex; flex-direction: column; gap: 4px; }
.rank-item {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 10px;
  margin: 0 -10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition);
}
.rank-item:hover { background: var(--surface); box-shadow: var(--shadow-sm); }
.rank-num {
  font-family: var(--font-mono);
  font-size: 16px; font-weight: 700;
  color: var(--text-tertiary);
  transition: color var(--transition);
}
.rank-item:nth-child(-n+3) .rank-num { color: var(--brand); }
.rank-title {
  font-size: 14px; font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
  transition: color var(--transition);
}
.rank-item:hover .rank-title { color: var(--brand); }
.rank-heat {
  font-size: 11px; color: var(--text-tertiary);
  font-family: var(--font-mono);
  white-space: nowrap;
}

/* 订阅 */
.subscribe {
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 26px 26px 28px;
  box-shadow: var(--shadow-md);
}
.subscribe-title {
  font-size: 16px; font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 6px;
}
.subscribe-desc {
  font-size: 12px; color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}
.subscribe-form { display: flex; gap: 8px; }
.input {
  flex: 1; min-width: 0;
  height: 42px;
  padding: 0 16px;
  background: var(--canvas);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--text-primary);
  transition: background var(--transition), box-shadow var(--transition);
}
.input::placeholder { color: var(--text-tertiary); }
.input:hover { background: var(--surface-hover); }
.input:focus {
  background: var(--surface);
  box-shadow: 0 0 0 2px rgba(51, 96, 196, 0.12), inset 0 0 0 1px var(--brand);
}
.subscribe-note {
  margin-top: 10px;
  font-size: 11px; color: var(--text-tertiary);
  display: flex; align-items: center; gap: 6px;
}
.subscribe-note svg { width: 12px; height: 12px; color: var(--brand); }

/* === 页脚 === */
.footer {
  margin-top: 72px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px var(--gutter) 32px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 40px;
  padding-bottom: 32px;
}
.footer-brand { font-size: 18px; font-weight: 700; letter-spacing: 1px; color: var(--text-strong); }
.footer-brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--brand);
  margin-right: 8px;
}
.footer-brand-mark svg { width: 12px; height: 12px; color: var(--on-brand); }
.footer-slogan {
  margin-top: 6px;
  font-size: 12px; color: var(--text-secondary);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-col-title {
  font-size: 12px; font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-tertiary);
  padding: 4px 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.footer-copy { font-size: 11px; color: var(--text-tertiary); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: 11px; color: var(--text-tertiary); transition: color var(--transition); }
.footer-legal a:hover { color: var(--text-primary); }

/* === 搜索浮层 === */
.search-overlay {
  position: fixed; inset: 0; z-index: 300;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.search-overlay.open { opacity: 1; pointer-events: auto; }
.search-backdrop {
  position: absolute; inset: 0;
  background: rgba(16, 24, 40, 0.4);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.search-panel {
  position: absolute;
  top: 96px; left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: min(620px, calc(100vw - 40px));
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  transition: transform var(--transition);
}
.search-overlay.open .search-panel { transform: translateX(-50%) translateY(0); }
.search-input-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--canvas);
  border-radius: var(--radius-md);
  padding: 0 16px;
  height: 46px;
}
.search-input-row svg { width: 18px; height: 18px; color: var(--text-tertiary); flex-shrink: 0; }
.search-input {
  flex: 1; min-width: 0;
  height: 100%;
  background: transparent;
  font-size: 14px;
  color: var(--text-primary);
}
.search-input::placeholder { color: var(--text-tertiary); }
.search-kbd {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--text-tertiary);
  background: var(--surface-hover);
  border-radius: 4px;
  padding: 2px 6px;
  flex-shrink: 0;
}
.search-results { margin-top: 12px; max-height: 46vh; overflow-y: auto; }
.search-empty { padding: 24px 8px; text-align: center; font-size: 13px; color: var(--text-tertiary); }
.search-result {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition);
}
.search-result:hover { background: var(--surface-hover); }
.search-result.highlight {
  background: var(--surface-hover);
  outline: 1px solid var(--brand);
}
.search-result-title {
  font-size: 14px; font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.search-result:hover .search-result-title { color: var(--brand); }
.search-result-meta {
  font-size: 11px; color: var(--text-tertiary);
  display: flex; gap: 10px;
}
.search-result-meta .sec { color: var(--brand); font-weight: 600; }
.search-footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex; gap: 14px;
  font-size: 11px; color: var(--text-tertiary);
}

/* === Toast（顶部） === */
.toast {
  position: fixed; top: 16px; left: 50%;
  transform: translateX(-50%) translateY(-12px);
  z-index: 999;
  background: var(--text-strong);
  color: var(--on-brand);
  font-size: 13px; font-weight: 500;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  white-space: nowrap;
  max-width: calc(100vw - 32px);
  overflow: hidden; text-overflow: ellipsis;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* === 快讯页 === */
.latest-page { padding-top: 40px; }
.page-header { margin-bottom: 28px; }
.page-header h1 {
  font-size: 20px; font-weight: 700;
  color: var(--text-strong);
  display: flex; align-items: center; gap: 12px;
}
.page-header h1 .live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 1.6s ease-in-out infinite;
}
.page-header p {
  margin-top: 6px;
  font-size: 13px; color: var(--text-secondary);
}
.latest-stats {
  display: flex; gap: 32px;
  padding: 18px 24px;
  background: var(--surface);
  border-radius: var(--radius-md);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.latest-stat { display: flex; flex-direction: column; gap: 2px; }
.latest-stat-num {
  font-family: var(--font-mono);
  font-size: 20px; font-weight: 700;
  color: var(--text-strong);
}
.latest-stat-label { font-size: 11px; color: var(--text-tertiary); }

.timeline { position: relative; padding-left: 24px; }
.timeline::before {
  content: '';
  position: absolute; left: 5px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--border);
}
.timeline-group { margin-bottom: 24px; }
.timeline-group-title {
  font-size: 12px; font-weight: 700;
  color: var(--text-tertiary);
  letter-spacing: 1px;
  margin-bottom: 4px;
  font-family: var(--font-mono);
}
.tl-item {
  position: relative;
  padding: 12px 8px 12px 22px;
  margin-left: -22px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition);
}
.tl-item::before {
  content: '';
  position: absolute; left: -22px; top: 20px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--brand);
  transition: background var(--transition);
}
.tl-item:hover { background: var(--surface); box-shadow: var(--shadow-sm); }
.tl-item:hover::before { background: var(--brand); }
.tl-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; margin-bottom: 3px;
}
.tl-time {
  font-family: var(--font-mono);
  font-weight: 700; color: var(--brand);
}
.tl-tag {
  font-size: 10px; font-weight: 600;
  color: var(--text-tertiary);
  background: var(--surface-hover);
  padding: 1px 8px;
  border-radius: var(--radius-full);
}
.tl-text {
  font-size: 14px; color: var(--text-primary);
  line-height: 1.65;
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
}
.tl-text a { color: var(--text-strong); font-weight: 600; transition: color var(--transition); }
.tl-text a:hover { color: var(--brand); }
.tl-link-arrow {
  display: inline-flex; align-items: center;
  color: var(--brand);
  font-size: 12px; font-weight: 600;
}
.tl-link-arrow svg { width: 13px; height: 13px; }

/* === 频道页 === */
.section-page { padding-top: 40px; }
.channel-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.channel-title {
  font-size: 20px; font-weight: 700;
  color: var(--text-strong);
  display: flex; align-items: center; gap: 12px;
}
.channel-title .sec-tag { margin-bottom: 0; }
.channel-desc { font-size: 13px; color: var(--text-secondary); margin-top: 6px; }
.channel-tabs {
  display: flex; gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.ch-tab {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 12px; font-weight: 500;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}
.ch-tab:hover { background: var(--surface-hover); color: var(--text-strong); }
.ch-tab.active { background: var(--brand); color: var(--on-brand); }
.channel-content { animation: fadeIn 300ms ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.channel-featured {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.channel-featured-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  transition: box-shadow var(--transition);
}
.channel-featured-main:hover { box-shadow: var(--shadow-lg); }
.channel-featured-img {
  width: 100%; aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--surface-hover);
}
.channel-featured-body { padding: 20px 22px 22px; }
.channel-featured-title {
  font-size: 18px; font-weight: 700;
  line-height: 1.4; color: var(--text-strong);
  margin-bottom: 6px;
}
.channel-featured-excerpt {
  font-size: 13px; color: var(--text-secondary);
  line-height: 1.7;
}
.channel-featured-side {
  display: flex; flex-direction: column;
  gap: 4px;
}
.channel-list { display: flex; flex-direction: column; }

/* === 文章详情页 === */
.article-page { padding-top: 40px; }
.article-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.article-header { margin-bottom: 24px; }
.article-cat {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700;
  color: var(--brand);
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.article-title {
  font-size: 20px; font-weight: 700;
  line-height: 1.45;
  color: var(--text-strong);
  margin-bottom: 10px;
}
.article-subtitle {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.article-byline {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.byline-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-hover);
}
.byline-info { flex: 1; min-width: 0; }
.byline-name { font-size: 13px; font-weight: 600; color: var(--text-strong); }
.byline-role { font-size: 11px; color: var(--text-tertiary); }
.byline-meta {
  font-size: 11px; color: var(--text-tertiary);
  display: flex; gap: 12px; align-items: center;
}
.byline-meta time, .byline-meta .mono { font-family: var(--font-mono); }
.article-cover {
  width: 100%; aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 20px 0 26px;
  background: var(--surface-hover);
}
.article-cover-cap {
  margin-top: 8px;
  font-size: 11px; color: var(--text-tertiary);
  text-align: center;
}
.article-body { font-size: 15px; line-height: 1.9; color: var(--text-primary); }
.article-body p { margin-bottom: 20px; }
.article-body h2 {
  font-size: 17px; font-weight: 700;
  color: var(--text-strong);
  margin: 32px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--brand);
  border-radius: 2px;
}
.article-body h3 {
  font-size: 15px; font-weight: 700;
  color: var(--text-strong);
  margin: 24px 0 10px;
}
.article-body blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  background: var(--brand-soft);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.8;
}
.article-body blockquote p { margin-bottom: 0; }
.article-body ul {
  margin: 0 0 20px;
  padding-left: 4px;
}
.article-body ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}
.article-body ul li::before {
  content: '';
  position: absolute; left: 4px; top: 11px;
  width: 6px; height: 6px;
  border-radius: 2px;
  background: var(--brand);
}
.article-body .body-img {
  margin: 28px 0;
}
.article-body .body-img img {
  width: 100%;
  border-radius: var(--radius-md);
  background: var(--surface-hover);
}
.article-body .body-img figcaption {
  margin-top: 8px;
  font-size: 11px; color: var(--text-tertiary);
  text-align: center;
}
.article-body a {
  color: var(--brand);
  box-shadow: inset 0 -1px 0 var(--brand-soft);
  transition: box-shadow var(--transition);
}
.article-body a:hover { box-shadow: inset 0 -2px 0 var(--brand); }

/* 文章底部 */
.article-footer { margin-top: 36px; }
.article-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  background: var(--surface-hover);
  color: var(--text-secondary);
  transition: all var(--transition);
  cursor: pointer;
}
.tag:hover { background: var(--brand-soft); color: var(--brand); }
.article-share {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 0;
}
.article-share-label { font-size: 12px; color: var(--text-tertiary); margin-right: 4px; }
.share-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  background: var(--surface-hover);
  transition: all var(--transition);
}
.share-btn svg { width: 16px; height: 16px; }
.share-btn:hover { background: var(--brand); color: var(--on-brand); }

/* 作者卡 */
.author-box {
  display: flex; gap: 16px;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  margin-top: 8px;
}
.author-box-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-hover);
  flex-shrink: 0;
}
.author-box-info { min-width: 0; }
.author-box-name { font-size: 15px; font-weight: 600; color: var(--text-strong); }
.author-box-role { font-size: 11px; color: var(--text-tertiary); margin-bottom: 8px; }
.author-box-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* 上一篇/下一篇 */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.post-nav-link {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
}
.post-nav-link:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.post-nav-link.next { text-align: right; }
.post-nav-label {
  font-size: 11px; color: var(--text-tertiary);
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.post-nav-title {
  font-size: 14px; font-weight: 600;
  color: var(--text-strong);
  line-height: 1.5;
  transition: color var(--transition);
}
.post-nav-link:hover .post-nav-title { color: var(--brand); }

/* 相关阅读 */
.related { margin-top: 44px; }
.related-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 16px;
}
.related-title {
  font-size: 16px; font-weight: 700;
  color: var(--text-strong);
  display: flex; align-items: center; gap: 10px;
}
.related-title::before {
  content: '';
  width: 4px; height: 15px;
  border-radius: 2px;
  background: var(--brand);
}

/* 评论区 */
.comments { margin-top: 44px; }
.comments-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 18px;
}
.comments-title {
  font-size: 16px; font-weight: 700;
  color: var(--text-strong);
  display: flex; align-items: center; gap: 10px;
}
.comments-title::before {
  content: '';
  width: 4px; height: 15px;
  border-radius: 2px;
  background: var(--brand);
}
.comments-count { font-size: 12px; color: var(--text-tertiary); font-family: var(--font-mono); }
.comment-form {
  display: flex; gap: 10px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.comment-form-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-hover);
  flex-shrink: 0;
}
.comment-input {
  flex: 1; min-width: 0;
  min-height: 44px;
  padding: 12px 16px;
  background: var(--surface);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-primary);
  resize: none;
  transition: background var(--transition), box-shadow var(--transition);
}
.comment-input::placeholder { color: var(--text-tertiary); }
.comment-input:hover { background: var(--surface-hover); }
.comment-input:focus {
  background: var(--surface);
  box-shadow: 0 0 0 2px rgba(51, 96, 196, 0.12), inset 0 0 0 1px var(--brand);
}
.comment-post {
  height: 44px;
  padding: 0 18px;
  flex-shrink: 0;
}
.comment-list { display: flex; flex-direction: column; }
.comment-item {
  display: flex; gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  animation: fadeIn 300ms ease;
}
.comment-item-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-hover);
  flex-shrink: 0;
}
.comment-item-body { flex: 1; min-width: 0; }
.comment-item-head {
  display: flex; align-items: baseline; gap: 10px;
  margin-bottom: 4px;
}
.comment-item-name { font-size: 13px; font-weight: 600; color: var(--text-strong); }
.comment-item-time { font-size: 11px; color: var(--text-tertiary); font-family: var(--font-mono); }
.comment-item-text { font-size: 13px; color: var(--text-primary); line-height: 1.75; }

/* === 关于页 === */
.about-page { padding-top: 44px; }
.about-hero {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.about-hero .logo-badge {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 8px 24px rgba(51, 96, 196, 0.3);
}
.about-hero .logo-badge svg { width: 26px; height: 26px; color: var(--on-brand); }
.about-hero h1 {
  font-size: 20px; font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 10px;
}
.about-hero p {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.9;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
.about-stat {
  text-align: center;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  box-shadow: var(--shadow-sm);
}
.about-stat-num {
  font-family: var(--font-mono);
  font-size: 20px; font-weight: 700;
  color: var(--brand);
}
.about-stat-label {
  margin-top: 4px;
  font-size: 12px; color: var(--text-tertiary);
}
.about-section { max-width: 720px; margin: 0 auto 48px; }
.about-section-title {
  font-size: 17px; font-weight: 700;
  color: var(--text-strong);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.about-section-title::before {
  content: '';
  width: 4px; height: 16px;
  border-radius: 2px;
  background: var(--brand);
}
.about-text { font-size: 14px; color: var(--text-primary); line-height: 1.9; }
.about-text p { margin-bottom: 16px; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.about-value {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.about-value-num {
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 700;
  color: var(--brand);
  margin-bottom: 8px;
}
.about-value h3 { font-size: 14px; font-weight: 700; color: var(--text-strong); margin-bottom: 6px; }
.about-value p { font-size: 12px; color: var(--text-secondary); line-height: 1.7; }
.about-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.about-member {
  text-align: center;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.about-member:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.about-member-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 10px;
  background: var(--surface-hover);
}
.about-member-name { font-size: 14px; font-weight: 600; color: var(--text-strong); }
.about-member-role { font-size: 11px; color: var(--text-tertiary); margin-top: 2px; }
.about-join {
  border-radius: var(--radius-lg);
  background: var(--brand-soft);
  padding: 28px;
  text-align: center;
}
.about-join h3 { font-size: 16px; font-weight: 700; color: var(--text-strong); margin-bottom: 6px; }
.about-join p { font-size: 13px; color: var(--text-secondary); margin-bottom: 18px; }

/* 回到顶部 */
.back-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  z-index: 50;
  opacity: 0; transform: translateY(10px);
  pointer-events: none;
  transition: all var(--transition);
}
.back-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top svg { width: 18px; height: 18px; }
.back-top:hover { background: var(--brand); color: var(--on-brand); }
@media (hover: hover) and (pointer: fine) {
  .back-top:hover { background: var(--brand); color: var(--on-brand); }
}

/* === 响应式 === */
@media (max-width: 1024px) {
  .lead-grid { grid-template-columns: 1fr; gap: 24px; }
  .lead-list { padding-top: 0; }
  .home-bottom { grid-template-columns: 1fr; gap: 40px; }
  .subscribe { max-width: 480px; }
  .grid-row { grid-template-columns: repeat(2, 1fr); }
  .grid-row .news-card:last-child { display: none; }
  .channel-featured { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-team { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --gutter: 16px; }
  .nav-links, .nav-sub-wrap, .nav-actions .btn { display: none; }
  .nav-menu-btn { display: inline-flex; }
  .ticker-inner { gap: 10px; }
  .ticker-tag { display: none; }
  .feature-strip { grid-template-columns: 1fr; text-align: left; gap: 8px; }
  .feature-strip-link { justify-content: flex-start; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .article-title { font-size: 18px; }
  .article-body { font-size: 14px; }
  .about-values { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .comment-form { flex-wrap: wrap; }
  .comment-form .comment-post { width: 100%; }
}

@media (max-width: 480px) {
  .grid-row { grid-template-columns: 1fr; }
  .grid-row .news-card:last-child { display: block; }
  .list-item { grid-template-columns: 104px 1fr; gap: 14px; }
  .list-item-excerpt { display: none; }
  .latest-stats { flex-wrap: wrap; gap: 20px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .about-team { grid-template-columns: 1fr 1fr; }
  .byline-meta { flex-wrap: wrap; }
}

/* === 动效降级 === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
