.page-news {
  --news-gap: clamp(18px, 3vw, 32px);
  color: var(--paper);
  background: var(--ink-900);
}

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

.page-news .breadcrumb {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px var(--gutter) 0;
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 5vw, 62px) 0 clamp(32px, 5vw, 58px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 86% -12%, rgba(124, 255, 178, 0.16), transparent 58%),
    linear-gradient(180deg, var(--ink-850), var(--ink-900));
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.34;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 82%);
  mask-image: linear-gradient(180deg, #000, transparent 82%);
}

.page-news .news-hero .container {
  position: relative;
  z-index: 1;
}

.page-news .news-hero__title {
  margin: 14px 0 0;
  max-width: 13em;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-news .news-hero__lead {
  margin: 22px 0 0;
  max-width: 40em;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.78;
  color: var(--fog);
}

.page-news .hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 0;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.page-news .hero-fact {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 0 26px;
  border-right: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--muted);
}

.page-news .hero-fact:first-child {
  padding-left: 0;
}

.page-news .hero-fact:last-child {
  border-right: 0;
  padding-right: 0;
}

.page-news .hero-fact__num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 22px;
  line-height: 1;
  color: var(--signal);
}

/* ---------- 通用章节标题 ---------- */
.page-news .section-head {
  margin-bottom: clamp(22px, 3vw, 34px);
}

.page-news .section-title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.45rem, 3.4vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--paper);
}

.page-news .section-lead {
  margin: 14px 0 0;
  max-width: 40em;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 头条 ---------- */
.page-news .news-lead {
  padding: clamp(40px, 6vw, 76px) 0;
}

.page-news .lead-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--news-gap);
}

.page-news .lead-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-left: 2px solid var(--signal);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--ink-800), var(--ink-850));
}

.page-news .lead-main__tag {
  align-self: flex-start;
  margin: 0;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--signal);
  border: 1px solid var(--signal);
  border-radius: 999px;
}

.page-news .lead-main__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 3.4vw, 32px);
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--paper);
}

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

.page-news .lead-main__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-news .lead-main__link {
  align-self: flex-start;
  margin-top: auto;
  padding-bottom: 3px;
  font-size: 13px;
  font-weight: 600;
  color: var(--signal);
  text-decoration: none;
  border-bottom: 1px solid var(--signal);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-news .lead-main__link:hover,
.page-news .lead-main__link:focus-visible {
  color: var(--signal-2);
  border-color: var(--signal-2);
}

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

.page-news .lead-sub {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2.6vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-800);
}

.page-news .lead-sub__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

.page-news .lead-sub--media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(160deg, rgba(7, 18, 15, 0.84), rgba(12, 31, 26, 0.95));
}

.page-news .lead-sub__tag,
.page-news .lead-sub__title,
.page-news .lead-sub__text,
.page-news .lead-sub__meta {
  position: relative;
  z-index: 2;
}

.page-news .lead-sub__tag {
  align-self: flex-start;
  margin: 0;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--signal);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.page-news .lead-sub__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 21px);
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-news .lead-sub__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--muted);
}

.page-news .lead-sub__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--signal-2);
}

@media (min-width: 860px) {
  .page-news .lead-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: stretch;
  }

  .page-news .lead-main {
    grid-column: 1 / 8;
  }

  .page-news .lead-figure {
    grid-column: 8 / 13;
  }

  .page-news .lead-sub {
    grid-column: span 6;
  }
}

/* ---------- 常设栏目色带 ---------- */
.page-news .news-beats {
  padding: clamp(40px, 6vw, 76px) 0;
  background: var(--ink-800);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-news .beat-list {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
}

.page-news .beat {
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}

.page-news .beat:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-news .beat-num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--signal);
}

.page-news .beat-name {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.page-news .beat-text {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.72;
  color: var(--muted);
}

.page-news .beat-cadence {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--signal-2);
}

@media (min-width: 780px) {
  .page-news .beat-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 0;
  }

  .page-news .beat {
    padding: 4px 16px;
    border-bottom: 0;
    border-left: 1px solid var(--line-soft);
  }

  .page-news .beat:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .page-news .beat:last-child {
    padding-right: 0;
  }
}

/* ---------- 条目目录 ---------- */
.page-news .news-feed {
  padding: clamp(40px, 6vw, 76px) 0;
}

.page-news .news-filter {
  position: relative;
}

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

.page-news .filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

.page-news .filter-pill {
  padding: 7px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    background var(--dur) var(--ease);
}

.page-news .filter-pill:hover {
  color: var(--signal);
  border-color: var(--signal);
}

.page-news .filter-input:focus-visible ~ .filter-pills {
  outline: 2px solid var(--signal);
  outline-offset: 4px;
}

.page-news #news-f-all:checked ~ .filter-pills .filter-pill--all,
.page-news #news-f-schedule:checked ~ .filter-pills .filter-pill--schedule,
.page-news #news-f-observe:checked ~ .filter-pills .filter-pill--observe,
.page-news #news-f-data:checked ~ .filter-pills .filter-pill--data,
.page-news #news-f-screen:checked ~ .filter-pills .filter-pill--screen,
.page-news #news-f-files:checked ~ .filter-pills .filter-pill--files {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--ink-900);
  font-weight: 600;
}

.page-news .filter-input:checked ~ .entry-list .entry {
  display: none;
}

