.page-news {
  --news-meter-fill: linear-gradient(90deg, var(--pitch), var(--ref-yellow));
  color: var(--fog);
}

.page-news .breadcrumb {
  margin: clamp(14px, 2.4vw, 22px) 0 clamp(14px, 2.4vw, 24px);
}

/* ---------- 首屏 ---------- */
.page-news .news-mast {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(22px, 4.5vw, 56px);
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(185, 255, 61, 0.16) 0%, rgba(185, 255, 61, 0) 58%),
    linear-gradient(158deg, var(--board-green) 0%, var(--deep-green) 44%, var(--ink-black) 100%);
  box-shadow: var(--shadow-float);
}

.page-news .news-mast__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: saturate(0.7) contrast(1.05);
}

.page-news .news-mast::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 11, 9, 0.4) 0%, rgba(7, 11, 9, 0.92) 100%);
}

.page-news .news-mast__inner {
  position: relative;
  z-index: 2;
}

.page-news .eyebrow {
  margin: 0 0 10px;
  color: var(--pitch);
  letter-spacing: 0.08em;
}

.page-news .news-mast h1 {
  margin: 0;
  max-width: 20ch;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 7vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.page-news .news-mast__lead {
  margin: clamp(14px, 2.4vw, 22px) 0 0;
  max-width: 52ch;
  font-size: var(--fs-body);
  line-height: 1.75;
  color: rgba(243, 247, 240, 0.84);
}

.page-news .news-mast__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px clamp(18px, 3vw, 40px);
  margin: clamp(20px, 3.4vw, 32px) 0 0;
  padding: 0;
  list-style: none;
}

.page-news .news-mast__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 78px;
  padding-left: 12px;
  border-left: 2px solid var(--line);
}

.page-news .news-mast__num {
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1;
  color: var(--pitch);
}

.page-news .news-mast__label {
  font-size: var(--fs-xs);
  color: var(--sage);
}

.page-news .news-arc {
  display: block;
  width: 100%;
  height: auto;
  max-height: 96px;
  margin-top: clamp(18px, 3vw, 28px);
}

.page-news .news-arc__track {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.6;
  stroke-dasharray: 4 7;
}

.page-news .news-arc__dot {
  fill: var(--sage);
}

.page-news .news-arc__dot--now {
  fill: var(--pitch);
}

/* ---------- 通用区块头 ---------- */
.page-news .section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px clamp(16px, 3vw, 32px);
  margin-bottom: clamp(16px, 2.6vw, 28px);
}

.page-news .section-head h2 {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 4.2vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.01em;
}

.page-news .section-head__note {
  margin: 0;
  max-width: 34ch;
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--sage);
}

.page-news .news-index,
.page-news .news-recent,
.page-news .news-series,
.page-news .news-cite {
  margin-top: clamp(40px, 6vw, 84px);
}

/* ---------- 四类专题 ---------- */
.page-news .cat-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .cat {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px 14px;
  padding: 18px 20px 18px 24px;
  border-radius: var(--radius-md);
  background: var(--deep-green);
  transition: background 260ms var(--ease), transform 260ms var(--ease);
}

.page-news .cat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: var(--radius-pill);
  background: var(--cat, var(--pitch));
}

.page-news .cat--schedule { --cat: var(--pitch); }
.page-news .cat--version { --cat: var(--ref-yellow); }
.page-news .cat--method { --cat: var(--sage); }
.page-news .cat--archive { --cat: var(--fog); }

.page-news .cat:hover {
  background: var(--board-green);
  transform: translateX(2px);
}

.page-news .cat__num {
  font-size: var(--fs-xs);
  color: var(--sage);
  padding-top: 8px;
}

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

.page-news .cat__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 3.4vw, 34px);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.page-news .cat__note {
  margin: 8px 0 0;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--sage);
}

