.page-news {
  --news-hair: 1px solid rgba(22, 50, 71, 0.85);
  --news-hair-soft: 1px solid rgba(22, 50, 71, 0.55);
  background: var(--deep-900);
  color: var(--txt);
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(22px, 5vw, 44px) 0 clamp(30px, 6vw, 60px);
  background: linear-gradient(158deg, var(--deep-950) 0%, var(--deep-900) 58%, var(--deep-800) 100%);
}
.page-news .news-hero::before {
  content: "";
  position: absolute;
  top: -14%;
  right: -26%;
  width: min(760px, 94vw);
  height: 128%;
  background: linear-gradient(145deg, rgba(255, 107, 74, 0.2), rgba(34, 240, 208, 0.12) 52%, transparent 78%);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 70%);
  z-index: -1;
}
.page-news .news-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 240, 208, 0.4), transparent);
  z-index: -1;
}
.page-news .news-hero__wrap {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
  align-items: center;
}
.page-news .breadcrumb {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--txt-3);
}
.page-news .breadcrumb a {
  color: var(--txt-2);
  text-decoration: none;
  transition: color 0.16s var(--ease);
}
.page-news .breadcrumb a:hover {
  color: var(--cyan-400);
}
.page-news .breadcrumb__sep {
  margin: 0 8px;
  color: var(--txt-3);
}
.page-news .news-hero .eyebrow {
  margin: 0 0 14px;
}
.page-news .news-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 6vw, 60px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--mist-100);
  max-width: 18ch;
}
.page-news .news-hero__lead {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.78;
  color: var(--txt-2);
}
.page-news .news-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: clamp(22px, 4vw, 32px) 0 0;
  padding: 16px 0 0;
  list-style: none;
  border-top: var(--news-hair);
}
.page-news .news-hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.page-news .news-hero__fact-value {
  font-family: var(--mono);
  font-size: clamp(14px, 2.1vw, 19px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--cyan-200);
}
.page-news .news-hero__fact-label {
  font-size: 11px;
  line-height: 1.5;
  color: var(--txt-3);
}
.page-news .news-hero__figure {
  margin: 0;
  border: var(--line-cyan);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--deep-800);
  clip-path: polygon(0 0, 100% 0, 100% 86%, 86% 100%, 0 100%);
}
.page-news .news-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

/* ---------- 主体布局 ---------- */
.page-news .news-layout {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
  align-items: start;
  padding: clamp(28px, 5vw, 48px) 0 clamp(40px, 7vw, 80px);
}
.page-news .news-rail {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.page-news .news-rail__toc {
  border: var(--news-hair);
  border-radius: var(--radius);
  padding: 16px 14px;
  background: rgba(11, 36, 56, 0.62);
}
.page-news .toc__title {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--txt-3);
}
.page-news .toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.page-news .toc__link {
  display: block;
  padding: 8px 10px;
  border-left: 2px solid rgba(22, 50, 71, 0.9);
  color: var(--txt-2);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease), background 0.16s var(--ease);
}
.page-news .toc__link:hover {
  color: var(--cyan-200);
  background: rgba(34, 240, 208, 0.06);
}
.page-news .toc__link[aria-current="location"] {
  color: var(--cyan-200);
  border-left-color: var(--coral-500);
  background: rgba(255, 107, 74, 0.08);
}
.page-news .news-rail__snap {
  border: var(--news-hair);
  border-radius: var(--radius);
  padding: 16px 14px;
  background: linear-gradient(160deg, rgba(255, 107, 74, 0.12), rgba(11, 36, 56, 0.55) 62%);
}
.page-news .news-rail__snap-label {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--txt-3);
}
.page-news .news-rail__snap-value {
  margin: 4px 0 8px;
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--coral-300);
}
.page-news .news-rail__snap-note {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--txt-2);
}
.page-news .news-rail__snap-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding-top: 10px;
  border-top: var(--news-hair-soft);
  font-size: 12px;
  color: var(--green-500);
}
.page-news .news-rail__links {
  display: grid;
  gap: 8px;
}
.page-news .news-rail__link {
  display: block;
  padding: 11px 14px;
  border: var(--news-hair);
  border-radius: var(--radius-sm);
  background: var(--deep-800);
  color: var(--txt);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease), transform 0.16s var(--ease);
}
.page-news .news-rail__link:hover {
  border-color: rgba(34, 240, 208, 0.45);
  color: var(--cyan-200);
  transform: translateY(-2px);
}

/* ---------- 区块通用 ---------- */
.page-news .news-main {
  min-width: 0;
}
.page-news .news-sec {
  scroll-margin-top: 96px;
  padding: clamp(26px, 5vw, 44px) 0;
  border-top: var(--news-hair);
}
.page-news .news-sec:first-child {
  border-top: 0;
  padding-top: 0;
}
.page-news .news-sec__head {
  max-width: 64ch;
  margin-bottom: clamp(18px, 3vw, 26px);
}
.page-news .news-sec__head .eyebrow {
  margin: 0 0 10px;
}
.page-news .news-sec h2 {
  margin: 0 0 10px;
  font-size: clamp(21px, 3.4vw, 31px);
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--mist-100);
}
.page-news .news-sec__intro {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--txt-2);
}
.page-news .news-sec__foot {
  margin: clamp(18px, 3vw, 24px) 0 0;
}
.page-news .news-sec__foot .link-more {
  display: inline-block;
  color: var(--coral-300);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 161, 132, 0.6);
  padding-bottom: 2px;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.page-news .news-sec__foot .link-more:hover {
  color: var(--cyan-200);
  border-color: rgba(34, 240, 208, 0.6);
}

