.page-news {
  --news-line: rgba(27, 39, 64, 0.9);
  --news-glow: rgba(242, 184, 75, 0.13);
  position: relative;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
}

.page-news::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -140px;
  width: min(620px, 90vw);
  height: min(620px, 90vw);
  background: radial-gradient(circle at 50% 50%, var(--news-glow), rgba(242, 184, 75, 0) 68%);
  pointer-events: none;
  z-index: 0;
}

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

/* ---------- 面包屑 ---------- */
.page-news .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}

.page-news .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin-right: 8px;
  color: var(--ink-3);
}

.page-news .breadcrumb-link {
  color: var(--silver);
  text-decoration: none;
  transition: color 0.25s ease;
}

.page-news .breadcrumb-link:hover,
.page-news .breadcrumb-link:focus-visible {
  color: var(--cyan);
}

.page-news .breadcrumb-current {
  color: var(--paper);
}

/* ---------- 首屏 ---------- */
.page-news .topic-hero {
  position: relative;
  padding-block: clamp(34px, 6vw, 82px) clamp(28px, 4.5vw, 52px);
}

.page-news .topic-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 209, 197, 0.55) 22%, rgba(242, 184, 75, 0.5) 62%, transparent);
}

.page-news .display-xl {
  margin: clamp(26px, 4vw, 42px) 0 20px;
  max-width: 15ch;
  font-family: var(--font-head);
  font-size: clamp(38px, 6.4vw, 84px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.page-news .hero-lede {
  max-width: 64ch;
  margin: 0;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.85;
  color: var(--silver);
}

.page-news .hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
  margin-top: clamp(30px, 4vw, 46px);
  padding-top: clamp(22px, 3vw, 32px);
  border-top: 1px solid var(--news-line);
}

.page-news .hero-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-news .hero-stat-value {
  font-family: var(--font-mono);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gold);
}

.page-news .hero-stat-label {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--silver);
}

.page-news .hero-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: clamp(24px, 3vw, 34px) 0 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--silver);
}

.page-news .hero-meta::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--alert);
  box-shadow: 0 0 10px rgba(228, 87, 87, 0.7);
}

/* ---------- 图片容器 ---------- */
.page-news .news-figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--news-line);
  background: var(--ink-2);
  overflow: hidden;
  border-radius: var(--radius);
}

.page-news .news-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-news .news-figure figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--news-line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--silver);
}

.page-news .news-figure--hero {
  margin-top: clamp(30px, 4vw, 48px);
  box-shadow: var(--shadow);
}

/* ---------- 分类标签栏 ---------- */
.page-news .topic-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-block: clamp(24px, 3.5vw, 38px);
  border-bottom: 1px solid var(--news-line);
}

.page-news .filter-label {
  margin-right: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--silver);
}

.page-news .pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border: 1px solid var(--news-line);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--paper);
  text-decoration: none;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.page-news .pill:hover,
.page-news .pill:focus-visible {
  border-color: rgba(79, 209, 197, 0.6);
  color: var(--cyan);
  background: rgba(79, 209, 197, 0.09);
}

/* ---------- 专题分组 ---------- */
.page-news .stream {
  padding-bottom: clamp(20px, 3vw, 40px);
}

.page-news .stream-group {
  position: relative;
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  padding-block: clamp(40px, 6vw, 78px);
}

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

.page-news .stream-group::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(56px, 11vw, 148px);
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(242, 184, 75, 0));
  transform: rotate(20deg);
  transform-origin: left top;
  opacity: 0.6;
  pointer-events: none;
}

.page-news .group-num {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.page-news .group-title {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.page-news .group-note {
  margin: 0;
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--silver);
}

/* ---------- 星图节点 ---------- */
.page-news .node-list {
  position: relative;
  display: flex;
  flex-direction: column;
}

.page-news .node {
  position: relative;
  border-top: 1px solid var(--news-line);
}

.page-news .node:last-of-type {
  border-bottom: 1px solid var(--news-line);
}

.page-news .node::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), rgba(79, 209, 197, 0));
  transform: rotate(-38deg);
  transform-origin: left center;
  opacity: 0.5;
  transition: width 0.3s ease, opacity 0.3s ease, background 0.3s ease;
  pointer-events: none;
}

