.page-news {
  --news-surface: rgba(16, 23, 64, 0.62);
  --news-surface-deep: rgba(7, 11, 30, 0.55);
  --news-gold-soft: rgba(243, 199, 120, 0.13);
  --news-aurora-soft: rgba(69, 224, 200, 0.14);
  background: var(--void-900);
  color: var(--haze);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  overflow-x: hidden;
}

.page-news .news-block {
  padding-block: clamp(48px, 7.5vw, 92px);
}

.page-news .news-head {
  padding-top: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(24px, 4vw, 48px);
}

.page-news .news-head .yh-eyebrow {
  color: var(--aurora-500);
  margin-top: clamp(20px, 3vw, 32px);
}

.page-news .news-head .yh-h1 {
  margin: 14px 0 0;
  max-width: 21ch;
  letter-spacing: 0.02em;
}

.page-news .news-head .yh-lead {
  margin: 20px 0 0;
  max-width: 62ch;
  color: var(--haze-soft);
}

/* 首屏跳转条目 */
.page-news .news-head__jump {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.page-news .news-head__jump a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--aurora-500);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.page-news .news-head__jump a::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid currentColor;
}

.page-news .news-head__jump a:hover,
.page-news .news-head__jump a:focus-visible {
  border-bottom-color: currentColor;
}

.page-news .news-head__banner {
  margin: clamp(28px, 4vw, 48px) 0 0;
  border: 1px solid var(--line-dark);
  background: var(--news-surface-deep);
  box-shadow: var(--shadow-b);
  overflow: hidden;
}

.page-news .news-head__banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 5;
  object-fit: cover;
}

/* 区块标题 */
.page-news .news-sec__head {
  max-width: 66ch;
}

.page-news .news-sec__head .yh-eyebrow {
  color: var(--gold-400);
}

.page-news .news-sec__head .yh-h2 {
  margin: 12px 0 0;
}

.page-news .news-sec__head .yh-p {
  margin: 14px 0 0;
  color: var(--haze-soft);
}

/* ---------- 最近三次版本调整 ---------- */
.page-news .news-timeline {
  list-style: none;
  margin: clamp(32px, 4.5vw, 52px) 0 0;
  padding: 0;
  display: grid;
  gap: clamp(18px, 2.4vw, 26px);
  grid-template-columns: 1fr;
}

.page-news .news-tl {
  position: relative;
  padding: clamp(22px, 2.6vw, 30px) clamp(20px, 2.4vw, 28px) clamp(20px, 2.2vw, 26px);
  border: 1px solid var(--line-dark);
  background: linear-gradient(180deg, var(--news-surface), var(--news-surface-deep));
  box-shadow: var(--shadow-a), var(--shadow-b);
  transition: border-color 0.28s var(--ease);
}

.page-news .news-tl:hover {
  border-color: var(--line-dark-strong);
}

.page-news .news-tl__node {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--void-900);
  border: 1px solid var(--gold-400);
  box-shadow: 0 0 0 5px var(--news-gold-soft);
  margin-bottom: 20px;
}

.page-news .news-tl__ver {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: var(--gold-400);
  line-height: 1.2;
}

.page-news .news-tl__when {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--haze-soft);
}

.page-news .news-tl .yh-h3 {
  margin: 16px 0 0;
}

.page-news .news-tl .yh-p {
  margin: 12px 0 0;
  color: var(--haze-soft);
  font-size: 16px;
}

.page-news .news-tl__facts {
  list-style: none;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line-dark);
  display: grid;
  gap: 8px;
}

.page-news .news-tl__facts li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--haze-soft);
}

.page-news .news-tl__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 1px;
  background: var(--aurora-500);
}

.page-news .news-tl .yh-btn {
  margin-top: 22px;
}

