/* ========================================================================
   陆家嘴金融网 — 首页 UI
   布局与信息架构保持与原站一致，仅做视觉层重构。
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* 品牌色 */
  --accent:        #1a6db8;
  --accent-strong: #12548f;
  --accent-soft:   #e8f2fb;
  --accent-tint:   rgba(26, 109, 184, .08);

  /* 中性色阶 */
  --ink:        #14181f;
  --ink-2:      #3d4653;
  --muted:      #6b7482;
  --muted-2:    #98a1ad;
  --line:       #e6e8ec;
  --line-soft:  #eef0f3;
  --surface:    #ffffff;
  --bg:         #f6f8fa;
  --bg-tint:    #eef4fa;

  /* 涨跌（中国习惯：涨红跌绿） */
  --up:   #d92b2b;
  --down: #0f9d58;

  /* 圆角 */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-pill: 999px;

  /* 阴影 */
  --sh-1: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .05);
  --sh-2: 0 2px 6px rgba(16, 24, 40, .05), 0 6px 16px rgba(16, 24, 40, .06);
  --sh-3: 0 8px 20px rgba(16, 24, 40, .08), 0 18px 40px rgba(16, 24, 40, .10);
  --sh-accent: 0 10px 28px rgba(26, 109, 184, .22);

  /* 节奏 */
  --shell: 1480px;
  --gut: 24px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB",
               -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: tabular-nums;
}

