.page-news {
  --news-rail: 152px;
  --news-gap: 28px;
  padding-top: 104px;
  padding-bottom: 96px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: clip;
}

.page-news .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
}

.page-news .breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color .18s var(--ease);
}

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

.page-news .breadcrumb__item[aria-current="page"] {
  color: var(--text);
}

.page-news .breadcrumb__sep {
  color: var(--line);
}

/* ---------- 首屏 ---------- */

.page-news .news-hero {
  position: relative;
  padding: 40px 0 8px;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -12%;
  width: min(760px, 94vw);
  height: 540px;
  background: radial-gradient(circle at 66% 34%, rgba(53, 240, 160, .22), rgba(76, 215, 255, .10) 46%, transparent 72%);
  filter: blur(4px);
  pointer-events: none;
  z-index: 0;
}

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

.page-news .news-hero__text {
  min-width: 0;
}

.page-news .news-hero h1 {
  margin: 14px 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 5.4vw, 46px);
  line-height: 1.16;
  letter-spacing: -.02em;
  font-style: italic;
  color: var(--text);
}

.page-news .news-hero .lead {
  max-width: 46ch;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

.page-news .news-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}

.page-news .news-hero__pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(53, 240, 160, .38);
  background: rgba(53, 240, 160, .08);
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  white-space: nowrap;
}

.page-news .news-hero__pill--cyan {
  border-color: rgba(76, 215, 255, .38);
  background: rgba(76, 215, 255, .08);
  color: var(--cyan);
}

.page-news .news-hero__jump {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  text-decoration: none;
  padding: 7px 4px;
  border-bottom: 1px solid var(--line);
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.page-news .news-hero__jump:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.page-news .news-hero__figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

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

.page-news .news-hero__figure .img-frame__caption {
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
  background: var(--panel);
}

/* ---------- 章节标题 ---------- */

.page-news .news-head {
  max-width: 62ch;
}

.page-news .news-head .h-section {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 3.4vw, 30px);
  line-height: 1.24;
  letter-spacing: -.01em;
  margin: 0 0 12px;
  color: var(--text);
}

.page-news .news-head .section-head__desc {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.76;
}

/* ---------- 筛选条 ---------- */

.page-news .filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
}

.page-news .filter-bar__hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  flex: 1 1 220px;
}

.page-news .chip--hot {
  border-color: rgba(255, 90, 43, .42);
  background: rgba(255, 90, 43, .12);
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  white-space: nowrap;
}

/* ---------- 时间轴 ---------- */

.page-news .tl {
  display: grid;
  gap: var(--news-gap);
  margin-top: 40px;
}

.page-news .tl-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  min-width: 0;
  scroll-margin-top: 120px;
}

.page-news .tl-rail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
}

.page-news .tl-rail__idx {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--neon);
  white-space: nowrap;
}

.page-news .tl-rail__tag {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.page-news .tl-item[data-tags~="version"] .tl-rail__idx { color: var(--cyan); }
.page-news .tl-item[data-tags~="archive"] .tl-rail__idx { color: var(--gold); }
.page-news .tl-item[data-tags~="topic"] .tl-rail__idx { color: var(--orange); }

.page-news .tl-body {
  min-width: 0;
  padding: 22px 22px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform .24s var(--ease), border-color .24s var(--ease), background .24s var(--ease);
}

.page-news .tl-body:hover {
  transform: translateY(-4px);
  border-color: rgba(53, 240, 160, .5);
  background: var(--panel-hi);
}

.page-news .tl-body__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.page-news .tl-body__head .h-card {
  margin: 0;
  flex: 1 1 260px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.36;
  letter-spacing: -.005em;
  color: var(--text);
}

.page-news .tl-body p {
  margin: 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}

.page-news .tl-more {
  margin-top: 14px;
}

.page-news .tl-more > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(53, 240, 160, .34);
  background: rgba(53, 240, 160, .06);
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  transition: background .18s var(--ease), border-color .18s var(--ease);
}