/* ---------- 更新列表 ---------- */
.page-news .news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.page-news .news-item {
  min-width: 0;
}
.page-news .news-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 18px;
  border: var(--news-hair);
  border-radius: var(--radius);
  background: var(--deep-800);
  transition: transform 0.16s var(--ease), border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.page-news .news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 240, 208, 0.45);
  box-shadow: 0 12px 28px rgba(4, 17, 28, 0.55);
}
.page-news .news-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.page-news .news-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.page-news .news-card__time {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--txt-3);
}
.page-news .news-card__title {
  margin: 0;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.42;
  color: var(--mist-100);
}
.page-news .news-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--txt-2);
}
.page-news .news-card__link {
  margin-top: auto;
  align-self: flex-start;
  padding-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--coral-300);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 161, 132, 0.55);
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.page-news .news-card__link:hover {
  color: var(--cyan-200);
  border-color: rgba(34, 240, 208, 0.6);
}
.page-news .news-card__figure {
  margin: 0;
  border: var(--news-hair-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--deep-950);
}
.page-news .news-card__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.page-news .news-card--feature {
  background: linear-gradient(150deg, rgba(11, 36, 56, 0.98), rgba(7, 26, 43, 0.94));
}
.page-news .news-card--feature .news-card__title {
  font-size: clamp(18px, 2vw, 22px);
}

/* ---------- 标签 ---------- */
.page-news .tag {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.page-news .tag--update {
  color: var(--cyan-200);
  border-color: rgba(34, 240, 208, 0.5);
  background: rgba(34, 240, 208, 0.08);
}
.page-news .tag--version {
  color: var(--coral-300);
  border-color: rgba(255, 107, 74, 0.55);
  background: rgba(255, 107, 74, 0.08);
}
.page-news .tag--help {
  color: var(--amber-500);
  border-color: rgba(255, 200, 87, 0.5);
  background: rgba(255, 200, 87, 0.08);
}
.page-news .tag--archive {
  color: var(--deep-950);
  background: var(--cyan-400);
  border-color: var(--cyan-400);
}

/* ---------- 专题 ---------- */
.page-news .news-topics {
  display: grid;
  gap: clamp(16px, 3vw, 24px);
  align-items: start;
}
.page-news .news-topics__cover {
  margin: 0;
  border: var(--news-hair);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--deep-950);
}
.page-news .news-topics__cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}
.page-news .topic-grid {
  display: grid;
  gap: 14px;
}
.page-news .topic-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 16px 16px 20px;
  border: var(--news-hair);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(11, 36, 56, 0.95), rgba(7, 26, 43, 0.88));
  color: inherit;
  text-decoration: none;
  transition: transform 0.16s var(--ease), border-color 0.16s var(--ease);
}
.page-news .topic-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--coral-500), var(--cyan-400));
}
.page-news .topic-card:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 240, 208, 0.4);
}
.page-news .topic-card__idx {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--cyan-400);
}
.page-news .topic-card__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  color: var(--mist-100);
}
.page-news .topic-card__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--txt-2);
}
.page-news .topic-card__more {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--coral-300);
}

/* ---------- 版本时间线 ---------- */
.page-news .timeline-grid {
  display: grid;
  gap: clamp(18px, 3vw, 30px);
  align-items: start;
}
.page-news .timeline-figure {
  margin: 0;
  border: var(--news-hair);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--deep-950);
}
.page-news .timeline-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}
.page-news .timeline {
  list-style: none;
  margin: 0;
  padding: 2px 0 2px 22px;
  position: relative;
}
.page-news .timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(rgba(255, 107, 74, 0.9), rgba(34, 240, 208, 0.65), transparent);
}
.page-news .timeline li {
  position: relative;
  padding: 0 0 20px;
}
.page-news .timeline li:last-child {
  padding-bottom: 0;
}
.page-news .timeline li::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--deep-900);
  border: 2px solid var(--cyan-400);
}
.page-news .timeline__when {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--coral-300);
}
.page-news .timeline__title {
  margin: 4px 0 6px;
  font-size: 16px;
  line-height: 1.42;
  color: var(--mist-100);
}
.page-news .timeline__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--txt-2);
}

/* ---------- 继续查阅 ---------- */
.page-news .follow-grid {
  display: grid;
  gap: 14px;
}
.page-news .follow-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border: var(--news-hair);
  border-radius: var(--radius);
  background: var(--deep-800);
  color: inherit;
  text-decoration: none;
  transition: transform 0.16s var(--ease), border-color 0.16s var(--ease);
}
.page-news .follow-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 107, 74, 0.5);
}
.page-news .follow-card__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--txt-3);
}
.page-news .follow-card__title {
  font-size: 17px;
  line-height: 1.4;
  color: var(--mist-100);
}
.page-news .follow-card__text {
  font-size: 14px;
  line-height: 1.72;
  color: var(--txt-2);
}

/* ---------- 断点 ---------- */
@media (min-width: 720px) {
  .page-news .news-card--feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }
  .page-news .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-news .follow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-news .news-hero__wrap {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
  .page-news .news-list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
  }
  .page-news .news-item--wide {
    grid-column: span 4;
  }
  .page-news .news-item--narrow {
    grid-column: span 2;
  }
  .page-news .timeline-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  }
}

@media (min-width: 1024px) {
  .page-news .news-layout {
    grid-template-columns: 216px minmax(0, 1fr);
    gap: 40px;
  }
  .page-news .news-rail {
    position: sticky;
    top: 92px;
  }
  .page-news .news-topics {
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  }
  .page-news .timeline-figure {
    position: sticky;
    top: 92px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-card,
  .page-news .topic-card,
  .page-news .follow-card,
  .page-news .news-rail__link {
    transition: none;
  }
  .page-news .news-card:hover,
  .page-news .topic-card:hover,
  .page-news .follow-card:hover,
  .page-news .news-rail__link:hover {
    transform: none;
  }
}