h1, h2, h3, h4, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
input { font: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: #fff;
  padding: 8px 16px; border-radius: var(--r-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid transparent; border-radius: var(--r-sm);
  cursor: pointer; white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s var(--ease);
}
.btn--sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn--outline { border-color: var(--line); background: #fff; color: var(--ink-2); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink-2); }
.btn--ghost:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ========================================================================
   4. HEADER
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 18px rgba(16, 24, 40, .06);
  background: rgba(255, 255, 255, .96);
}
.site-header__bar {
  display: flex; align-items: center; gap: 18px;
  padding: 12px 0;
}
.site-header__brand { flex: 0 0 auto; display: flex; align-items: center; }
.site-header__brand img { height: 44px; width: auto; object-fit: contain; }

/* --- 导航 --- */
.site-nav {
  display: flex; align-items: center; gap: 2px;
  flex: 1 1 auto; min-width: 0;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav__item { position: relative; flex: 0 0 auto; }

.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 12px 10px;
  font-size: 14.5px;
  color: var(--ink-2);
  border-radius: var(--r-sm);
  transition: color .2s ease, background-color .2s ease;
}
.nav-link::after {
  content: ""; position: absolute;
  left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: center;
  transition: transform .28s var(--ease);
}
.nav-link:hover { color: var(--accent); background: var(--accent-tint); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.is-current { color: var(--accent); font-weight: 600; }
.nav-link.is-current::after { transform: scaleX(1); }

.site-nav__drop {
  position: absolute; top: calc(100% + 4px); left: 0; z-index: 80;
  min-width: 168px; padding: 6px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--sh-3);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s ease, transform .24s var(--ease), visibility .2s;
}
.site-nav__item:hover .site-nav__drop,
.site-nav__item:focus-within .site-nav__drop {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.site-nav__drop-link {
  display: block; padding: 9px 12px;
  font-size: 14px; color: var(--ink-2); border-radius: var(--r-sm);
  transition: background-color .16s ease, color .16s ease, padding-left .16s ease;
}
.site-nav__drop-link:hover {
  background: var(--accent-soft); color: var(--accent); padding-left: 16px;
}

/* --- 搜索 --- */
.site-search {
  display: flex; align-items: center; gap: 8px;
  flex: 0 0 auto; width: 264px;
  margin-left: auto;
}
.site-search__field {
  display: flex; align-items: center; gap: 8px;
  flex: 1 1 auto; min-width: 0;
  height: 36px; padding: 0 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.site-search__field:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26, 109, 184, .12);
}
.site-search__icon { width: 16px; height: 16px; color: var(--muted-2); flex: 0 0 auto; }
.site-search__field input {
  flex: 1 1 auto; min-width: 0;
  border: 0; background: transparent; outline: none;
  font-size: 13.5px; color: var(--ink);
}
.site-search__field input::placeholder { color: var(--muted-2); }
.site-search__field input::-webkit-search-cancel-button { display: none; }
.site-search .btn { border-radius: var(--r-pill); height: 36px; }

.site-header__account { flex: 0 0 auto; padding-left: 18px; border-left: 1px solid var(--line); }
.site-header__account .btn { border-radius: var(--r-pill); }

@media (max-width: 1180px) {
  .site-search { width: 200px; }
  .site-header__account { padding-left: 12px; }
}

/* ========================================================================
   5. PROMO BANNER
   ===================================================================== */
.promo-banner { position: relative; background: var(--line-soft); }
.promo-banner__link { display: block; }
.promo-banner__img {
  width: 100%; height: 104px; object-fit: cover;
  transition: filter .3s ease;
}
.promo-banner:hover .promo-banner__img { filter: brightness(1.03); }
.promo-banner__close {
  position: absolute; top: 8px; right: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; padding: 0;
  border: 0; border-radius: var(--r-pill);
  background: rgba(12, 18, 28, .45); color: #fff; cursor: pointer;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: background-color .2s ease, transform .2s var(--ease);
}
.promo-banner__close svg { width: 14px; height: 14px; }
.promo-banner__close:hover { background: rgba(12, 18, 28, .72); transform: scale(1.08); }
.promo-banner[hidden] { display: none; }

/* ========================================================================
   6. MARKET STRIP
   ===================================================================== */
.market-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.market-strip__inner { padding-block: 14px; }
.market-strip__row {
  display: grid;
  grid-template-columns: repeat(var(--market-cols, 8), minmax(0, 1fr));
  align-items: stretch;
}
.market-strip__cell {
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  padding: 6px 16px;
  border-right: 1px solid var(--line-soft);
  transition: background-color .2s ease;
  border-radius: var(--r-sm);
}
.market-strip__cell:first-child { padding-left: 0; }
.market-strip__cell:last-child { border-right: 0; padding-right: 0; }
.market-strip__cell:hover { background: var(--bg-tint); }

.market-strip__name {
  font-size: 12px; font-weight: 500; color: var(--muted);
  letter-spacing: .01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.market-strip__row {
  display: flex; align-items: center; gap: 6px; min-width: 0;
}
.market-strip__value { display: flex; align-items: center; gap: 4px; min-width: 0; flex: 0 0 auto; }
.market-strip__num {
  font-size: 17px; font-weight: 700; letter-spacing: -.01em;
  color: var(--ink); line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  padding: 0 2px;
  border-radius: 3px;
  transition: color .22s ease, text-shadow .22s ease, background-color .22s ease;
}
/* 实时跳动：数字轻微发光 + 浅蓝底 */
.market-strip__num.is-pulse {
  color: var(--accent);
  background: linear-gradient(180deg, rgba(26, 109, 184, .12), rgba(26, 109, 184, .02));
  text-shadow: 0 0 8px rgba(26, 109, 184, .4);
}
.market-strip__chart {
  flex: 1 1 auto; min-width: 0; height: 26px;
  display: block;
  align-self: stretch;
  line-height: 0;
}
.market-strip__chart svg { width: 100%; height: 100%; display: block; }
.trend { display: inline-flex; flex: 0 0 auto; }
.trend svg { width: 11px; height: 11px; }
.trend--up svg { fill: var(--up); }
.trend--down svg { fill: var(--down); }
.market-strip__delta {
  font-size: 12px; font-weight: 500; line-height: 1.4;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.market-strip__delta.is-up { color: var(--up); }
.market-strip__delta.is-down { color: var(--down); }

/* 实时跳动：整格轻微高亮 + sparkline 末端圆点放大 */
.market-strip__cell.is-tick {
  background: var(--bg-tint);
}
.market-strip__cell.is-tick svg circle:last-of-type {
  animation: endPulse .72s ease-out;
}
@keyframes endPulse {
  0%   { r: 1.6; }
  40%  { r: 4.2; }
  100% { r: 1.6; }
}

@media (max-width: 1180px) {
  .market-strip__row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; column-gap: 18px; }
  .market-strip__cell:nth-child(4n) { border-right: 0; }
  .market-strip__cell:nth-child(n+5) { padding-top: 6px; }
}

/* ========================================================================
   7. HOME LAYOUT
   ===================================================================== */
.home { padding-block: 24px 8px; }
.home__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}
.home__main { min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.sidebar {
  min-width: 0;
  display: flex; flex-direction: column; gap: 16px;
  position: sticky; top: 82px;
}

@media (max-width: 1080px) {
  .home__layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sidebar { position: static; }
}

/* ========================================================================
   8. EDITORIAL（头图 + 次条 + 最新）
   ===================================================================== */
.editorial__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
.editorial__lead { min-width: 0; }

/* --- 头图轮播 --- */
.carousel {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--line-soft);
  box-shadow: var(--sh-1);
  isolation: isolate;
}
.carousel__track { position: relative; width: 100%; }
.carousel__slide { display: none; }
.carousel__slide.is-active { display: block; animation: carouselIn .5s var(--ease); }
@keyframes carouselIn { from { opacity: .35; transform: scale(1.015); } to { opacity: 1; transform: none; } }

.carousel__arrow {
  position: absolute; top: 50%; z-index: 10;
  transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; padding: 0;
  border: 0; border-radius: var(--r-pill);
  background: rgba(12, 18, 28, .38); color: #fff; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .3s ease, background-color .2s ease, transform .2s var(--ease);
}
.carousel:hover .carousel__arrow { opacity: 1; }
.carousel__arrow:hover { background: rgba(12, 18, 28, .68); }
.carousel__arrow svg { width: 20px; height: 20px; }
.carousel__arrow--prev { left: 12px; }
.carousel__arrow--next { right: 12px; }

.carousel__dots {
  position: absolute; left: 50%; bottom: 14px; z-index: 10;
  transform: translateX(-50%);
  display: flex; gap: 6px;
}
.carousel__dot {
  width: 7px; height: 7px; padding: 0; border: 0; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .55);
  cursor: pointer;
  transition: background-color .3s ease, width .3s var(--ease);
}
.carousel__dot.is-active { background: #fff; width: 20px; }

.slot {
  position: relative; display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--line-soft);
  border-radius: inherit;
}
.slot--hero { width: 100%; }
.slot__media {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.slot:hover .slot__media { transform: scale(1.05); }
.slot__caption {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 2;
  padding: 24px 26px 22px;
  color: #fff;
  background: linear-gradient(to top, rgba(8, 12, 20, .88) 0%, rgba(8, 12, 20, .45) 45%, transparent 100%);
  pointer-events: none;
}
.slot__title {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  margin: 0; font-size: 20px; font-weight: 700; line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}
.slot__play {
  position: absolute; top: 50%; left: 50%; z-index: 5;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: var(--r-pill);
  background: rgba(12, 18, 28, .42); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .25);
  transition: transform .3s var(--ease), background-color .3s ease;
  pointer-events: none;
}
.slot__play svg { width: 24px; height: 24px; }
.slot--sub:hover .slot__play { transform: translate(-50%, -50%) scale(1.12); background: var(--accent); }

