.page-news {
  --news-radius: 4px 22px 4px 22px;
  --news-gap: 18px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  overflow-x: clip;
}

.page-news .container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

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

/* ---------- 面包屑 ---------- */
.page-news .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--mist);
}

.page-news .breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.page-news .breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(217, 169, 76, .55);
}

.page-news .breadcrumb a {
  color: var(--mist);
  text-decoration: none;
}

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

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  position: relative;
  padding: 104px 0 52px;
  background:
    radial-gradient(120% 90% at 88% -12%, rgba(42, 211, 180, .12), transparent 55%),
    radial-gradient(90% 80% at -10% 92%, rgba(30, 90, 168, .22), transparent 58%),
    var(--ink);
}

.page-news .news-hero__grid {
  display: grid;
  gap: 32px;
}

.page-news .news-hero__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-news .news-hero__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(46px, 11vw, 104px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: .02em;
  color: var(--paper);
}

.page-news .news-hero__lede {
  margin: 0 0 24px;
  max-width: 34ch;
  font-size: 16.5px;
  line-height: 1.85;
  color: rgba(244, 239, 228, .82);
}

.page-news .news-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-news .news-hero__pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid rgba(217, 169, 76, .32);
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--paper);
  background: rgba(16, 49, 42, .6);
}

.page-news .news-hero__pill--hot {
  border-color: rgba(228, 121, 74, .62);
  background: rgba(228, 121, 74, .14);
  color: var(--gold-hi);
}

.page-news .news-hero__frame {
  margin: 0;
}

.page-news .news-hero__frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ---------- 区块基础 ---------- */
.page-news .section {
  position: relative;
  padding: 60px 0;
}

.page-news .section--tags {
  background: linear-gradient(180deg, rgba(16, 49, 42, .85), rgba(11, 31, 26, 1));
}

.page-news .section--versions {
  background:
    linear-gradient(180deg, rgba(11, 31, 26, 1), rgba(16, 49, 42, .9)),
    var(--ink);
}

.page-news .section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  padding-bottom: 16px;
  margin-bottom: 26px;
  border-bottom: var(--line-gold);
}

.page-news .section-head__index {
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--gold);
}

.page-news .section-head__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(23px, 4.2vw, 33px);
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.25;
  color: var(--paper);
}

.page-news .section-head__meta {
  margin-left: auto;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--mist);
}

/* ---------- 01 今日批次 ---------- */
.page-news .today {
  display: grid;
  gap: 28px;
}

.page-news .today__lead {
  padding: 22px 20px 24px;
  background: rgba(16, 49, 42, .72);
  border: var(--line-gold);
  border-radius: var(--news-radius);
  border-left: 3px solid var(--orange);
}

.page-news .today__big {
  margin: 0;
  font-size: 62px;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--gold-hi);
}

.page-news .today__unit {
  margin: 6px 0 14px;
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--mist);
}

.page-news .today__text {
  margin: 0;
  max-width: 32ch;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(244, 239, 228, .78);
}

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

.page-news .dist__row {
  display: grid;
  grid-template-columns: 5.6em 1fr 1.6em;
  align-items: center;
  gap: 12px;
}

.page-news .dist__name {
  font-size: 14px;
  color: rgba(244, 239, 228, .86);
}

.page-news .dist__track {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(143, 163, 156, .16);
  overflow: hidden;
}

.page-news .dist__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--tile), var(--cyan));
}

.page-news .dist__fill--3 { width: 100%; }
.page-news .dist__fill--2 { width: 66%; }
.page-news .dist__fill--1 { width: 34%; }

.page-news .dist__n {
  font-size: 13px;
  text-align: right;
  color: var(--gold);
}

/* ---------- 02 标签与条目 ---------- */
.page-news .tags-layout {
  display: grid;
  gap: 28px;
}

.page-news .tags-layout__side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-news .tags-layout__side .neon-frame {
  margin: 0;
}

.page-news .tags-layout__side img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-news .tags-layout__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--mist);
}

