.page-news {
  --news-panel: rgba(12, 35, 72, .66);
  --news-soft: rgba(7, 21, 46, .86);
  --news-glow-cyan: rgba(36, 224, 214, .18);
  --news-glow-violet: rgba(124, 99, 255, .20);
  position: relative;
  overflow-x: clip;
  padding: clamp(18px, 3.6vw, 40px) 0 clamp(44px, 7vw, 88px);
  color: var(--body-text);
  background:
    radial-gradient(1100px 520px at 90% -8%, var(--news-glow-violet), transparent 62%),
    radial-gradient(880px 460px at -12% 2%, var(--news-glow-cyan), transparent 60%),
    var(--ink-900);
}

.page-news * {
  box-sizing: border-box;
}

/* ===== 首屏 ===== */
.page-news .news-hero {
  padding-top: clamp(10px, 2vw, 22px);
}

.page-news .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3.4vw, 38px);
  align-items: end;
}

.page-news .hero-title {
  margin: 10px 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.3rem, 7.4vw, 4.9rem);
  line-height: 1.03;
  letter-spacing: -.025em;
  color: var(--cloud);
}

.page-news .hero-title em {
  display: block;
  font-style: normal;
  background: linear-gradient(96deg, var(--cyan) 0%, var(--cyan-soft) 48%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-news .hero-lede {
  max-width: 52ch;
  margin: 0 0 clamp(20px, 3vw, 28px);
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  line-height: 1.9;
  color: var(--body-text);
}

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

.page-news .hero-figure {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line-strong);
  background: var(--ink-800);
  box-shadow: var(--panel-shadow);
  transform: rotate(-.7deg);
}

.page-news .hero-figure::after {
  content: "第 18 轮";
  position: absolute;
  top: -12px;
  right: 12px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--ink-900);
  background: var(--cyan);
}

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

.page-news .hero-figure figcaption {
  padding-top: 10px;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .08em;
  color: var(--mist);
}

.page-news .hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  margin: clamp(26px, 4vw, 42px) 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-news .hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-news .hero-stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 3.2vw, 1.95rem);
  line-height: 1.1;
  color: var(--cloud);
  letter-spacing: -.01em;
}

.page-news .hero-stat-label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  color: var(--mist);
}

/* ===== 章节通用 ===== */
.page-news .story-section {
  margin-top: clamp(38px, 6vw, 80px);
}

.page-news .section-head {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 2vw, 20px);
  margin-bottom: clamp(18px, 2.6vw, 26px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.page-news .story-num {
  flex: none;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.8vw, 2.5rem);
  line-height: .95;
  letter-spacing: -.05em;
  color: var(--orange);
}

.page-news .section-head h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.9vw, 1.95rem);
  line-height: 1.25;
  letter-spacing: -.012em;
  color: var(--cloud);
}

.page-news .section-lead {
  max-width: 64ch;
  margin: 0;
  font-size: .93rem;
  line-height: 1.78;
  color: var(--mist);
}

/* ===== 编辑精选 ===== */
.page-news .pick-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-news .pick-lead {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: linear-gradient(158deg, rgba(36, 224, 214, .12), rgba(7, 21, 46, .92) 48%, rgba(124, 99, 255, .16));
  box-shadow: var(--panel-shadow);
}

.page-news .pick-lead img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 6.4;
  object-fit: cover;
}

.page-news .pick-body {
  padding: 18px clamp(16px, 2.4vw, 26px) clamp(18px, 2.6vw, 24px);
}

.page-news .pick-body h3 {
  margin: 10px 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.26rem, 2.7vw, 1.85rem);
  line-height: 1.3;
  letter-spacing: -.015em;
  color: var(--cloud);
}

.page-news .pick-body p {
  margin: 0 0 14px;
  font-size: .94rem;
  line-height: 1.85;
  color: var(--body-text);
}

.page-news .pick-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-news .pick-mini {
  padding: 16px 18px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  background: var(--news-panel);
  transition: border-color .22s var(--ease), transform .22s var(--ease);
}

.page-news .pick-mini:hover {
  border-color: rgba(36, 224, 214, .55);
  border-left-color: var(--cyan);
  transform: translateY(-2px);
}

.page-news .pick-mini h3 {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.02rem, 1.9vw, 1.18rem);
  line-height: 1.45;
  color: var(--cloud);
}

.page-news .pick-mini p {
  margin: 0 0 12px;
  font-size: .9rem;
  line-height: 1.8;
  color: var(--body-text);
}

.page-news .pick-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--cyan);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(36, 224, 214, .38);
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.page-news .pick-link:hover,
.page-news .pick-link:focus-visible {
  color: var(--cyan-soft);
  border-bottom-color: var(--cyan-soft);
}

