.page-news {
  --news-rule: 1px solid rgba(46, 58, 55, 0.92);
  --news-soft: rgba(242, 247, 244, 0.78);
  --news-gap: clamp(20px, 3vw, 44px);
  display: block;
}

.page-news .shell {
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(22px, 3vw, 42px) clamp(18px, 3.4vw, 44px) clamp(80px, 10vw, 148px);
}

/* ---------- 面包屑 ---------- */
.page-news .breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--mist);
  margin-bottom: clamp(26px, 4.5vw, 56px);
}
.page-news .breadcrumb a {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.page-news .breadcrumb a:hover,
.page-news .breadcrumb a:focus-visible {
  color: var(--lime);
  border-bottom-color: var(--lime);
}
.page-news .breadcrumb__sep { color: rgba(127, 169, 155, 0.55); }
.page-news .breadcrumb [aria-current="page"] { color: var(--ice); }

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  display: grid;
  gap: 22px;
  padding-bottom: clamp(34px, 5vw, 68px);
  border-bottom: var(--news-rule);
}
.page-news .news-hero__note {
  display: none;
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mist);
  justify-self: start;
}
.page-news .news-hero__title {
  margin: 10px 0 18px;
  font-size: clamp(42px, 9vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  font-weight: 900;
  color: var(--ice);
}
.page-news .news-hero__lede {
  max-width: 42ch;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.82;
  color: var(--news-soft);
}
.page-news .news-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--mist);
}
.page-news .news-hero__meta .num {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--lime);
  margin-right: 5px;
  letter-spacing: 0.01em;
}

@media (min-width: 900px) {
  .page-news .news-hero {
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 30px;
    align-items: start;
  }
  .page-news .news-hero__note { display: block; position: relative; top: 16px; }
}

/* ---------- 置顶更新 ---------- */
.page-news .news-top { padding-top: clamp(36px, 5.5vw, 72px); }
.page-news .news-top__grid {
  display: grid;
  gap: 22px;
  margin-top: 30px;
}
.page-news .top-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: var(--news-rule);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: border-color 0.35s var(--ease), transform 0.45s var(--ease);
}
.page-news .top-card:hover { border-color: rgba(184, 255, 46, 0.5); }
.page-news .top-card:nth-child(2) { border-color: rgba(255, 138, 61, 0.34); }
.page-news .top-card:nth-child(2):hover { border-color: rgba(255, 138, 61, 0.75); }
.page-news .top-card__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--charcoal);
}
.page-news .top-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}
.page-news .top-card:hover .top-card__media img { transform: scale(1.05); }
.page-news .media-frame__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: rgba(11, 42, 34, 0.82);
  border: 1px solid rgba(184, 255, 46, 0.55);
  color: var(--lime);
  backdrop-filter: blur(6px);
}
.page-news .top-card:nth-child(2) .media-frame__badge {
  border-color: rgba(255, 138, 61, 0.65);
  color: var(--orange);
}
.page-news .top-card__body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.page-news .top-card__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--mist);
  text-transform: uppercase;
}
.page-news .top-card__title {
  margin: 0;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ice);
}
.page-news .top-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--news-soft);
}

@media (min-width: 780px) {
  .page-news .news-top__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-news .news-top__grid > .top-card:nth-child(2) { margin-top: 34px; }
  .page-news .news-top__grid > .top-card:nth-child(3) { margin-top: 68px; }
}

/* ---------- 主布局：内容流 + 跟随目录 ---------- */
.page-news .news-body {
  display: grid;
  gap: var(--news-gap);
  margin-top: clamp(56px, 8vw, 108px);
}
@media (min-width: 1024px) {
  .page-news .news-body {
    grid-template-columns: minmax(0, 1fr) 232px;
    column-gap: clamp(40px, 5vw, 76px);
    align-items: start;
  }
}
.page-news .news-stream { min-width: 0; }

.page-news .section { margin: 0 0 clamp(48px, 7vw, 96px); }
.page-news .section:last-child { margin-bottom: 0; }

.page-news .section__head { margin-bottom: 26px; }
.page-news .section__eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mist);
}
.page-news .section__title {
  margin: 0;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: var(--ice);
}
.page-news .section__note {
  margin: 12px 0 0;
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}
.page-news .section__footnote {
  margin: 22px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--mist);
  padding-left: 14px;
  border-left: 2px solid var(--grid);
}
.page-news .section__footnote a {
  color: var(--lime-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 255, 46, 0.4);
}
.page-news .section__footnote a:hover { border-bottom-color: var(--lime); }