@media (min-width: 880px) {
  .page-news .news-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    position: relative;
    padding-top: 30px;
    column-gap: clamp(20px, 2.4vw, 32px);
  }

  .page-news .news-timeline::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 6px;
    height: 1px;
    background: linear-gradient(90deg, rgba(243, 199, 120, 0), rgba(243, 199, 120, 0.55) 12%, rgba(243, 199, 120, 0.55) 88%, rgba(243, 199, 120, 0));
  }

  .page-news .news-tl {
    padding-top: clamp(26px, 3vw, 34px);
  }

  .page-news .news-tl__node {
    position: absolute;
    top: -1px;
    left: 0;
    margin-bottom: 0;
  }
}

/* ---------- 按分类浏览更新 ---------- */
.page-news .news-filter {
  position: relative;
  margin-top: clamp(28px, 4vw, 44px);
}

.page-news .news-filter__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}

.page-news .news-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-news .news-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: transparent;
  color: var(--haze-soft);
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.page-news .news-chip:hover {
  border-color: var(--line-dark-strong);
  color: var(--haze);
}

.page-news #nf-all:checked ~ .news-chips label[for="nf-all"],
.page-news #nf-services:checked ~ .news-chips label[for="nf-services"],
.page-news #nf-help:checked ~ .news-chips label[for="nf-help"],
.page-news #nf-account:checked ~ .news-chips label[for="nf-account"],
.page-news #nf-tools:checked ~ .news-chips label[for="nf-tools"] {
  background: var(--aurora-500);
  border-color: var(--aurora-500);
  color: var(--void-900);
  font-weight: 600;
}

.page-news #nf-all:focus-visible ~ .news-chips label[for="nf-all"],
.page-news #nf-services:focus-visible ~ .news-chips label[for="nf-services"],
.page-news #nf-help:focus-visible ~ .news-chips label[for="nf-help"],
.page-news #nf-account:focus-visible ~ .news-chips label[for="nf-account"],
.page-news #nf-tools:focus-visible ~ .news-chips label[for="nf-tools"] {
  outline: 2px solid var(--gold-400);
  outline-offset: 2px;
}

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

.page-news .news-item {
  border: 1px solid var(--line-dark);
  background: linear-gradient(90deg, var(--news-surface), var(--news-surface-deep));
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.page-news .news-item:hover {
  border-color: var(--line-dark-strong);
}

.page-news .news-item__sum {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  grid-template-areas:
    "ver title cat"
    "ver when  cat";
  align-items: center;
  gap: 4px 18px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
}

.page-news .news-item__sum::-webkit-details-marker {
  display: none;
}

.page-news .news-item__ver {
  grid-area: ver;
  align-self: stretch;
  display: flex;
  align-items: center;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
  color: var(--gold-400);
  border-right: 1px solid var(--line-dark);
  padding-right: 14px;
}

.page-news .news-item__title {
  grid-area: title;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--haze);
}

.page-news .news-item__when {
  grid-area: when;
  font-size: 13px;
  line-height: 1.5;
  color: var(--haze-soft);
}

.page-news .news-item__cat {
  grid-area: cat;
  justify-self: end;
}

.page-news .news-item__body {
  padding: 4px 20px 20px 110px;
  border-top: 1px solid var(--line-dark);
  padding-top: 16px;
  margin-top: 2px;
}

.page-news .news-item__body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--haze-soft);
}

.page-news .news-item__body .yh-aside {
  margin-top: 12px;
}

.page-news details[open] .news-item__body {
  animation: news-fade 0.32s var(--ease) both;
}

@keyframes news-fade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 分类筛选：纯 CSS 过滤 */
.page-news #nf-services:checked ~ .news-list > .news-item:not(.is-services),
.page-news #nf-help:checked ~ .news-list > .news-item:not(.is-help),
.page-news #nf-account:checked ~ .news-list > .news-item:not(.is-account),
.page-news #nf-tools:checked ~ .news-list > .news-item:not(.is-tools) {
  display: none;
}

