.page-news {
  --rail-x: 8px;
  --rail-pad: 30px;
  padding-top: clamp(72px, 12vw, 112px);
  font-family: var(--font-body);
  color: var(--frost-050);
}

.page-news .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--slate-400);
}

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

.page-news .breadcrumb a:hover,
.page-news .breadcrumb a:focus-visible {
  color: var(--mint-200);
}

.page-news .breadcrumb-sep {
  color: rgba(120, 180, 255, .34);
}

.page-news h1 {
  margin: clamp(14px, 2.4vw, 22px) 0 0;
  max-width: 20em;
  font-size: clamp(29px, 8.2vw, 52px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -.02em;
  background: linear-gradient(120deg, var(--frost-050) 24%, var(--mint-200) 74%, var(--neon-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-news .news-lede {
  margin: clamp(12px, 2vw, 18px) 0 0;
  max-width: 62ch;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.8;
  color: var(--slate-400);
}

.page-news .news-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(18px, 2.8vw, 26px);
}

.page-news .news-hero-figure {
  margin: clamp(22px, 3.4vw, 38px) 0 0;
}

.page-news .news-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line-tint);
  border-radius: var(--radius-card);
  object-fit: cover;
}

.page-news .news-chapter {
  margin-top: clamp(46px, 8vw, 92px);
}

.page-news .news-chapter-head {
  margin-bottom: clamp(16px, 2.8vw, 26px);
}

.page-news .chapter-no {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--line-tint);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--neon-400);
}

.page-news .chapter-title {
  margin: 12px 0 0;
  font-size: clamp(24px, 5.8vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--frost-050);
}

.page-news .chapter-sub {
  margin: 10px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--slate-400);
}

/* 筛选条 */
.page-news .news-filter {
  position: sticky;
  top: 8px;
  z-index: 6;
  display: flex;
  gap: 8px;
  margin: 0 0 10px;
  padding: 10px 0;
  overflow-x: auto;
  background: linear-gradient(180deg, var(--abyss-900) 70%, rgba(5, 11, 26, 0));
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.page-news .news-filter::-webkit-scrollbar {
  display: none;
}

.page-news .news-filter .chip {
  flex: 0 0 auto;
  cursor: pointer;
}

.page-news .news-legend {
  display: grid;
  gap: 8px;
  margin: 0 0 clamp(20px, 3vw, 28px);
  padding: 14px 16px;
  border: 1px solid var(--line-tint);
  border-radius: var(--radius-card);
  background: linear-gradient(152deg, rgba(18, 41, 77, .62), rgba(5, 11, 26, .12));
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate-400);
}

.page-news .news-legend > p {
  margin: 0;
}

.page-news .news-legend .tag {
  margin-right: 8px;
}

.page-news .news-tag--sky {
  color: var(--sky-300);
  border-color: rgba(111, 195, 255, .45);
}

.page-news .news-tag--mint {
  color: var(--mint-200);
  border-color: rgba(166, 255, 212, .45);
}

/* 发布轨道 */
.page-news .news-timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .news-timeline::before {
  content: "";
  position: absolute;
  left: var(--rail-x);
  top: 8px;
  bottom: 14px;
  width: 1px;
  background: linear-gradient(180deg, var(--neon-400) 0%, rgba(120, 180, 255, .26) 18%, var(--line-tint) 100%);
}

.page-news .news-item {
  position: relative;
  padding: 0 0 clamp(22px, 3vw, 30px) var(--rail-pad);
}

.page-news .news-item + .news-item {
  padding-top: clamp(20px, 2.8vw, 28px);
  border-top: 1px solid var(--line-tint);
}

.page-news .news-node {
  position: absolute;
  left: calc(var(--rail-x) - 7px);
  top: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--slate-400);
  border: 1px solid rgba(5, 11, 26, .9);
}

.page-news .news-item[data-cat="version"] .news-node {
  background: var(--neon-400);
  box-shadow: 0 0 12px rgba(53, 240, 138, .55);
}

.page-news .news-item[data-cat="column"] .news-node {
  background: var(--sky-300);
  box-shadow: 0 0 12px rgba(111, 195, 255, .5);
}