/* --- 次条两张 --- */
.editorial__secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.slot--sub {
  border-radius: var(--r-md);
  box-shadow: var(--sh-1);
  aspect-ratio: 16 / 9;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.slot--sub:hover { box-shadow: var(--sh-3); transform: translateY(-4px); }
.slot--sub .slot__caption { padding: 16px 16px 14px; }
.slot--sub .slot__title { font-size: 14.5px; }

/* --- 最新资讯面板 --- */
.latest-panel {
  display: flex; flex-direction: column; min-height: 0;
  padding: 18px 20px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}
.latest-panel__tabs {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.latest-panel__tab {
  position: relative;
  padding: 6px 12px 10px;
  border: 0; background: none; cursor: pointer;
  font-size: 13.5px; font-weight: 600; color: var(--muted);
  transition: color .2s ease;
}
.latest-panel__tab:hover { color: var(--ink); }
.latest-panel__tab::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px;
  background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transition: transform .28s var(--ease);
}
.latest-panel__tab.is-active { color: var(--accent); }
.latest-panel__tab.is-active::after { transform: scaleX(1); }

.latest-panel__list {
  display: flex; flex: 1; flex-direction: column; justify-content: space-between; min-height: 0;
}
.latest-panel__list[hidden] { display: none; }
.latest-panel__item {
  display: flex; flex: 1; flex-direction: column; justify-content: center; min-height: 0;
  padding: 7px 0;
}
.latest-panel__item + .latest-panel__item { border-top: 1px solid var(--line-soft); }
.latest-panel__item:hover { background: linear-gradient(90deg, var(--accent-tint), transparent); }

.entry-title {
  position: relative;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  padding-left: 14px;
  font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--ink);
  transition: color .16s ease;
}
.entry-title::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: var(--r-pill);
  background: var(--accent);
  transition: transform .22s var(--ease), background-color .22s ease;
}
.entry-title:hover { color: var(--accent); }
.entry-title:hover::before { transform: scale(1.35); }
.entry-time {
  display: block; margin-top: 3px; padding-left: 14px;
  font-size: 11.5px; color: var(--muted-2);
}

@media (max-width: 900px) {
  .editorial__grid { grid-template-columns: minmax(0, 1fr); }
  .slot__title { font-size: 17px; }
}

/* ========================================================================
   9. 通用区块标题
   ===================================================================== */
.section-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 14px;
}
.section-head__title {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: var(--ink);
}
.section-head__title::before {
  content: ""; width: 4px; height: 17px; border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), #4ca8ea);
}
.section-head__more {
  display: inline-flex; align-items: center; gap: 3px;
  flex: 0 0 auto;
  font-size: 13px; color: var(--accent);
  transition: gap .2s var(--ease), opacity .2s ease;
}
.section-head__more svg { width: 13px; height: 13px; }
.section-head__more:hover { gap: 7px; opacity: .82; }

/* ========================================================================
   10. 专题推荐
   ===================================================================== */
.topics__track {
  display: flex; gap: 12px; width: 100%; min-width: 0;
}
.topic-card {
  position: relative;
  flex: 1 1 0; min-width: 0;
  height: 108px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--line-soft);
  box-shadow: var(--sh-1);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.topic-card:hover { box-shadow: var(--sh-3); transform: translateY(-5px); z-index: 5; }
