.page-news {
  background: var(--ink-900);
  color: var(--text);
  overflow-x: hidden;
}

.page-news [id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.page-news a:focus-visible,
.page-news [tabindex]:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}

/* ---------- Hero ---------- */
.page-news .news-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-news .news-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .34;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 10% 0%, rgba(124, 77, 255, .26) 0%, transparent 58%),
    linear-gradient(180deg, rgba(5, 11, 31, .58) 0%, rgba(5, 11, 31, .92) 64%, var(--ink-900) 100%);
}

.page-news .news-hero-inner {
  position: relative;
  padding-top: 36px;
  padding-bottom: 52px;
}

.page-news .news-hero-inner .breadcrumb {
  margin-bottom: 28px;
  font-size: 13px;
  color: var(--text-dim);
}

.page-news .news-hero-inner .breadcrumb a {
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.page-news .news-hero-inner .breadcrumb a:hover {
  color: var(--text);
  border-bottom-color: var(--violet);
}

.page-news .news-hero-grid {
  display: grid;
  gap: var(--gap);
}

.page-news .news-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--violet);
  margin: 0 0 14px;
}

.page-news .news-hero-title {
  font-family: var(--font-head);
  font-size: clamp(30px, 7vw, 54px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 0 0 18px;
  max-width: 15em;
}

.page-news .news-hero-lede {
  max-width: 40em;
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dim);
}

.page-news .news-hero-panel {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-plate);
}

.page-news .news-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  background: rgba(11, 21, 51, .84);
}

.page-news .news-hero-stat-num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1;
  color: var(--cyan);
}

.page-news .news-hero-stat--last .news-hero-stat-num {
  font-size: 17px;
  color: var(--gold);
}

.page-news .news-hero-stat-label {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-dim);
}

/* ---------- Sections ---------- */
.page-news .section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.page-news .section-head {
  max-width: 720px;
  margin-bottom: var(--gap);
}

.page-news .section-head .section-index {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--violet);
  margin: 0 0 10px;
}

.page-news .section-head .section-title {
  font-family: var(--font-head);
  font-size: clamp(22px, 3.4vw, 34px);
  line-height: 1.22;
  font-weight: 700;
  margin: 0 0 12px;
}

.page-news .section-head .lede {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dim);
}

/* ---------- 01 栏目导览 ---------- */
.page-news .news-guide {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--gap-s);
}

.page-news .news-guide-item {
  position: relative;
  padding: 22px 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(20, 34, 71, .92) 0%, rgba(11, 21, 51, .92) 100%);
  box-shadow: var(--shadow-plate);
  overflow: hidden;
}

.page-news .news-guide-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: var(--violet);
  opacity: .8;
}

.page-news .news-guide-item--schedule::before { background: var(--cyan); }
.page-news .news-guide-item--rank::before { background: var(--violet); }
.page-news .news-guide-item--topic::before { background: var(--gold); }
.page-news .news-guide-item--version::before { background: var(--green); }

.page-news .news-guide-count {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--text-faint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 14px;
}

.page-news .news-guide-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text);
}

.page-news .news-guide-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-dim);
}

/* ---------- 02 记录列表 ---------- */
.page-news .news-log {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--gap-s);
}

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

.page-news .news-entry-card {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-800);
  box-shadow: var(--shadow-plate);
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.page-news .news-entry-card:hover {
  border-color: var(--violet);
}

.page-news .news-entry-media {
  margin: 0;
}

.page-news .news-entry-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-news .news-entry-body {
  padding: 18px 18px 20px;
}

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

.page-news .news-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  line-height: 1.6;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid currentColor;
  color: var(--text-dim);
  white-space: nowrap;
}

.page-news .news-tag--schedule { color: var(--cyan); }
.page-news .news-tag--rank { color: var(--violet); }
.page-news .news-tag--topic { color: var(--gold); }
.page-news .news-tag--version { color: var(--green); }

.page-news .news-entry-time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-faint);
}

.page-news .news-entry-title {
  font-size: 17px;
  line-height: 1.45;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text);
  transition: transform var(--dur-fast) var(--ease);
}

.page-news .news-entry-card:hover .news-entry-title {
  transform: translateX(2px);
}

.page-news .news-entry-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-dim);
}

.page-news .news-entry-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 201, 120, .35);
  transition: border-color var(--dur-fast) var(--ease);
}

.page-news .news-entry-more:hover {
  border-bottom-color: var(--gold);
}

.page-news .news-beat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}

.page-news .news-beat::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(62, 232, 255, .14);
}

.page-news .news-beat-text {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  line-height: 1.6;
  color: var(--text-dim);
}

/* ---------- 03 赛季专题 ---------- */
.page-news .news-topics {
  display: flex;
  gap: var(--gap-s);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  -webkit-overflow-scrolling: touch;
}

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

.page-news .news-topics::-webkit-scrollbar-track {
  background: var(--ink-700);
  border-radius: 999px;
}

.page-news .news-topics::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 999px;
}