/* ---------- 条目列表 ---------- */
.page-news .entry-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--news-rule);
}
.page-news .entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 22px 0;
  border-bottom: var(--news-rule);
  transition: background 0.35s var(--ease);
}
.page-news .entry:hover { background: rgba(27, 36, 34, 0.5); }
.page-news .entry__rail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.page-news .entry__round {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mist);
}
.page-news .entry__title {
  margin: 0 0 8px;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.5;
  font-weight: 800;
  color: var(--ice);
  transition: color 0.3s var(--ease);
}
.page-news .entry:hover .entry__title { color: var(--lime-soft); }
.page-news .entry__summary {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--news-soft);
  max-width: 62ch;
}
.page-news .entry__spark {
  width: 120px;
  height: 36px;
  color: var(--lime);
  opacity: 0.85;
  align-self: end;
}
.page-news .entry__spark--muted { color: var(--orange); }

@media (min-width: 720px) {
  .page-news .entry {
    grid-template-columns: 132px minmax(0, 1fr) 120px;
    column-gap: 22px;
    align-items: start;
  }
  .page-news .entry__spark { justify-self: end; }
}

/* ---------- 标签 ---------- */
.page-news .tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(127, 169, 155, 0.5);
  color: var(--mist);
  white-space: nowrap;
}
.page-news .tag--lime {
  border-color: rgba(184, 255, 46, 0.75);
  color: var(--lime);
  background: rgba(184, 255, 46, 0.07);
}
.page-news .tag--orange {
  border-color: transparent;
  background: var(--orange);
  color: #22120A;
  font-weight: 700;
}

/* ---------- 切换：复盘 / 前瞻 ---------- */
.page-news .news-tabs { display: block; }
.page-news .news-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.page-news .tabs__btn {
  appearance: none;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.05em;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--grid);
  background: transparent;
  color: var(--mist);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.page-news .tabs__btn:hover { color: var(--ice); border-color: rgba(184, 255, 46, 0.5); }
.page-news .tabs__btn[aria-selected="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: #0B2A22;
  font-weight: 700;
}
.page-news .tabs__panel[hidden] { display: none; }
.page-news .tabs__panel { margin-top: 4px; }

/* ---------- 数据专题 ---------- */
.page-news .topic-feature {
  display: grid;
  gap: 24px;
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--radius-l);
  border: var(--news-rule);
  background:
    radial-gradient(120% 140% at 88% 0%, rgba(31, 111, 99, 0.42), transparent 58%),
    var(--panel);
}
.page-news .topic-feature__media {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--charcoal);
}
.page-news .topic-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-news .topic-feature__body { min-width: 0; }
.page-news .topic-feature__title {
  margin: 14px 0 12px;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -0.015em;
  color: var(--ice);
}
.page-news .topic-feature__text {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.82;
  color: var(--news-soft);
}
.page-news .topic-feature__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  border-top: var(--news-rule);
  padding-top: 16px;
}
.page-news .topic-feature__list li {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--mist);
  padding-left: 16px;
  position: relative;
}
.page-news .topic-feature__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 1px;
  background: var(--orange);
}
.page-news .topic-feature__list strong { color: var(--ice); font-weight: 700; }

@media (min-width: 840px) {
  .page-news .topic-feature {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    column-gap: 32px;
  }
}

.page-news .topic-cards {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}
.page-news .topic-card {
  padding: 22px;
  border-radius: var(--radius-m);
  border: var(--news-rule);
  background: rgba(27, 36, 34, 0.55);
  transition: border-color 0.35s var(--ease), transform 0.4s var(--ease);
}
.page-news .topic-card:hover {
  border-color: rgba(255, 138, 61, 0.6);
  transform: translateY(-3px);
}
.page-news .topic-card__title {
  margin: 14px 0 10px;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 800;
  color: var(--ice);
}
.page-news .topic-card__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--news-soft);
}
@media (min-width: 760px) {
  .page-news .topic-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- 版本说明 ---------- */
.page-news .versions-grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) {
  .page-news .versions-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    column-gap: clamp(30px, 4vw, 56px);
    align-items: start;
  }
}
.page-news .versions-grid__aside { min-width: 0; }
.page-news .versions-grid__aside .media-frame {
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--charcoal);
  aspect-ratio: 10 / 7;
}
.page-news .versions-grid__aside img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-news .versions-grid__caption {
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--mist);
  padding-left: 12px;
  border-left: 2px solid var(--orange);
}

.page-news .timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 22px;
  border-left: 1px solid var(--grid);
}
.page-news .timeline__item {
  position: relative;
  padding: 0 0 26px 0;
}
.page-news .timeline__item:last-child { padding-bottom: 0; }
.page-news .timeline__dot {
  position: absolute;
  left: -27px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(184, 255, 46, 0.14);
}
.page-news .timeline__item:nth-child(2) .timeline__dot { background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 138, 61, 0.14); }
.page-news .timeline__meta {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--mist);
  text-transform: uppercase;
}
.page-news .timeline__title {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 800;
  color: var(--ice);
}
.page-news .timeline__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--news-soft);
  max-width: 52ch;
}