/* ---------- 专题系列 ---------- */
.page-news .news-topic__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: linear-gradient(140deg, rgba(16, 23, 64, 0.96), rgba(7, 11, 30, 0.72));
  padding: clamp(24px, 3.6vw, 52px);
  display: grid;
  gap: clamp(24px, 3.4vw, 44px);
  box-shadow: var(--shadow-b);
}

.page-news .news-topic__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 18% 24%, var(--news-aurora-soft), transparent 44%),
    radial-gradient(circle at 82% 74%, var(--news-gold-soft), transparent 48%),
    repeating-linear-gradient(115deg, rgba(237, 241, 250, 0.05) 0 1px, transparent 1px 46px);
  pointer-events: none;
}

.page-news .news-topic__text .yh-eyebrow {
  color: var(--gold-400);
}

.page-news .news-topic__text .yh-h2 {
  margin: 12px 0 0;
}

.page-news .news-topic__text .yh-p {
  margin: 16px 0 0;
  color: var(--haze-soft);
  max-width: 58ch;
}

.page-news .news-topic__steps {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-news .news-topic__steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-dark);
}

.page-news .news-topic__steps li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-news .news-topic__idx {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  color: var(--aurora-500);
  padding-top: 3px;
}

.page-news .news-topic__steps p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--haze-soft);
}

.page-news .news-topic__steps strong {
  color: var(--haze);
  font-weight: 600;
}

.page-news .news-topic__text .yh-btn {
  margin-top: 28px;
}

.page-news .news-topic__fig {
  margin: 0;
  border: 1px solid var(--line-dark);
  background: var(--news-surface-deep);
  overflow: hidden;
}

.page-news .news-topic__fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}

@media (min-width: 920px) {
  .page-news .news-topic__card {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    align-items: center;
  }
}

/* ---------- 版本节奏 ---------- */
.page-news .news-cycle__grid {
  margin-top: clamp(30px, 4vw, 46px);
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.page-news .news-cycle__stat {
  position: relative;
  padding: 26px 24px 24px;
  border: 1px solid var(--line-dark);
  background: linear-gradient(180deg, var(--news-surface), var(--news-surface-deep));
}

.page-news .news-cycle__stat::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(243, 199, 120, 0.5), transparent);
}

.page-news .news-cycle__n {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--gold-400);
}

.page-news .news-cycle__u {
  margin: 14px 0 0;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--haze);
}

.page-news .news-cycle__d {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--haze-soft);
}

.page-news .news-cycle__code {
  padding: 26px 24px 24px;
  border: 1px solid var(--line-dark);
  background:
    linear-gradient(180deg, rgba(42, 49, 112, 0.45), rgba(7, 11, 30, 0.6));
}

.page-news .news-cycle__code-label {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--haze-soft);
}

.page-news .news-cycle__code-main {
  margin: 8px 0 0;
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.2vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: var(--aurora-500);
}

.page-news .news-cycle__code-list {
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-news .news-cycle__code-list > div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding-top: 12px;
  border-top: 1px solid var(--line-dark);
}

.page-news .news-cycle__code-list dt {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--gold-400);
}

.page-news .news-cycle__code-list dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--haze-soft);
}

.page-news .news-cycle__code .yh-aside {
  margin-top: 22px;
}

@media (min-width: 780px) {
  .page-news .news-cycle__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-news .news-cycle__code {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
    grid-template-areas:
      "label main"
      "list  list"
      "note  note";
    align-items: end;
    column-gap: 32px;
  }

  .page-news .news-cycle__code-label {
    grid-area: label;
  }

  .page-news .news-cycle__code-main {
    grid-area: main;
    text-align: right;
  }

  .page-news .news-cycle__code-list {
    grid-area: list;
  }

  .page-news .news-cycle__code .yh-aside {
    grid-area: note;
  }
}

/* ---------- 改动从哪里来 ---------- */
.page-news .news-source__grid {
  display: grid;
  gap: clamp(26px, 3.6vw, 48px);
  grid-template-columns: 1fr;
  align-items: center;
}

