.page-news {
  --pn-gap: clamp(28px, 5vw, 64px);
  --pn-radius: 28px 8px 28px 8px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  padding-bottom: clamp(48px, 8vw, 96px);
}

.page-news__mast {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 4vw, 32px) 0 clamp(36px, 6vw, 72px);
}

.page-news__mast::before {
  content: "";
  position: absolute;
  top: -24%;
  right: -18%;
  width: 78vw;
  height: 78vw;
  max-width: 720px;
  max-height: 720px;
  background: radial-gradient(circle at 55% 45%, rgba(182, 255, 59, 0.15), transparent 62%);
  pointer-events: none;
}

.page-news .breadcrumbs {
  position: relative;
  margin-bottom: clamp(24px, 5vw, 48px);
}

.page-news__cover {
  position: relative;
  display: grid;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}

.page-news__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 13vw, 130px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin: 12px 0 0;
}

.page-news__lede {
  margin: 22px 0 0;
  max-width: 34em;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.8;
  color: rgba(244, 246, 240, 0.86);
}

.page-news__cover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-news__aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.page-news__index {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.page-news__index a {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--paper);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.18s ease;
}

.page-news__index a span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon);
  letter-spacing: 0.06em;
}

.page-news__index a:hover,
.page-news__index a:focus-visible {
  color: var(--neon);
}

.page-news__aside-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

.page-news__body {
  display: grid;
  gap: clamp(24px, 4vw, 56px);
}

.page-news__toc {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.page-news__toc a {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-chip);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.page-news__toc a span {
  color: var(--mist);
}

.page-news__toc a[aria-current],
.page-news__toc a[aria-current] span {
  color: var(--neon);
}

.page-news__toc a[aria-current] {
  border-color: var(--neon);
}

.page-news__stream {
  min-width: 0;
}

.page-news__stream h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.8vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

/* 头条 */
.pn-lead {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(380px, 52vw, 540px);
  border-radius: var(--pn-radius);
  overflow: hidden;
  background: var(--ink-2);
}

.pn-lead__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.pn-lead::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 28, 23, 0.3) 0%, rgba(7, 28, 23, 0.86) 64%, var(--ink) 100%);
}

.pn-lead__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(22px, 4vw, 48px);
}

.pn-lead__title {
  margin: 0;
  max-width: 18em;
  font-family: var(--font-display);
  font-size: clamp(26px, 4.2vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.pn-lead__body p {
  margin: 0;
  max-width: 40em;
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(244, 246, 240, 0.86);
}

.pn-lead__points {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pn-lead__points li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(244, 246, 240, 0.9);
}

.pn-lead__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  background: var(--neon);
  border-radius: 50% 0 50% 50%;
}

/* 分类带 */
.pn-cats {
  position: relative;
  margin-top: var(--pn-gap);
  border-radius: var(--pn-radius);
  overflow: hidden;
  background: var(--turf);
}

.pn-cats__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
}

.pn-cats__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(20px, 3.6vw, 40px);
}

.pn-cats__head h2 {
  margin-top: 10px;
}

.pn-cats__head p {
  margin: 10px 0 0;
  max-width: 46em;
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(244, 246, 240, 0.82);
}

.pn-cats__chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.pn-chip {
  flex: 0 0 auto;
  padding: 9px 16px;
  border: 1px solid rgba(244, 246, 240, 0.28);
  border-radius: var(--radius-chip);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.pn-chip:hover,
.pn-chip:focus-visible {
  color: var(--neon);
  border-color: var(--neon);
}

.pn-chip--on {
  background: var(--neon);
  border-color: var(--neon);
  color: var(--ink);
}

.pn-chip--on:hover,
.pn-chip--on:focus-visible {
  background: var(--neon);
  color: var(--ink);
}

/* 文章列表 */
.pn-feed {
  margin-top: var(--pn-gap);
}

.pn-sec-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: clamp(18px, 3vw, 32px);
}

.pn-sec-head__note {
  margin: 0;
  font-size: 14px;
  color: var(--mist);
}

.pn-focus {
  display: grid;
  gap: clamp(16px, 3vw, 32px);
  padding-bottom: clamp(20px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}

.pn-focus__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.pn-focus__title {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.35;
  font-weight: 700;
}

.pn-focus__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(244, 246, 240, 0.82);
}

.pn-focus__media {
  position: relative;
  margin: 0;
  border-radius: var(--pn-radius);
  overflow: hidden;
  background: var(--turf);
}

