.page-news {
  background: var(--ink-900);
  color: var(--white);
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  position: relative;
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: clamp(48px, 8vw, 96px);
  overflow: hidden;
}

.page-news .news-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-news .news-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}

.page-news .news-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 14, 36, 0.5) 0%, rgba(7, 14, 36, 0.88) 58%, var(--ink-900) 100%);
}

.page-news .news-hero__inner {
  position: relative;
  z-index: 1;
  border: 1px solid var(--steel);
  background: rgba(14, 26, 60, 0.42);
  padding: clamp(24px, 4vw, 56px);
  max-width: 980px;
}

.page-news .news-hero__inner .breadcrumbs {
  margin-bottom: 22px;
}

.page-news .news-hero__inner h1 {
  font-family: var(--font-sans);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-size: clamp(30px, 5.2vw, 58px);
  margin: 12px 0 0;
  color: var(--white);
}

.page-news .news-hero__inner .lede {
  margin-top: 20px;
  max-width: 36em;
  color: var(--mist);
  font-family: var(--font-serif);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.85;
}

.page-news .news-hero__facts {
  list-style: none;
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 0;
}

.page-news .news-hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: clamp(20px, 3vw, 40px);
  margin-right: clamp(20px, 3vw, 40px);
  border-right: 1px solid var(--steel);
}

.page-news .news-hero__facts li:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.page-news .news-hero__facts .num {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 32px);
  color: var(--gold);
  line-height: 1;
}

.page-news .news-hero__facts span:last-child {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist-dim);
}

/* ---------- 章节骨架 ---------- */
.page-news .news-block {
  padding: clamp(56px, 9vw, 118px) 0;
}

.page-news .news-block--line {
  background: linear-gradient(180deg, var(--ink-900) 0%, var(--ink-800) 22%, var(--ink-800) 78%, var(--ink-900) 100%);
}

.page-news .news-block--archive {
  border-top: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
}

.page-news .news-block--exit {
  padding-bottom: clamp(72px, 10vw, 140px);
}

.page-news .news-head {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: clamp(32px, 5vw, 64px);
}

.page-news .news-head__main {
  display: flex;
  gap: clamp(16px, 2.4vw, 32px);
  align-items: flex-start;
}

.page-news .news-head__idx {
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.86;
  color: var(--gold);
  letter-spacing: -0.04em;
  flex: 0 0 auto;
}

.page-news .news-head__kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--mist-dim);
  margin: 0 0 8px;
  text-transform: uppercase;
}

.page-news .news-head__title {
  font-family: var(--font-sans);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-size: clamp(24px, 3.4vw, 40px);
  margin: 0;
  color: var(--white);
}

.page-news .news-head__note {
  margin: 14px 0 0;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.8;
  max-width: 34em;
}

.page-news .news-head__figure {
  max-width: 420px;
}

/* ---------- 条目分组切换 ---------- */
.page-news .news-tabs__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--steel);
  padding-bottom: 0;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.page-news .news-tabs__bar .tab {
  appearance: none;
  background: transparent;
  border: 1px solid var(--steel);
  border-bottom: none;
  color: var(--mist);
  padding: 11px 20px;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  cursor: pointer;
  border-radius: var(--radius) var(--radius) 0 0;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-news .news-tabs__bar .tab:hover {
  color: var(--white);
  border-color: var(--gold);
}

.page-news .news-tabs__bar .tab[aria-selected="true"] {
  color: var(--ink-900);
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 700;
}

.page-news .news-tabs__panel {
  display: grid;
  gap: 14px;
}

/* ---------- 条目卡 ---------- */
.page-news .entry {
  position: relative;
  padding: 22px 24px 22px 28px;
  background: var(--ink-800);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: border-color 0.24s var(--ease), transform 0.24s var(--ease);
}

.page-news .entry:hover,
.page-news .entry:focus-within {
  border-color: var(--gold);
  transform: translateX(2px);
}

.page-news .entry::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--mist-dim);
}

.page-news .entry--gold::before { background: var(--gold); }
.page-news .entry--jade::before { background: var(--jade); }
.page-news .entry--violet::before { background: var(--violet); }
.page-news .entry--mist::before { background: var(--mist); }

.page-news .entry__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.page-news .entry__when {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mist-dim);
  display: inline-flex;
  align-items: center;
}

.page-news .entry__when::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--steel);
  margin-right: 8px;
}

.page-news .entry__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.4;
  margin: 0 0 8px;
  color: var(--white);
}

.page-news .entry__body {
  margin: 0 0 14px;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.8;
  max-width: 38em;
}

.page-news .entry__link {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--violet);
  text-decoration: none;
  border-bottom: 1px solid rgba(108, 127, 216, 0.4);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-news .entry__link:hover,
.page-news .entry__link:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}

/* ---------- 版本迭代线 ---------- */
.page-news .news-line {
  border: 1px solid var(--steel);
  background: rgba(7, 14, 36, 0.6);
  padding: clamp(28px, 4vw, 52px) clamp(20px, 3.4vw, 48px);
  border-radius: var(--radius);
}

.page-news .news-line__scale {
  height: 46px;
  background-image: repeating-linear-gradient(
    to right,
    var(--steel) 0 1px,
    transparent 1px calc(100% / 47)
  );
  border-bottom: 1px solid var(--steel);
  position: relative;
}

.page-news .news-line__scale::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--steel) 0%, var(--gold) 100%);
  opacity: 0.5;
}

