.page-news {
  --news-axis: 34px;
  --news-node: 12px;
  --news-gap: 18px;
  background: var(--ink);
  color: var(--paper);
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 92% at 88% 0%, rgba(53, 240, 200, 0.13), transparent 58%),
    linear-gradient(158deg, var(--stand) 0%, var(--ink) 64%);
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  height: 62%;
  background: linear-gradient(150deg, rgba(53, 240, 200, 0.1), transparent 72%);
  clip-path: polygon(100% 0, 100% 100%, 12% 100%);
  pointer-events: none;
}

.page-news .news-hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 26px;
  padding-bottom: 30px;
}

.page-news .news-hero__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 7.4vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 12px 0 14px;
  max-width: 22ch;
}

.page-news .news-hero__lede {
  max-width: 62ch;
  color: var(--mute);
}

.page-news .hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 12px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.page-news .hero-facts__item {
  border-left: 2px solid var(--line);
  padding: 2px 0 2px 12px;
}

.page-news .hero-facts__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(22px, 5vw, 30px);
  line-height: 1.1;
  color: var(--pulse);
}

.page-news .hero-facts__label {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--mute);
}

.page-news .news-hero__media {
  position: relative;
  z-index: 1;
  margin: 0;
  border-top: 1px solid var(--line);
}

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

/* ---------- 栏目跳转条 ---------- */
.page-news .stage-jump {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.page-news .stage-jump__list {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0 0 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-news .stage-jump__list a {
  display: inline-block;
  white-space: nowrap;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--mute);
  text-decoration: none;
  border: 1px solid var(--line);
  background: rgba(16, 43, 36, 0.5);
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.page-news .stage-jump__list a:hover,
.page-news .stage-jump__list a:focus-visible {
  color: var(--ink);
  background: var(--pulse);
  border-color: var(--pulse);
}

/* ---------- 时间轴主干 ---------- */
.page-news .news-stream {
  position: relative;
}

.page-news .news-stream::before {
  content: "";
  position: absolute;
  left: calc(var(--news-axis) / 2 - 1px);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--line) 0%, var(--line) 52%, var(--pulse) 100%);
  opacity: 0.85;
}

.page-news .news-stream__tail {
  height: 2px;
  margin-left: calc(var(--news-axis) / 2 - 1px);
  background: linear-gradient(90deg, var(--pulse), rgba(53, 240, 200, 0));
  box-shadow: 0 0 12px rgba(53, 240, 200, 0.45);
}

.page-news .news-stage {
  position: relative;
  display: grid;
  grid-template-columns: var(--news-axis) minmax(0, 1fr);
  column-gap: 14px;
  padding: 34px 0;
  border-bottom: 1px dashed var(--line);
}

.page-news .news-stage--pick { --news-gap: 16px; }
.page-news .news-stage--window { --news-gap: 22px; }
.page-news .news-stage--rounds { --news-gap: 28px; }
.page-news .news-stage--versions { --news-gap: 34px; }
.page-news .news-stage--series { --news-gap: 40px; }

.page-news .news-stage--sub {
  border-bottom: 0;
  padding-bottom: 14px;
}

.page-news .stage-body {
  min-width: 0;
}

.page-news .stage-node {
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.page-news .stage-node__dot {
  width: var(--news-node);
  height: var(--news-node);
  border: 2px solid var(--pulse);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 4px rgba(53, 240, 200, 0.1);
  animation: news-node-breathe 2.4s ease-in-out infinite;
}

@keyframes news-node-breathe {
  0%, 100% { box-shadow: 0 0 0 4px rgba(53, 240, 200, 0.1); }
  50% { box-shadow: 0 0 0 8px rgba(53, 240, 200, 0.02); }
}

/* ---------- 阶段标题 ---------- */
.page-news .stage-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.page-news .stage-head__title {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 4.8vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.page-news .stage-head__mark {
  font-family: var(--font-mono);
  font-size: clamp(30px, 7vw, 52px);
  line-height: 0.9;
  color: var(--pulse);
  opacity: 0.36;
}

.page-news .stage-lede {
  margin: var(--news-gap, 18px) 0 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--mute);
  border-left: 2px solid var(--ref);
  padding-left: 12px;
}

.page-news .stage-media {
  margin: var(--news-gap, 18px) 0 0;
  border: 1px solid var(--line);
}

.page-news .stage-note {
  margin: var(--news-gap, 18px) 0 0;
  padding-left: 12px;
  border-left: 2px solid var(--line);
  font-size: 14px;
  line-height: 1.7;
  color: var(--mute);
}

/* ---------- 条目卡 ---------- */
.page-news .entry {
  position: relative;
  margin-top: var(--news-gap, 18px);
  padding: 16px 16px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--line);
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.page-news .entry:hover,
.page-news .entry:focus-within {
  transform: translateY(-2px);
  border-color: var(--pulse-soft);
  border-left-color: var(--pulse);
}

.page-news .entry__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.page-news .entry__tag {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mute);
  background: var(--stand);
  border: 1px solid var(--line);
}

