.page-news {
  --news-rail-w: 216px;
  --news-gap: 44px;
  background: var(--silver);
  color: var(--text);
  font-family: var(--font-body);
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 26px 0 52px;
  background: var(--ink);
  color: var(--paper);
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -20%;
  left: -8%;
  width: 66%;
  height: 138%;
  background: linear-gradient(150deg, var(--ink-2), rgba(18, 41, 74, 0) 76%);
  transform: skewX(-11deg);
  pointer-events: none;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -10%;
  bottom: -52%;
  width: 78%;
  height: 112%;
  background: linear-gradient(115deg, rgba(22, 194, 200, .2), rgba(255, 107, 44, .14) 58%, rgba(10, 26, 47, 0));
  transform: skewX(-14deg);
  pointer-events: none;
}

.page-news .news-hero .breadcrumb,
.page-news .news-hero .breadcrumb a {
  color: rgba(215, 222, 232, .78);
}

.page-news .news-hero .breadcrumb a:hover {
  color: var(--paper);
}

.page-news .news-kicker {
  margin: 24px 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-news .news-title {
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(34px, 7vw, 72px);
  line-height: 1.06;
  letter-spacing: -.01em;
  color: var(--paper);
}

.page-news .news-lead {
  margin: 20px 0 0;
  max-width: 44ch;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(215, 222, 232, .82);
}

.page-news .news-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 34px;
  margin: 30px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: var(--line-dark);
}

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

.page-news .hs-num {
  font-family: var(--font-mono);
  font-size: 19px;
  letter-spacing: .04em;
  color: var(--paper);
}

.page-news .hs-key {
  font-size: 12px;
  letter-spacing: .14em;
  color: rgba(215, 222, 232, .58);
}

/* ---------- 主体两栏 ---------- */
.page-news .news-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  padding: 40px 0 84px;
}

/* ---------- 左栏索引 ---------- */
.page-news .news-rail {
  align-self: start;
  padding-bottom: 10px;
  border-bottom: var(--line);
}

.page-news .news-rail-list {
  display: flex;
  gap: 4px;
  margin-top: 10px;
  padding-bottom: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-news .news-rail-list a {
  display: block;
  padding: 7px 10px;
  white-space: nowrap;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  border-left: 2px solid transparent;
  border-radius: var(--radius);
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}

.page-news .news-rail-list a:hover {
  color: var(--text);
  background: rgba(10, 26, 47, .04);
}

.page-news .news-rail-list a.is-active {
  color: var(--ink);
  border-left-color: var(--signal);
  background: rgba(255, 107, 44, .09);
}

/* ---------- 章节 ---------- */
.page-news .news-section {
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: var(--line);
  scroll-margin-top: 96px;
}

.page-news .news-section--last {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.page-news .news-section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.page-news .news-section-head .section-title {
  margin: 0;
}

.page-news .news-link {
  display: inline-block;
  color: var(--cyan-ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 110, 119, .4);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.page-news .news-link:hover {
  color: var(--signal);
  border-bottom-color: var(--signal);
}

/* ---------- 版本速览 ---------- */
.page-news .version-board {
  display: grid;
  background: var(--paper);
  border: var(--line);
  box-shadow: var(--shadow-panel);
}

.page-news .version-plate {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 26px 22px;
  background: var(--ink);
  color: var(--paper);
}

.page-news .version-plate-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--cyan);
}

.page-news .version-plate-code {
  font-family: var(--font-mono);
  font-size: clamp(30px, 6vw, 42px);
  line-height: 1;
  letter-spacing: .05em;
  color: var(--paper);
}

.page-news .version-parts {
  display: grid;
  gap: 1px;
  background: var(--mist);
}

.page-news .version-part {
  padding: 20px 18px;
  background: var(--paper);
}

.page-news .vp-code {
  display: block;
  font-family: var(--font-mono);
  font-size: 26px;
  line-height: 1;
  letter-spacing: .05em;
  color: var(--cyan-ink);
}

.page-news .vp-name {
  display: block;
  margin-top: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.page-news .vp-desc {
  margin: 7px 0 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}

.page-news .version-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.page-news .version-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 13px;
  border: var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 12px;
  color: var(--muted);
}

.page-news .version-chip b {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--text);
}

