.page-news {
  --news-hair: rgba(169, 180, 198, 0.16);
  --news-hair-strong: rgba(169, 180, 198, 0.3);
  --news-card: var(--ink-2);
  --news-gap: clamp(18px, 2.4vw, 32px);
  display: block;
  overflow-x: clip;
  padding-bottom: clamp(48px, 8vw, 100px);
}

.page-news img {
  max-width: 100%;
  height: auto;
}

.page-news [hidden] {
  display: none !important;
}

/* ===================== 顶部 ===================== */

.page-news .news-hero {
  position: relative;
  padding-top: clamp(20px, 3.4vw, 40px);
  padding-bottom: clamp(30px, 5vw, 62px);
  background:
    radial-gradient(1080px 500px at 84% -12%, rgba(47, 224, 166, 0.16), transparent 62%),
    radial-gradient(760px 420px at 4% -4%, rgba(230, 57, 70, 0.15), transparent 58%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-3) 100%);
}

.page-news .news-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3.6vw, 44px);
  margin-top: clamp(16px, 2.4vw, 28px);
  align-items: end;
}

.page-news .news-hero__intro h1 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-news .news-hero__lead {
  margin: clamp(14px, 2vw, 22px) 0 0;
  max-width: 54ch;
  font-size: var(--fs-18);
  line-height: 1.78;
  color: var(--mist);
}

.page-news .news-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 2.8vw, 30px);
}

.page-news .news-hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--news-hair);
  border: 1px solid var(--news-hair);
}

.page-news .news-fact {
  margin: 0;
  padding: 14px 16px 16px;
  background: rgba(12, 20, 38, 0.92);
}

.page-news .news-fact dt {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  color: var(--mist);
  margin-bottom: 4px;
}

.page-news .news-fact dd {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}

.page-news .news-fact__unit {
  font-size: var(--fs-16);
  color: var(--mist);
}

.page-news .news-hero__banner {
  margin: clamp(26px, 4vw, 46px) 0 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--news-hair);
  background: var(--ink-3);
}

.page-news .news-hero__banner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0.86;
}

/* ===================== 公告列表 ===================== */

.page-news .news-feed__head {
  align-items: flex-end;
}

.page-news .news-feed__note,
.page-news .news-release__note,
.page-news .news-moves__note,
.page-news .news-rail__note {
  margin: 12px 0 0;
  max-width: 62ch;
  font-size: var(--fs-16);
  line-height: 1.78;
  color: var(--mist);
}

.page-news .news-feed__stamp {
  margin: 0;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--news-hair);
  background: rgba(19, 28, 51, 0.7);
  color: var(--gold);
  white-space: nowrap;
}

.page-news .news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: clamp(20px, 3vw, 30px) 0 clamp(8px, 1.4vw, 16px);
}

.page-news .filter-btn {
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  border: 1px solid var(--news-hair-strong);
  background: rgba(19, 28, 51, 0.72);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease),
    background-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.page-news .filter-btn:hover {
  color: var(--paper);
  border-color: rgba(47, 224, 166, 0.5);
  transform: translateY(-1px);
}

.page-news .filter-btn[aria-pressed="true"] {
  background: linear-gradient(120deg, var(--aurora) 0%, var(--aurora-deep) 100%);
  border-color: transparent;
  color: var(--ink);
  font-weight: 700;
}

.page-news .news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.page-news .news-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 22px 0 24px 22px;
  border-top: 1px solid var(--news-hair);
  transition: background-color 0.3s var(--ease);
}

.page-news .news-item:last-child {
  border-bottom: 1px solid var(--news-hair);
}

.page-news .news-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--aurora) 0%, rgba(47, 224, 166, 0) 100%);
  opacity: 0.5;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
  transform-origin: top center;
}

.page-news .news-item[data-filter-item~="version"]::before {
  background: linear-gradient(180deg, var(--maple) 0%, rgba(230, 57, 70, 0) 100%);
}

.page-news .news-item[data-filter-item~="topic"]::before {
  background: linear-gradient(180deg, var(--gold) 0%, rgba(242, 179, 75, 0) 100%);
}

.page-news .news-item:hover::before {
  opacity: 1;
  transform: scaleY(1.04);
}

.page-news .news-item:hover {
  background: rgba(19, 28, 51, 0.48);
}

.page-news .news-item__time {
  margin: 0;
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-news .news-item__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
}

.page-news .news-item__ver {
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-news .news-item__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.4rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-news .news-item__desc {
  margin: 10px 0 0;
  max-width: 70ch;
  font-size: var(--fs-16);
  line-height: 1.76;
  color: var(--mist);
}

.page-news .news-item__more {
  margin-top: 12px;
}

.page-news .news-item__more > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding-right: 6px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  color: var(--cyan);
  transition: color 0.22s var(--ease);
}

.page-news .news-item__more > summary::-webkit-details-marker {
  display: none;
}

