.page-news {
  --news-pad: clamp(18px, 3.2vw, 34px);
  --news-gap: clamp(22px, 4vw, 40px);
  display: block;
  color: var(--text);
}

.page-news h1,
.page-news h2,
.page-news h3,
.page-news p,
.page-news ul,
.page-news ol {
  margin: 0;
}

.page-news ul,
.page-news ol {
  padding: 0;
  list-style: none;
}

.page-news .crumbs {
  padding-block: 20px 0;
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  padding: 18px 0 0;
}

.page-news .news-hero__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 8.4vw, 74px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-top: 14px;
  max-width: 16ch;
}

.page-news .news-hero__lede {
  margin-top: 20px;
  max-width: 66ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

.page-news .news-hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  margin-top: clamp(26px, 4.5vw, 40px);
  border: 1px solid var(--line);
  background: var(--line);
}

.page-news .news-hero__stat {
  background: var(--ink-2);
  padding: 16px var(--news-pad) 18px;
}

.page-news .news-hero__stat b {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--amber);
  line-height: 1;
}

.page-news .news-hero__stat span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 迁移横幅 ---------- */
.page-news .news-banner {
  position: relative;
  margin-top: var(--news-gap);
  border-block: 1px solid var(--line);
  background: var(--ink-3);
  overflow: hidden;
  isolation: isolate;
}

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

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

.page-news .news-banner__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, #0a0a12 10%, rgba(10, 10, 18, 0.78) 48%, rgba(122, 77, 255, 0.44) 100%);
}

.page-news .news-banner__inner {
  max-width: var(--content-w);
  margin-inline: auto;
  padding: clamp(32px, 6vw, 62px) 20px;
}

.page-news .news-banner__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4.8vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.16;
  margin-top: 12px;
  max-width: 22ch;
}

.page-news .news-banner__text {
  margin-top: 18px;
  max-width: 64ch;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

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

/* ---------- 区块通用 ---------- */
.page-news .news-block {
  padding-block: clamp(40px, 7vw, 76px) 0;
}

.page-news .news-head {
  display: grid;
  gap: 12px;
  max-width: 62ch;
  margin-bottom: clamp(22px, 4vw, 34px);
}

.page-news .news-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.14;
}

.page-news .news-head__text {
  font-size: 16px;
  line-height: 1.78;
  color: var(--muted);
}

/* ---------- 图片容器 ---------- */
.page-news .news-figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
}

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

.page-news .news-figure--axis {
  margin-bottom: clamp(20px, 3.5vw, 30px);
  position: relative;
}

.page-news .news-figure--axis::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet) 62%, var(--violet-deep));
}

/* ---------- 迭代条目 ---------- */
.page-news .news-log {
  display: grid;
  gap: 12px;
}

.page-news .news-entry {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-left: 2px solid var(--line);
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}

.page-news .news-entry[open] {
  border-left-color: var(--cyan);
  background: var(--ink-3);
}

.page-news .news-entry__sum {
  display: grid;
  grid-template-columns: minmax(44px, auto) 1fr 18px;
  grid-template-areas:
    "num meta chev"
    "num title chev";
  gap: 8px 14px;
  align-items: start;
  padding: 18px;
  cursor: pointer;
  list-style: none;
}

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

.page-news .news-entry__num {
  grid-area: num;
  align-self: start;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cyan);
  padding-top: 2px;
}

.page-news .news-entry__meta {
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.page-news .news-entry__when {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--muted-2);
}

.page-news .news-entry__title {
  grid-area: title;
  font-family: var(--font-display);
  font-size: clamp(17px, 2.4vw, 22px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.page-news .news-entry__chev {
  grid-area: chev;
  justify-self: end;
  width: 9px;
  height: 9px;
  margin-top: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-news .news-entry[open] .news-entry__chev {
  transform: rotate(-135deg);
  border-color: var(--cyan);
}

.page-news .news-entry__body {
  padding: 16px 18px 22px;
  border-top: 1px solid var(--line);
}

.page-news .news-entry__body p {
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

.page-news .news-entry__body p + p {
  margin-top: 14px;
}

.page-news .news-entry__body .news-entry__result {
  border-left: 2px solid var(--amber);
  padding-left: 14px;
  color: var(--text);
}

.page-news .news-entry__result span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--amber);
  margin-right: 8px;
}

/* ---------- 赛季排期 ---------- */
.page-news .news-axis {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
}

.page-news .news-axis__track {
  display: flex;
  gap: 12px;
  min-width: min-content;
  padding: 2px 2px 8px;
}

.page-news .news-axis__node {
  position: relative;
  flex: 0 0 min(78vw, 300px);
  scroll-snap-align: start;
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: 22px 18px 24px;
}

.page-news .news-axis__node::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.page-news .news-axis__title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: 14px;
}

.page-news .news-axis__when {
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--amber);
}

