.page-news {
  --news-fill: #FBF7EF;
  --news-rail: 264px;
  background: var(--paper-100);
  overflow-x: hidden;
}

/* ---------- 首屏横幅 ---------- */
.page-news .news-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 56px) 0 96px;
  background: linear-gradient(152deg, var(--blue-900) 0%, var(--blue-700) 58%, var(--blue-500) 100%);
}

.page-news .news-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .3;
  z-index: 0;
}

.page-news .news-hero__inner {
  position: relative;
  z-index: 2;
}

.page-news .news-hero__title {
  max-width: 22ch;
  margin: 16px 0 0;
  font-size: clamp(30px, 5.2vw, 54px);
  line-height: 1.18;
  color: var(--paper-100);
}

.page-news .news-hero__lead {
  max-width: 48ch;
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.8;
  color: var(--mist-300);
}

.page-news .news-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 42px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--mist-300);
}

.page-news .news-hero__fact-num {
  margin-right: 6px;
  font-family: var(--font-data);
  font-size: 30px;
  font-weight: 700;
  color: var(--mint-400);
  vertical-align: -5px;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 64px;
  background: var(--paper-100);
  clip-path: polygon(0 100%, 100% 10%, 100% 100%);
  z-index: 1;
}

/* ---------- 分类标签带 ---------- */
.page-news .news-filter {
  position: relative;
  padding: 4px 0 0;
  background: var(--paper-100);
}

.page-news .news-filter__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-news .news-filter__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

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

.page-news .news-filter__caption {
  flex: none;
  margin-right: 8px;
  padding-right: 14px;
  border-right: 1px solid var(--paper-300);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--ink-600);
}

.page-news .news-filter__chip {
  flex: none;
  cursor: pointer;
  padding: 9px 20px;
  border: 1px solid var(--paper-300);
  border-radius: 999px;
  background: var(--news-fill);
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  user-select: none;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.page-news .news-filter__chip:hover {
  border-color: var(--coral-500);
  color: var(--coral-500);
}

.page-news #nf-all:checked ~ .container .news-filter__chip[for="nf-all"],
.page-news #nf-data:checked ~ .container .news-filter__chip[for="nf-data"],
.page-news #nf-analysis:checked ~ .container .news-filter__chip[for="nf-analysis"],
.page-news #nf-rank:checked ~ .container .news-filter__chip[for="nf-rank"],
.page-news #nf-release:checked ~ .container .news-filter__chip[for="nf-release"] {
  background: var(--coral-500);
  border-color: var(--coral-500);
  color: var(--blue-900);
  font-weight: 700;
}

.page-news #nf-all:focus-visible ~ .container .news-filter__chip[for="nf-all"],
.page-news #nf-data:focus-visible ~ .container .news-filter__chip[for="nf-data"],
.page-news #nf-analysis:focus-visible ~ .container .news-filter__chip[for="nf-analysis"],
.page-news #nf-rank:focus-visible ~ .container .news-filter__chip[for="nf-rank"],
.page-news #nf-release:focus-visible ~ .container .news-filter__chip[for="nf-release"] {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.page-news .news-filter__note {
  display: none;
  max-width: 64ch;
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink-600);
}

.page-news #nf-all:checked ~ .container .news-filter__note--all,
.page-news #nf-data:checked ~ .container .news-filter__note--data,
.page-news #nf-analysis:checked ~ .container .news-filter__note--analysis,
.page-news #nf-rank:checked ~ .container .news-filter__note--rank,
.page-news #nf-release:checked ~ .container .news-filter__note--release {
  display: block;
}

/* ---------- 索引双栏 ---------- */
.page-news .news-index {
  display: grid;
  gap: 32px;
  padding-top: 44px;
  padding-bottom: 76px;
}

.page-news .news-index__head {
  grid-column: 1 / -1;
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--ink-900);
}

.page-news .news-index__label {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--ink-600);
}

.page-news .news-index__label--gap {
  margin-top: 34px;
}

.page-news .series-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-news .series-nav__item {
  display: block;
  padding: 11px 0 11px 14px;
  border-left: 2px solid var(--paper-300);
  color: var(--ink-600);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: border-color .2s var(--ease), color .2s var(--ease), padding-left .2s var(--ease);
}

.page-news .series-nav__item:hover,
.page-news .series-nav__item:focus-visible {
  border-left-color: var(--coral-500);
  color: var(--ink-900);
  padding-left: 20px;
}

.page-news .series-nav__freq {
  display: block;
  margin-top: 4px;
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 400;
  color: var(--blue-500);
}

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