.topic-card__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s var(--ease);
}
.topic-card:hover .topic-card__img { transform: scale(1.06); }
.topic-card__shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8, 12, 20, .82) 0%, rgba(8, 12, 20, .28) 55%, transparent 100%);
}
.topic-card__text {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 1;
  display: block; padding: 10px 12px 12px; color: #fff;
}
.topic-card__title {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden;
  font-size: 15px; font-weight: 700; line-height: 1.35;
}
.topic-card__sub {
  display: block; margin-top: 2px;
  font-size: 11.5px; line-height: 1.35; color: rgba(255, 255, 255, .82);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

@media (max-width: 760px) {
  .topics__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .topic-card { flex: 0 0 62%; scroll-snap-align: start; }
}

/* ========================================================================
   11. 文章卡片网格
   ===================================================================== */
.feed__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.card {
  height: 100%; width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: box-shadow .28s var(--ease), border-color .28s ease, transform .28s var(--ease);
}
.card:hover {
  border-color: rgba(26, 109, 184, .32);
  box-shadow: var(--sh-3);
  transform: translateY(-3px);
}
.card__link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.card__media {
  display: block; position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--line-soft);
  flex: 0 0 auto;
}
.card__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s var(--ease);
}
.card:hover .card__img { transform: scale(1.045); }
.card__body {
  display: flex; flex-direction: column; gap: 8px;
  padding: 14px 16px 16px;
  flex: 1 1 auto;
}
.card__title {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  font-size: 16px; font-weight: 700; line-height: 1.45; letter-spacing: -.005em;
  transition: color .18s ease;
}
.card:hover .card__title { color: var(--accent); }
.card__summary {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  flex: 1 1 auto;
  font-size: 13px; line-height: 1.62; color: var(--muted);
}
.card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 2px;
  font-size: 12px; color: var(--muted-2);
}
.card__meta { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card__tag {
  flex: 0 0 auto; max-width: 42%;
  padding: 2px 8px;
  font-size: 11.5px; line-height: 1.5; color: var(--accent);
  background: var(--accent-tint);
  border: 1px solid rgba(26, 109, 184, .14);
  border-radius: var(--r-xs);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* 文字优先卡片：标题在上、配图在下；配图给最小高度，避免被压成 0 */
.card--text-first .card__link { height: 100%; }
.card--text-first .card__body { order: 1; flex: 0 0 auto; padding-bottom: 12px; }
.card--text-first .card__media {
  order: 2; flex: 0 0 auto; height: 146px; aspect-ratio: auto;
}

@media (max-width: 900px) {
  .feed__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* ========================================================================
   12. SIDEBAR — 小陆 AI 智能体中心
   ===================================================================== */
.ai-panel {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(255, 255, 255, .22) 0%, transparent 60%),
    radial-gradient(70% 50% at 0% 100%, rgba(208, 232, 250, .18) 0%, transparent 60%),
    linear-gradient(160deg, #2e85cc 0%, #1a6db8 48%, #0f4d85 100%);
  box-shadow:
    0 12px 32px rgba(15, 77, 133, .36),
    0 0 0 1px rgba(255, 255, 255, .06) inset,
    0 0 0 3px rgba(26, 109, 184, .18);
  color: #f1f8ff;
  isolation: isolate;
}

/* 装饰背景：极细网格 + 双光源 */
.ai-panel__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ai-grid-fine {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(120% 80% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 30%, #000 30%, transparent 80%);
}
.ai-glow { position: absolute; border-radius: var(--r-pill); filter: blur(40px); opacity: .55; }
.ai-glow--a { width: 200px; height: 200px; right: -60px; top: 30px;   background: #69b3eb; }
.ai-glow--b { width: 160px; height: 160px; left:  -50px; bottom: 50px; background: #bfe3ff; opacity: .32; }

.ai-panel__inner {
  position: relative; z-index: 1;
  display: flex; flex: 1; flex-direction: column;
  padding: 14px 14px 12px;
  min-height: 0;
}

/* 头部 */
.ai-panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 10px;
}
.ai-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ai-brand__mark {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(140deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .05));
  box-shadow: 0 4px 12px rgba(0, 0, 0, .28), inset 0 0 0 1px rgba(255, 255, 255, .18);
  display: flex; align-items: center; justify-content: center;
}
.ai-brand__mark svg { width: 24px; height: 24px; }
.ai-brand__text { min-width: 0; }
.ai-brand__name {
  display: flex; align-items: baseline; gap: 4px;
  font-size: 19px; font-weight: 800; letter-spacing: -.01em; color: #fff; line-height: 1.1;
}
.ai-brand__name span {
  font-size: 12.5px; font-weight: 800; color: #bfe3ff; padding: 1px 5px;
  border: 1px solid rgba(191, 227, 255, .45); border-radius: var(--r-xs);
  letter-spacing: .04em; line-height: 1.2;
}
.ai-brand__sub {
  margin-top: 2px;
  font-size: 11.5px; color: rgba(191, 227, 255, .7); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; letter-spacing: .04em;
}

.ai-status {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px 3px 7px;
  font-size: 11px; font-weight: 600; color: #b8f3d0;
  background: rgba(15, 157, 88, .18);
  border: 1px solid rgba(120, 220, 168, .32);
  border-radius: var(--r-pill);
  letter-spacing: .04em;
}
.ai-status__dot {
  width: 5px; height: 5px; border-radius: var(--r-pill); background: #1bd47a;
  box-shadow: 0 0 0 0 rgba(27, 212, 122, .7);
  animation: statusPulse 1.8s ease-out infinite;
}
@keyframes statusPulse {
  0%   { box-shadow: 0 0 0 0 rgba(27, 212, 122, .7); }
  100% { box-shadow: 0 0 0 7px rgba(27, 212, 122, 0); }
}

/* 走势图表 */
.ai-chart {
  margin: 0 0 8px;
  padding: 8px 10px 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01));
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-md);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, .18);
}
.ai-chart__cap {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  margin-bottom: 2px;
  font-size: 11.5px; color: rgba(191, 227, 255, .78);
}
.ai-chart__cap > span:first-child { font-weight: 600; color: #fff; }
.ai-chart__delta { font-size: 11px; font-weight: 600; }
.ai-chart__delta em { font-style: normal; font-size: 10.5px; color: rgba(191, 227, 255, .5); margin-left: 2px; font-weight: 500; }
.ai-chart__delta.is-down { color: #ff8d8d; }
.ai-chart__delta.is-up   { color: #8de0a8; }
.ai-chart__plot { position: relative; }
.ai-chart__plot svg { width: 100%; height: 60px; display: block; }
.ai-chart__axis {
  display: flex; justify-content: space-between;
  margin-top: 0;
  font-size: 10px; color: rgba(191, 227, 255, .42); font-variant-numeric: tabular-nums;
}

/* 指标三联（单行） */
.ai-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 8px;
}
.ai-metrics > li {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 5px 4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015));
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-sm);
  text-align: center;
}
.ai-metrics b {
  font-size: 17px; font-weight: 800; color: #fff; line-height: 1.05;
  font-variant-numeric: tabular-nums;
  display: inline-flex; align-items: baseline; gap: 1px;
}
.ai-metrics b span { font-size: 10.5px; font-weight: 600; color: #bfe3ff; margin-left: 1px; }
.ai-metrics > li > span {
  display: block; margin-top: 2px;
  font-size: 10.5px; color: rgba(191, 227, 255, .58); letter-spacing: .02em;
}

/* 快捷提问 */
.ai-quick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-bottom: 8px; }
.ai-quick__btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 9px;
  font-size: 12px; color: rgba(255, 255, 255, .86);
  background: linear-gradient(168deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .025));
  border: 1px solid rgba(255, 255, 255, .12);
  border-bottom-color: rgba(255, 255, 255, .04);
  border-radius: var(--r-sm);
  text-align: left; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--ease);
}
.ai-quick__dot {
  width: 5px; height: 5px; border-radius: var(--r-pill); background: #6aa9ff; flex: 0 0 auto;
  box-shadow: 0 0 6px rgba(106, 169, 255, .8);
}
.ai-quick__btn:hover {
  background: linear-gradient(168deg, rgba(106, 169, 255, .32), rgba(106, 169, 255, .06));
  border-color: rgba(191, 227, 255, .5);
  color: #fff; transform: translateY(-1px);
}
.ai-quick__btn:hover .ai-quick__dot { background: #bfe3ff; }

/* 提问框 */
.ai-prompt { margin-top: auto; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .1); }
.ai-prompt__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 6px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-md);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.ai-prompt__bar:focus-within {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(191, 227, 255, .55);
  box-shadow: 0 0 0 3px rgba(106, 169, 255, .25);
}
.ai-prompt__field { position: relative; flex: 1 1 auto; min-width: 0; height: 22px; }
.ai-prompt__input {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  border: 0; background: transparent; outline: none;
  font-size: 13.5px; color: #fff;
}
.ai-prompt__input::placeholder { color: transparent; }
.ai-prompt__overlay {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; overflow: hidden;
  font-size: 13.5px; color: rgba(219, 234, 255, .55);
  pointer-events: none;
  transition: opacity .15s ease, visibility .15s ease;
}
.ai-prompt__overlay.is-hidden { opacity: 0; visibility: hidden; }
.ai-prompt__hint { min-width: 0; font-weight: 600; color: rgba(255, 255, 255, .82); white-space: nowrap; }
.ai-prompt__caret { color: #bfe3ff; animation: caretBlink 1s step-end infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }
.ai-prompt__send {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; padding: 0; flex: 0 0 auto;
  border: 0; border-radius: var(--r-pill);
  background: linear-gradient(122deg, #4ca8ea 0%, #6aa9ff 100%);
  color: #fff; cursor: pointer;
  box-shadow: 0 2px 8px rgba(76, 168, 234, .55), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: filter .2s ease, transform .2s var(--ease);
}
.ai-prompt__send svg { width: 15px; height: 15px; }
.ai-prompt__send:hover { filter: brightness(1.08); transform: scale(1.06); }

/* ========================================================================
   13. SIDEBAR — 服务入口
   ===================================================================== */
.services { display: flex; flex-direction: column; gap: 10px; }
.services__item {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 78px; padding: 14px 18px;
  overflow: hidden;
  border: 1px solid rgba(12, 18, 28, .08);
  border-radius: var(--r-md);
  background-color: var(--line-soft);
  background-position: 50%; background-repeat: no-repeat; background-size: 108%;
  box-shadow: var(--sh-1);
  text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-size .45s var(--ease), border-color .3s ease;
}
.services__item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 23, 42, .45) 0%, rgba(15, 23, 42, .72) 100%);
  transition: background .35s ease;
}
.services__item:hover {
  background-size: 124%;
  border-color: rgba(26, 109, 184, .45);
  box-shadow: var(--sh-3);
  transform: translateY(-4px);
  z-index: 2;
}
.services__item:hover::after { background: linear-gradient(180deg, rgba(15, 23, 42, .3) 0%, rgba(15, 23, 42, .58) 100%); }
.services__label {
  position: relative; z-index: 1;
  padding: 0 8px;
  font-size: 17px; font-weight: 700; line-height: 1.4;
  letter-spacing: .03em; text-align: center; color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .38);
  transition: font-size .35s var(--ease), text-shadow .35s ease;
}
.services__item:hover .services__label {
  font-size: 20px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 6px 16px rgba(0, 0, 0, .35);
}

