.page-news {
  --news-rule: var(--yy-line);
  --news-cyan-soft: rgba(53, 224, 209, 0.09);
  --news-amber-soft: rgba(242, 169, 59, 0.1);
  --news-panel-bg: rgba(11, 31, 28, 0.86);
  background:
    radial-gradient(90% 42% at 50% 0%, rgba(15, 46, 42, 0.72), transparent 70%),
    var(--yy-night);
  color: var(--yy-text);
  font-family: var(--yy-font-sans);
  overflow-x: hidden;
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--news-rule);
  background:
    radial-gradient(120% 110% at 92% -12%, rgba(53, 224, 209, 0.16), transparent 58%),
    linear-gradient(176deg, #0d2a26 0%, #081311 88%);
}

.page-news .news-hero__figure {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(72%, 820px);
  margin: 0;
  opacity: 0.4;
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, #000 58%);
  mask-image: linear-gradient(100deg, transparent 0%, #000 58%);
}

.page-news .news-hero__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.page-news .news-hero__inner {
  position: relative;
  padding-top: clamp(22px, 4vw, 42px);
  padding-bottom: clamp(26px, 4vw, 48px);
}

.page-news .news-hero__eyebrow {
  margin: 18px 0 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yy-cyan);
}

.page-news .news-hero h1 {
  margin: 14px 0 0;
  max-width: 20ch;
  font-family: var(--yy-font-sans);
  font-weight: 800;
  font-stretch: condensed;
  font-size: clamp(34px, 6.4vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.012em;
  color: var(--yy-cream);
}

.page-news .news-hero__lead {
  margin: 20px 0 0;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--yy-text);
}

.page-news .news-hero__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 28px 0 0;
  max-width: 68ch;
  padding: 12px 16px;
  border: 1px solid rgba(242, 169, 59, 0.32);
  border-left: 3px solid var(--yy-amber);
  background: var(--news-amber-soft);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--yy-cream);
}

.page-news .news-hero__dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yy-amber);
  box-shadow: 0 0 0 4px rgba(242, 169, 59, 0.18);
  animation: news-pulse 2.6s var(--yy-ease) infinite;
}

@keyframes news-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(242, 169, 59, 0.18); }
  50% { box-shadow: 0 0 0 9px rgba(242, 169, 59, 0.03); }
}

/* ---------- 筛选条 ---------- */
.page-news .news-filter {
  border-top: 1px solid var(--news-rule);
  border-bottom: 1px solid var(--news-rule);
  background: rgba(10, 26, 23, 0.88);
}

.page-news .news-filter__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.page-news .news-filter__group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .news-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid var(--news-rule);
  border-radius: var(--yy-radius);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--yy-text-dim);
  text-decoration: none;
  transition: color 0.22s var(--yy-ease), border-color 0.22s var(--yy-ease), background-color 0.22s var(--yy-ease);
}

.page-news .news-chip:hover,
.page-news .news-chip:focus-visible {
  color: var(--yy-cream);
  border-color: var(--yy-cyan);
  background: var(--news-cyan-soft);
}

.page-news .news-chip.is-active {
  color: #0a1a17;
  font-weight: 600;
  background: var(--yy-amber);
  border-color: var(--yy-amber);
}

.page-news .news-filter__status {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--yy-rock);
}

/* ---------- 通用章节 ---------- */
.page-news .news-section {
  padding: clamp(40px, 7vw, 84px) 0;
}

.page-news .news-section + .news-section {
  border-top: 1px solid var(--news-rule);
}

.page-news .news-section__head {
  max-width: 66ch;
  margin-bottom: clamp(22px, 3vw, 36px);
}

.page-news .news-section h2 {
  margin: 10px 0 0;
  font-size: clamp(24px, 3.6vw, 38px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--yy-cream);
}

.page-news .news-section__intro {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--yy-text);
}

/* ---------- 专家对比表 ---------- */
.page-news .compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--news-rule);
  background: var(--yy-panel);
}

.page-news .compare {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
}

.page-news .compare caption {
  caption-side: top;
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--news-rule);
  background: rgba(8, 19, 17, 0.62);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yy-rock);
}

.page-news .compare th,
.page-news .compare td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
  border-bottom: 1px solid var(--news-rule);
}

.page-news .compare thead th {
  background: var(--yy-charcoal);
  color: var(--yy-cream);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.page-news .compare tbody th {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--yy-cream);
  white-space: nowrap;
}

.page-news .compare th:first-child,
.page-news .compare td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 92px;
  background: #0b1f1c;
  border-right: 1px solid var(--news-rule);
}

.page-news .compare thead th:first-child {
  z-index: 3;
  background: #141817;
}

.page-news .compare tbody tr:hover td {
  background-color: rgba(53, 224, 209, 0.05);
}

.page-news .compare tbody tr:hover th:first-child {
  background-color: #0f2823;
}

.page-news .diff {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid rgba(53, 224, 209, 0.42);
  border-radius: var(--yy-radius);
  background: var(--news-cyan-soft);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--yy-cyan);
  cursor: help;
  transition: background-color 0.22s var(--yy-ease), border-color 0.22s var(--yy-ease);
}

.page-news .diff:hover,
.page-news .diff:focus-visible {
  background: rgba(53, 224, 209, 0.24);
  border-color: var(--yy-cyan);
  outline: 2px solid var(--yy-cyan);
  outline-offset: 2px;
}

.page-news .compare-figure {
  margin: 22px 0 0;
  border: 1px solid var(--news-rule);
  background: rgba(8, 19, 17, 0.6);
}