.page-news .news-index__link {
  display: inline-block;
  font-size: 14px;
  color: var(--blue-500);
  text-decoration: none;
  border-bottom: 1px solid var(--paper-300);
  padding-bottom: 2px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.page-news .news-index__link:hover {
  color: var(--coral-500);
  border-color: var(--coral-500);
}

/* ---------- 条目列表 ---------- */
.page-news .news-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.page-news .news-item {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 24px 26px;
  background: var(--news-fill);
  border: 1px solid var(--paper-300);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}

.page-news .news-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--coral-200);
}

.page-news .news-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--coral-500);
  opacity: 0;
  transition: opacity .22s var(--ease);
}

.page-news .news-item:hover::before,
.page-news .news-item:focus-within::before {
  opacity: 1;
}

.page-news .news-item[data-cat="analysis"]::before { background: var(--mint-400); }
.page-news .news-item[data-cat="rank"]::before { background: var(--blue-500); }
.page-news .news-item[data-cat="release"]::before { background: var(--amber-500); }

.page-news .news-item__round {
  flex: none;
  width: 60px;
  padding-right: 16px;
  border-right: 1px dashed var(--paper-300);
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  color: var(--blue-500);
  word-break: break-all;
}

.page-news .news-item__body {
  flex: 1;
  min-width: 0;
}

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

.page-news .news-item__league {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink-900);
}

.page-news .news-item__tag {
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.page-news .news-item__tag--data { background: var(--coral-500); color: var(--blue-900); }
.page-news .news-item__tag--analysis { background: var(--mint-400); color: var(--blue-900); }
.page-news .news-item__tag--rank { background: var(--blue-500); color: var(--paper-100); }
.page-news .news-item__tag--release { background: var(--amber-500); color: var(--blue-900); }

.page-news .news-item__time {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--ink-600);
}

.page-news .news-item__title {
  margin: 0 0 10px;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink-900);
}

.page-news .news-item__excerpt {
  margin: 0;
  font-size: 15px;
  line-height: 1.74;
  color: var(--ink-600);
}

.page-news .news-item__more {
  margin-top: 12px;
}

.page-news .news-item__more > summary {
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--coral-500);
}

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

.page-news .news-item__more > summary::after {
  content: " +";
  font-family: var(--font-data);
}

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

.page-news .news-item__more p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink-600);
}

.page-news .news-item__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  margin-top: 14px;
}

.page-news .news-item__check {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--blue-500);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}

.page-news .news-item:hover .news-item__check,
.page-news .news-item:focus-within .news-item__check {
  opacity: 1;
  transform: none;
}

@media (hover: none) {
  .page-news .news-item__check {
    opacity: 1;
    transform: none;
  }
}

/* 纯 CSS 分类过滤：JS 不执行时全部条目照常可读 */
.page-news #nf-data:checked ~ .news-index .news-item:not([data-cat="data"]),
.page-news #nf-analysis:checked ~ .news-index .news-item:not([data-cat="analysis"]),
.page-news #nf-rank:checked ~ .news-index .news-item:not([data-cat="rank"]),
.page-news #nf-release:checked ~ .news-index .news-item:not([data-cat="release"]) {
  display: none;
}

/* ---------- 专题系列 ---------- */
.page-news .news-series {
  position: relative;
  overflow: hidden;
  padding: 76px 0 84px;
  background: var(--blue-900);
}

.page-news .news-series::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(1100px 380px at 82% -12%, rgba(56, 242, 200, .16), transparent 70%);
  pointer-events: none;
}

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

.page-news .news-series__title {
  max-width: 24ch;
  margin: 14px 0 18px;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.3;
  color: var(--paper-100);
}

.page-news .news-series__lead {
  max-width: 60ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.78;
  color: var(--mist-300);
}

.page-news .series-rail {
  position: relative;
  z-index: 1;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 74%);
  gap: 20px;
  margin-top: 38px;
  padding: 6px 20px 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--blue-500) transparent;
}

.page-news .series-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(169, 188, 201, .24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .055);
  backdrop-filter: blur(6px);
}

.page-news .series-card img {
  display: block;
  width: 100%;
  height: 186px;
  object-fit: cover;
}

.page-news .series-card__body {
  padding: 22px 22px 26px;
}

.page-news .series-card__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--paper-100);
}

.page-news .series-card__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.74;
  color: var(--mist-300);
}

.page-news .series-card__freq {
  display: block;
  margin-top: 16px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--mint-400);
}

