/* ===== 赛场笔记 /blog/ ===== */
.page-news {
  background: var(--cream);
  color: var(--ink);
  padding-bottom: clamp(56px, 9vw, 104px);
  overflow-x: clip;
}

.page-news .news-crumb {
  padding-top: clamp(16px, 3vw, 28px);
}

/* —— 首屏 —— */
.page-news .news-hero {
  position: relative;
  margin-top: clamp(16px, 3vw, 28px);
  background: var(--night);
  overflow: hidden;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 86% 6%, rgba(31, 166, 160, .38), transparent 62%),
    linear-gradient(118deg, rgba(27, 77, 255, .52) 0%, rgba(11, 16, 32, .04) 54%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 72px);
  pointer-events: none;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  right: -16%;
  top: -32%;
  width: 44%;
  height: 196%;
  background: var(--eb);
  opacity: .2;
  transform: rotate(20deg);
  pointer-events: none;
}

.page-news .news-hero__inner {
  position: relative;
  z-index: 1;
  padding: clamp(34px, 7vw, 72px) 0 clamp(38px, 7vw, 78px);
}

.page-news .news-hero__eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--neon);
}

.page-news .news-hero__title {
  margin: 12px 0 0;
  font-size: clamp(42px, 12vw, 86px);
  line-height: .96;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--cream);
}

.page-news .news-hero__lede {
  margin: 20px 0 0;
  max-width: 33em;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(244, 239, 227, .84);
}

.page-news .news-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 28px 0 0;
  padding: 20px 0 0;
  list-style: none;
  border-top: 1px solid var(--glass-line);
}

.page-news .news-hero__stats li {
  font-size: 14px;
  color: rgba(244, 239, 227, .72);
}

.page-news .news-hero__stats .data {
  margin-right: 8px;
  font-size: 20px;
  color: var(--neon);
}

.page-news .news-hero__rail {
  display: none;
}

/* —— 区块通用 —— */
.page-news .news-section {
  padding-top: clamp(42px, 7vw, 80px);
}

.page-news .section-head__index {
  display: block;
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--eb);
}

.page-news .section-head__title {
  margin: 0;
  font-size: clamp(25px, 5.4vw, 40px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.015em;
}

.page-news .section-head__desc {
  margin: 12px 0 0;
  max-width: 34em;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* —— 图形容器 —— */
.page-news .news-figure {
  margin: 0;
}

.page-news .media {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--night) 0%, var(--night-2) 100%);
}

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

.page-news .media__caption {
  margin: 10px 2px 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.page-news .ratio-14x9 { aspect-ratio: 14 / 9; }
.page-news .ratio-3x2  { aspect-ratio: 3 / 2; }
.page-news .ratio-1x1  { aspect-ratio: 1 / 1; }

/* —— 栏目导览 —— */
.page-news .news-topics__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 22px;
}

.page-news .topic-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px 24px;
  border-radius: var(--radius);
  border-top: 3px solid var(--eb);
  background: var(--night-2);
  color: var(--cream);
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.page-news .topic-tile:hover,
.page-news .topic-tile:focus-visible {
  transform: translateY(-4px);
  border-top-color: var(--neon);
  background: var(--night);
}

.page-news .topic-tile__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--lake);
}

.page-news .topic-tile__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.page-news .topic-tile__text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(244, 239, 227, .74);
}

.page-news .topic-tile__foot {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon);
}

/* —— 最新条目 —— */
.page-news .feed-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-top: clamp(20px, 3vw, 30px);
}

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

.page-news .feed-filter__label {
  width: 100%;
  margin: 0 0 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--ink-soft);
}

.page-news .feed-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.page-news .feed-chip:hover,
.page-news .feed-chip:focus-visible {
  background: var(--eb);
  border-color: var(--eb);
  color: #fff;
}

.page-news .feed-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--eb);
}

.page-news .feed-chip--lake .feed-chip__dot { background: var(--lake); }
.page-news .feed-chip--neon .feed-chip__dot { background: var(--neon); }

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

.page-news .feed-item {
  padding: 20px 0 22px;
  border-top: 1px solid var(--line);
}

.page-news .feed-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.page-news .feed-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0;
}

.page-news .feed-item__time {
  font-size: 12px;
  color: var(--ink-soft);
}

.page-news .feed-item__title {
  margin: 10px 0 8px;
  font-size: clamp(19px, 4.4vw, 24px);
  font-weight: 700;
  line-height: 1.36;
}

.page-news .feed-item__title a {
  color: var(--ink);
  text-decoration: none;
}

.page-news .feed-item__title a:hover,
.page-news .feed-item__title a:focus-visible {
  color: var(--eb);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-news .feed-item__excerpt {
  margin: 0;
  max-width: 38em;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.page-news .feed-side {
  display: grid;
  gap: 18px;
}

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

.page-news .feed-rail {
  display: none;
}

/* —— 专题：复盘 / 球队库 / 版本 —— */
.page-news .topic-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
}

.page-news .topic-head__num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--eb);
}