.page-news .compare-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 14 / 9;
  object-fit: cover;
}

.page-news .compare-figure figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--news-rule);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--yy-rock);
}

/* ---------- 更新公告 ---------- */
.page-news .updates-grid {
  display: grid;
  gap: 30px;
}

.page-news .updates-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--news-rule);
}

.page-news .updates-list li {
  display: grid;
  gap: 4px 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--news-rule);
}

.page-news .updates-list time {
  font-family: var(--yy-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--yy-moss-lt);
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
}

.page-news .updates-list h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--yy-cream);
}

.page-news .updates-list p {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--yy-text-dim);
}

.page-news .updates-figure {
  margin: 0;
  border: 1px solid var(--news-rule);
  background: rgba(8, 19, 17, 0.6);
}

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

/* ---------- 内容目录三索引 ---------- */
.page-news .index-grid {
  display: grid;
  gap: 1px;
  background: var(--news-rule);
  border: 1px solid var(--news-rule);
}

.page-news .index-col {
  padding: 22px 20px 24px;
  background: var(--news-panel-bg);
  border-top: 2px solid var(--news-rule);
}

.page-news .index-col--version { border-top-color: var(--yy-moss); }
.page-news .index-col--match { border-top-color: var(--yy-clay); }
.page-news .index-col--expert { border-top-color: var(--yy-cyan); }

.page-news .index-col h3 {
  margin: 0 0 6px;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--yy-cream);
}

.page-news .index-col p {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--yy-text-dim);
}

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

.page-news .index-list li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid rgba(43, 58, 53, 0.72);
  font-size: 14px;
  line-height: 1.6;
}

.page-news .index-list .k {
  flex: 0 0 auto;
  padding-top: 3px;
  font-family: var(--yy-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--yy-rock);
}

.page-news .index-list a {
  color: var(--yy-cream);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.22s var(--yy-ease), border-color 0.22s var(--yy-ease);
}

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

/* ---------- 赛事回看时间轴 ---------- */
.page-news .replay-grid {
  display: grid;
  gap: 28px;
}

.page-news .replay-figure {
  margin: 0;
  border: 1px solid var(--news-rule);
  background: rgba(8, 19, 17, 0.6);
}

.page-news .replay-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-news .replay-figure figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--news-rule);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--yy-rock);
}

.page-news .replay-list {
  list-style: none;
  margin: 0;
  padding: 4px 0 0 26px;
  position: relative;
}

.page-news .replay-list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--news-rule);
}

.page-news .replay-item {
  position: relative;
  padding-bottom: 20px;
}

.page-news .replay-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yy-rock);
  border: 1px solid #0b1f1c;
}

.page-news .replay-item--focus::before {
  background: var(--yy-amber);
  box-shadow: 0 0 0 4px rgba(242, 169, 59, 0.16);
}

.page-news .replay-item time {
  display: block;
  font-family: var(--yy-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--yy-rock);
  font-variant-numeric: tabular-nums;
}

.page-news .replay-item h3 {
  margin: 5px 0 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--yy-text);
}

.page-news .replay-item--focus h3 {
  color: var(--yy-cream);
}

.page-news .replay-item p {
  margin: 5px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--yy-text-dim);
}

.page-news .news-flag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  border-radius: var(--yy-radius);
  background: var(--yy-amber);
  font-family: var(--yy-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  vertical-align: middle;
  color: #140f02;
}

/* ---------- 专题系列 ---------- */
.page-news .series-grid {
  display: grid;
  gap: 1px;
  background: var(--news-rule);
  border-top: 1px solid var(--news-rule);
  border-bottom: 1px solid var(--news-rule);
}

.page-news .series-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 22px 24px;
  background: linear-gradient(180deg, rgba(15, 46, 42, 0.62), rgba(8, 19, 17, 0.92));
  text-decoration: none;
  color: inherit;
  transition: background-color 0.24s var(--yy-ease), background 0.24s var(--yy-ease);
}

.page-news .series-card:hover,
.page-news .series-card:focus-visible {
  background: linear-gradient(180deg, rgba(22, 63, 56, 0.82), rgba(8, 19, 17, 0.96));
}

.page-news .series-card__k {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--yy-cyan);
}

.page-news .series-card h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.4;
  color: var(--yy-cream);
}

.page-news .series-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--yy-text-dim);
}

.page-news .series-card__more {
  margin-top: auto;
  padding-top: 14px;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--yy-amber);
}

/* ---------- 尾部入口 ---------- */
.page-news .news-tail {
  padding: clamp(34px, 5vw, 58px) 0;
  border-top: 1px solid var(--news-rule);
  background: linear-gradient(180deg, rgba(15, 46, 42, 0.55), var(--yy-night));
}

.page-news .news-tail__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.page-news .news-tail p {
  margin: 0;
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--yy-text);
}

.page-news .news-tail__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-news .updates-list li {
    grid-template-columns: 128px minmax(0, 1fr);
    align-items: start;
  }

  .page-news .news-hero__lead {
    font-size: 17px;
  }
}

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

  .page-news .series-grid {
    grid-template-columns: 1.15fr 0.92fr 0.92fr;
  }
}

@media (min-width: 900px) {
  .page-news .updates-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.85fr);
    align-items: start;
  }

  .page-news .replay-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
  }

  .page-news .replay-figure {
    position: sticky;
    top: 24px;
  }

  .page-news .compare-figure {
    margin-top: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-hero__dot {
    animation: none;
  }

  .page-news *,
  .page-news *::before,
  .page-news *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