.page-news .node:hover::before,
.page-news .node[open]::before {
  width: 56px;
  opacity: 1;
  background: linear-gradient(90deg, var(--gold), rgba(242, 184, 75, 0));
}

.page-news .node-summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  align-items: start;
  gap: 4px 14px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
}

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

.page-news .node-summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-news .node-index {
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--silver);
}

.page-news .node-main {
  display: block;
  min-width: 0;
}

.page-news .node-title {
  display: block;
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 700;
  line-height: 1.45;
  color: var(--paper);
  transition: color 0.25s ease;
}

.page-news .node-summary:hover .node-title {
  color: var(--gold);
}

.page-news .node-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 11px;
}

.page-news .tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border: 1px solid var(--news-line);
  border-radius: 999px;
  background: rgba(27, 39, 64, 0.5);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--silver);
}

.page-news .tag--cyan {
  color: var(--cyan);
  border-color: rgba(79, 209, 197, 0.4);
  background: rgba(79, 209, 197, 0.09);
}

.page-news .tag--gold {
  color: var(--gold);
  border-color: rgba(242, 184, 75, 0.4);
  background: rgba(242, 184, 75, 0.09);
}

.page-news .tag--orange {
  color: var(--orange);
  border-color: rgba(255, 122, 69, 0.4);
  background: rgba(255, 122, 69, 0.09);
}

.page-news .node-caret {
  position: relative;
  justify-self: end;
  width: 14px;
  height: 14px;
  margin-top: 6px;
}

.page-news .node-caret::before,
.page-news .node-caret::after {
  content: "";
  position: absolute;
  background: var(--silver);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-news .node-caret::before {
  left: 0;
  top: 6px;
  width: 14px;
  height: 1.5px;
}

.page-news .node-caret::after {
  left: 6px;
  top: 0;
  width: 1.5px;
  height: 14px;
}

.page-news .node[open] .node-caret::after {
  transform: scaleY(0);
}

.page-news .node[open] .node-caret::before {
  background: var(--gold);
}

.page-news .node-body {
  padding: 0 0 26px 56px;
  animation: news-node-in 0.34s ease both;
}

.page-news .node-body p {
  max-width: 66ch;
  margin: 0 0 12px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--silver);
}

.page-news .node-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--silver);
  opacity: 0.75;
}

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

.page-news .node-list > .news-figure {
  margin: 6px 0 22px;
}

/* ---------- 收尾 ---------- */
.page-news .closing {
  position: relative;
  padding-block: clamp(44px, 6vw, 84px);
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  border-top: 1px solid var(--news-line);
}

.page-news .closing-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 3vw, 32px);
}

.page-news .closing-lede {
  max-width: 70ch;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(15px, 1.2vw, 17.5px);
  line-height: 1.9;
  color: var(--paper);
}

.page-news .closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 760px) {
  .page-news .hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-news .stream-group {
    grid-template-columns: minmax(190px, 3fr) minmax(0, 9fr);
    gap: clamp(28px, 4vw, 64px);
  }

  .page-news .group-head {
    position: sticky;
    top: 24px;
    align-self: start;
  }
}

@media (max-width: 620px) {
  .page-news .node-summary {
    grid-template-columns: 30px minmax(0, 1fr) 20px;
    gap: 4px 10px;
  }

  .page-news .node-body {
    padding-left: 0;
  }

  .page-news .pill {
    padding: 6px 13px;
    font-size: 13px;
  }
}

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

  .page-news .pill,
  .page-news .node-title,
  .page-news .node-caret::before,
  .page-news .node-caret::after,
  .page-news .node::before,
  .page-news .breadcrumb-link {
    transition: none;
  }
}