.page-news .cat__side {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.page-news .cat__link {
  font-size: var(--fs-sm);
  color: var(--fog);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

.page-news .cat__link:hover,
.page-news .cat__link:focus-visible {
  color: var(--pitch);
  border-bottom-color: var(--pitch);
}

/* ---------- 近期条目 ---------- */
.page-news .news-recent__body {
  display: grid;
  gap: clamp(20px, 3vw, 28px);
}

.page-news .news-filter {
  position: relative;
  min-width: 0;
}

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

.page-news .news-filter__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.page-news .news-filter__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  color: var(--sage);
  cursor: pointer;
  transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}

.page-news .news-filter__pill:hover {
  border-color: var(--pitch);
  color: var(--fog);
}

.page-news #nf-all:checked ~ .news-filter__pills label[for="nf-all"],
.page-news #nf-schedule:checked ~ .news-filter__pills label[for="nf-schedule"],
.page-news #nf-version:checked ~ .news-filter__pills label[for="nf-version"],
.page-news #nf-method:checked ~ .news-filter__pills label[for="nf-method"],
.page-news #nf-archive:checked ~ .news-filter__pills label[for="nf-archive"] {
  background: var(--pitch);
  border-color: var(--pitch);
  color: var(--ink-black);
  font-weight: 700;
}

.page-news #nf-all:focus-visible ~ .news-filter__pills label[for="nf-all"],
.page-news #nf-schedule:focus-visible ~ .news-filter__pills label[for="nf-schedule"],
.page-news #nf-version:focus-visible ~ .news-filter__pills label[for="nf-version"],
.page-news #nf-method:focus-visible ~ .news-filter__pills label[for="nf-method"],
.page-news #nf-archive:focus-visible ~ .news-filter__pills label[for="nf-archive"] {
  outline: 2px solid var(--pitch);
  outline-offset: 2px;
}

.page-news #nf-schedule:checked ~ .news-entries .news-entry:not(.news-entry--schedule),
.page-news #nf-version:checked ~ .news-entries .news-entry:not(.news-entry--version),
.page-news #nf-method:checked ~ .news-entries .news-entry:not(.news-entry--method),
.page-news #nf-archive:checked ~ .news-entries .news-entry:not(.news-entry--archive) {
  display: none;
}

.page-news .news-entries {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .news-entry {
  display: grid;
  gap: 8px;
  padding: 18px 6px;
  border-top: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: background 200ms var(--ease);
}

.page-news .news-entry:last-child {
  border-bottom: 1px solid var(--line);
}

.page-news .news-entry:hover {
  background: var(--glass);
}

.page-news .news-entry__num {
  font-size: var(--fs-xs);
  color: var(--sage);
  letter-spacing: 0.08em;
}

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

.page-news .news-entry__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.page-news .news-entry__time {
  font-size: var(--fs-xs);
  color: var(--sage);
}

.page-news .tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--sage);
}

.page-news .tag--schedule {
  background: var(--pitch);
  border-color: var(--pitch);
  color: var(--ink-black);
  font-weight: 700;
}

.page-news .tag--version {
  background: var(--ref-yellow);
  border-color: var(--ref-yellow);
  color: var(--ink-black);
  font-weight: 700;
}

.page-news .tag--method {
  border-color: var(--pitch);
  color: var(--pitch);
}

.page-news .tag--archive {
  border-color: var(--sage);
  color: var(--fog);
}

.page-news .news-entry__title {
  margin: 8px 0 0;
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 700;
  line-height: 1.45;
  color: var(--fog);
}

.page-news .news-entry__summary {
  margin: 8px 0 0;
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--sage);
}

.page-news .news-entry__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  margin-top: 12px;
  font-size: var(--fs-xs);
  color: var(--sage);
}

.page-news .news-entry__link {
  color: var(--pitch);
  font-size: var(--fs-sm);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}

.page-news .news-entry__link:hover,
.page-news .news-entry__link:focus-visible {
  border-bottom-color: var(--pitch);
}

/* ---------- 侧栏 ---------- */
.page-news .news-aside {
  align-self: start;
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--board-green);
  border: 1px solid var(--line);
}

.page-news .news-aside__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.15;
}

.page-news .news-aside img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.page-news .news-aside__text {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: rgba(243, 247, 240, 0.82);
}

.page-news .news-meter {
  display: grid;
  gap: 8px;
}

.page-news .news-meter__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: var(--fs-xs);
  color: var(--sage);
}

.page-news .news-meter__bar {
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--ink-black);
  overflow: hidden;
}

