.page-news {
  --news-rule: 1px solid var(--mist-600);
  --news-rule-soft: 1px solid rgba(42, 54, 112, 0.55);
  --news-row-hover: rgba(63, 240, 228, 0.07);
  padding-bottom: clamp(48px, 8vw, 104px);
}

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

/* ---------- 面包屑 ---------- */
.page-news .news-crumb {
  padding-top: clamp(16px, 3vw, 28px);
  padding-bottom: clamp(6px, 1.5vw, 12px);
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  position: relative;
  padding-block: clamp(12px, 2vw, 20px) clamp(40px, 7vw, 80px);
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(63, 240, 228, 0.09) 0%, rgba(63, 240, 228, 0) 42%),
    linear-gradient(285deg, rgba(255, 122, 47, 0.1) 0%, rgba(255, 122, 47, 0) 38%);
  pointer-events: none;
}

.page-news .news-hero__grid {
  position: relative;
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: end;
}

.page-news .news-hero__kicker {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan-400);
}

.page-news .news-hero__copy h1 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(30px, 6.4vw, 54px);
  line-height: 1.14;
  letter-spacing: 0.04em;
  color: var(--paper-100);
}

.page-news .news-hero__lead {
  margin: clamp(16px, 2.6vw, 24px) 0 0;
  max-width: 46ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.78;
  color: var(--slate-400);
}

.page-news .news-hero__facts {
  display: grid;
  gap: 0;
  margin: clamp(24px, 4vw, 36px) 0 0;
  padding: 0;
  list-style: none;
  border-top: var(--news-rule);
}

.page-news .news-hero__fact {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: var(--news-rule-soft);
}

.page-news .news-hero__num {
  flex: 0 0 auto;
  min-width: 6.4em;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--cyan-400);
}

.page-news .news-hero__label {
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate-400);
}

.page-news .news-hero__figure {
  margin: 0;
}

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

/* ---------- 区块公共 ---------- */
.page-news .news-index,
.page-news .news-block,
.page-news .news-feature,
.page-news .news-rhythm {
  padding-block: clamp(36px, 6vw, 72px);
}

.page-news .news-index .hy-section__head,
.page-news .news-block .hy-section__head,
.page-news .news-feature .hy-section__head {
  margin-bottom: clamp(24px, 4vw, 40px);
}

/* ---------- 动态索引 ---------- */
.page-news .news-index__board {
  display: grid;
  gap: clamp(16px, 3vw, 32px);
}

.page-news .news-index__dir {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.page-news .news-index__dir .hy-tabs__tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: var(--news-rule);
  border-radius: var(--radius);
  background: rgba(16, 26, 61, 0.55);
  color: var(--slate-400);
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}

.page-news .news-index__dir .hy-tabs__tab:hover {
  color: var(--paper-100);
  border-color: var(--cyan-400);
}

.page-news .news-index__dir .hy-tabs__tab[aria-selected="true"] {
  background: var(--cyan-400);
  border-color: var(--cyan-400);
  color: var(--ink-900);
}

.page-news .news-index__count {
  font-size: 11px;
  letter-spacing: 0;
  opacity: 0.75;
}

.page-news .news-index__panels {
  min-width: 0;
}

/* 全部条目：紧凑时间线 */
.page-news .news-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: var(--news-rule);
}

.page-news .news-timeline__row {
  border-bottom: var(--news-rule-soft);
}

.page-news .news-line {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 2px 12px;
  padding: 12px 12px 12px 18px;
  text-decoration: none;
  color: var(--paper-100);
  transition: background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}

.page-news .news-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  background: var(--cyan-400);
}

.page-news .news-line[data-tag="version"]::before {
  background: var(--orange-500);
}

.page-news .news-line[data-tag="compat"]::before {
  background: var(--teal-500);
}

.page-news .news-line[data-tag="feature"]::before {
  background: var(--magenta-500);
}

.page-news .news-line:hover {
  background: var(--news-row-hover);
  transform: translateX(3px);
}

.page-news .news-line__time {
  grid-column: 1 / -1;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--slate-400);
}

.page-news .news-line__title {
  font-family: var(--font-head);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.page-news .news-line__tag {
  align-self: start;
  padding: 2px 7px;
  border-radius: var(--radius);
  background: rgba(232, 236, 247, 0.9);
  color: var(--ink-900);
  font-size: 11px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* 分标签条目 */
.page-news .hy-tabs__panel .news-item + .news-item {
  margin-top: clamp(16px, 2.4vw, 24px);
}

.page-news .news-item {
  position: relative;
  padding: clamp(16px, 2.4vw, 22px) clamp(16px, 2.4vw, 22px) clamp(16px, 2.4vw, 22px) clamp(20px, 3vw, 26px);
  border: var(--news-rule);
  border-radius: var(--radius);
  background: var(--panel);
}

.page-news .news-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  background: var(--orange-500);
}

.page-news .news-item[data-tag="league"]::before {
  background: var(--cyan-400);
}

.page-news .news-item[data-tag="compat"]::before {
  background: var(--teal-500);
}

.page-news .news-item[data-tag="feature"]::before {
  background: var(--magenta-500);
}

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

.page-news .news-item__time {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan-400);
}

