.page-news {
  --news-line-soft: rgba(201, 211, 224, 0.14);
  --news-card: rgba(20, 34, 58, 0.72);
  --news-step: var(--radius-m);
  display: block;
  padding-bottom: 72px;
}

/* ============ 首屏 ============ */
.page-news .news-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 42px) 0 40px;
  background:
    radial-gradient(120% 88% at 88% 4%, rgba(47, 224, 232, 0.16) 0%, rgba(47, 224, 232, 0) 54%),
    radial-gradient(110% 80% at 2% 98%, rgba(75, 61, 143, 0.42) 0%, rgba(75, 61, 143, 0) 60%);
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  right: -14%;
  top: 16%;
  width: 62%;
  height: 48%;
  background: linear-gradient(135deg, rgba(47, 224, 232, 0.16), rgba(255, 138, 61, 0.06));
  clip-path: polygon(0 0, 100% 14%, 80% 100%, 0 76%);
  pointer-events: none;
}

.page-news .news-hero .container {
  position: relative;
  z-index: 1;
}

.page-news .news-hero .breadcrumb {
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-news .news-hero .breadcrumb a {
  color: var(--silver);
  text-decoration: none;
}

.page-news .news-hero .breadcrumb a:hover {
  color: var(--cyan);
}

.page-news .news-hero .eyebrow {
  color: var(--cyan);
}

.page-news .news-hero h1 {
  margin: 0 0 18px;
  max-width: 15em;
  font-size: clamp(27px, 7.2vw, 52px);
  line-height: 1.16;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.page-news .news-hero__lead {
  margin: 0 0 28px;
  max-width: 34em;
  font-size: clamp(15px, 3.8vw, 17.5px);
  line-height: 1.78;
  color: var(--silver);
}

.page-news .news-hero__figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--abyss);
  aspect-ratio: 2 / 1;
}

.page-news .news-hero__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============ 本批更新速览 ============ */
.page-news .news-snap .section__sub {
  margin-top: 8px;
  color: var(--mist);
}

.page-news .news-snap__list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: snap;
}

.page-news .news-snap__item {
  position: relative;
  overflow: hidden;
  padding: 22px 20px 20px;
  border: 1px solid var(--news-line-soft);
  border-radius: var(--news-step);
  background: linear-gradient(158deg, rgba(14, 124, 134, 0.24), rgba(10, 23, 48, 0.55));
}

.page-news .news-snap__item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 44px;
  background: linear-gradient(180deg, var(--cyan), rgba(47, 224, 232, 0));
}

.page-news .news-snap__num {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

.page-news .news-snap__item h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
}

.page-news .news-snap__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--silver);
}

/* ============ 专题合集墙 ============ */
.page-news .news-topics {
  position: relative;
  overflow: hidden;
  margin-top: 14px;
  padding: 54px 0 58px;
  background: linear-gradient(180deg, rgba(11, 22, 44, 0.9), rgba(6, 14, 31, 0.98));
}

.page-news .news-topics__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.17;
}

.page-news .news-topics__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-news .news-topics > .container {
  position: relative;
  z-index: 1;
}

.page-news .news-topics .section__sub {
  margin-top: 8px;
  color: var(--mist);
}

.page-news .news-topics__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.page-news .news-topic {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 17px 16px;
  border: 1px solid var(--news-line-soft);
  border-radius: var(--news-step);
  background: var(--news-card);
  backdrop-filter: blur(6px);
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.page-news .news-topic:hover,
.page-news .news-topic:focus-within {
  border-color: var(--line-cyan);
  background: rgba(16, 44, 66, 0.86);
  transform: translateY(-3px);
}

.page-news .news-topic h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.page-news .news-topic p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--silver);
}

.page-news .news-topic__count {
  margin-top: auto;
  padding-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--amber);
}

.page-news .news-topic--wide {
  background: linear-gradient(140deg, rgba(75, 61, 143, 0.42), rgba(20, 34, 58, 0.78));
}

/* ============ 条目变更记录 ============ */
.page-news .news-changes {
  padding-top: 58px;
}

.page-news .news-changes .section__sub {
  margin-top: 8px;
  color: var(--mist);
}

.page-news .news-timeline {
  margin: 30px 0 0;
  padding: 0 0 0 18px;
  border-left: 1px solid var(--line);
  list-style: none;
}

.page-news .news-timeline__item {
  position: relative;
  padding-bottom: 28px;
}

.page-news .news-timeline__item:last-child {
  padding-bottom: 0;
}

.page-news .news-timeline__item::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 5px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  background: var(--deep);
}

.page-news .news-timeline__stamp {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.page-news .news-timeline__body {
  padding: 15px 16px 16px;
  border: 1px solid var(--news-line-soft);
  border-radius: var(--news-step);
  background: rgba(14, 26, 48, 0.6);
}

.page-news .news-timeline__body h3 {
  margin: 10px 0 8px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink);
}

.page-news .news-timeline__body p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--silver);
}

.page-news .news-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding-left: 18px;
}

.page-news .news-legend .tag {
  font-size: 12px;
}

/* 标签配色 */
.page-news .tag--new {
  border: 1px solid var(--line-cyan);
  background: rgba(47, 224, 232, 0.14);
  color: var(--cyan);
}

.page-news .tag--score {
  border: 1px solid var(--line-amber);
  background: rgba(255, 138, 61, 0.16);
  color: var(--amber-soft);
}