.page-news .news-line__nodes {
  list-style: none;
  margin: clamp(24px, 3vw, 36px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-news .news-node {
  position: relative;
  padding-left: 22px;
  border-left: 1px solid var(--steel);
}

.page-news .news-node__dot {
  position: absolute;
  left: -5px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink-900);
  border: 1px solid var(--mist-dim);
}

.page-news .news-node--current .news-node__dot {
  width: 13px;
  height: 13px;
  left: -7px;
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(240, 162, 43, 0.16);
}

.page-news .news-node__ver {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist-dim);
  margin: 0 0 6px;
}

.page-news .news-node--current .news-node__ver {
  color: var(--gold);
}

.page-news .news-node__more summary {
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

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

.page-news .news-node__more summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 14px;
}

.page-news .news-node__more[open] summary::after {
  content: "−";
}

.page-news .news-node__more p {
  margin: 10px 0 0;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.8;
  max-width: 32em;
}

.page-news .news-line__foot {
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--steel);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mist-dim);
  overflow-wrap: anywhere;
}

/* ---------- 费用手记 ---------- */
.page-news .news-notes {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
}

.page-news .news-notes__text .news-head__kicker {
  margin-top: 10px;
}

.page-news .news-notes__text .news-head__title {
  margin-bottom: 20px;
}

.page-news .news-notes__text .prose {
  color: var(--mist);
  font-size: 15px;
  line-height: 1.9;
}

.page-news .news-notes__text .prose p {
  margin: 0 0 16px;
  max-width: 38em;
}

.page-news .news-notes__list {
  list-style: none;
  margin: 28px 0 32px;
  padding: 0;
  border-top: 1px solid var(--steel);
}

.page-news .news-notes__list li {
  display: grid;
  gap: 4px 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--steel);
}

.page-news .news-notes__list b {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-weight: 400;
}

.page-news .news-notes__list span {
  color: var(--mist);
  font-size: 14px;
  line-height: 1.8;
}

.page-news .news-notes__figure {
  border: 1px solid var(--steel);
}

/* ---------- 赛季归档 ---------- */
.page-news .news-archive-wrap {
  border: 1px solid var(--steel);
  background: rgba(7, 14, 36, 0.5);
  padding: clamp(8px, 1.6vw, 20px);
}

.page-news .news-archive {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .news-archive__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 18px;
  padding: 16px 8px;
  border-bottom: 1px solid rgba(34, 52, 95, 0.7);
  align-items: baseline;
}

.page-news .news-archive__row:last-child {
  border-bottom: none;
}

.page-news .news-archive__season {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--mist-dim);
}

.page-news .news-archive__cell {
  font-size: 12px;
  color: var(--mist-dim);
  letter-spacing: 0.04em;
}

.page-news .news-archive__cell b {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 15px;
  color: var(--white);
  margin-right: 6px;
}

.page-news .news-archive__total {
  margin: 20px 8px 8px;
  padding-top: 16px;
  border-top: 1px solid var(--steel);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.page-news .news-archive__figure {
  margin-top: clamp(28px, 4vw, 48px);
  border: 1px solid var(--steel);
}

/* ---------- 去向 ---------- */
.page-news .news-exit {
  display: grid;
  gap: 14px;
}

.page-news .news-exit__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px;
  background: var(--ink-800);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.24s var(--ease), background 0.24s var(--ease), transform 0.24s var(--ease);
}

.page-news .news-exit__card:hover,
.page-news .news-exit__card:focus-visible {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.page-news .news-exit__card--gold {
  background: linear-gradient(160deg, rgba(240, 162, 43, 0.14) 0%, rgba(14, 26, 60, 0.9) 62%);
  border-color: rgba(240, 162, 43, 0.5);
}

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

.page-news .news-exit__card h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  margin: 0;
  color: var(--white);
}

.page-news .news-exit__card p {
  margin: 0;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.8;
  flex: 1;
}

.page-news .news-exit__go {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gold);
}

/* ---------- 窄屏与桌面 ---------- */
@media (max-width: 560px) {
  .page-news .news-head__main {
    flex-direction: column;
    gap: 14px;
  }

  .page-news .news-hero__facts li {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
    flex: 1 1 46%;
  }

  .page-news .news-tabs__bar .tab {
    flex: 1 1 46%;
    text-align: center;
    padding: 11px 10px;
  }
}

@media (min-width: 760px) {
  .page-news .news-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.66fr);
    align-items: start;
  }

  .page-news .news-head__figure {
    justify-self: end;
    width: 100%;
  }

  .page-news .news-notes {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
  }

  .page-news .news-notes__figure {
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }

  .page-news .news-notes__list li {
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: baseline;
  }

  .page-news .news-line__nodes {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
  }

  .page-news .news-node {
    border-left: none;
    border-top: 1px solid var(--steel);
    padding-left: 0;
    padding-top: 18px;
  }

  .page-news .news-node__dot {
    top: -5px;
    left: 0;
  }

  .page-news .news-node--current .news-node__dot {
    top: -7px;
    left: -2px;
  }

  .page-news .news-archive__row {
    grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    padding: 18px 12px;
  }

  .page-news .news-archive__season {
    grid-column: auto;
    color: var(--white);
    font-size: 14px;
  }

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

@media (min-width: 1120px) {
  .page-news .news-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.55fr);
  }

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

  .page-news .news-tabs__panel {
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .entry,
  .page-news .news-exit__card,
  .page-news .news-tabs__bar .tab {
    transition: none;
  }

  .page-news .entry:hover,
  .page-news .entry:focus-within,
  .page-news .news-exit__card:hover,
  .page-news .news-exit__card:focus-visible {
    transform: none;
  }
}