.page-news .entry__tag--move {
  color: var(--ref);
  border-color: var(--ref);
  background: rgba(255, 210, 74, 0.08);
}

.page-news .entry__title {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--paper);
}

.page-news .entry__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--mute);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-news .entry__fields {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.page-news .entry__fields span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--mute);
  transition: color 0.18s ease;
}

.page-news .entry:hover .entry__fields span,
.page-news .entry:focus-within .entry__fields span {
  color: var(--pulse);
}

.page-news .entry__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--mute);
}

/* ---------- 轮次日志 ---------- */
.page-news .log-item {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}

.page-news .log-item:first-of-type {
  margin-top: var(--news-gap, 18px);
  border-top: 1px dashed var(--line);
}

.page-news .log-item__round {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--pulse);
}

.page-news .log-item__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--mute);
}

/* ---------- 版本记录 ---------- */
.page-news .version-layout {
  display: grid;
  gap: 20px;
  margin-top: var(--news-gap, 18px);
}

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

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

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

.page-news .version__no {
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1.3;
  color: var(--pulse);
}

.page-news .version__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--paper);
}

.page-news .version__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mute);
}

.page-news .version-media {
  margin: 0;
  border: 1px solid var(--line);
}

/* ---------- 专题系列 ---------- */
.page-news .series-grid {
  display: grid;
  gap: 16px;
  margin-top: var(--news-gap, 18px);
}

.page-news .series {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--line);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.page-news .series:hover,
.page-news .series:focus-within {
  transform: translateY(-2px);
  border-color: var(--pulse-soft);
  border-top-color: var(--pulse);
}

.page-news .series__num {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
}

.page-news .series__count {
  font-family: var(--font-mono);
  font-size: 34px;
  line-height: 1;
  color: var(--pulse);
}

.page-news .series__unit {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--mute);
}

.page-news .series__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--paper);
}

.page-news .series__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mute);
}

/* ---------- 订阅 ---------- */
.page-news .subscribe-panel {
  padding: 24px 18px 22px;
  background:
    linear-gradient(140deg, rgba(53, 240, 200, 0.12), transparent 62%),
    var(--stand);
  border: 1px solid var(--line);
  border-top: 3px solid var(--pulse);
}

.page-news .subscribe-panel__title {
  margin: 8px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(22px, 4.8vw, 30px);
  line-height: 1.2;
}

.page-news .subscribe-panel p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--paper);
}

.page-news .subscribe-list {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.page-news .subscribe-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--paper);
}

.page-news .subscribe-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--pulse);
}

.page-news .subscribe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.page-news .subscribe-panel .subscribe-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--mute);
}

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

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

@media (min-width: 760px) {
  .page-news .log-item {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 20px;
    align-items: baseline;
    padding: 16px 0;
  }

  .page-news .log-item__round {
    font-size: 18px;
  }
}

@media (min-width: 900px) {
  .page-news {
    --news-axis: 76px;
    --news-node: 14px;
  }

  .page-news .news-stage {
    column-gap: 26px;
    padding: 44px 0;
  }

  .page-news .stage-node {
    padding-top: 8px;
  }
}

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

  .page-news .version-media {
    position: sticky;
    top: calc(var(--topbar-h) + 20px);
  }

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

  .page-news .subscribe-panel {
    padding: 32px 30px 28px;
  }
}

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

  .page-news .entry,
  .page-news .series {
    transition: none;
  }

  .page-news .entry:hover,
  .page-news .entry:focus-within,
  .page-news .series:hover,
  .page-news .series:focus-within {
    transform: none;
  }
}