.page-news .news-item__more > summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-size: 13px;
  line-height: 1;
}

.page-news .news-item__more[open] > summary::before {
  content: "–";
}

.page-news .news-item__more > summary:hover {
  color: var(--aurora);
}

.page-news .news-item__more ul {
  margin: 6px 0 0;
  padding: 0 0 0 4px;
  list-style: none;
  display: grid;
  gap: 8px;
}

.page-news .news-item__more li {
  position: relative;
  padding-left: 20px;
  font-size: var(--fs-14);
  line-height: 1.72;
  color: var(--mist);
}

.page-news .news-item__more li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 10px;
  height: 1px;
  background: var(--aurora-deep);
}

/* ===================== 专题横向带 ===================== */

.page-news .news-rail {
  padding: clamp(30px, 5vw, 62px) 0;
  background: linear-gradient(
    180deg,
    rgba(19, 28, 51, 0) 0%,
    rgba(19, 28, 51, 0.86) 18%,
    rgba(19, 28, 51, 0.86) 82%,
    rgba(19, 28, 51, 0) 100%
  );
}

.page-news .news-rail__head {
  align-items: flex-end;
}

.page-news .news-rail__hint {
  margin: 0 0 6px;
  font-size: var(--fs-12);
  letter-spacing: 0.1em;
  color: var(--aurora);
  white-space: nowrap;
}

.page-news .news-rail__viewport {
  margin-top: clamp(18px, 2.6vw, 30px);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  outline-offset: 4px;
}

.page-news .news-rail__viewport::-webkit-scrollbar {
  height: 6px;
}

.page-news .news-rail__viewport::-webkit-scrollbar-track {
  background: rgba(169, 180, 198, 0.12);
}

.page-news .news-rail__viewport::-webkit-scrollbar-thumb {
  background: var(--aurora-deep);
  border-radius: var(--r-pill);
}

.page-news .news-rail__track {
  display: flex;
  align-items: stretch;
  gap: clamp(14px, 1.8vw, 22px);
  list-style: none;
  margin: 0;
  padding: 4px max(var(--gutter), calc((100% - var(--maxw)) / 2)) 10px;
  width: max-content;
}

.page-news .topic-card {
  flex: 0 0 auto;
  width: min(74vw, 300px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 18px;
  border-radius: var(--r-lg);
  border: 1px solid var(--news-hair);
  background: var(--news-card);
  transition: transform 0.26s var(--ease), border-color 0.26s var(--ease),
    box-shadow 0.26s var(--ease);
}

.page-news .topic-card:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 224, 166, 0.42);
  box-shadow: 0 18px 40px rgba(4, 8, 18, 0.55);
}

.page-news .topic-card__cover {
  height: 104px;
  border-radius: var(--r-md);
  margin-bottom: 4px;
}

.page-news .topic-card__cover--1 {
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.85), rgba(10, 16, 32, 0.9) 62%),
    repeating-linear-gradient(90deg, rgba(245, 239, 227, 0.12) 0 1px, transparent 1px 12px);
}

.page-news .topic-card__cover--2 {
  background: linear-gradient(150deg, rgba(47, 224, 166, 0.8), rgba(10, 16, 32, 0.92) 66%),
    repeating-linear-gradient(45deg, rgba(245, 239, 227, 0.1) 0 1px, transparent 1px 14px);
}

.page-news .topic-card__cover--3 {
  background: linear-gradient(120deg, rgba(242, 179, 75, 0.82), rgba(10, 16, 32, 0.92) 64%),
    repeating-linear-gradient(0deg, rgba(245, 239, 227, 0.1) 0 1px, transparent 1px 10px);
}

.page-news .topic-card__cover--4 {
  background: linear-gradient(160deg, rgba(89, 199, 242, 0.78), rgba(10, 16, 32, 0.92) 68%),
    repeating-linear-gradient(115deg, rgba(245, 239, 227, 0.1) 0 1px, transparent 1px 16px);
}

.page-news .topic-card__cover--5 {
  background: linear-gradient(140deg, rgba(47, 224, 166, 0.7) 0%, rgba(230, 57, 70, 0.6) 52%, rgba(10, 16, 32, 0.94) 100%);
}

.page-news .topic-card__no {
  margin: 0;
  font-size: var(--fs-12);
  letter-spacing: 0.1em;
  color: var(--gold);
}

.page-news .topic-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-18);
  line-height: 1.4;
  color: var(--paper);
}

.page-news .topic-card__desc {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.72;
  color: var(--mist);
  flex: 1 1 auto;
}

.page-news .topic-card__meta {
  margin: 4px 0 0;
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  color: var(--aurora);
}

/* ===================== 版本迭代 ===================== */

.page-news .news-release__figure {
  margin: clamp(22px, 3vw, 34px) 0 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--news-hair);
  background: var(--ink-3);
}

.page-news .news-release__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0.9;
}