/* ===== 内容列表与标签筛选 ===== */
.page-news .story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-news .filter-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

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

.page-news .filter-title {
  display: none;
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  color: var(--mist);
}

.page-news .filter-label {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: rgba(12, 35, 72, .6);
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .04em;
  color: var(--mist);
  white-space: nowrap;
  cursor: pointer;
  transition: color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}

.page-news .filter-label:hover {
  color: var(--cloud);
  border-color: rgba(36, 224, 214, .5);
}

.page-news .filter-count {
  font-size: .68rem;
  color: var(--orange);
}

.page-news .filter-input:focus-visible ~ .filter-rail {
  outline: 2px dashed var(--focus);
  outline-offset: 6px;
}

.page-news #filter-all:checked ~ .filter-rail :is([for="filter-all"]),
.page-news #filter-version:checked ~ .filter-rail :is([for="filter-version"]),
.page-news #filter-league:checked ~ .filter-rail :is([for="filter-league"]),
.page-news #filter-guide:checked ~ .filter-rail :is([for="filter-guide"]),
.page-news #filter-notes:checked ~ .filter-rail :is([for="filter-notes"]),
.page-news #filter-event:checked ~ .filter-rail :is([for="filter-event"]) {
  color: var(--ink-900);
  background: var(--cyan);
  border-color: var(--cyan);
}

.page-news #filter-all:checked ~ .filter-rail :is([for="filter-all"]) .filter-count,
.page-news #filter-version:checked ~ .filter-rail :is([for="filter-version"]) .filter-count,
.page-news #filter-league:checked ~ .filter-rail :is([for="filter-league"]) .filter-count,
.page-news #filter-guide:checked ~ .filter-rail :is([for="filter-guide"]) .filter-count,
.page-news #filter-notes:checked ~ .filter-rail :is([for="filter-notes"]) .filter-count,
.page-news #filter-event:checked ~ .filter-rail :is([for="filter-event"]) .filter-count {
  color: var(--ink-800);
}

.page-news #filter-version:checked ~ .story-feed .story-item:not([data-cat="version"]),
.page-news #filter-league:checked ~ .story-feed .story-item:not([data-cat="league"]),
.page-news #filter-guide:checked ~ .story-feed .story-item:not([data-cat="guide"]),
.page-news #filter-notes:checked ~ .story-feed .story-item:not([data-cat="notes"]),
.page-news #filter-event:checked ~ .story-feed .story-item:not([data-cat="event"]) {
  display: none;
}

.page-news .story-feed {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.page-news .story-item {
  display: grid;
  gap: 9px;
  padding: 16px 18px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(12, 35, 72, .74), rgba(7, 21, 46, .44));
  transition: border-color .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease);
}

.page-news .story-item:hover {
  border-color: rgba(36, 224, 214, .48);
  transform: translateX(2px);
}

.page-news .story-item:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(36, 224, 214, .22);
}

.page-news .story-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.04rem, 2vw, 1.24rem);
  line-height: 1.42;
  color: var(--cloud);
}

.page-news .story-item p {
  margin: 0;
  font-size: .91rem;
  line-height: 1.8;
  color: var(--body-text);
}

.page-news .story-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: .69rem;
  letter-spacing: .08em;
  color: var(--mist);
}

.page-news .tag {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .06em;
}

.page-news .story-tag--notes,
.page-news .story-tag--event {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .06em;
  line-height: 1.6;
}

.page-news .story-tag--notes {
  color: var(--cyan-soft);
  background: rgba(169, 255, 244, .08);
}

.page-news .story-tag--event {
  color: var(--violet);
  background: rgba(124, 99, 255, .12);
}

.page-news .story-link {
  justify-self: start;
  font-family: var(--font-mono);
  font-size: .73rem;
  letter-spacing: .06em;
  color: var(--cyan);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(36, 224, 214, .35);
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.page-news .story-link:hover,
.page-news .story-link:focus-visible {
  color: var(--cyan-soft);
  border-bottom-color: var(--cyan-soft);
}

/* ===== 内容路线 ===== */
.page-news .route-canvas {
  position: relative;
  padding: clamp(14px, 2.4vw, 24px) 0;
}

.page-news .route-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .5;
}

.page-news .route-lines path {
  fill: none;
  stroke: rgba(36, 224, 214, .6);
  stroke-width: 1.6;
  stroke-dasharray: 7 9;
}

.page-news .route-lines circle {
  fill: var(--cyan);
}

.page-news .route-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.page-news .route-node {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 14px 16px;
  border: 1px solid var(--line-strong);
  background: var(--news-soft);
  text-decoration: none;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}

