.page-news {
  --news-hair: rgba(159, 184, 200, .2);
  --news-hair-soft: rgba(159, 184, 200, .1);
  --news-veil: rgba(7, 27, 47, .92);
  display: block;
  padding-bottom: clamp(48px, 7vw, 110px);
  color: var(--c-paper);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-news > * {
  width: 100%;
  max-width: var(--shell-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.page-news h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.16;
  letter-spacing: -.01em;
  color: var(--c-paper);
  margin: 0 0 14px;
}

.page-news h3 {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--c-paper);
  margin: 0 0 10px;
}

.page-news h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--c-paper);
  margin: 0 0 8px;
}

.page-news p {
  line-height: 1.75;
}

.page-news > section {
  padding-block: clamp(34px, 5vw, 68px);
}

/* ---------- 面包屑 ---------- */
.page-news .breadcrumb {
  padding-top: clamp(18px, 3vw, 34px);
}

/* ---------- 首屏 ---------- */
.news-hero {
  padding-block: clamp(24px, 4vw, 52px) clamp(10px, 2vw, 20px);
}

.news-hero h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.1rem, 5.6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--c-paper);
  margin: 14px 0 18px;
  max-width: 20ch;
}

.news-hero .lead {
  max-width: 44rem;
  color: var(--c-mist);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  margin: clamp(26px, 4vw, 40px) 0 clamp(28px, 4vw, 44px);
  padding: 0;
  list-style: none;
}

.hero-stats li {
  border-top: 1px solid var(--news-hair);
  padding-top: 14px;
}

.hero-stats__num {
  display: block;
  font-family: var(--font-num);
  font-weight: 900;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1;
  color: var(--c-cyan);
}

.hero-stats__num--coral {
  color: var(--c-coral);
}

.hero-stats__key {
  display: block;
  margin-top: 8px;
  font-size: .875rem;
  color: var(--c-mist);
}

.news-hero__figure {
  margin: 0;
}

/* ---------- 置顶更新 ---------- */
.pinned__card {
  position: relative;
  border-radius: var(--r-lg);
  padding: clamp(24px, 3.6vw, 44px);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255, 107, 74, .16), transparent 58%),
    linear-gradient(140deg, var(--c-deep), var(--c-abyss) 68%);
  border: 1px solid rgba(255, 107, 74, .42);
  box-shadow: var(--shadow-panel);
}

.pinned__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.pinned__when {
  font-family: var(--font-num);
  font-size: .8125rem;
  letter-spacing: .04em;
  color: var(--c-mist);
}

.pinned__card h2 {
  max-width: 26ch;
}

.pinned__card > p {
  max-width: 52rem;
  color: var(--c-mist);
}

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

.pinned__points li {
  position: relative;
  padding-left: 20px;
  font-size: .9375rem;
  color: var(--c-paper);
}

.pinned__points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-cyan);
}

.pinned__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 记录区 ---------- */
.records__head {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  align-items: end;
  margin-bottom: clamp(20px, 3vw, 30px);
}

.records__intro p:last-child {
  max-width: 46rem;
  color: var(--c-mist);
  margin: 0;
}

.news-board__figure {
  margin: 0;
  aspect-ratio: 1 / 1;
  max-width: 240px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: linear-gradient(150deg, var(--c-deep), var(--c-abyss));
}

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

.filter-bar {
  position: sticky;
  top: 62px;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 0;
  margin-bottom: clamp(18px, 3vw, 28px);
  background: linear-gradient(to bottom, var(--news-veil), rgba(7, 27, 47, .68));
  backdrop-filter: blur(6px);
}

.records__layout {
  display: grid;
  gap: clamp(20px, 3vw, 38px);
}

.time-index {
  display: none;
}

.time-index__title {
  font-family: var(--font-num);
  font-size: .75rem;
  letter-spacing: .14em;
  color: var(--c-mist);
  margin: 0 0 14px;
}

.time-index__list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 22px;
  position: relative;
}

.time-index__list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--c-cyan), var(--c-violet));
  opacity: .55;
}

.time-index__list li + li {
  margin-top: 4px;
}

.time-index__list a {
  position: relative;
  display: block;
  padding: 8px 0;
  font-size: .9375rem;
  color: var(--c-mist);
  text-decoration: none;
  transition: color .18s ease;
}

.time-index__list a::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 15px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-abyss);
  border: 2px solid var(--c-cyan);
}

.time-index__list a:hover,
.time-index__list a[aria-current] {
  color: var(--c-cyan);
}

.time-index__list a[aria-current]::before {
  background: var(--c-cyan);
}

.record-list {
  min-width: 0;
}

.record-wave {
  padding-bottom: 6px;
}

.record-wave__title {
  font-size: 1.25rem;
  color: var(--c-paper);
  padding-bottom: 4px;
}

.record-wave__items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.record {
  position: relative;
  padding: 20px 0 20px 16px;
  border-bottom: 1px dashed var(--news-hair);
  transition: transform .22s ease, border-color .22s ease;
}

.record:first-child {
  border-top: 1px solid var(--news-hair-soft);
}

.record:hover,
.record:focus-within {
  transform: translateX(6px);
  border-color: var(--c-cyan);
}