.pn-focus__media img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pn-focus__cap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: 2px 10px 2px 10px;
  background: rgba(7, 28, 23, 0.76);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.pn-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.pn-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pn-item {
  display: grid;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.pn-item__title {
  margin: 0;
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.45;
  font-weight: 700;
}

.pn-item__sum {
  margin: 6px 0 0;
  max-width: 46em;
  font-size: 14.5px;
  line-height: 1.72;
  color: rgba(244, 246, 240, 0.74);
}

.pn-item__read {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

/* 专题横向滚动 */
.pn-series {
  margin-top: var(--pn-gap);
  padding: clamp(22px, 4vw, 44px) 0;
  border-radius: var(--pn-radius);
  background: var(--ink-2);
  overflow: hidden;
}

.pn-series__head {
  padding: 0 clamp(20px, 4vw, 44px);
  margin-bottom: clamp(18px, 3vw, 28px);
}

.pn-series__head h2 {
  margin-top: 10px;
}

.pn-series__head p {
  margin: 10px 0 0;
  max-width: 44em;
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(244, 246, 240, 0.8);
}

.pn-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 0 clamp(20px, 4vw, 44px) 10px;
  scroll-snap-type: x proximity;
}

.pn-card {
  flex: 0 0 min(300px, 78vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: var(--pn-radius);
  background: var(--turf);
}

.pn-card img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 16px 4px 16px 4px;
}

.pn-card__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--neon);
}

.pn-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}

.pn-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(244, 246, 240, 0.78);
}

.pn-card__meta {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

/* 月度维护记录 */
.pn-ledger {
  margin-top: var(--pn-gap);
  padding: clamp(22px, 4vw, 48px);
  border-radius: var(--pn-radius);
  background: var(--cement);
  color: var(--ink);
}

.pn-ledger__head h2 {
  margin-top: 10px;
  color: var(--ink);
}

.pn-ledger__head p {
  margin: 12px 0 0;
  max-width: 46em;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(7, 28, 23, 0.78);
}

.pn-ledger .eyebrow {
  color: var(--turf);
}

.pn-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: clamp(22px, 4vw, 34px) 0;
}

.pn-stat {
  padding-top: 12px;
  border-top: 2px solid var(--ink);
}

.pn-stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.pn-stat__label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(7, 28, 23, 0.72);
}

.pn-months {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pn-months li {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(7, 28, 23, 0.16);
}

.pn-months__k {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--turf);
}

.pn-months__v {
  font-size: 14.5px;
  line-height: 1.72;
  color: rgba(7, 28, 23, 0.86);
}

.pn-ledger__more {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(7, 28, 23, 0.78);
}

.page-news .pn-ledger__more a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 收束 */
.pn-join {
  display: grid;
  gap: 22px;
  margin-top: var(--pn-gap);
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--pn-radius);
  background: var(--turf);
}

.pn-join h2 {
  margin-top: 10px;
  font-size: clamp(26px, 3.6vw, 40px);
}

.pn-join__text p {
  margin: 12px 0 0;
  max-width: 36em;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(244, 246, 240, 0.84);
}

.pn-join__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pn-join__actions .btn {
  justify-content: center;
}

@media (min-width: 520px) {
  .pn-join__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (min-width: 760px) {
  .pn-focus {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
  }

  .pn-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .pn-months li {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 20px;
    align-items: baseline;
  }

  .pn-item {
    grid-template-columns: 132px minmax(0, 1fr) 76px;
    gap: 20px;
    align-items: start;
    padding: 22px 0;
  }

  .pn-item:hover,
  .pn-item:focus-within {
    transform: translateX(6px);
    border-color: var(--line);
  }

  .pn-item__read {
    text-align: right;
  }
}

@media (min-width: 900px) {
  .page-news__cover {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  }

  .page-news__aside {
    border-top: 0;
    border-left: 1px solid var(--line);
    padding-top: 0;
    padding-left: clamp(18px, 2.4vw, 32px);
  }

  .pn-join {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    align-items: center;
  }

  .pn-join__actions {
    flex-direction: column;
  }
}

@media (min-width: 1024px) {
  .page-news__body {
    grid-template-columns: 178px minmax(0, 1fr);
    align-items: start;
  }

  .page-news__toc {
    position: sticky;
    top: 24px;
    flex-direction: column;
    gap: 0;
    overflow: visible;
    padding: 0;
    border-left: 1px solid var(--line);
  }

  .page-news__toc a {
    border: 0;
    border-left: 2px solid transparent;
    border-radius: 0;
    margin-left: -1px;
    padding: 10px 0 10px 16px;
    white-space: normal;
    font-size: 12.5px;
    line-height: 1.5;
  }

  .page-news__toc a[aria-current] {
    border-left-color: var(--neon);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news *,
  .page-news *::before,
  .page-news *::after {
    transition: none !important;
    animation: none !important;
  }

  .pn-item:hover,
  .pn-item:focus-within {
    transform: none;
  }
}