.page-news .route-node:hover,
.page-news .route-node:focus-visible {
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px rgba(36, 224, 214, .35), 0 18px 30px -24px rgba(36, 224, 214, .8);
}

.page-news .route-index {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .14em;
  color: var(--orange);
}

.page-news .route-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.9vw, 1.16rem);
  color: var(--cloud);
}

.page-news .route-count {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .04em;
  color: var(--pink);
}

/* ===== 更新节奏 ===== */
.page-news .cadence-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.6vw, 24px);
}

.page-news .rhythm-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .rhythm-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 14px 16px;
  border-left: 2px solid var(--cyan);
  background: rgba(12, 35, 72, .55);
}

.page-news .rhythm-tag {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  color: var(--cyan);
}

.page-news .rhythm-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-news .rhythm-body strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.9vw, 1.14rem);
  color: var(--cloud);
}

.page-news .rhythm-body span {
  font-size: .9rem;
  line-height: 1.8;
  color: var(--body-text);
}

.page-news .version-track {
  margin-top: 14px;
  padding: 16px 18px 18px;
  border: 1px solid var(--line);
  background: linear-gradient(100deg, rgba(36, 224, 214, .12), rgba(124, 99, 255, .14));
}

.page-news .version-ends {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.page-news .v-id {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .04em;
  color: var(--mist);
}

.page-news .v-id.is-current {
  color: var(--cyan);
}

.page-news .v-line {
  flex: 1;
  height: 2px;
  background-image: repeating-linear-gradient(90deg, rgba(157, 183, 217, .55) 0 8px, transparent 8px 16px);
}

.page-news .version-track p {
  margin: 0 0 12px;
  font-size: .9rem;
  line-height: 1.8;
  color: var(--body-text);
}

.page-news .cadence-figure {
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line-strong);
  background: var(--ink-800);
  box-shadow: var(--panel-shadow);
}

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

.page-news .cadence-figure figcaption,
.page-news .notes-figure figcaption {
  padding-top: 10px;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .07em;
  color: var(--mist);
}

/* ===== 跟队处境 ===== */
.page-news .notes-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-news .notes-figure {
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line-strong);
  background: var(--ink-800);
  box-shadow: var(--panel-shadow);
}

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

.page-news .notes-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.page-news .note-card {
  padding: 15px 16px 17px;
  border: 1px solid var(--line);
  border-top: 2px solid rgba(255, 61, 141, .55);
  background: var(--news-panel);
  transition: border-color .2s var(--ease);
}

.page-news .note-card:hover {
  border-top-color: var(--pink);
}

.page-news .note-kicker {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  color: var(--pink);
}

.page-news .note-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.9vw, 1.14rem);
  line-height: 1.45;
  color: var(--cloud);
}

.page-news .note-card p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.8;
  color: var(--body-text);
}

/* ===== 投稿与反馈 ===== */
.page-news .cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.page-news .cta-card {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(36, 224, 214, .16), transparent 68%),
    linear-gradient(170deg, rgba(12, 35, 72, .82), rgba(7, 21, 46, .6));
}

.page-news .cta-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  line-height: 1.35;
  color: var(--cloud);
}

.page-news .cta-card p {
  margin: 0 0 16px;
  font-size: .92rem;
  line-height: 1.85;
  color: var(--body-text);
}

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

/* ===== 响应式 ===== */
@media (min-width: 720px) {
  .page-news .hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

@media (min-width: 900px) {
  .page-news .hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  }

  .page-news .pick-grid {
    grid-template-columns: minmax(0, 1.32fr) minmax(0, .68fr);
    align-items: stretch;
  }

  .page-news .pick-lead {
    display: flex;
    flex-direction: column;
  }

  .page-news .pick-lead img {
    aspect-ratio: 10 / 5.6;
  }

  .page-news .story-layout {
    grid-template-columns: 208px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
  }

  .page-news .filter-rail {
    position: sticky;
    top: 82px;
    flex-direction: column;
    overflow: visible;
    padding-bottom: 0;
  }

  .page-news .filter-title {
    display: block;
  }

  .page-news .filter-label {
    width: 100%;
    justify-content: space-between;
  }

  .page-news .cadence-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: start;
  }

  .page-news .notes-grid {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .hero-figure {
    transform: none;
  }

  .page-news .pick-mini,
  .page-news .story-item,
  .page-news .route-node,
  .page-news .note-card {
    transition: none;
  }

  .page-news .pick-mini:hover,
  .page-news .story-item:hover,
  .page-news .route-node:hover,
  .page-news .route-node:focus-visible {
    transform: none;
  }
}