.page-news .news-meter__bar > span {
  display: block;
  width: var(--v, 60%);
  height: 100%;
  border-radius: inherit;
  background: var(--news-meter-fill);
}

.page-news .news-aside__link {
  justify-self: start;
  font-size: var(--fs-sm);
  color: var(--pitch);
  text-decoration: none;
  border-bottom: 1px solid var(--pitch);
  padding-bottom: 2px;
}

/* ---------- 专题系列 ---------- */
.page-news .news-series__grid {
  display: grid;
  gap: clamp(16px, 2.6vw, 24px);
}

.page-news .news-series__list {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.page-news .series {
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--deep-green);
  transition: background 240ms var(--ease);
}

.page-news .series[open] {
  background: var(--board-green);
}

.page-news .series__summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px 12px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
}

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

.page-news .series__idx {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--pitch);
}

.page-news .series__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.2;
}

.page-news .series__count {
  font-size: var(--fs-xs);
  color: var(--sage);
}

.page-news .series__sign {
  position: relative;
  width: 16px;
  height: 16px;
}

.page-news .series__sign::before,
.page-news .series__sign::after {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--pitch);
  transition: transform 220ms var(--ease);
}

.page-news .series__sign::after {
  transform: rotate(90deg);
}

.page-news .series[open] .series__sign::after {
  transform: rotate(0deg);
}

.page-news .series__body {
  display: grid;
  gap: 10px;
  padding: 0 0 18px;
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--sage);
}

.page-news .series__body p {
  margin: 0;
}

.page-news .series__next {
  padding-left: 12px;
  border-left: 2px solid var(--ref-yellow);
  color: rgba(243, 247, 240, 0.86);
}

.page-news .series__link {
  justify-self: start;
  color: var(--pitch);
  font-size: var(--fs-sm);
  text-decoration: none;
  border-bottom: 1px solid var(--pitch);
  padding-bottom: 2px;
}

.page-news .news-series__figures {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.page-news .series-figure {
  margin: 0;
  display: grid;
  gap: 8px;
}

.page-news .series-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
  aspect-ratio: 3 / 2;
}

.page-news .series-figure--tall img {
  aspect-ratio: 3 / 4;
}

.page-news .series-figure figcaption {
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--sage);
}

/* ---------- 回看与引用 ---------- */
.page-news .news-cite__grid {
  display: grid;
  gap: clamp(18px, 3vw, 26px);
}

.page-news .cite-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .cite-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.page-news .cite-step:last-child {
  border-bottom: 1px solid var(--line);
}

.page-news .cite-step__n {
  font-size: var(--fs-xs);
  color: var(--pitch);
  padding-top: 4px;
}

.page-news .cite-step__title {
  margin: 0;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.4;
}

.page-news .cite-step__text {
  margin: 6px 0 0;
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--sage);
}

.page-news .cite-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--deep-green);
  border: 1px solid var(--line);
}

.page-news .cite-panel__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(19px, 2.3vw, 24px);
}

.page-news .cite-panel__code {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--ink-black);
  border: 1px dashed var(--line);
}

.page-news .cite-panel__code p {
  margin: 0;
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: var(--fog);
  overflow-wrap: anywhere;
}

.page-news .cite-panel__note {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--sage);
}

.page-news .cite-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- 断点 ---------- */
@media (min-width: 720px) {
  .page-news .cat {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    padding: 20px 24px 20px 28px;
  }

  .page-news .cat__num {
    padding-top: 0;
  }

  .page-news .cat__side {
    grid-column: auto;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
  }

  .page-news .news-entry {
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 14px;
    padding: 20px 10px;
  }

  .page-news .news-entry__num {
    padding-top: 6px;
  }

  .page-news .news-series__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr);
    align-items: start;
  }
}

@media (min-width: 960px) {
  .page-news .news-recent__body {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-news .news-cite__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
  }

  .page-news .news-mast h1 {
    max-width: 26ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .cat,
  .page-news .news-entry,
  .page-news .series,
  .page-news .series__sign::before,
  .page-news .series__sign::after {
    transition: none;
  }

  .page-news .cat:hover {
    transform: none;
  }
}
<<<END>>>

.page-news {
  --v: 1rem;
}