.page-news .tag--sync {
  border: 1px solid rgba(75, 61, 143, 0.6);
  background: rgba(75, 61, 143, 0.42);
  color: #d3cbf7;
}

.page-news .tag--off {
  border: 1px solid rgba(122, 46, 74, 0.65);
  background: rgba(122, 46, 74, 0.4);
  color: #f2bccb;
}

/* ============ 版本演进 ============ */
.page-news .news-versions {
  padding-top: 58px;
  padding-bottom: 10px;
}

.page-news .news-versions .section__sub {
  margin-top: 8px;
  color: var(--mist);
}

.page-news .news-versions__layout {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.page-news .news-versions__figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--news-line-soft);
  border-radius: var(--radius-l);
  background: var(--abyss);
  aspect-ratio: 5 / 4;
}

.page-news .news-versions__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-news .news-versions__list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .news-version {
  padding: 18px 18px 20px;
  border: 1px solid var(--news-line-soft);
  border-radius: var(--news-step);
  background: linear-gradient(120deg, rgba(75, 61, 143, 0.3), rgba(10, 23, 48, 0.5));
}

.page-news .news-version::before {
  content: "";
  display: block;
  height: 2px;
  width: 32%;
  margin-bottom: 14px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(47, 224, 232, 0));
  transition: width 0.8s ease;
}

.page-news .news-version:nth-child(1)::before { width: 30%; }
.page-news .news-version:nth-child(2)::before { width: 45%; }
.page-news .news-version:nth-child(3)::before { width: 60%; }
.page-news .news-version:nth-child(4)::before { width: 76%; }
.page-news .news-version:nth-child(5)::before { width: 94%; }

.page-news .news-version__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.page-news .news-version__id {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.page-news .news-version__year {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.page-news .news-version h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  line-height: 1.45;
  color: var(--ink);
}

.page-news .news-version p {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--silver);
}

.page-news .news-version__link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--line-cyan);
  padding-bottom: 2px;
}

.page-news .news-version__link:hover {
  color: var(--amber);
  border-bottom-color: var(--line-amber);
}

/* ============ 订阅与回访提醒 ============ */
.page-news .news-subscribe {
  padding-top: 56px;
}

.page-news .news-subscribe__card {
  position: relative;
  overflow: hidden;
  padding: 30px 22px 28px;
  border: 1px solid var(--line-amber);
  border-radius: var(--radius-l);
  background: linear-gradient(152deg, rgba(255, 138, 61, 0.18), rgba(10, 23, 48, 0.92) 62%);
}

.page-news .news-subscribe__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.2;
}

.page-news .news-subscribe__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-news .news-subscribe__ripple {
  position: absolute;
  right: -60px;
  bottom: -50px;
  z-index: 0;
  width: 320px;
  height: 200px;
  fill: none;
  stroke: rgba(255, 138, 61, 0.35);
  stroke-width: 1;
}

.page-news .news-subscribe__ripple circle:nth-child(3) {
  stroke: rgba(47, 224, 232, 0.28);
}

.page-news .news-subscribe__ripple circle:nth-child(4) {
  stroke: rgba(255, 196, 138, 0.5);
}

.page-news .news-subscribe__body {
  position: relative;
  z-index: 1;
}

.page-news .news-subscribe .eyebrow {
  color: var(--amber);
}

.page-news .news-subscribe__lead {
  margin: 12px 0 24px;
  max-width: 36em;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--silver);
}

.page-news .news-subscribe__list {
  display: grid;
  gap: 14px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.page-news .news-subscribe__list li {
  padding-left: 14px;
  border-left: 2px solid rgba(255, 138, 61, 0.4);
}

.page-news .news-subscribe__list h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--ink);
}

.page-news .news-subscribe__list p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--silver);
}

.page-news .news-subscribe__note {
  margin: 0 0 22px;
  max-width: 40em;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--mist);
}

.page-news .news-subscribe__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============ 响应式 ============ */
@media (min-width: 560px) {
  .page-news .news-topics__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-news .news-topic--wide {
    grid-column: span 2;
  }

  .page-news .news-subscribe__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
  }
}

@media (min-width: 760px) {
  .page-news .news-snap__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .page-news .news-timeline__item {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 0 20px;
    align-items: start;
    padding-bottom: 22px;
  }

  .page-news .news-timeline__stamp {
    margin-bottom: 0;
    padding-top: 18px;
    text-align: right;
  }

  .page-news .news-timeline__body {
    padding: 18px 20px 20px;
  }

  .page-news .news-timeline__item::before {
    left: -23.5px;
    top: 22px;
  }

  .page-news .news-hero {
    padding-top: calc(var(--header-h) + 58px);
  }
}

@media (min-width: 900px) {
  .page-news .news-versions__layout {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 34px;
    align-items: start;
  }

  .page-news .news-versions__figure {
    position: sticky;
    top: calc(var(--header-h-scrolled) + 24px);
  }

  .page-news .news-subscribe__card {
    padding: 40px 42px 38px;
  }

  .page-news .news-subscribe__lead {
    font-size: 15.5px;
  }
}

@media (min-width: 1080px) {
  .page-news .news-topics__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 14px;
  }

  .page-news .news-topic--wide {
    grid-column: span 2;
  }

  .page-news .news-topic {
    padding: 20px 19px 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-topic,
  .page-news .news-version::before {
    transition: none;
  }

  .page-news .news-topic:hover,
  .page-news .news-topic:focus-within {
    transform: none;
  }
}