.page-news .news-topics::-webkit-scrollbar-thumb:hover {
  background: var(--violet);
}

.page-news .news-topic {
  scroll-snap-align: start;
  flex: 0 0 84%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-800);
  box-shadow: var(--shadow-plate);
  overflow: hidden;
}

.page-news .news-topic--cover {
  border-color: rgba(124, 77, 255, .45);
}

.page-news .news-topic-media {
  margin: 0;
}

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

.page-news .news-topic-body {
  padding: 16px 16px 20px;
}

.page-news .news-topic-stage {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--text-faint);
  margin: 0 0 10px;
}

.page-news .news-topic-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text);
}

.page-news .news-topic-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-dim);
}

/* ---------- 04 更新节奏 ---------- */
.page-news .news-rhythm {
  display: grid;
  gap: var(--gap);
}

.page-news .news-rhythm-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--gap);
}

.page-news .news-rhythm-node {
  position: relative;
  padding-left: 42px;
}

.page-news .news-rhythm-num {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--violet);
  border-radius: 50%;
  background: var(--ink-900);
  color: var(--violet);
  font-family: var(--font-mono);
  font-size: 11px;
}

.page-news .news-rhythm-node::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 32px;
  bottom: -20px;
  border-left: 1px dashed var(--line);
}

.page-news .news-rhythm-node:last-child::after {
  content: none;
}

.page-news .news-rhythm-title {
  font-size: 16px;
  font-weight: 600;
  margin: 2px 0 8px;
  color: var(--text);
}

.page-news .news-rhythm-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-dim);
}

.page-news .news-rhythm-figure {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-800);
  box-shadow: var(--shadow-plate);
}

.page-news .news-rhythm-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.page-news .news-rhythm-figure .media-caption {
  margin: 12px 2px 2px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-faint);
}

.page-news .news-rhythm-note {
  margin: var(--gap) 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-dim);
}

.page-news .news-rhythm-note a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 201, 120, .35);
}

.page-news .news-rhythm-note a:hover {
  border-bottom-color: var(--gold);
}

/* ---------- 05 关注与收藏 ---------- */
.page-news .news-follow {
  display: grid;
  gap: var(--gap);
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(124, 77, 255, .18) 0%, transparent 58%),
    linear-gradient(180deg, var(--ink-800) 0%, var(--ink-700) 100%);
  box-shadow: var(--shadow-plate);
}

.page-news .news-follow-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

.page-news .news-follow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.page-news .news-follow-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.page-news .news-follow-actions .btn-primary {
  background: var(--gold);
  color: #1A1205;
}

.page-news .news-follow-actions .btn-primary:hover {
  background: #FFD9A0;
}

.page-news .news-follow-actions .btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}

.page-news .news-follow-actions .btn-ghost:hover {
  border-color: var(--violet);
  color: var(--violet);
}

.page-news .news-follow-note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-dim);
}

.page-news .news-follow-note a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(62, 232, 255, .35);
}

.page-news .news-follow-note a:hover {
  border-bottom-color: var(--cyan);
}

.page-news .news-follow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: follow;
}

.page-news .news-follow-steps li {
  position: relative;
  padding-left: 36px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-dim);
  counter-increment: follow;
}

.page-news .news-follow-steps li::before {
  content: counter(follow, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 3px;
  padding: 1px 5px;
  border: 1px solid rgba(255, 201, 120, .35);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
}

/* ---------- 断点 ---------- */
@media (min-width: 700px) {
  .page-news .news-guide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gap);
  }
}

@media (min-width: 900px) {
  .page-news .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .page-news .news-hero-inner {
    padding-top: 60px;
    padding-bottom: 72px;
  }

  .page-news .news-hero-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, .7fr);
    align-items: end;
    gap: var(--gap);
  }

  .page-news .news-log {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--gap);
  }

  .page-news .news-entry {
    grid-column: 1 / span 9;
  }

  .page-news .news-entry:nth-child(even) {
    grid-column: 4 / span 9;
  }

  .page-news .news-beat {
    grid-column: 1 / -1;
  }

  .page-news .news-rhythm {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: start;
    gap: var(--gap);
  }

  .page-news .news-rhythm-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap);
  }

  .page-news .news-rhythm-node {
    padding: 46px 0 0;
  }

  .page-news .news-rhythm-num {
    top: 0;
    left: 0;
  }

  .page-news .news-rhythm-node::after {
    left: 36px;
    right: calc(var(--gap) * -1);
    top: 13px;
    bottom: auto;
    border-left: 0;
    border-top: 1px dashed var(--line);
  }

  .page-news .news-follow {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--gap);
    padding: 32px;
  }
}

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

  .page-news .news-topic {
    flex: 0 0 300px;
  }

  .page-news .news-topic--cover {
    flex: 0 0 380px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news *,
  .page-news *::before,
  .page-news *::after {
    transition: none !important;
    animation: none !important;
  }

  .page-news .news-entry-card:hover .news-entry-title {
    transform: none;
  }
}
