.page-news {
  --pn-radius: 6px;
  --pn-shadow: 0 18px 44px rgba(5, 9, 15, 0.42);
  --pn-seam-w: 72px;
  display: block;
  padding-bottom: 40px;
}

.page-news .news-crumbs__sep {
  margin: 0 8px;
  color: var(--haze-border);
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  position: relative;
  padding: 22px 0 38px;
  border-bottom: 1px solid var(--haze-border);
  overflow: hidden;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -120px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle at 40% 40%, rgba(255, 162, 58, 0.16), rgba(255, 162, 58, 0) 68%);
  pointer-events: none;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  bottom: -160px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle at 50% 50%, rgba(47, 208, 175, 0.14), rgba(47, 208, 175, 0) 70%);
  pointer-events: none;
}

.page-news .news-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 26px;
}

.page-news .news-hero__title {
  margin: 8px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(28px, 7vw, 46px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-news .news-hero__title::after {
  content: "";
  display: block;
  width: 88px;
  height: 3px;
  margin-top: 16px;
  background: linear-gradient(90deg, var(--amber), var(--celadon));
}

.page-news .news-hero__intro p {
  margin: 0 0 12px;
  color: var(--text-muted);
}

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

.page-news .news-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.page-news .news-hero__panel {
  padding: 20px 18px;
  border-radius: var(--pn-radius);
}

.page-news .news-hero__panel-title {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--haze-border);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--paper);
}

.page-news .news-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 12px;
  margin-bottom: 18px;
}

.page-news .news-hero__stats .stat__value {
  display: block;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--amber);
}

.page-news .news-hero__stats .stat__label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
}

.page-news .news-hero__panel-foot {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  font-size: 13px;
  color: var(--paper);
  border-top: 1px dashed rgba(42, 69, 96, 0.6);
}

.page-news .news-hero__dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.page-news .news-hero__dot--amber {
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 162, 58, 0.16);
}

.page-news .news-hero__dot--celadon {
  background: var(--celadon);
  box-shadow: 0 0 0 4px rgba(47, 208, 175, 0.16);
}

/* ---------- 章节骨架 ---------- */
.page-news .news-block {
  padding: 44px 0;
  border-bottom: 1px solid var(--haze-border);
}

.page-news .news-block--records {
  background: linear-gradient(180deg, rgba(16, 35, 58, 0.65), rgba(8, 18, 31, 0));
}

.page-news .sec-head {
  margin-bottom: 24px;
  max-width: 62ch;
}

.page-news .sec-head h2 {
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(21px, 4.4vw, 30px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: var(--paper);
}

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

.page-news .figure {
  margin: 0 0 24px;
}

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

.page-news .figure__caption {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ---------- 栏目目录 ---------- */
.page-news .catalog {
  display: grid;
  gap: 28px;
}

.page-news .catalog__figure {
  margin-bottom: 18px;
}

.page-news .fav-note {
  padding: 18px 16px;
  border-radius: var(--pn-radius);
}

.page-news .fav-note__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-navy-900);
  letter-spacing: 0.02em;
}

.page-news .fav-note__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .fav-note__list li {
  position: relative;
  padding: 7px 0 7px 16px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-navy-700);
  border-bottom: 1px dashed rgba(42, 69, 96, 0.28);
}

.page-news .fav-note__list li:last-child {
  border-bottom: 0;
}

.page-news .fav-note__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

.page-news .catalog__tree {
  border-top: 1px solid var(--haze-border);
}

.page-news .cat {
  border-bottom: 1px solid var(--haze-border);
}

.page-news .cat__head {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 6px;
  cursor: pointer;
  list-style: none;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

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

.page-news .cat__head:hover,
.page-news .cat__head:focus-visible {
  background: rgba(27, 58, 92, 0.4);
}

.page-news .cat__idx {
  font-size: 12px;
  color: var(--amber);
  letter-spacing: 0.06em;
}

.page-news .cat__name {
  position: relative;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--paper);
  border-bottom: 1px solid var(--haze-border);
  padding-bottom: 3px;
  justify-self: start;
}

.page-news .cat[open] .cat__name {
  border-bottom-color: var(--celadon-deep);
}

.page-news .cat__count {
  font-size: 12px;
  color: var(--text-muted);
}