/* ========================================================================
   14. SIDEBAR — 面板列表
   ===================================================================== */
.panel {
  padding: 16px 18px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}
.panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 12px;
}
.panel__title {
  position: relative;
  display: flex; align-items: center; gap: 9px;
  font-size: 16px; font-weight: 700; color: var(--ink);
}
.panel__title::before {
  content: ""; width: 4px; height: 15px; border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), #4ca8ea);
}
.panel__more { flex: 0 0 auto; font-size: 12.5px; color: var(--accent); }
.panel__more:hover { text-decoration: underline; }

.mini-list > li { padding: 9px 0; }
.mini-list > li + li { border-top: 1px solid var(--line-soft); }

/* ========================================================================
   15. FOOTER — 多列 hub 页脚
   ===================================================================== */
.site-footer {
  position: relative;
  margin-top: 64px;
  color: rgba(255, 255, 255, .82);
  background: linear-gradient(180deg, #0a1d36 0%, #0c2543 60%, #0a1a30 100%);
  overflow: hidden;
  isolation: isolate;
}
.site-footer__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.site-footer__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 80%, transparent 100%);
}
.site-footer__glow {
  position: absolute; border-radius: var(--r-pill); filter: blur(60px); opacity: .45;
}
.site-footer__glow--1 { width: 420px; height: 280px; top: -100px; left: -100px; background: rgba(26, 109, 184, .55); }
.site-footer__glow--2 { width: 380px; height: 240px; right: -80px; bottom: -120px; background: rgba(63, 150, 221, .45); }