.page-news .release-timeline {
  list-style: none;
  margin: clamp(22px, 3.4vw, 38px) 0 0;
  padding: 0;
}

.page-news .release-node {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 18px 0 20px 24px;
  border-top: 1px solid var(--news-hair);
}

.page-news .release-node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--maple) 0%, rgba(230, 57, 70, 0) 100%);
}

.page-news .release-node::after {
  content: "";
  position: absolute;
  left: -3px;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--maple);
}

.page-news .release-node__ver {
  margin: 0;
  font-size: var(--fs-14);
  letter-spacing: 0.1em;
  color: var(--maple);
}

.page-news .release-node__when {
  margin: 0 0 4px;
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-news .release-node__body h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: var(--fs-18);
  line-height: 1.42;
  color: var(--paper);
}

.page-news .release-node__body p {
  margin: 0;
  max-width: 68ch;
  font-size: var(--fs-16);
  line-height: 1.74;
  color: var(--mist);
}

/* ===================== 维护与栏目调整 ===================== */

.page-news .moves-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(12px, 1.6vw, 20px);
  margin-top: clamp(20px, 3vw, 32px);
}

.page-news .move-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 20px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--news-hair);
  background: var(--news-card);
  transition: border-color 0.24s var(--ease), transform 0.24s var(--ease);
}

.page-news .move-card:hover {
  border-color: rgba(242, 179, 75, 0.45);
  transform: translateY(-3px);
}

.page-news .move-card__no {
  margin: 0;
  font-size: var(--fs-12);
  letter-spacing: 0.14em;
  color: var(--gold);
}

.page-news .move-card .card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-18);
  line-height: 1.4;
  color: var(--paper);
}

.page-news .move-card__path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 2px 0 0;
  font-size: var(--fs-14);
  line-height: 1.6;
  color: var(--mist);
}

.page-news .move-card__from {
  color: var(--mist);
  text-decoration: line-through;
  text-decoration-color: rgba(169, 180, 198, 0.45);
}

.page-news .move-card__arrow {
  color: var(--aurora);
  font-family: var(--font-mono);
}

.page-news .move-card__to {
  color: var(--paper);
  font-weight: 600;
}

.page-news .move-card__when {
  margin: auto 0 0;
  padding-top: 8px;
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  color: var(--mist);
}

/* ===================== 订阅与提醒 ===================== */

.page-news .news-subscribe__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3.4vw, 44px);
  padding: clamp(22px, 3.6vw, 48px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(560px 320px at 100% 0%, rgba(230, 57, 70, 0.14), transparent 62%),
    var(--paper);
  color: var(--ink);
}

.page-news .news-subscribe__panel .eyebrow {
  color: var(--maple-deep);
}

.page-news .news-subscribe__panel .eyebrow::before {
  background: var(--maple-deep);
}

.page-news .news-subscribe__panel h2 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-news .news-subscribe__lead {
  margin: 14px 0 0;
  max-width: 56ch;
  font-size: var(--fs-16);
  line-height: 1.78;
  color: rgba(10, 16, 32, 0.76);
}

.page-news .subscribe-list {
  list-style: none;
  margin: clamp(18px, 2.4vw, 26px) 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-news .subscribe-list li {
  position: relative;
  padding-left: 24px;
  font-size: var(--fs-16);
  line-height: 1.74;
  color: rgba(10, 16, 32, 0.8);
}

.page-news .subscribe-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--maple);
}

.page-news .subscribe-list strong {
  color: var(--ink);
  font-weight: 700;
}

.page-news .news-subscribe__text .btn {
  margin-top: clamp(20px, 2.6vw, 28px);
}

.page-news .news-subscribe__figure {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ink);
  border: 1px solid rgba(10, 16, 32, 0.16);
}

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

.page-news .news-subscribe__figure .media__caption {
  padding: 10px 14px 12px;
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  color: var(--mist);
  background: var(--ink);
}

/* ===================== 响应式 ===================== */

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

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

@media (min-width: 860px) {
  .page-news .news-item {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 0 24px;
    padding: 26px 0 28px 26px;
  }

  .page-news .news-item__time {
    padding-top: 4px;
  }

  .page-news .news-item::before {
    top: 28px;
    bottom: 28px;
  }

  .page-news .release-node {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 0 26px;
    padding: 22px 0 24px 30px;
  }

  .page-news .release-node__ver {
    padding-top: 2px;
  }

  .page-news .news-subscribe__panel {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: center;
  }
}

@media (min-width: 960px) {
  .page-news .news-hero__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
    gap: clamp(28px, 4vw, 60px);
  }

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

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

  .page-news .topic-card {
    width: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-item::before,
  .page-news .topic-card,
  .page-news .move-card,
  .page-news .filter-btn {
    transition: none;
  }

  .page-news .topic-card:hover,
  .page-news .move-card:hover,
  .page-news .filter-btn:hover {
    transform: none;
  }
}
