.page-news {
  --news-edge: 1px solid var(--line-soft);
  background: var(--ink-900);
  color: var(--paper);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-news img {
  max-width: 100%;
  height: auto;
}

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

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(20px, 4vw, 40px) 0 clamp(40px, 6vw, 76px);
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  top: -12%;
  right: -18%;
  width: min(660px, 88%);
  height: 132%;
  background:
    linear-gradient(155deg, rgba(61, 123, 255, 0.20), rgba(57, 242, 200, 0.07) 46%, transparent 72%);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  z-index: -1;
  pointer-events: none;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange) 0 18%, var(--line-soft) 18% 100%);
}

.page-news .hero-grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  align-items: end;
  margin-top: clamp(18px, 3vw, 30px);
}

.page-news .hero-kicker {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  color: var(--mint);
  text-transform: uppercase;
}

.page-news .news-hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(32px, 7.4vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.01em;
}

.page-news .news-hero h1 .hl {
  color: var(--orange);
}

.page-news .hero-lead {
  max-width: 40em;
  margin: 0;
  font-size: clamp(15px, 2.2vw, 17.5px);
  line-height: 1.78;
  color: rgba(245, 242, 234, 0.84);
}

.page-news .hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(20px, 3vw, 28px) 0 clamp(20px, 3vw, 26px);
  background: var(--line-soft);
  border: var(--news-edge);
}

.page-news .stat {
  padding: 12px 14px;
  background: var(--ink-800);
}

.page-news .stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(19px, 3vw, 23px);
  font-weight: 600;
  color: var(--mint);
  letter-spacing: 0.01em;
}

.page-news .stat-key {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--mist);
}

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

.page-news .hero-figure {
  margin: 0;
  border: 1px solid var(--line);
}

/* ---------- 主体：索引 + 流 ---------- */
.page-news .news-body {
  padding: clamp(32px, 5vw, 64px) 0 clamp(44px, 7vw, 84px);
}

.page-news .body-grid {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
}

.page-news .index-rail {
  padding: clamp(18px, 3vw, 26px);
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
}

.page-news .rail-head .coord {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--mint);
}

.page-news .rail-head h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(20px, 3vw, 26px);
  line-height: 1.2;
}

.page-news .rail-intro {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--mist);
}

.page-news .cat-filter {
  display: grid;
  gap: 2px;
  margin-top: 16px;
}

.page-news .cat-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-left: 2px solid var(--line);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.page-news .cat-item:hover {
  background: var(--ink-700);
  border-left-color: var(--mint);
  transform: translateX(2px);
}

.page-news .cat-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mist);
}

.page-news .cat-name {
  font-size: 15px;
  font-weight: 600;
}

.page-news .cat-hint {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mist);
  text-align: right;
  white-space: nowrap;
}

.page-news .cat-radio:checked + .cat-item {
  background: var(--ink-700);
  border-left-color: var(--orange);
}

.page-news .cat-radio:checked + .cat-item .cat-num {
  color: var(--orange);
}

.page-news .cat-radio:checked + .cat-item .cat-name {
  color: var(--paper);
}

.page-news .cat-radio:focus-visible + .cat-item {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.page-news .rail-note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: var(--news-edge);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--mist);
}

.page-news .note-stream {
  display: grid;
  min-width: 0;
}

.page-news .note-group {
  display: grid;
  gap: clamp(14px, 2vw, 18px);
  min-width: 0;
}

.page-news .note-group + .note-group {
  margin-top: clamp(32px, 5vw, 54px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--line-soft);
}

.page-news .group-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.page-news .group-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(21px, 3.4vw, 29px);
  line-height: 1.2;
}

.page-news .group-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--mint);
}

/* ---------- 专题卡 ---------- */
.page-news .feature-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: clamp(14px, 2.6vw, 22px);
  background:
    linear-gradient(150deg, rgba(255, 90, 31, 0.10), transparent 48%),
    var(--ink-800);
  border: 1px solid var(--line);
}

.page-news .feature-card::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 34px;
  height: 34px;
  border-top: 2px solid var(--orange);
  border-right: 2px solid var(--orange);
  pointer-events: none;
}

.page-news .feature-figure {
  margin: 0;
}

.page-news .feature-body h3 {
  margin: 0;
  font-size: clamp(18px, 2.6vw, 21px);
  font-weight: 700;
  line-height: 1.4;
}

.page-news .feature-body p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(245, 242, 234, 0.8);
}