.page-news .tagger {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

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

.page-news .tag {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid rgba(217, 169, 76, .3);
  border-radius: 999px;
  background: rgba(30, 90, 168, .14);
  color: var(--paper);
  font-size: 14px;
  line-height: 1.3;
  cursor: pointer;
  transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.page-news .tag--xl { font-size: 17px; padding: 11px 19px; }
.page-news .tag--lg { font-size: 15px; padding: 10px 17px; }
.page-news .tag--sm { font-size: 13px; padding: 8px 14px; }

.page-news .tag__count {
  font-family: var(--font-mono);
  font-size: .82em;
  letter-spacing: .06em;
  color: var(--gold);
}

.page-news .tag:hover {
  transform: scale(1.06);
  border-color: var(--gold-hi);
}

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

.page-news .tagger__radio:checked + .tag {
  border-color: var(--gold-hi);
  background: rgba(217, 169, 76, .18);
  box-shadow: inset 0 0 0 1px rgba(242, 212, 138, .4);
}

.page-news .tagger:has(#nt-rule:checked) ~ .entry-list > .entry:not([data-cat="rule"]),
.page-news .tagger:has(#nt-quota:checked) ~ .entry-list > .entry:not([data-cat="quota"]),
.page-news .tagger:has(#nt-version:checked) ~ .entry-list > .entry:not([data-cat="version"]),
.page-news .tagger:has(#nt-guide:checked) ~ .entry-list > .entry:not([data-cat="guide"]),
.page-news .tagger:has(#nt-scene:checked) ~ .entry-list > .entry:not([data-cat="scene"]),
.page-news .tagger:has(#nt-faq:checked) ~ .entry-list > .entry:not([data-cat="faq"]),
.page-news .tagger:has(#nt-feature:checked) ~ .entry-list > .entry:not([data-cat="feature"]) {
  display: none;
}

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

.page-news .entry {
  padding: 17px 17px 19px;
  background: rgba(11, 31, 26, .82);
  border: var(--line-gold);
  border-radius: var(--news-radius);
  transition: transform .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease);
}

.page-news .entry__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--mist);
}

.page-news .entry__tag {
  padding: 3px 9px;
  border: 1px solid rgba(111, 168, 220, .34);
  border-radius: 999px;
  background: rgba(30, 90, 168, .24);
  color: var(--tile-2);
  font-size: 11.5px;
  letter-spacing: .04em;
}

.page-news .entry__title {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.5;
}

.page-news .entry__title a {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.page-news .entry__excerpt {
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--mist);
}

/* ---------- 03 批次时间轴 ---------- */
.page-news .timeline__hint {
  margin: -12px 0 22px;
  font-size: 14px;
  color: var(--mist);
}

.page-news .timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding: 6px 0 20px;
  scrollbar-color: var(--gold) rgba(143, 163, 156, .18);
}

.page-news .timeline {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: max-content;
  padding-inline: max(20px, calc((100vw - var(--wrap)) / 2));
}

.page-news .timeline:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.page-news .batch {
  position: relative;
  flex: 0 0 254px;
  scroll-snap-align: start;
  padding: 22px 18px 20px;
  background: linear-gradient(180deg, rgba(16, 49, 42, .92), rgba(11, 31, 26, .92));
  border: var(--line-gold);
  border-radius: var(--news-radius);
}

.page-news .batch::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  background: linear-gradient(90deg, rgba(217, 169, 76, .85), rgba(217, 169, 76, 0));
}

.page-news .batch--today {
  border-color: rgba(228, 121, 74, .68);
}

.page-news .batch--today::before {
  background: linear-gradient(90deg, var(--orange), rgba(228, 121, 74, 0));
}

.page-news .batch--today::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(228, 121, 74, .18);
}

.page-news .batch__no {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--gold);
}

.page-news .batch__name {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--paper);
}

.page-news .batch__count {
  margin: 0 0 14px;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--mist);
}

.page-news .batch__count strong {
  font-size: 22px;
  font-weight: 500;
  color: var(--paper);
}

.page-news .batch__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .batch__tags li {
  padding: 4px 9px;
  border-radius: 3px;
  background: rgba(30, 90, 168, .2);
  border: 1px solid rgba(111, 168, 220, .26);
  font-size: 11.5px;
  color: var(--tile-2);
}

.page-news .batch__tags .batch__more {
  background: transparent;
  border-color: rgba(217, 169, 76, .34);
  color: var(--gold);
  font-family: var(--font-mono);
}

.page-news .timeline__figure {
  margin: 26px 0 0;
}

.page-news .timeline__figure img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

/* ---------- 04 版本专题 ---------- */
.page-news .versions__lede {
  margin: 0 0 26px;
  max-width: 46ch;
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(244, 239, 228, .8);
}

.page-news .version-pair {
  display: grid;
  gap: 16px;
}

.page-news .vcard {
  padding: 22px 20px 24px;
  border-radius: var(--news-radius);
  border: var(--line-soft);
  background: rgba(11, 31, 26, .72);
}

.page-news .vcard--old {
  border-color: rgba(143, 163, 156, .28);
}

.page-news .vcard--new {
  border: 1px solid rgba(217, 169, 76, .5);
  background: linear-gradient(170deg, rgba(217, 169, 76, .1), rgba(11, 31, 26, .9) 55%);
}

.page-news .vcard__ver {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 13px;
  letter-spacing: .1em;
}

.page-news .vcard--old .vcard__ver {
  background: rgba(143, 163, 156, .16);
  color: var(--mist);
}