.page-news .cat__subs {
  margin: 0 0 12px;
  padding: 0 0 0 44px;
  list-style: none;
}

.page-news .cat__sub {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 13.5px;
  color: var(--text-muted);
  border-bottom: 1px dotted rgba(42, 69, 96, 0.5);
  transition: color var(--t-fast) var(--ease);
}

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

.page-news .cat__sub:hover {
  color: var(--paper);
}

.page-news .cat__mark {
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  border: 1px solid var(--celadon-deep);
}

/* ---------- 更新条目 ---------- */
.page-news .updates__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.page-news .uplist {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: up;
}

.page-news .up-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px 14px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(42, 69, 96, 0.7);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}

.page-news .up-row:hover {
  border-bottom-color: var(--amber);
  background: rgba(27, 58, 92, 0.24);
}

.page-news .up-row .tag {
  justify-self: start;
}

.page-news .up-row__title {
  font-size: 14px;
  line-height: 1.7;
  color: var(--paper);
}

.page-news .up-row__ver {
  font-size: 12px;
  color: var(--amber);
  letter-spacing: 0.04em;
}

.page-news .up-row__stage {
  justify-self: start;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--haze-border);
  color: var(--text-muted);
}

.page-news .up-row__stage--done {
  border-color: var(--celadon-deep);
  color: var(--celadon);
}

.page-news .up-row__stage--wip {
  border-color: var(--violet);
  color: var(--violet);
}

.page-news .updates__foot {
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-muted);
}

.page-news .updates__foot a {
  color: var(--amber);
  border-bottom: 1px solid var(--amber-deep);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.page-news .updates__foot a:hover {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

/* ---------- 双列记录 ---------- */
.page-news .records {
  display: grid;
  gap: 0;
  border: 1px solid var(--haze-border);
  border-radius: var(--pn-radius);
  background: rgba(8, 18, 31, 0.6);
  overflow: hidden;
}

.page-news .records__col {
  padding: 20px 16px 22px;
}

.page-news .records__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--haze-border);
}

.page-news .records__dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.page-news .records__dot--amber {
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(255, 162, 58, 0.14);
}

.page-news .records__dot--celadon {
  background: var(--celadon);
  box-shadow: 0 0 0 5px rgba(47, 208, 175, 0.14);
}

.page-news .records__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--paper);
}

.page-news .records__badge {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border: 1px solid var(--haze-border);
  border-radius: 3px;
  padding: 2px 7px;
}

.page-news .records__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .rec-row {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dotted rgba(42, 69, 96, 0.6);
}

.page-news .rec-row:last-child {
  border-bottom: 0;
}

.page-news .rec-row__stage {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding-top: 2px;
}

.page-news .rec-row__text {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--paper);
}

.page-news .records__col--use .rec-row__stage {
  color: var(--amber);
}

.page-news .records__col--update .rec-row__stage {
  color: var(--celadon);
}

.page-news .records__col--use:hover,
.page-news .records__col--update:hover {
  background: rgba(27, 58, 92, 0.3);
}

.page-news .records__seam {
  display: none;
}

/* ---------- 差异速查 ---------- */
.page-news .diff-rows {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--haze-border);
}

.page-news .diff-row {
  display: grid;
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid var(--haze-border);
}

.page-news .diff-row .tag {
  justify-self: start;
}

.page-news .diff-row__new,
.page-news .diff-row__old {
  display: block;
  font-size: 13.5px;
  line-height: 1.7;
}

.page-news .diff-row__new {
  color: var(--paper);
}

.page-news .diff-row__old {
  color: var(--text-muted);
}

.page-news .diff-row__ver {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 6px;
  font-size: 11.5px;
  border-radius: 3px;
  border: 1px solid var(--haze-border);
}

.page-news .diff-row__new .diff-row__ver {
  color: var(--celadon);
  border-color: var(--celadon-deep);
}

.page-news .diff-row__old .diff-row__ver {
  color: var(--text-muted);
}

.page-news .diff-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

/* ---------- 专题与连载 ---------- */
.page-news .series-list {
  display: grid;
  gap: 16px;
}

.page-news .series-item {
  border: 1px solid var(--haze-border);
  border-radius: var(--pn-radius);
  background: rgba(16, 35, 58, 0.55);
  padding: 18px 16px;
  transition: border-color var(--t-mid) var(--ease), transform var(--t-mid) var(--ease);
}