.page-news .version-chip.is-current {
  border-color: rgba(255, 107, 44, .55);
  background: rgba(255, 107, 44, .08);
  color: var(--ink);
}

.page-news .version-chip.is-current b {
  color: var(--signal);
}

/* ---------- 本季栏目变更 ---------- */
.page-news .change-list {
  margin-top: 26px;
}

.page-news .news-entry {
  display: grid;
  gap: 10px;
  padding: 22px 0;
  border-top: var(--line);
}

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

.page-news .entry-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-news .entry-no {
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  letter-spacing: .05em;
  color: var(--ink);
  opacity: .26;
}

.page-news .entry-tag {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
}

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

.page-news .entry-tag--cyan {
  color: var(--cyan-ink);
}

.page-news .entry-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
}

.page-news .entry-text {
  margin: 0;
  max-width: 48ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- 更新节奏 ---------- */
.page-news .rhythm-grid {
  display: grid;
  gap: 26px;
}

.page-news .rhythm-item {
  padding: 15px 0 17px;
  border-top: var(--line);
}

.page-news .rhythm-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.page-news .ri-code {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--cyan-ink);
}

.page-news .rhythm-item h3 {
  margin: 8px 0 7px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.page-news .rhythm-item p {
  margin: 0;
  max-width: 48ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- 订阅 ---------- */
.page-news .sub-block {
  margin-top: 30px;
  padding: 24px 20px 26px;
  background: var(--ink);
  border-radius: var(--radius);
  color: var(--paper);
}

.page-news .sub-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 300;
  letter-spacing: .01em;
  color: var(--paper);
}

.page-news .sub-note {
  margin: 0 0 18px;
  max-width: 48ch;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(215, 222, 232, .72);
}

.page-news .sub-scope {
  display: grid;
  gap: 10px;
}

.page-news .sub-option {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 14px 16px;
  text-align: left;
  font-family: inherit;
  border: 1px solid rgba(215, 222, 232, .2);
  border-radius: var(--radius);
  background: rgba(215, 222, 232, .06);
  color: inherit;
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}

.page-news .sub-option:hover {
  background: rgba(215, 222, 232, .12);
  transform: translateY(-2px);
}

.page-news .sub-option.is-active,
.page-news .sub-option[aria-pressed="true"] {
  border-color: var(--cyan);
  background: rgba(22, 194, 200, .14);
}

.page-news .so-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--paper);
}

.page-news .so-desc {
  font-size: 12.5px;
  line-height: 1.65;
  color: rgba(215, 222, 232, .68);
}

.page-news .sub-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: rgba(215, 222, 232, .7);
}

.page-news .sub-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
}

.page-news .sub-status[data-state="on"]::before {
  background: var(--cyan);
}

/* ---------- 专题系列 ---------- */
.page-news .topic-shelf {
  display: grid;
  gap: 16px;
}

.page-news .topic-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 24px;
  background: var(--paper);
  border: var(--line);
  border-top: 3px solid var(--mist);
  box-shadow: var(--shadow-panel);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}

.page-news .topic-card:hover {
  transform: translateY(-4px);
}

.page-news .topic-card--signal {
  border-top-color: var(--signal);
}

.page-news .topic-card--cyan {
  border-top-color: var(--cyan);
}

.page-news .topic-card--mist {
  border-top-color: var(--mist);
}

.page-news .tc-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--muted);
}

.page-news .tc-head {
  margin: 0;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 300;
  letter-spacing: .02em;
  color: var(--text);
}

.page-news .tc-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 季度归档 ---------- */
.page-news .archive-grid {
  display: grid;
  gap: 26px;
}

.page-news .archive-quarter {
  margin-bottom: 10px;
  background: var(--paper);
  border: var(--line);
}

.page-news .archive-quarter:last-of-type {
  margin-bottom: 0;
}

.page-news .archive-quarter summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