.page-news #news-f-all:checked ~ .entry-list .entry {
  display: block;
}

.page-news #news-f-schedule:checked ~ .entry-list .entry--schedule,
.page-news #news-f-observe:checked ~ .entry-list .entry--observe,
.page-news #news-f-data:checked ~ .entry-list .entry--data,
.page-news #news-f-screen:checked ~ .entry-list .entry--screen,
.page-news #news-f-files:checked ~ .entry-list .entry--files {
  display: block;
}

.page-news .entry-list {
  border-top: 1px solid var(--line);
}

.page-news .entry {
  border-bottom: 1px solid var(--line);
  animation: news-entry-in 240ms var(--ease) both;
}

@keyframes news-entry-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-news .entry-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 14px;
  padding: 18px 40px 18px 18px;
  cursor: pointer;
  list-style: none;
  transition: background var(--dur) var(--ease);
}

.page-news .entry-head::-webkit-details-marker {
  display: none;
}

.page-news .entry-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: var(--signal);
  opacity: 0;
  transform: scaleY(0.4);
  transform-origin: top center;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-news .entry:hover .entry-head {
  background: rgba(18, 48, 42, 0.46);
}

.page-news .entry:hover .entry-head::before,
.page-news .entry[open] .entry-head::before {
  opacity: 1;
  transform: scaleY(1);
}

.page-news .entry-head::after {
  content: "+";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 17px;
  line-height: 1;
  color: var(--muted);
  transition: color var(--dur) var(--ease);
}

.page-news .entry[open] .entry-head::after {
  content: "−";
  color: var(--signal);
}

.page-news .entry-tag {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  padding: 2px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--signal);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color var(--dur) var(--ease);
}

.page-news .entry:hover .entry-tag {
  border-color: var(--signal);
}

.page-news .entry-title {
  grid-column: 1;
  grid-row: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.32;
  letter-spacing: -0.005em;
  color: var(--paper);
}

.page-news .entry-when {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted);
  white-space: nowrap;
}

.page-news .entry-body {
  padding: 0 20px 20px 18px;
  max-width: 44em;
}

.page-news .entry-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.82;
  color: var(--fog);
}

@media (min-width: 760px) {
  .page-news .entry-head {
    grid-template-columns: 112px minmax(0, 1fr) auto;
    grid-template-rows: auto;
    align-items: center;
    gap: 18px;
    padding: 16px 42px 16px 20px;
  }

  .page-news .entry-tag {
    grid-column: 1;
    grid-row: 1;
  }

  .page-news .entry-title {
    grid-column: 2;
    grid-row: 1;
  }

  .page-news .entry-when {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
  }

  .page-news .entry-body {
    padding: 0 42px 22px 20px;
  }
}

.page-news .feed-help {
  margin: 22px 0 0;
  max-width: 44em;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.page-news .feed-help a,
.page-news .archive-note a,
.page-news .read-body a {
  color: var(--signal);
  text-decoration: none;
  border-bottom: 1px solid rgba(124, 255, 178, 0.5);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-news .feed-help a:hover,
.page-news .archive-note a:hover,
.page-news .read-body a:hover,
.page-news .feed-help a:focus-visible,
.page-news .archive-note a:focus-visible,
.page-news .read-body a:focus-visible {
  color: var(--signal-2);
  border-color: var(--signal-2);
}

/* ---------- 读法示例 ---------- */
.page-news .news-read {
  padding: clamp(40px, 6vw, 76px) 0;
  background: var(--ink-850);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-news .read-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--news-gap);
}

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

.page-news .read-body {
  max-width: 40em;
}

.page-news .read-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(19px, 2.6vw, 24px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-news .read-body p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.82;
  color: var(--fog);
}

.page-news .read-body p:last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .page-news .read-grid {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }
}

/* ---------- 归档 ---------- */
.page-news .news-archive {
  padding: clamp(40px, 6vw, 76px) 0;
}

.page-news .archive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--news-gap);
}

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

.page-news .round-scale {
  display: flex;
  gap: 1px;
  margin: 0 0 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}

.page-news .round-scale span {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: flex-end;
  height: 24px;
  padding-left: 3px;
  border-left: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.page-news .round-scale span:last-child {
  border-right: 1px solid var(--line-soft);
}

.page-news .archive-group {
  border-top: 1px solid var(--line);
}

.page-news .archive-group-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  padding: 14px 30px 14px 0;
  cursor: pointer;
  list-style: none;
  transition: color var(--dur) var(--ease);
}

.page-news .archive-group-head::-webkit-details-marker {
  display: none;
}

.page-news .archive-group-head::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--muted);
}

.page-news .archive-group[open] .archive-group-head::after {
  content: "−";
  color: var(--signal);
}

.page-news .archive-scale {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--signal);
}

.page-news .archive-label {
  grid-column: 1;
  grid-row: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.page-news .archive-state {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-news .archive-group-body {
  padding: 0 0 18px;
  max-width: 40em;
}

.page-news .archive-group-body p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--muted);
}

.page-news .archive-note {
  margin: 26px 0 0;
  max-width: 40em;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

@media (min-width: 900px) {
  .page-news .archive-grid {
    grid-template-columns: 7fr 5fr;
    align-items: start;
  }

  .page-news .round-scale span {
    font-size: 11px;
    height: 26px;
  }
}

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

  .page-news .entry-head::before {
    transition: none;
  }
}