.page-news .series-item:hover {
  border-color: var(--celadon-deep);
}

.page-news .series-item__kicker {
  margin: 0 0 6px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--violet);
}

.page-news .series-item__title {
  margin: 0 0 8px;
  font-family: var(--font-editorial);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--paper);
}

.page-news .series-item__desc {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-muted);
}

.page-news .series__bar {
  height: 4px;
  border-radius: 2px;
  background: var(--ink-navy-500);
  overflow: hidden;
}

.page-news .series__fill {
  display: block;
  height: 100%;
  border-radius: 2px;
}

.page-news .series__fill--50 {
  width: 50%;
  background: linear-gradient(90deg, var(--celadon-deep), var(--celadon));
}

.page-news .series__fill--75 {
  width: 75%;
  background: linear-gradient(90deg, var(--amber-deep), var(--amber));
}

.page-news .series__fill--100 {
  width: 100%;
  background: linear-gradient(90deg, var(--celadon-deep), var(--celadon));
}

.page-news .series-item__meta {
  margin: 10px 0 0;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}

/* ---------- 订阅与投递 ---------- */
.page-news .subscribe {
  display: grid;
  gap: 22px;
}

.page-news .subscribe__text {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 46ch;
}

.page-news .subscribe__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.page-news .subscribe__side {
  padding: 20px 18px;
  border-radius: var(--pn-radius);
}

.page-news .subscribe__side-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-navy-900);
}

.page-news .subscribe__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .subscribe__list li {
  position: relative;
  padding: 8px 0 8px 18px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-navy-700);
  border-bottom: 1px dashed rgba(42, 69, 96, 0.3);
}

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

.page-news .subscribe__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 7px;
  height: 1px;
  background: var(--celadon-deep);
}

.page-news .subscribe__side-foot {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-navy-500);
}

.page-news .subscribe__side-foot a {
  color: var(--amber-deep);
  border-bottom: 1px solid var(--amber);
  text-decoration: none;
}

.page-news .subscribe__side-foot a:hover {
  color: var(--ink-navy-900);
}

/* ---------- 平板 ---------- */
@media (min-width: 720px) {
  .page-news .up-row {
    grid-template-columns: 92px minmax(0, 1fr) 78px 72px;
    align-items: baseline;
    gap: 14px;
    padding: 15px 6px;
  }

  .page-news .up-row__stage {
    justify-self: end;
  }

  .page-news .diff-row {
    grid-template-columns: 104px minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 18px;
  }

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

  .page-news .series-item--wide {
    grid-column: 1 / -1;
  }

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

  .page-news .subscribe {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 32px;
    align-items: start;
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 960px) {
  .page-news .news-hero {
    padding: 40px 0 56px;
  }

  .page-news .news-hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 48px;
    align-items: start;
  }

  .page-news .news-hero__panel {
    margin-top: 26px;
    transform: translateX(14px);
  }

  .page-news .news-block {
    padding: 60px 0;
  }

  .page-news .catalog {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 48px;
    align-items: start;
  }

  .page-news .catalog__aside {
    position: sticky;
    top: calc(var(--status-h) + 20px);
  }

  .page-news .records {
    grid-template-columns: minmax(0, 1fr) var(--pn-seam-w) minmax(0, 1fr);
  }

  .page-news .records__col {
    padding: 26px 22px 30px;
  }

  .page-news .records__seam {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
    color: var(--haze-border);
  }

  .page-news .records__seam-line {
    flex: 1 1 auto;
    width: 1px;
    background: repeating-linear-gradient(180deg, var(--haze-border) 0 6px, rgba(42, 69, 96, 0) 6px 12px);
  }

  .page-news .records__pulse {
    flex: none;
    color: var(--celadon);
    opacity: 0.72;
  }

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

  .page-news .series-item--wide {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    padding: 26px 24px;
  }

  .page-news .series-item--wide .series-item__title {
    font-size: 24px;
  }

  .page-news .diff-row {
    padding: 20px 0;
  }
}

@media (min-width: 1200px) {
  .page-news .news-hero__panel {
    margin-top: 44px;
    transform: translateX(26px);
  }
}