.page-news .series-card--plain {
  justify-content: center;
  border-top: 3px solid var(--coral-500);
  background: linear-gradient(160deg, rgba(23, 82, 127, .88), rgba(7, 26, 47, .92));
}

/* ---------- 文末清单 ---------- */
.page-news .news-checklist {
  padding: 80px 0 84px;
  background: var(--paper-100);
}

.page-news .news-checklist__title {
  margin: 14px 0 20px;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.32;
  color: var(--ink-900);
}

.page-news .news-checklist__list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.page-news .news-checklist__list li {
  position: relative;
  padding-left: 32px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink-600);
}

.page-news .news-checklist__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 15px;
  height: 15px;
  border: 2px solid var(--coral-500);
  border-radius: 4px;
}

.page-news .news-checklist__list li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 8px;
  height: 3px;
  border-left: 2px solid var(--mint-400);
  border-bottom: 2px solid var(--mint-400);
  transform: rotate(-45deg);
}

.page-news .news-checklist__aside {
  align-self: start;
  padding: 30px 28px;
  border-radius: var(--radius);
  background: linear-gradient(155deg, var(--blue-700), var(--blue-900));
  color: var(--paper-100);
  box-shadow: var(--shadow-2);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
}

.page-news .news-checklist__aside h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.4;
  color: var(--paper-100);
}

.page-news .news-checklist__aside p {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.74;
  color: var(--mist-300);
}

/* ---------- 内容协作 ---------- */
.page-news .news-contrib {
  position: relative;
  overflow: hidden;
  padding: 76px 0 86px;
  background: var(--blue-900);
}

.page-news .news-contrib::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 320px at 14% 108%, rgba(255, 106, 61, .22), transparent 68%);
  pointer-events: none;
}

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

.page-news .news-contrib__title {
  max-width: 26ch;
  margin: 14px 0 18px;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.3;
  color: var(--paper-100);
}

.page-news .news-contrib__lead {
  max-width: 62ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--mist-300);
}

.page-news .news-contrib__grid {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.page-news .news-contrib__item {
  padding: 24px 22px;
  border: 1px solid rgba(169, 188, 201, .22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
}

.page-news .news-contrib__item h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.4;
  color: var(--paper-100);
}

.page-news .news-contrib__item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--mist-300);
}

.page-news .news-contrib__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

.page-news .news-contrib__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid rgba(169, 188, 201, .45);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--paper-100);
  text-decoration: none;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}

.page-news .news-contrib__link:hover {
  border-color: var(--mint-400);
  color: var(--mint-400);
}

/* ---------- 响应式 ---------- */
@media (min-width: 700px) {
  .page-news .series-rail {
    grid-auto-columns: minmax(280px, 46%);
    padding-left: 28px;
    padding-right: 28px;
  }

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

@media (min-width: 1000px) {
  .page-news .news-index {
    grid-template-columns: var(--news-rail) minmax(0, 1fr);
    gap: 52px;
    align-items: start;
  }

  .page-news .news-index__side {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }

  .page-news .news-index__head {
    margin-bottom: 4px;
  }
}

@media (min-width: 1180px) {
  .page-news .series-rail {
    grid-auto-columns: minmax(300px, 31%);
    padding-left: max(24px, calc((100vw - 1360px) / 2 + var(--gutter)));
    padding-right: max(24px, calc((100vw - 1360px) / 2 + var(--gutter)));
  }

  .page-news .news-item:nth-child(3n+2) {
    margin-left: 44px;
  }

  .page-news .news-item:nth-child(3n) {
    margin-right: 56px;
  }
}

@media (max-width: 640px) {
  .page-news .news-hero {
    padding: calc(var(--header-h) + 34px) 0 84px;
  }

  .page-news .news-hero__lead {
    font-size: 16px;
  }

  .page-news .news-hero__facts {
    gap: 10px 26px;
    margin-top: 30px;
  }

  .page-news .news-hero__fact-num {
    font-size: 24px;
  }

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

  .page-news .news-item {
    gap: 12px;
    padding: 20px 16px;
  }

  .page-news .news-item__round {
    width: 40px;
    padding-right: 10px;
    font-size: 12px;
  }

  .page-news .series-card img {
    height: 158px;
  }

  .page-news .news-checklist,
  .page-news .news-series,
  .page-news .news-contrib {
    padding-top: 60px;
    padding-bottom: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-item,
  .page-news .news-item__check,
  .page-news .news-item::before,
  .page-news .series-nav__item {
    transition: none;
  }

  .page-news .news-item:hover {
    transform: none;
  }
}