.page-news .topic-head h2 {
  margin: 0;
  font-size: clamp(24px, 5.2vw, 38px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.015em;
}

.page-news .topic-lede {
  margin: 18px 0 0;
  max-width: 36em;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.page-news .topic-figure {
  margin-top: 24px;
}

.page-news .topic-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 26px;
}

.page-news .step-card {
  padding: 20px 18px 22px;
  border-radius: var(--radius);
  border-left: 3px solid var(--eb);
  background: #fff;
  box-shadow: var(--shadow-1);
}

.page-news .step-card__n {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--eb);
}

.page-news .step-card h3 {
  margin: 10px 0 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.page-news .step-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.page-news .data-card {
  margin-top: 26px;
  padding: 22px 20px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--night) 0%, var(--night-2) 70%, rgba(27, 77, 255, .34) 100%);
  color: var(--cream);
}

.page-news .data-card h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: .02em;
}

.page-news .data-card dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 18px 0 0;
}

.page-news .data-card__row dt {
  font-size: 13px;
  color: rgba(244, 239, 227, .66);
}

.page-news .data-card__row dd {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--neon);
}

.page-news .topic-note {
  margin: 24px 0 0;
  max-width: 36em;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.page-news .topic-note a {
  color: var(--eb);
  text-underline-offset: 3px;
}

.page-news .log-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 24px;
}

.page-news .log-card {
  padding: 20px 18px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}

.page-news .log-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.page-news .log-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.page-news .version-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.page-news .version-item {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.page-news .version-item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
}

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

.page-news .version-item summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--eb);
}

.page-news .version-item[open] summary::after {
  content: "–";
}

.page-news .version-item summary:hover {
  background: rgba(27, 77, 255, .06);
}

.page-news .version-item__ver {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--lake);
  white-space: nowrap;
}

.page-news .version-item__body {
  padding: 0 18px 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.page-news .version-item__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* —— 订阅与投稿 —— */
.page-news .subscribe-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  padding: clamp(22px, 4.5vw, 40px);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--night) 0%, var(--night-2) 60%, rgba(27, 77, 255, .42) 100%);
  color: var(--cream);
}

.page-news .subscribe-panel__eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--neon);
}

.page-news .subscribe-panel h2 {
  margin: 12px 0 0;
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.015em;
}

.page-news .subscribe-panel__lede {
  margin: 14px 0 0;
  max-width: 32em;
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(244, 239, 227, .8);
}

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

.page-news .subscribe-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--glass-line);
  background: var(--glass);
}

.page-news .subscribe-steps__n {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--neon);
  color: var(--night);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.page-news .subscribe-steps strong {
  display: block;
  font-size: 15.5px;
}

.page-news .subscribe-steps p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(244, 239, 227, .72);
}

.page-news .subscribe-panel__note {
  margin: 20px 0 0;
  max-width: 34em;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(244, 239, 227, .8);
}

.page-news .subscribe-panel__note a {
  color: var(--neon);
  text-underline-offset: 3px;
}

.page-news .subscribe-panel__figure {
  max-width: 380px;
}

/* —— 渐进增强：错位淡入 —— */
.page-news [data-reveal] {
  transition: opacity .5s ease, transform .5s ease;
}

.has-js .page-news [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}

.has-js .page-news [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.has-js .page-news .feed-list .feed-item:nth-child(2) { transition-delay: .06s; }
.has-js .page-news .feed-list .feed-item:nth-child(3) { transition-delay: .12s; }
.has-js .page-news .feed-list .feed-item:nth-child(4) { transition-delay: .18s; }
.has-js .page-news .feed-list .feed-item:nth-child(5) { transition-delay: .24s; }
.has-js .page-news .feed-list .feed-item:nth-child(6) { transition-delay: .3s; }

/* —— 平板 —— */
@media (min-width: 720px) {
  .page-news .news-topics__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .page-news .topic-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-news .data-card dl {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .page-news .log-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

/* —— 桌面 —— */
@media (min-width: 880px) {
  .page-news .feed-layout {
    grid-template-columns: 172px minmax(0, 1fr) 258px;
    gap: 34px;
    align-items: start;
  }

  .page-news .feed-filter {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
    position: sticky;
    top: 96px;
  }

  .page-news .feed-side {
    gap: 22px;
  }

  .page-news .feed-side__figure {
    max-width: none;
  }

  .page-news .feed-rail {
    display: block;
    width: 24px;
    height: auto;
    margin: 4px 0 0 12px;
    color: var(--line-strong);
  }

  .page-news .feed-rail circle {
    fill: var(--cream);
    stroke: var(--eb);
    stroke-width: 2;
  }

  .page-news .feed-rail .feed-rail__now {
    fill: var(--neon);
    stroke: var(--neon);
  }

  .page-news .subscribe-panel {
    grid-template-columns: minmax(0, 1.15fr) 300px;
    align-items: center;
    gap: 40px;
  }

  .page-news .subscribe-panel__figure {
    max-width: none;
  }
}

@media (min-width: 900px) {
  .page-news .news-hero__rail {
    display: block;
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: center;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .3em;
    color: rgba(244, 239, 227, .3);
    white-space: nowrap;
  }
}