.page-news .news-item__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.page-news .news-item__title a {
  color: var(--paper-100);
  text-decoration: none;
  border-bottom: 1px solid rgba(63, 240, 228, 0.35);
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.page-news .news-item__title a:hover {
  color: var(--cyan-400);
  border-color: var(--cyan-400);
}

.page-news .news-item__text {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate-400);
}

.page-news .news-item__more {
  margin-top: 12px;
  border-top: var(--news-rule-soft);
}

.page-news .news-item__more summary {
  padding: 10px 0 4px;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--cyan-400);
  cursor: pointer;
}

.page-news .news-item__more summary:hover {
  color: var(--paper-100);
}

.page-news .news-item__points {
  margin: 8px 0 0;
  padding-left: 1.1em;
  font-size: 14px;
  line-height: 1.8;
  color: var(--paper-100);
}

.page-news .news-item__points li + li {
  margin-top: 4px;
}

/* ---------- 版本 / 赛事 / 兼容 区块 ---------- */
.page-news .news-block__grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.page-news .news-block__figure {
  margin: 0;
}

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

.page-news .news-entry + .news-entry {
  margin-top: clamp(20px, 3vw, 30px);
  padding-top: clamp(20px, 3vw, 30px);
  border-top: var(--news-rule-soft);
}

.page-news .news-entry__time {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan-400);
}

.page-news .news-entry__title {
  margin: 8px 0 0;
  font-family: var(--font-head);
  font-size: clamp(18px, 2.4vw, 23px);
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: var(--paper-100);
}

.page-news .news-entry__text {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--slate-400);
}

.page-news .news-entry__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

/* ---------- 版本脉冲刻度 ---------- */
.page-news .news-pulse {
  margin-top: clamp(36px, 6vw, 60px);
  padding-top: clamp(20px, 3vw, 28px);
  border-top: var(--news-rule);
}

.page-news .news-pulse__cap {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--slate-400);
}

.page-news .news-pulse__rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .news-pulse__rail::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan-400) 0%, var(--mist-600) 60%, rgba(42, 54, 112, 0) 100%);
}

.page-news .news-pulse__node {
  position: relative;
  padding-top: 14px;
}

.page-news .news-pulse__node::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 0 4px rgba(63, 240, 228, 0.15);
}

.page-news .news-pulse__ver {
  display: block;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--paper-100);
}

.page-news .news-pulse__label {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--slate-400);
}

/* ---------- 专题策划 ---------- */
.page-news .news-feature__grid {
  gap: clamp(16px, 2.4vw, 24px);
}

.page-news .news-feature__card {
  border-left: 3px solid var(--magenta-500);
}

.page-news .news-feature__card .hy-card__eyebrow {
  color: var(--magenta-500);
}

/* ---------- 发布节奏 ---------- */
.page-news .news-rhythm__inner {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.page-news .news-rhythm__text {
  margin: 14px 0 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--slate-400);
}

.page-news .news-rhythm__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 28px);
}

.page-news .news-rhythm__side {
  padding: clamp(18px, 3vw, 26px);
  border: var(--news-rule);
  border-radius: var(--radius);
  background: var(--panel);
}

.page-news .news-rhythm__pulse {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: var(--news-rule-soft);
}

.page-news .news-rhythm__pulse .hy-pulse__label {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--slate-400);
}

.page-news .news-rhythm__pulse .hy-pulse__ver {
  margin-left: auto;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--orange-500);
}

.page-news .news-rhythm__list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.7;
  color: var(--paper-100);
}

.page-news .news-rhythm__list li {
  display: grid;
  grid-template-columns: 4.2em 1fr;
  gap: 10px;
  padding: 9px 0;
  border-bottom: var(--news-rule-soft);
}

.page-news .news-rhythm__dow {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--cyan-400);
}

.page-news .news-rhythm__note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--slate-400);
}

/* ---------- 媒体查询 ---------- */
@media (min-width: 640px) {
  .page-news .news-hero__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-news .news-hero__fact {
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px 14px 0;
    border-bottom: 0;
    border-right: var(--news-rule-soft);
  }

  .page-news .news-hero__fact:last-child {
    border-right: 0;
  }

  .page-news .news-hero__num {
    min-width: 0;
  }

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

@media (min-width: 900px) {
  .page-news .news-hero__grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  }

  .page-news .news-hero__figure {
    margin-bottom: -18px;
  }

  .page-news .news-index__board {
    grid-template-columns: 232px minmax(0, 1fr);
  }

  .page-news .news-index__dir {
    flex-direction: column;
    gap: 2px;
    overflow: visible;
    padding-bottom: 0;
  }

  .page-news .news-index__dir .hy-tabs__tab {
    width: 100%;
    justify-content: space-between;
    padding: 12px 14px;
  }

  .page-news .news-block__grid {
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  }

  .page-news .news-block--flip .news-block__grid {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  }

  .page-news .news-block__figure {
    position: sticky;
    top: 128px;
  }

  .page-news .news-rhythm__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
}

@media (min-width: 1100px) {
  .page-news .news-hero {
    padding-block: clamp(20px, 2.4vw, 32px) clamp(56px, 7vw, 88px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-line,
  .page-news .news-item__title a,
  .page-news .news-index__dir .hy-tabs__tab {
    transition: none;
  }

  .page-news .news-line:hover {
    transform: none;
  }
}