.page-news .tl-more > summary::-webkit-details-marker {
  display: none;
}

.page-news .tl-more > summary::after {
  content: "+";
  font-size: 14px;
  line-height: 1;
}

.page-news .tl-more[open] > summary::after {
  content: "–";
}

.page-news .tl-more > summary:hover {
  background: rgba(53, 240, 160, .14);
  border-color: var(--neon);
}

.page-news .tl-more p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.page-news .tl-figure {
  margin: 18px 0 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
}

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

.page-news .filter-empty {
  margin: 0;
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

/* ---------- 后续更新 ---------- */

.page-news .news-watch__panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 26px;
  padding: 34px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(53, 240, 160, .3);
  background: linear-gradient(140deg, rgba(53, 240, 160, .10), rgba(15, 27, 51, .9) 46%, rgba(255, 90, 43, .08));
}

.page-news .news-watch__panel::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -40px;
  width: 260px;
  height: 200px;
  background: radial-gradient(circle at 70% 30%, rgba(255, 194, 75, .18), transparent 68%);
  pointer-events: none;
}

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

.page-news .news-watch__text .h-section {
  margin: 12px 0 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 3.4vw, 30px);
  line-height: 1.24;
  letter-spacing: -.01em;
  color: var(--text);
}

.page-news .news-watch__text p {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.page-news .news-watch__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.page-news .news-watch__link {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.page-news .news-watch__link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

/* ---------- 中屏 ---------- */

@media (min-width: 680px) {
  .page-news .tl-body {
    padding: 26px 30px 28px;
  }

  .page-news .news-watch__panel {
    padding: 42px 40px;
  }
}

/* ---------- 桌面时间轴 ---------- */

@media (min-width: 900px) {
  .page-news {
    --news-rail: 168px;
    --news-gap: 30px;
    padding-top: 120px;
  }

  .page-news .news-hero {
    padding-top: 48px;
  }

  .page-news .news-hero__inner {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 52px;
    align-items: end;
  }

  .page-news .tl-item {
    grid-template-columns: var(--news-rail) minmax(0, 1fr);
    gap: 0;
  }

  .page-news .tl-rail {
    display: block;
    position: relative;
    text-align: right;
    padding: 6px 28px 0 0;
  }

  .page-news .tl-rail__idx {
    display: block;
    font-size: 17px;
    margin-bottom: 8px;
  }

  .page-news .tl-rail__tag {
    display: inline-block;
    padding: 3px 9px;
    font-size: 10px;
  }

  .page-news .tl-rail::before {
    content: "";
    position: absolute;
    top: 9px;
    right: 9px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--neon);
    box-shadow: 0 0 0 4px rgba(53, 240, 160, .15);
  }

  .page-news .tl-rail::after {
    content: "";
    position: absolute;
    top: 30px;
    right: 14px;
    bottom: calc(-1 * var(--news-gap) - 6px);
    width: 1px;
    background: var(--line);
  }

  .page-news .tl-item:last-of-type .tl-rail::after {
    display: none;
  }

  .page-news .tl-item[data-tags~="version"] .tl-rail::before {
    background: var(--cyan);
    box-shadow: 0 0 0 4px rgba(76, 215, 255, .15);
  }

  .page-news .tl-item[data-tags~="archive"] .tl-rail::before {
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(255, 194, 75, .15);
  }

  .page-news .tl-item[data-tags~="topic"] .tl-rail::before {
    background: var(--orange);
    box-shadow: 0 0 0 4px rgba(255, 90, 43, .15);
  }

  .page-news .news-watch__panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 40px;
  }

  .page-news .news-watch__actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 1120px) {
  .page-news .tl-body p {
    max-width: 52ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .tl-body,
  .page-news .tl-more > summary,
  .page-news .news-hero__jump,
  .page-news .news-watch__link {
    transition: none;
  }

  .page-news .tl-body:hover {
    transform: none;
  }
}