.page-news .news-source__fig {
  margin: 0;
  border: 1px solid var(--line-dark);
  background: var(--news-surface-deep);
  overflow: hidden;
}

.page-news .news-source__fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-news .news-source__text .yh-eyebrow {
  color: var(--aurora-500);
}

.page-news .news-source__text .yh-h2 {
  margin: 12px 0 0;
}

.page-news .news-source__text .yh-p {
  margin: 16px 0 0;
  color: var(--haze-soft);
  max-width: 56ch;
}

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

.page-news .news-source__list li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--haze-soft);
}

.page-news .news-source__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 10px;
  height: 1px;
  background: var(--gold-400);
}

.page-news .news-source__list span {
  color: var(--haze);
  font-weight: 600;
}

.page-news .news-source__actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 900px) {
  .page-news .news-source__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}

/* ---------- 收藏 ---------- */
.page-news .news-keep__card {
  border: 1px solid var(--line-dark);
  background: linear-gradient(160deg, rgba(16, 23, 64, 0.9), rgba(7, 11, 30, 0.66));
  padding: clamp(24px, 3.6vw, 48px);
  display: grid;
  gap: clamp(26px, 3.4vw, 44px);
  box-shadow: var(--shadow-b);
}

.page-news .news-keep__head .yh-eyebrow {
  color: var(--gold-400);
}

.page-news .news-keep__head .yh-h2 {
  margin: 12px 0 0;
}

.page-news .news-keep__head .yh-p {
  margin: 14px 0 0;
  color: var(--haze-soft);
  max-width: 52ch;
}

.page-news .news-keep__head .yh-btn {
  margin-top: 24px;
}

.page-news .news-keep__head .yh-save__note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--aurora-500);
  min-height: 1px;
}

.page-news .news-keep__side .yh-h3 {
  margin: 0 0 18px;
}

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

.page-news .news-keep__links li {
  padding: 14px 2px;
  border-top: 1px solid var(--line-dark);
  display: grid;
  gap: 4px;
}

.page-news .news-keep__links li:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.page-news .news-keep__links a {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--aurora-500);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  justify-self: start;
  transition: border-color 0.25s var(--ease);
}

.page-news .news-keep__links a:hover,
.page-news .news-keep__links a:focus-visible {
  border-bottom-color: currentColor;
}

.page-news .news-keep__links span {
  font-size: 14px;
  line-height: 1.75;
  color: var(--haze-soft);
}

.page-news .news-keep__fig {
  margin: clamp(20px, 3vw, 32px) 0 0;
  border: 1px solid var(--line-dark);
  background: var(--news-surface-deep);
  overflow: hidden;
}

.page-news .news-keep__fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 5;
  object-fit: cover;
}

@media (min-width: 900px) {
  .page-news .news-keep__card {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    align-items: start;
  }
}

/* ---------- 窄屏收束 ---------- */
@media (max-width: 680px) {
  .page-news {
    font-size: 16px;
  }

  .page-news .news-item__sum {
    grid-template-columns: 54px minmax(0, 1fr);
    grid-template-areas:
      "ver title"
      "ver when"
      "ver cat";
    align-items: start;
    gap: 6px 14px;
    padding: 14px 16px;
  }

  .page-news .news-item__ver {
    align-items: flex-start;
    padding-top: 2px;
    padding-right: 12px;
  }

  .page-news .news-item__cat {
    justify-self: start;
    grid-area: cat;
  }

  .page-news .news-item__body {
    padding: 14px 16px 18px 16px;
  }

  .page-news .news-topic__steps li {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .page-news .news-chip {
    padding: 7px 14px;
    font-size: 13px;
  }

  .page-news .news-source__actions .yh-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-news .news-chip,
  .page-news .news-item,
  .page-news .news-tl,
  .page-news .news-head__jump a,
  .page-news .news-keep__links a {
    transition: none;
  }

  .page-news details[open] .news-item__body {
    animation: none;
  }
}