.site-footer__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(0, 3fr);
  gap: 48px;
  padding: 56px 0 36px;
}
@media (max-width: 900px) { .site-footer__inner { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; } }

/* 品牌区 */
.site-footer__brand { display: flex; flex-direction: column; gap: 18px; }
.site-footer__logo { display: inline-block; }
.site-footer__logo img { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.site-footer__slogan {
  font-size: 14px; line-height: 1.7; color: rgba(191, 227, 255, .7);
  border-left: 3px solid var(--accent);
  padding-left: 12px;
}
.site-footer__contact { display: flex; flex-direction: column; gap: 8px; }
.site-footer__contact-item {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; color: rgba(219, 234, 255, .78);
  transition: color .18s ease;
}
a.site-footer__contact-item:hover { color: #fff; }
.site-footer__contact-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .08);
  color: #bfe3ff;
}
.site-footer__contact-icon svg { width: 14px; height: 14px; }

/* 链接矩阵 */
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
@media (max-width: 720px) { .site-footer__cols { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.site-footer__col { min-width: 0; }
.site-footer__col-title {
  position: relative; padding-bottom: 10px; margin-bottom: 12px;
  font-size: 14px; font-weight: 700; color: #fff; letter-spacing: .04em;
}
.site-footer__col-title::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 24px;
  background: linear-gradient(90deg, var(--accent), #6aa9ff);
  border-radius: 2px;
}
.site-footer__col ul { display: flex; flex-direction: column; gap: 7px; }
.site-footer__col a {
  display: inline-block;
  font-size: 13px; color: rgba(191, 227, 255, .68);
  transition: color .18s ease, transform .22s var(--ease);
}
.site-footer__col a:hover { color: #fff; transform: translateX(3px); }

.site-footer__col--qr { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer__qr {
  display: flex; align-items: center; gap: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-md);
}
.site-footer__qr-box {
  width: 80px; height: 80px; border-radius: var(--r-sm); overflow: hidden; flex: 0 0 auto;
  background: #fff; padding: 2px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.site-footer__qr-box svg { width: 100%; height: 100%; display: block; }
.site-footer__qr p {
  font-size: 12px; line-height: 1.6; color: rgba(191, 227, 255, .82); margin: 0;
}

/* 友情链接条 */
.site-footer__friends {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: rgba(8, 18, 36, .45);
}
.site-footer__friends > .shell {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-block: 18px;
}
.site-footer__friends-label {
  flex: 0 0 auto;
  font-size: 12.5px; font-weight: 700; color: #fff; letter-spacing: .06em;
  padding: 4px 10px;
  background: linear-gradient(120deg, var(--accent), #3f96dd);
  border-radius: var(--r-sm);
}
.site-footer__friends-list {
  display: flex; flex-wrap: wrap; gap: 4px 6px;
  flex: 1 1 auto; min-width: 0;
}
.site-footer__friends-list a {
  display: inline-block;
  padding: 5px 11px;
  font-size: 12.5px; color: rgba(191, 227, 255, .72);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-pill);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.site-footer__friends-list a:hover {
  background: rgba(76, 168, 234, .18);
  color: #fff;
  border-color: rgba(191, 227, 255, .35);
}

/* 底部条 */
.site-footer__legal {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .25);
}
.site-footer__legal-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
  padding-block: 18px 22px;
}
.site-footer__note {
  flex: 1 1 280px; margin: 0;
  font-size: 12px; line-height: 1.7; color: rgba(191, 227, 255, .55);
}
.site-footer__lic {
  display: flex; flex-wrap: wrap; gap: 4px 14px;
  font-size: 12px; color: rgba(191, 227, 255, .55);
}
.site-footer__lic li { position: relative; }
.site-footer__lic li + li::before {
  content: ""; position: absolute; left: -8px; top: 50%; transform: translateY(-50%);
  width: 1px; height: 11px; background: rgba(255, 255, 255, .14);
}
.site-footer__copy {
  width: 100%;
  font-size: 12px; color: rgba(191, 227, 255, .45); margin: 0;
  text-align: center; padding-top: 10px; border-top: 1px dashed rgba(255, 255, 255, .08);
}

/* ========================================================================
   16. 入场动效
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .55s var(--ease), transform .55s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ========================================================================
   17. 文章详情页
   ===================================================================== */
/* 面包屑 */
.crumbs {
  display: flex; align-items: center; gap: 6px;
  padding-block: 16px 2px;
  font-size: 13px; color: var(--muted-2);
}
.crumbs a { color: var(--muted); transition: color .18s ease; }
.crumbs a:hover { color: var(--accent); }
.crumbs svg { width: 14px; height: 14px; color: var(--line); }
.crumbs [aria-current="page"] { color: var(--ink-2); }

/* 版面 */
.article { padding-bottom: 56px; background: linear-gradient(180deg, #fff 0%, var(--bg) 240px); }
.article__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}
.article__main { min-width: 0; }

/* 文章主卡片 */
.article__main {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  padding: 32px 40px 36px;
}

/* 文章头 */
.article__head { padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.article__tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  font-size: 12.5px; font-weight: 600; color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(26, 109, 184, .18);
  border-radius: var(--r-pill);
}
.article__title {
  font-size: 30px; font-weight: 800; line-height: 1.32; letter-spacing: -.01em;
  color: var(--ink);
}
.article__meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  margin-top: 16px;
  font-size: 13px; color: var(--muted);
}
.article__source { color: var(--accent-strong); font-weight: 600; }
.article__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line); }

/* 核心提要 */
.article__lead {
  position: relative;
  margin: 22px 0 4px;
  padding: 16px 18px 16px 20px;
  background: linear-gradient(180deg, var(--accent-soft), #fbfdff);
  border: 1px solid rgba(26, 109, 184, .14);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-md);
}
.article__lead-label {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  color: var(--accent);
}
.article__lead p { font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }

/* 配图 */
.article__figure { margin: 24px 0; }
.article__figure img {
  width: 100%; border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
}
.article__figure figcaption {
  margin-top: 8px;
  font-size: 12.5px; color: var(--muted-2); text-align: center;
}

/* 正文排版 */
.article__body { margin-top: 8px; }
.article__body p {
  margin: 16px 0;
  font-size: 16px; line-height: 1.92; color: #2b333d;
  letter-spacing: .005em;
}
.article__body h2 {
  margin: 30px 0 8px;
  padding-left: 14px;
  font-size: 21px; font-weight: 800; line-height: 1.4; color: var(--ink);
  border-left: 4px solid var(--accent);
  border-image: linear-gradient(180deg, var(--accent), #6aa9ff) 1;
}
.article__body p:first-child { margin-top: 0; }

/* 引用 */
.article__quote {
  position: relative;
  margin: 24px 0;
  padding: 18px 22px;
  background: var(--bg);
  border-radius: var(--r-md);
  border-left: 3px solid var(--line);
}
.article__quote p {
  margin: 0;
  font-size: 16.5px; line-height: 1.85; color: var(--ink-2);
  font-style: italic;
}
.article__quote cite {
  display: block; margin-top: 10px;
  font-size: 13px; font-style: normal; color: var(--muted);
}

/* 数据卡 */
.article__stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 26px 0;
}
.article__stat {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  padding: 18px 8px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-1);
  transition: transform .24s var(--ease), box-shadow .24s ease, border-color .24s ease;
}
.article__stat:hover {
  transform: translateY(-3px);
  border-color: rgba(26, 109, 184, .3);
  box-shadow: var(--sh-2);
}
.article__stat b {
  font-size: 26px; font-weight: 800; color: var(--accent); line-height: 1;
  font-family: "DIN Alternate", "PingFang SC", sans-serif;
  font-variant-numeric: tabular-nums;
  display: flex; align-items: baseline;
}
.article__stat b span { font-size: 13px; font-weight: 700; color: var(--accent); margin-left: 2px; }
.article__stat span:last-child {
  font-size: 12.5px; color: var(--muted);
}