.page-news .news-item[data-cat="data"] .news-node {
  background: var(--amber-400);
  box-shadow: 0 0 12px rgba(255, 182, 61, .5);
}

.page-news .news-item[data-cat="topic"] .news-node {
  background: var(--mint-200);
  box-shadow: 0 0 12px rgba(166, 255, 212, .5);
}

.page-news .news-item--pinned {
  margin-bottom: 6px;
  padding: clamp(16px, 2.4vw, 22px) clamp(14px, 2.4vw, 24px) clamp(18px, 2.6vw, 26px) var(--rail-pad);
  border: 1px solid rgba(53, 240, 138, .26);
  border-radius: var(--radius-card);
  background: linear-gradient(104deg, rgba(53, 240, 138, .13), rgba(53, 240, 138, .03) 56%, rgba(5, 11, 26, 0));
}

.page-news .news-item--pinned .news-node {
  top: 24px;
  animation: newsPulse 2.8s var(--ease) infinite;
}

@keyframes newsPulse {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(53, 240, 138, .14), 0 0 12px rgba(53, 240, 138, .5);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(53, 240, 138, .05), 0 0 22px rgba(53, 240, 138, .85);
  }
}

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

.page-news .news-when {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--slate-400);
  font-variant-numeric: tabular-nums;
}

.page-news .news-pin-flag {
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background: rgba(53, 240, 138, .16);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--mint-200);
}

.page-news .news-title {
  margin: 9px 0 0;
  font-size: clamp(17px, 3.7vw, 21px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.01em;
  color: var(--frost-050);
}

.page-news .news-text {
  margin: 7px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--slate-400);
}

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

.page-news .news-more summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
  font-size: 13px;
  color: var(--mint-200);
}

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

.page-news .news-more summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1;
  transition: transform .3s var(--ease);
}

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

.page-news .news-more p {
  margin: 10px 0 0;
  max-width: 60ch;
  padding-left: 12px;
  border-left: 1px solid rgba(166, 255, 212, .3);
  font-size: 14px;
  line-height: 1.8;
  color: var(--slate-400);
}

/* 版本迭代 */
.page-news .news-split {
  display: grid;
  gap: clamp(22px, 3.4vw, 36px);
}

.page-news .ver-list {
  display: grid;
  min-width: 0;
}

.page-news .ver {
  padding: 14px 0;
  border-top: 1px solid var(--line-tint);
}

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

.page-news .ver-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  list-style: none;
  cursor: pointer;
}

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

.page-news .ver-no {
  flex: 0 0 auto;
  min-width: 3.6ch;
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 600;
  color: var(--neon-400);
  font-variant-numeric: tabular-nums;
}

.page-news .ver-main {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.page-news .ver-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--frost-050);
}

.page-news .ver-scope {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--slate-400);
}

.page-news .ver-now {
  flex: 0 0 auto;
}

.page-news .ver-detail {
  margin: 10px 0 0;
  max-width: 56ch;
  padding-left: 12px;
  border-left: 1px solid var(--line-tint);
  font-size: 14px;
  line-height: 1.78;
  color: var(--slate-400);
}

.page-news .news-version-figure,
.page-news .news-topic-figure,
.page-news .news-subs-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-tint);
  border-radius: var(--radius-card);
}

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

/* 赛季专题 */
.page-news .news-topic-wrap {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
}

.page-news .topic-list {
  display: grid;
  gap: 14px;
}

.page-news .topic-card {
  position: relative;
  padding: 14px 0 14px 20px;
  background: linear-gradient(90deg, rgba(166, 255, 212, .07), rgba(5, 11, 26, 0) 74%);
}

.page-news .topic-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--mint-200), rgba(166, 255, 212, .1));
}

.page-news .topic-name {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--frost-050);
}

.page-news .topic-meta {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--amber-400);
  font-variant-numeric: tabular-nums;
}

.page-news .topic-text {
  margin: 8px 0 0;
  max-width: 56ch;
  font-size: 14px;
  line-height: 1.76;
  color: var(--slate-400);
}