.record__title {
  font-size: 1.125rem;
  line-height: 1.4;
  margin-top: 10px;
}

.record__summary {
  margin: 0;
  color: var(--c-mist);
  font-size: .9688rem;
}

.record__more {
  margin-top: 12px;
}

.record__more summary {
  display: inline-block;
  cursor: pointer;
  list-style: none;
  font-size: .875rem;
  font-weight: 700;
  color: var(--c-cyan);
}

.record__more summary::-webkit-details-marker {
  display: none;
}

.record__more summary::after {
  content: " ▾";
  font-size: .75rem;
}

.record__more[open] summary::after {
  content: " ▴";
}

.record__more p {
  margin: 10px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--c-violet);
  color: var(--c-mist);
  font-size: .9375rem;
}

.filter-empty {
  margin: 26px 0 0;
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: var(--c-deep);
  color: var(--c-mist);
  font-size: .9375rem;
}

.back-top {
  display: inline-block;
  margin-top: 26px;
  font-size: .875rem;
  font-weight: 700;
  color: var(--c-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 224, 224, .4);
  padding-bottom: 2px;
}

/* ---------- 额度专栏 ---------- */
.quota__inner {
  border-radius: var(--r-lg);
  padding: clamp(24px, 3.6vw, 48px);
  display: grid;
  gap: clamp(22px, 3vw, 40px);
  align-items: center;
  box-shadow: var(--shadow-panel);
}

.page-news .quota__inner h2 {
  color: var(--c-ink);
  max-width: 22ch;
}

.page-news .quota__inner .eyebrow {
  color: var(--c-violet-ink);
}

.page-news .quota__inner p {
  color: var(--c-stone);
  max-width: 42rem;
}

.quota__list {
  list-style: none;
  margin: 22px 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.quota__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .9375rem;
  color: var(--c-ink);
}

.quota__list .quota-dot {
  flex: none;
  margin-top: .5em;
}

.quota__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.quota__figure {
  margin: 0;
}

/* ---------- 版本回溯 ---------- */
.history__head p:last-child {
  max-width: 48rem;
  color: var(--c-mist);
  margin: 0;
}

.history__body {
  margin-top: clamp(24px, 3vw, 40px);
  display: grid;
  gap: clamp(24px, 3vw, 44px);
}

.version-track {
  list-style: none;
  margin: 0;
  padding: 0 0 0 26px;
  position: relative;
}

.version-track::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--c-violet), var(--c-cyan));
  opacity: .6;
}

.version-track__item {
  position: relative;
  padding: 0 0 26px 0;
}

.version-track__item:last-child {
  padding-bottom: 0;
}

.version-track__item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c-abyss);
  border: 2px solid var(--c-violet);
}

.version-track__num {
  display: block;
  font-family: var(--font-num);
  font-weight: 900;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--c-violet);
  margin-bottom: 8px;
}

.version-track__text h3 {
  font-size: 1.0625rem;
  margin-bottom: 6px;
}

.version-track__text p {
  margin: 0 0 8px;
  color: var(--c-mist);
  font-size: .9375rem;
}

.version-track__link {
  font-size: .875rem;
  font-weight: 700;
  color: var(--c-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 224, 224, .35);
}

.history__figure {
  margin: 0;
}

/* ---------- 内容与工具动态 ---------- */
.ongoing__grid {
  display: grid;
  gap: clamp(18px, 2.6vw, 28px);
}

.ongoing__block {
  border-radius: var(--r-lg);
  padding: clamp(24px, 3.4vw, 42px);
  background: linear-gradient(150deg, var(--c-deep), rgba(11, 37, 69, .45));
  border: 1px solid var(--news-hair-soft);
}

.ongoing__block--alt {
  background: linear-gradient(150deg, rgba(123, 92, 255, .18), rgba(7, 27, 47, .92));
  border-color: rgba(123, 92, 255, .34);
}

.page-news .ongoing__block p:not(.eyebrow) {
  color: var(--c-mist);
  margin: 0 0 18px;
  max-width: 44rem;
}

.ongoing__link {
  display: inline-block;
  font-size: .9375rem;
  font-weight: 700;
  color: var(--c-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 224, 224, .38);
}

/* ---------- 尾段入口 ---------- */
.news-cta__grid {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.news-cta__card {
  display: block;
  padding: 22px 24px;
  border-radius: var(--r-md);
  background: var(--c-deep);
  border: 1px solid var(--news-hair);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}

.news-cta__card:hover,
.news-cta__card:focus-visible {
  border-color: var(--c-cyan);
  transform: translateY(-4px);
}

.news-cta__key {
  display: block;
  font-family: var(--font-num);
  font-size: .8125rem;
  letter-spacing: .08em;
  color: var(--c-cyan);
  margin-bottom: 10px;
}

.news-cta__text {
  display: block;
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--c-paper);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .news-cta__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .records__head {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .records__layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .time-index {
    display: block;
    position: sticky;
    top: 96px;
    align-self: start;
  }

  .quota__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  }

  .history__body {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: start;
  }

  .ongoing__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .news-cta__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1180px) {
  .records__layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .record,
  .page-news .news-cta__card {
    transition: none;
  }

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