/* ---------- 条目 ---------- */
.page-news .entry-list {
  display: grid;
  gap: clamp(12px, 1.8vw, 16px);
  min-width: 0;
}

.page-news .entry {
  position: relative;
  padding: 16px 18px 16px 22px;
  background: var(--ink-800);
  border: var(--news-edge);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.page-news .entry::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.22s ease;
}

.page-news .entry:hover,
.page-news .entry:focus-within {
  transform: translateY(-3px);
  background: var(--ink-700);
  border-color: var(--line);
}

.page-news .entry:hover::before,
.page-news .entry:focus-within::before {
  transform: scaleY(1);
}

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

.page-news .entry-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.page-news .entry-time::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 6px rgba(57, 242, 200, 0.7);
}

.page-news .entry h3 {
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-size: clamp(16.5px, 2.4vw, 19px);
  font-weight: 700;
  line-height: 1.45;
}

.page-news .entry h3 a {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.page-news .entry h3 a:hover,
.page-news .entry h3 a:focus-visible {
  color: var(--mint);
  border-bottom-color: rgba(57, 242, 200, 0.5);
}

.page-news .entry h3 a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.page-news .entry p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.76;
  color: rgba(245, 242, 234, 0.74);
}

/* ---------- 版本条 ---------- */
.page-news .version-strip {
  display: grid;
  gap: 14px;
  padding: clamp(14px, 2.4vw, 20px);
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-left: 3px solid var(--mint);
}

.page-news .version-wave {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
}

.page-news .wave-line {
  stroke: var(--mint);
}

.page-news .version-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.page-news .vf {
  display: grid;
  gap: 2px;
}

.page-news .vf .coord {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.page-news .vf strong {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--paper);
}

/* ---------- 分辨率矩阵 ---------- */
.page-news .res-matrix {
  display: grid;
  gap: 10px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.page-news .res-matrix li {
  display: grid;
  grid-template-columns: auto auto;
  gap: 4px 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 2px solid var(--orange);
}

.page-news .res-res {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--paper);
}

.page-news .res-hz {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mint);
  align-self: center;
}

.page-news .res-use {
  grid-column: 1 / -1;
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist);
}

/* ---------- 结尾通道 ---------- */
.page-news .news-cta {
  padding: clamp(36px, 5vw, 68px) 0 clamp(48px, 7vw, 84px);
  background:
    linear-gradient(200deg, rgba(17, 26, 58, 0.9), var(--ink-900) 62%);
  border-top: 1px solid var(--line-soft);
}

.page-news .cta-head {
  max-width: 46em;
  margin-bottom: clamp(20px, 3vw, 30px);
}

.page-news .cta-head .coord {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--mint);
}

.page-news .cta-head h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(24px, 4.2vw, 38px);
  line-height: 1.16;
}

.page-news .cta-head p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(245, 242, 234, 0.78);
}

.page-news .cta-grid {
  display: grid;
  gap: clamp(14px, 2.4vw, 20px);
}

.page-news .cta-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: clamp(18px, 2.8vw, 24px);
  background: var(--ink-800);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.page-news .cta-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 90, 31, 0.55);
}

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

.page-news .cta-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.76;
  color: rgba(245, 242, 234, 0.76);
}

.page-news .cta-card .btn {
  justify-self: start;
  margin-top: 4px;
}

/* ---------- 分类筛选（渐进增强） ---------- */
.page-news:has(#cat-injury:checked) .note-group:not([data-cat="injury"]),
.page-news:has(#cat-calendar:checked) .note-group:not([data-cat="calendar"]),
.page-news:has(#cat-version:checked) .note-group:not([data-cat="version"]),
.page-news:has(#cat-screen:checked) .note-group:not([data-cat="screen"]),
.page-news:has(#cat-skills:checked) .note-group:not([data-cat="skills"]),
.page-news:has(#cat-coop:checked) .note-group:not([data-cat="coop"]) {
  display: none;
}

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

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

@media (min-width: 780px) {
  .page-news .feature-card {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(18px, 2.6vw, 26px);
  }

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

@media (min-width: 960px) {
  .page-news .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }

  .page-news .body-grid {
    grid-template-columns: minmax(238px, 306px) minmax(0, 1fr);
    align-items: start;
  }

  .page-news .index-rail {
    position: sticky;
    top: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .entry,
  .page-news .entry::before,
  .page-news .cat-item,
  .page-news .cta-card {
    transition: none;
  }

  .page-news .entry:hover,
  .page-news .entry:focus-within,
  .page-news .cta-card:hover,
  .page-news .cat-item:hover {
    transform: none;
  }
}