.page-news .vcard--new .vcard__ver {
  background: rgba(228, 121, 74, .2);
  color: var(--gold-hi);
}

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

.page-news .vcard__text {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(244, 239, 228, .76);
}

.page-news .vcard__list {
  display: grid;
  gap: 9px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.page-news .vcard__list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(244, 239, 228, .82);
}

.page-news .vcard__list li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

.page-news .vcard__btn {
  display: inline-flex;
}

.page-news .vlist {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: var(--line-soft);
}

.page-news .vlist__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  padding: 15px 0;
  border-bottom: var(--line-soft);
}

.page-news .vlist__item a {
  flex: 1 1 16em;
  font-size: 15.5px;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.page-news .vlist__item a:hover,
.page-news .vlist__item a:focus-visible {
  color: var(--gold-hi);
  border-bottom-color: var(--gold-hi);
}

.page-news .vlist__item .mono {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--mist);
}

/* ---------- 05 编辑回看 ---------- */
.page-news .picks__note {
  margin: -8px 0 24px;
  max-width: 44ch;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--mist);
}

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

.page-news .pick {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 18px 22px;
  border: var(--line-gold);
  border-radius: var(--news-radius);
  background: rgba(16, 49, 42, .6);
  transition: transform .22s var(--ease), border-color .22s var(--ease);
}

.page-news .pick__no {
  font-size: 30px;
  line-height: 1;
  letter-spacing: .02em;
  color: rgba(217, 169, 76, .55);
}

.page-news .pick__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.page-news .pick__title a {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.page-news .pick__why {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--mist);
}

/* ---------- 06 检索与更新提示 ---------- */
.page-news .section--lookup {
  background:
    radial-gradient(80% 90% at 96% 20%, rgba(42, 211, 180, .1), transparent 58%),
    linear-gradient(180deg, rgba(16, 49, 42, .9), rgba(11, 31, 26, 1));
}

.page-news .lookup {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-news .lookup__title {
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-size: clamp(23px, 4.2vw, 32px);
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.3;
  color: var(--paper);
}

.page-news .lookup__text {
  margin: 0 0 22px;
  max-width: 40ch;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(244, 239, 228, .8);
}

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

.page-news .lookup__frame {
  margin: 0;
}

.page-news .lookup__frame img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ---------- 交互与动效 ---------- */
@media (hover: hover) {
  .page-news .entry:hover {
    transform: translateY(-4px);
    border-color: rgba(242, 212, 138, .7);
    background: rgba(16, 49, 42, .95);
  }

  .page-news .pick:hover {
    transform: translateY(-4px);
    border-color: rgba(242, 212, 138, .7);
  }

  .page-news .entry__title a:hover,
  .page-news .pick__title a:hover {
    color: var(--gold-hi);
    border-bottom-color: var(--gold-hi);
  }

  .page-news .batch:hover {
    border-color: rgba(242, 212, 138, .55);
  }
}

.page-news .btn:focus-visible,
.page-news .entry__title a:focus-visible,
.page-news .pick__title a:focus-visible,
.page-news .timeline-scroll:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-news [data-reveal] {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .page-news * {
    transition-duration: .01ms !important;
  }
}

/* ---------- 平板及以上 ---------- */
@media (min-width: 700px) {
  .page-news .section {
    padding: 76px 0;
  }

  .page-news .container {
    padding-inline: 32px;
  }

  .page-news .today {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 34px;
    align-items: start;
  }

  .page-news .entry-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .page-news .entry-list > .entry:nth-child(even) {
    margin-top: 22px;
  }

  .page-news .version-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

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

  .page-news .pick:nth-child(2) {
    margin-top: 18px;
  }

  .page-news .pick:nth-child(3) {
    margin-top: 6px;
  }

  .page-news .lookup {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 40px;
  }

  .page-news .timeline__figure img {
    aspect-ratio: 16 / 7;
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 1080px) {
  .page-news .news-hero {
    padding-top: 124px;
    padding-bottom: 64px;
  }

  .page-news .news-hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
    align-items: end;
  }

  .page-news .news-hero__frame {
    margin-top: -18px;
  }

  .page-news .tags-layout {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 40px;
  }

  .page-news .tags-layout__side {
    position: sticky;
    top: calc(var(--bar-h) + 24px);
  }

  .page-news .section {
    padding: 90px 0;
  }

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

  .page-news .entry__excerpt {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    transition: max-height .28s var(--ease), opacity .28s var(--ease), margin-top .28s var(--ease);
  }

  .page-news .entry:hover .entry__excerpt,
  .page-news .entry:focus-within .entry__excerpt {
    max-height: 8em;
    opacity: 1;
    margin-top: 10px;
  }

  .page-news .batch {
    flex: 0 0 290px;
  }
}