/* ---------- 术语课堂 ---------- */
.page-news .terms-grid {
  display: grid;
  gap: 18px;
}
.page-news .term-card {
  padding: 24px;
  border-radius: var(--radius-m);
  border: var(--news-rule);
  background: rgba(27, 36, 34, 0.5);
  position: relative;
  overflow: hidden;
}
.page-news .term-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 111, 99, 0.4), transparent 70%);
  pointer-events: none;
}
.page-news .term-card__index {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--lime);
}
.page-news .term-card__name {
  margin: 12px 0 12px;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--ice);
}
.page-news .term-card__def {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--news-soft);
}
.page-news .term-card__tip {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--mist);
  padding-top: 14px;
  border-top: var(--news-rule);
}
.page-news .term-card__tip strong { color: var(--amber); font-weight: 700; }

.page-news .terms-grid__media {
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--charcoal);
  aspect-ratio: 3 / 2;
}
.page-news .terms-grid__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 800px) {
  .page-news .terms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
  .page-news .terms-grid__media {
    grid-column: 1 / -1;
    aspect-ratio: 21 / 8;
  }
}

/* ---------- 订阅 ---------- */
.page-news .subscribe {
  position: relative;
  border-radius: var(--radius-l);
  border: var(--news-rule);
  padding: clamp(26px, 4.2vw, 56px);
  overflow: hidden;
  background:
    radial-gradient(120% 150% at 0% 0%, rgba(31, 111, 99, 0.6), transparent 62%),
    radial-gradient(100% 120% at 100% 110%, rgba(255, 138, 61, 0.3), transparent 58%),
    var(--panel);
}
.page-news .subscribe__body { position: relative; z-index: 1; max-width: 62ch; }
.page-news .subscribe__title {
  margin: 0 0 14px;
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: var(--ice);
}
.page-news .subscribe__text {
  margin: 0 0 22px;
  font-size: 14.5px;
  line-height: 1.82;
  color: var(--news-soft);
}
.page-news .subscribe__list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.page-news .subscribe__list li {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--ice);
  padding: 12px 16px;
  border-radius: var(--radius-s);
  border: 1px solid rgba(46, 58, 55, 0.9);
  background: rgba(11, 42, 34, 0.5);
}
.page-news .subscribe__note {
  margin: 0 0 26px;
  font-size: 13px;
  line-height: 1.78;
  color: var(--mist);
}
.page-news .subscribe__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.page-news .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.page-news .btn:hover { transform: translateY(-2px); }
.page-news .btn--lime { background: var(--lime); color: #0B2A22; }
.page-news .btn--lime:hover { background: var(--lime-soft); }
.page-news .btn--ghost {
  background: transparent;
  color: var(--ice);
  border-color: rgba(242, 247, 244, 0.32);
}
.page-news .btn--ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ---------- 跟随目录 ---------- */
.page-news .news-toc { min-width: 0; }
.page-news .toc { position: sticky; top: 104px; }
.page-news .toc__title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mist);
}
.page-news .toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  border-left: 1px solid var(--grid);
}
.page-news .toc__list a {
  display: block;
  margin-left: -1px;
  padding: 9px 0 9px 15px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--mist);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.28s var(--ease), border-color 0.28s var(--ease);
}
.page-news .toc__list a:hover,
.page-news .toc__list a:focus-visible { color: var(--ice); }
.page-news .toc__list a.is-active,
.page-news .toc__list a[aria-current="true"] {
  color: var(--lime);
  border-left-color: var(--lime);
}
@media (max-width: 1023px) {
  .page-news .news-toc { display: none; }
}

/* ---------- 返回顶部 ---------- */
.page-news .to-top {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 40;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--charcoal);
  border: 1px solid var(--grid);
  color: var(--lime);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s var(--ease), border-color 0.3s var(--ease);
}
.page-news .to-top[data-visible] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.page-news .to-top:hover { border-color: var(--lime); }
.page-news .to-top__icon { font-size: 16px; line-height: 1; }

/* ---------- 小屏收束 ---------- */
@media (max-width: 480px) {
  .page-news .news-hero__meta { gap: 10px 18px; font-size: 12.5px; }
  .page-news .news-hero__meta .num { font-size: 16px; }
  .page-news .entry__spark { display: none; }
  .page-news .subscribe__list li { padding: 10px 13px; font-size: 13px; }
  .page-news .topic-feature { padding: 18px; }
  .page-news .term-card { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .page-news * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
</main>