.page-news .news-axis__text {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 专题系列 ---------- */
.page-news .news-topics {
  display: grid;
  gap: 16px;
}

.page-news .news-topic {
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: clamp(20px, 3vw, 28px);
}

.page-news .news-topic--lead {
  background: var(--ink-3);
  border-left: 2px solid var(--violet);
}

.page-news .news-topic__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 14px;
}

.page-news .news-topic__text {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.78;
  color: var(--muted);
  max-width: 52ch;
}

.page-news .news-topic__meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}

.page-news .news-topic__figure {
  min-height: 180px;
}

.page-news .news-topic__figure img {
  height: 100%;
}

/* ---------- 订阅提醒 ---------- */
.page-news .news-sub {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  border-top: 1px solid var(--line);
  padding-top: clamp(28px, 5vw, 48px);
}

.page-news .news-sub__text {
  margin-top: 14px;
  max-width: 58ch;
  font-size: 16px;
  line-height: 1.78;
  color: var(--muted);
}

.page-news .news-sub__list {
  display: grid;
  gap: 1px;
  margin-top: 24px;
  border: 1px solid var(--line);
  background: var(--line);
}

.page-news .news-sub__item {
  background: var(--ink-2);
  padding: 18px;
  display: grid;
  grid-template-columns: 30px 1fr;
  grid-template-areas:
    "idx title"
    "idx text";
  gap: 4px 12px;
  align-items: start;
}

.page-news .news-sub__idx {
  grid-area: idx;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  padding-top: 3px;
}

.page-news .news-sub__item h3 {
  grid-area: title;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.page-news .news-sub__item p {
  grid-area: text;
  font-size: 15px;
  line-height: 1.72;
  color: var(--muted);
}

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

.page-news .news-sub__figure {
  border-left: 2px solid var(--cyan);
}

/* ---------- 版本归档 ---------- */
.page-news .news-archive {
  display: grid;
  gap: 10px;
}

.page-news .news-entry--arch .news-entry__num {
  color: var(--muted-2);
  font-size: 13px;
}

.page-news .news-entry--arch[open] .news-entry__num {
  color: var(--violet-soft);
}

.page-news .news-archive__more {
  margin-top: 22px;
  max-width: 66ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.page-news .news-archive__more a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(61, 139, 255, 0.45);
  padding-bottom: 1px;
}

.page-news .news-archive__more a:hover,
.page-news .news-archive__more a:focus-visible {
  border-bottom-color: var(--cyan);
  color: var(--cyan);
}

/* ---------- 响应式 ---------- */
@media (min-width: 760px) {
  .page-news .news-entry__sum {
    grid-template-columns: minmax(52px, auto) 1fr 20px;
    padding: 20px 26px;
  }

  .page-news .news-entry__body {
    padding: 18px 28px 26px 80px;
  }

  .page-news .news-topics {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
  }

  .page-news .news-topic--lead {
    grid-column: 1;
  }

  .page-news .news-topic__figure {
    grid-column: 2;
    grid-row: 1 / span 2;
    min-height: 100%;
  }

  .page-news .news-topic__figure img {
    height: 100%;
  }

  .page-news .news-sub__list {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

@media (min-width: 1024px) {
  .page-news .news-sub {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }

  .page-news .news-hero {
    padding-top: 26px;
  }

  .page-news .news-axis__node {
    flex: 0 0 min(30vw, 340px);
  }
}

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

  .page-news .news-axis {
    scroll-behavior: auto;
  }
}