.page-news .archive-quarter summary::-webkit-details-marker {
  display: none;
}

.page-news .archive-quarter summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--muted);
}

.page-news .archive-quarter[open] summary::after {
  content: "–";
}

.page-news .aq-code {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: .05em;
  color: var(--signal);
}

.page-news .aq-name {
  font-size: 14px;
  color: var(--text);
}

.page-news .aq-count {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--muted);
}

.page-news .archive-list {
  margin: 0;
  padding: 4px 16px 12px;
  list-style: none;
  border-top: var(--line);
}

.page-news .archive-list li {
  display: grid;
  gap: 3px 14px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(215, 222, 232, .95);
}

.page-news .archive-list li:last-child {
  border-bottom: 0;
}

.page-news .arc-code {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--cyan-ink);
}

.page-news .arc-text {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--muted);
}

.page-news .archive-tail {
  margin: 18px 0 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 反馈 ---------- */
.page-news .feedback-block {
  position: relative;
  overflow: hidden;
  padding: 30px 24px 32px;
  background: linear-gradient(135deg, var(--ink-2), var(--ink) 64%);
  border-radius: var(--radius);
}

.page-news .feedback-block::after {
  content: "";
  position: absolute;
  right: -14%;
  top: -40%;
  width: 56%;
  height: 160%;
  background: linear-gradient(110deg, rgba(22, 194, 200, .22), rgba(255, 107, 44, .12) 62%, rgba(10, 26, 47, 0));
  transform: skewX(-16deg);
  pointer-events: none;
}

.page-news .feedback-block > * {
  position: relative;
  z-index: 1;
}

.page-news .feedback-title {
  margin: 0 0 12px;
  max-width: 20ch;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(23px, 3.4vw, 32px);
  line-height: 1.24;
  color: var(--paper);
}

.page-news .feedback-text {
  margin: 0 0 22px;
  max-width: 50ch;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(215, 222, 232, .78);
}

.page-news .feedback-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
}

.page-news .feedback-actions .news-link {
  color: var(--cyan);
  border-bottom-color: rgba(22, 194, 200, .5);
}

.page-news .feedback-actions .news-link:hover {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

/* ---------- 动效 ---------- */
.page-news [data-reveal] {
  transition: transform .55s var(--ease), opacity .55s var(--ease);
}

/* ---------- 断点 ---------- */
@media (min-width: 640px) {
  .page-news .version-board {
    grid-template-columns: 240px minmax(0, 1fr);
  }

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

  .page-news .archive-list li {
    grid-template-columns: 96px minmax(0, 1fr);
  }
}

@media (min-width: 760px) {
  .page-news .news-entry {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 0 26px;
  }

  .page-news .entry-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

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

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

@media (min-width: 880px) {
  .page-news .rhythm-grid {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    align-items: start;
    gap: 36px;
  }

  .page-news .archive-grid {
    grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
    align-items: start;
    gap: 34px;
  }

  .page-news .sub-block {
    padding: 28px 26px 30px;
  }
}

@media (min-width: 1000px) {
  .page-news .news-body {
    grid-template-columns: var(--news-rail-w) minmax(0, 1fr);
    gap: var(--news-gap);
    padding: 56px 0 96px;
  }

  .page-news .news-rail {
    position: sticky;
    top: 92px;
    padding-bottom: 0;
    padding-left: 18px;
    border-bottom: 0;
    border-left: var(--line);
  }

  .page-news .news-rail-list {
    flex-direction: column;
    gap: 2px;
    overflow: visible;
    padding-bottom: 0;
  }

  .page-news .news-section {
    scroll-margin-top: 104px;
  }
}

@media (min-width: 1200px) {
  .page-news .news-hero {
    padding: 34px 0 66px;
  }

  .page-news .feedback-block {
    padding: 38px 36px 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news [data-reveal],
  .page-news .topic-card,
  .page-news .sub-option,
  .page-news .news-rail-list a {
    transition: none;
  }

  .page-news .topic-card:hover,
  .page-news .sub-option:hover {
    transform: none;
  }
}