/* 标签 */
.article__tags {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.article__tags-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.article__tags a {
  padding: 5px 12px;
  font-size: 13px; color: var(--ink-2);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
.article__tags a:hover { color: var(--accent); background: var(--accent-soft); border-color: rgba(26, 109, 184, .3); }

/* 分享 */
.article__share {
  display: flex; align-items: center; gap: 10px;
  margin-top: 18px;
}
.article__share-label { font-size: 13px; color: var(--muted); }
.article__share-btn {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: #fff; color: var(--muted);
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s var(--ease);
}
.article__share-btn svg { width: 18px; height: 18px; }
.article__share-btn:hover { color: #fff; background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

/* 来源卡 */
.article__source-card {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 22px; padding: 16px;
  background: var(--bg);
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
}
.article__source-logo {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  min-width: 64px; height: 48px; padding: 0 12px;
  font-size: 14px; font-weight: 700; color: var(--accent-strong);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
}
.article__source-text p { font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.article__disclaimer { margin-top: 6px; color: var(--muted-2); }

/* ---------- 侧栏：AI 摘要 ---------- */
.ai-summary {
  position: relative; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(255, 255, 255, .18) 0%, transparent 60%),
    linear-gradient(160deg, #2e85cc 0%, #1a6db8 48%, #0f4d85 100%);
  color: #f1f8ff;
  box-shadow: var(--sh-2);
}
.ai-summary__head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 14px 14px 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.ai-summary__brand { display: flex; align-items: center; gap: 9px; min-width: 0; }
.ai-summary__mark {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(140deg, rgba(255, 255, 255, .25), rgba(255, 255, 255, .05));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  display: flex; align-items: center; justify-content: center;
}
.ai-summary__mark svg { width: 24px; height: 24px; }
.ai-summary__name { font-size: 15px; font-weight: 800; color: #fff; }
.ai-summary__name span { font-size: 11px; color: #bfe3ff; padding: 1px 5px; border: 1px solid rgba(191, 227, 255, .5); border-radius: var(--r-xs); }
.ai-summary__status {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: rgba(219, 234, 255, .7);
}
.ai-summary__status .ai-status__dot { width: 6px; height: 6px; border-radius: 50%; background: #1bd47a; box-shadow: 0 0 0 0 rgba(27, 212, 122, .7); animation: statusPulse 1.8s ease-out infinite; }
.ai-summary__list { margin: 0 14px; counter-reset: s; }
.ai-summary__list li {
  position: relative;
  margin-bottom: 10px; padding-left: 26px;
  font-size: 13px; line-height: 1.65; color: rgba(230, 239, 255, .9);
}
.ai-summary__list li::before {
  counter-increment: s;
  content: counter(s);
  position: absolute; left: 0; top: 1px;
  display: flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  font-size: 11px; font-weight: 700; color: #bfe3ff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(191, 227, 255, .3);
  border-radius: 50%;
}
.ai-summary__foot { margin: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .12); }
.ai-summary__ask {
  display: inline-flex; align-items: center; gap: 6px;
  width: 100%; justify-content: center;
  padding: 9px 14px;
  font-size: 13.5px; font-weight: 600; color: #fff;
  background: linear-gradient(122deg, #4ca8ea, #6aa9ff);
  border: 0; border-radius: var(--r-pill);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(76, 168, 234, .4);
  transition: filter .2s ease, transform .2s var(--ease);
}
.ai-summary__ask svg { width: 15px; height: 15px; }
.ai-summary__ask:hover { filter: brightness(1.06); transform: translateY(-1px); }

/* ---------- 侧栏：通用面板 ---------- */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  padding: 16px 16px 18px;
}
.panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.panel__title {
  position: relative; padding-left: 12px;
  font-size: 16px; font-weight: 800; color: var(--ink);
}
.panel__title::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 15px; border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), #6aa9ff);
}
.panel__more { font-size: 12.5px; color: var(--muted); transition: color .18s ease; }
.panel__more:hover { color: var(--accent); }

/* 相关推荐 */
.rel-list { display: flex; flex-direction: column; gap: 12px; }
.rel-list a { display: flex; gap: 12px; align-items: center; }
.rel-list__media {
  flex: 0 0 auto; width: 84px; height: 60px;
  border-radius: var(--r-sm); overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--bg-tint);
}
.rel-list__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.rel-list a:hover .rel-list__media img { transform: scale(1.06); }
.rel-list__text { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.rel-list__title {
  font-size: 13.5px; line-height: 1.5; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .18s ease;
}
.rel-list a:hover .rel-list__title { color: var(--accent); }
.rel-list__meta { font-size: 12px; color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 热门文章 */
.hot-list { display: flex; flex-direction: column; gap: 13px; }
.hot-list li { display: flex; align-items: center; gap: 12px; }
.hot-list__num {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  font-size: 12.5px; font-weight: 800; color: var(--muted-2);
  background: var(--bg); border-radius: var(--r-xs);
  font-variant-numeric: tabular-nums;
}
.hot-list__num--1 { color: #fff; background: var(--up); }
.hot-list__num--2 { color: #fff; background: #f5793b; }
.hot-list__num--3 { color: #fff; background: #e0a106; }
.hot-list .entry-title {
  font-size: 13.5px; line-height: 1.5; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .18s ease;
}
.hot-list li:hover .entry-title { color: var(--accent); }

/* 专题迷你卡 */
.topic-mini {
  position: relative; display: block;
  height: 92px; border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--line);
}
.topic-mini img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.topic-mini:hover img { transform: scale(1.06); }
.topic-mini__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .62) 100%);
}
.topic-mini__text {
  position: absolute; left: 14px; right: 14px; bottom: 12px;
  display: flex; flex-direction: column; gap: 2px; color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
}
.topic-mini__title { font-size: 15px; font-weight: 800; }
.topic-mini__sub { font-size: 12px; opacity: .85; }

/* ---------- 相关阅读 ---------- */
.more-read { margin-top: 48px; }
.more-read .section-head { margin-bottom: 16px; }
.more-read .feed__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .article__layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .article__sidebar { position: static; }
}
@media (max-width: 760px) {
  .article__main-card { padding: 22px 18px 24px; }
  .article__title { font-size: 23px; }
  .article__stats { grid-template-columns: repeat(2, 1fr); }
  .more-read .feed__grid { grid-template-columns: minmax(0, 1fr); }
}