.page-news .topic-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--mint-200);
  text-decoration: none;
  border-bottom: 1px solid rgba(166, 255, 212, .35);
  transition: border-color .35s var(--ease), color .3s var(--ease);
}

.page-news .topic-link:hover,
.page-news .topic-link:focus-visible {
  color: var(--neon-400);
  border-color: var(--neon-400);
}

/* 数据时点 */
.page-news .refresh-grid {
  display: grid;
  gap: 14px;
}

.page-news .refresh-card {
  padding: clamp(16px, 2.4vw, 22px);
  border: 1px solid var(--line-tint);
  border-radius: var(--radius-card);
  background: linear-gradient(155deg, rgba(18, 41, 77, .9), rgba(5, 11, 26, .22));
}

.page-news .refresh-card--dim {
  background: linear-gradient(155deg, rgba(10, 23, 48, .9), rgba(5, 11, 26, .22));
}

.page-news .refresh-label {
  display: block;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--slate-400);
}

.page-news .refresh-value {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: clamp(24px, 5.4vw, 32px);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--amber-400);
  font-variant-numeric: tabular-nums;
}

.page-news .refresh-card--dim .refresh-value {
  color: var(--sky-300);
}

.page-news .refresh-note {
  margin: 9px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate-400);
}

.page-news .timing-history {
  display: grid;
  gap: 10px;
  margin: clamp(18px, 2.8vw, 26px) 0 0;
  padding: 0;
  list-style: none;
}

.page-news .timing-history li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--slate-400);
}

.page-news .timing-history li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky-300);
}

.page-news .timing-history .numeric {
  margin-right: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--frost-050);
}

/* 订阅 */
.page-news .subs {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
}

.page-news .subs-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .subs-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--frost-050);
}

.page-news .step-no {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--neon-400);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--abyss-900);
}

.page-news .subs-help {
  margin: clamp(18px, 2.8vw, 26px) 0 0;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--slate-400);
}

.page-news .subs-help .numeric {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--frost-050);
}

.page-news .news-next {
  display: grid;
  gap: 10px;
  margin-top: clamp(26px, 4vw, 44px);
  padding-top: clamp(18px, 2.8vw, 26px);
  border-top: 1px solid var(--line-tint);
}

.page-news .news-next a {
  display: block;
  padding: 13px 16px;
  border: 1px solid var(--line-tint);
  border-radius: var(--radius-card);
  background: linear-gradient(150deg, rgba(18, 41, 77, .5), rgba(5, 11, 26, .08));
  font-size: 14px;
  line-height: 1.5;
  color: var(--frost-050);
  text-decoration: none;
  transition: border-color .4s var(--ease), color .3s var(--ease), background .4s var(--ease);
}

.page-news .news-next a:hover,
.page-news .news-next a:focus-visible {
  border-color: rgba(166, 255, 212, .6);
  color: var(--mint-200);
  background: linear-gradient(150deg, rgba(18, 41, 77, .85), rgba(5, 11, 26, .14));
}

@media (min-width: 720px) {
  .page-news .news-legend {
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
  }

  .page-news .refresh-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (min-width: 900px) {
  .page-news .news-timeline {
    --rail-x: 12px;
    --rail-pad: 56px;
  }

  .page-news .news-split {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: start;
  }

  .page-news .news-topic-wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, .86fr);
    align-items: start;
  }

  .page-news .subs {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  }

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

@media (min-width: 981px) {
  .page-news .news-filter {
    top: 86px;
  }
}

@media (min-width: 1100px) {
  .page-news h1 {
    font-size: 64px;
  }
}

@media (max-width: 720px) {
  .page-news .news-hero-figure img {
    aspect-ratio: 16 / 10;
  }

  .page-news .news-version-figure img,
  .page-news .news-topic-figure img,
  .page-news .news-subs-figure img {
    aspect-ratio: 4 / 3;
  }
}

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

  .page-news .news-more summary::after,
  .page-news .topic-link,
  .page-news .news-next a {
    transition: none;
  }
}
