.page-news {
  --news-rule: 1px solid var(--line-soft);
  --news-rule-strong: 1px solid var(--line-strong);
  position: relative;
  overflow-x: hidden;
  background: var(--deep);
  color: var(--ice);
}

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

.page-news [id] {
  scroll-margin-top: 110px;
}

/* ---------- 首屏 ---------- */
.page-news .news-lead {
  position: relative;
  padding: 26px 0 52px;
  background:
    radial-gradient(760px 420px at 90% -16%, rgba(255, 107, 26, .18), transparent 62%),
    radial-gradient(600px 360px at 2% 4%, rgba(0, 224, 198, .12), transparent 60%);
}

.page-news .news-lead .breadcrumb {
  margin-bottom: 38px;
}

.page-news .news-lead-index {
  color: var(--cyan);
  margin: 0;
}

.page-news .news-lead-title {
  margin: 16px 0 0;
  max-width: 20ch;
  font-size: clamp(31px, 5.4vw, 58px);
  font-weight: 250;
  line-height: 1.18;
  letter-spacing: -.01em;
  color: #fff;
}

.page-news .news-lead-text {
  margin: 22px 0 0;
  max-width: 62ch;
  font-size: 16.5px;
  line-height: 1.85;
  color: rgba(244, 247, 251, .78);
}

.page-news .news-anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 38px 0 0;
  padding: 20px 0 0;
  border-top: var(--news-rule);
}

.page-news .news-anchors a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .08em;
  color: rgba(244, 247, 251, .84);
  text-decoration: none;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.page-news .news-anchors a:hover,
.page-news .news-anchors a:focus-visible {
  color: var(--deep);
  background: var(--cyan);
  border-color: var(--cyan);
}

.page-news .news-anchors a[aria-current="true"] {
  color: var(--deep);
  background: var(--orange);
  border-color: var(--orange);
}

/* ---------- 区块骨架 ---------- */
.page-news .news-section {
  padding: clamp(52px, 7vw, 92px) 0;
}

.page-news .section-index {
  color: var(--cyan-data);
  margin: 0;
}

.page-news .section-title {
  margin: 12px 0 0;
  font-size: clamp(24px, 3.6vw, 40px);
  font-weight: 300;
  line-height: 1.26;
  color: #fff;
}

.page-news .news-note {
  margin: 16px 0 0;
  max-width: 64ch;
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(244, 247, 251, .7);
}

/* 冰白区块 */
.page-news .section--ice {
  color: var(--ink);
}

.page-news .section--ice .section-index {
  color: var(--signal);
}

.page-news .section--ice .section-title {
  color: var(--ink);
}

.page-news .section--ice .news-note {
  color: rgba(11, 17, 24, .74);
}

/* ---------- 01 最新动态：层叠目录 ---------- */
.page-news .news-stack {
  counter-reset: news-row;
  list-style: none;
  margin: 38px 0 0;
  padding: 0;
  border-top: var(--news-rule-strong);
}

.page-news .news-row {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 18px;
  grid-template-areas:
    "no cat arrow"
    "no .page-news arrow"
    "no time arrow";
  row-gap: 8px;
  column-gap: 14px;
  padding: 22px 0;
  border-bottom: var(--news-rule);
  transition: background .22s var(--ease);
}

.page-news .news-row::before {
  grid-area: no;
  content: counter(news-row, decimal-leading-zero);
  counter-increment: news-row;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--scale);
  padding-top: 4px;
}

.page-news .news-row-cat {
  grid-area: cat;
  align-self: start;
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--cyan-data);
}

.page-news .news-row-body {
  grid-area: body;
}

.page-news .news-row-body h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
}

.page-news .news-row-body h3 a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(var(--orange), var(--orange));
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: 0 100%;
  transition: background-size .24s var(--ease);
}

.page-news .news-row-body h3 a:hover,
.page-news .news-row-body h3 a:focus-visible {
  background-size: 100% 1px;
}

.page-news .news-row-body p {
  margin: 8px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(244, 247, 251, .7);
}

.page-news .news-row-time {
  grid-area: time;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--scale);
  white-space: nowrap;
}

.page-news .news-row-arrow {
  grid-area: arrow;
  align-self: center;
  font-size: 16px;
  line-height: 1;
  color: var(--scale);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), color .22s var(--ease);
}

.page-news .news-row:hover,
.page-news .news-row:focus-within {
  background: linear-gradient(90deg, rgba(27, 111, 203, .16), transparent 72%);
}

.page-news .news-row:hover .news-row-arrow,
.page-news .news-row:focus-within .news-row-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--orange);
}

/* ---------- 02 客户端速递：版本卡 ---------- */
.page-news .news-versions {
  display: grid;
  gap: 18px;
  margin-top: 38px;
}

.page-news .news-version {
  display: grid;
  gap: 18px;
  padding: 24px 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: linear-gradient(158deg, rgba(8, 23, 41, .86), rgba(18, 58, 107, .42));
}

.page-news .news-version-no {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: var(--news-rule);
}

.page-news .news-version-no .index {
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--scale);
}

.page-news .news-version-no .data {
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
  color: var(--orange);
}

.page-news .news-version-body h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
  color: #fff;
}

.page-news .news-version-body p {
  margin: 12px 0 0;
  max-width: 64ch;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(244, 247, 251, .76);
}

.page-news .news-version-note {
  padding-left: 14px;
  border-left: 2px solid rgba(0, 224, 198, .5);
  color: rgba(244, 247, 251, .6) !important;
  font-size: 14px !important;
}

.page-news .news-version-shot {
  aspect-ratio: 10 / 7;
  border-radius: var(--r-md);
  overflow: hidden;
}

.page-news .news-version-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 03 赛季观察：横向滚动带 ---------- */
.page-news .news-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 296px;
  gap: 18px;
  list-style: none;
  margin: 38px 0 0;
  padding: 2px 2px 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline-start: 2px;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--tactic) transparent;
}

.page-news .news-rail::-webkit-scrollbar {
  height: 6px;
}

.page-news .news-rail::-webkit-scrollbar-track {
  background: rgba(138, 151, 168, .14);
  border-radius: 999px;
}

.page-news .news-rail::-webkit-scrollbar-thumb {
  background: var(--tactic);
  border-radius: 999px;
}

.page-news .news-rail-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: rgba(18, 58, 107, .34);
  overflow: hidden;
  scroll-snap-align: start;
}

.page-news .news-rail-media {
  margin: -20px -20px 6px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--deep-2);
}

.page-news .news-rail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-news .news-rail-num {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 36px;
  font-weight: 300;
  line-height: 1.06;
  color: var(--cyan);
}

.page-news .news-rail-item h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
}

.page-news .news-rail-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(244, 247, 251, .72);
}

/* ---------- 04 行家观察报告 ---------- */
.page-news .news-report {
  display: grid;
  gap: 28px;
  margin-top: 38px;
}

.page-news .news-report-cover {
  position: relative;
  aspect-ratio: 8 / 11;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--deep-2);
  box-shadow: 0 28px 54px -34px rgba(10, 31, 60, .55);
}

.page-news .news-report-cover::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 12px;
  background: linear-gradient(180deg, var(--orange), var(--cyan));
  z-index: 1;
}

.page-news .news-report-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-news .news-report-body .index {
  margin: 0;
  color: var(--signal);
}

.page-news .news-report-toc {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  border-top: 1px solid rgba(11, 17, 24, .16);
}

.page-news .news-report-toc li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(11, 17, 24, .1);
  font-size: 15px;
  line-height: 1.75;
  color: rgba(11, 17, 24, .78);
}

.page-news .news-report-toc .data {
  font-size: 15px;
  line-height: 1.75;
  color: var(--tactic);
}

.page-news .news-report-note {
  margin: 22px 0 0;
  max-width: 62ch;
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(11, 17, 24, .64);
}

.page-news .news-report-body .btn {
  margin-top: 20px;
}

/* ---------- 05 统计说明变更 ---------- */
.page-news .news-alert {
  margin-top: 34px;
  border: 1px solid rgba(255, 194, 75, .44);
  border-radius: var(--r-lg);
  background: linear-gradient(100deg, rgba(255, 194, 75, .14), rgba(255, 194, 75, .03) 64%);
  overflow: hidden;
}

.page-news .news-alert summary {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  color: var(--ice);
}

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

.page-news .news-alert-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 6px rgba(255, 194, 75, .14);
  animation: news-pulse 2s ease-in-out infinite;
}

@keyframes news-pulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(255, 194, 75, .13); }
  50% { box-shadow: 0 0 0 11px rgba(255, 194, 75, .03); }
}

.page-news .news-alert-title {
  font-weight: 500;
}

.page-news .news-alert-hint {
  margin-left: auto;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--amber);
  white-space: nowrap;
}

.page-news .news-alert[open] .news-alert-hint {
  opacity: .62;
}

.page-news .news-alert-body {
  padding: 0 22px 24px;
  font-size: 15px;
  line-height: 1.82;
  color: rgba(244, 247, 251, .78);
  border-top: 1px solid rgba(255, 194, 75, .2);
  margin-top: 2px;
  padding-top: 20px;
}

.page-news .news-alert-body p {
  margin: 0 0 12px;
  max-width: 66ch;
}

.page-news .news-alert-body .btn {
  margin-top: 6px;
}

.page-news .news-change-grid {
  margin-top: 42px;
}

.page-news .news-change-list h3 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}

.page-news .news-change-list ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--news-rule);
}

.page-news .news-change-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 15px 0;
  border-bottom: var(--news-rule);
  font-size: 15px;
  line-height: 1.72;
  color: rgba(244, 247, 251, .8);
}

.page-news .news-change-list li .data {
  font-size: 13px;
  line-height: 1.9;
  color: var(--cyan-data);
}

.page-news .news-change-foot {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--scale);
}

.page-news .news-change-aside .media-frame {
  aspect-ratio: 10 / 7;
  border-radius: var(--r-md);
  overflow: hidden;
}

.page-news .news-change-aside .media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-news .news-change-aside .index {
  display: block;
  margin: 14px 0 0;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--scale);
}

/* ---------- 06 专题分类 ---------- */
.page-news .news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
}

.page-news .news-tag {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  color: rgba(244, 247, 251, .86);
  text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}

.page-news .news-tag:hover,
.page-news .news-tag:focus-visible {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--deep);
  transform: translateY(-2px);
}

.page-news .news-topics-note {
  margin: 26px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(244, 247, 251, .68);
}

/* ---------- 收束区 ---------- */
.page-news .news-next {
  padding: clamp(50px, 7vw, 86px) 0;
  border-top: var(--news-rule);
  background:
    linear-gradient(180deg, rgba(27, 111, 203, .2), transparent 72%),
    var(--deep-2);
}

.page-news .news-next-inner .index {
  margin: 0;
  color: var(--orange-soft);
}

.page-news .news-next-inner h2 {
  margin: 14px 0 0;
  font-size: clamp(23px, 3.4vw, 36px);
  font-weight: 300;
  line-height: 1.3;
  color: #fff;
}

.page-news .news-next-text {
  margin: 16px 0 0;
  max-width: 64ch;
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(244, 247, 251, .72);
}

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

/* ---------- 平板及以上 ---------- */
@media (min-width: 720px) {
  .page-news .news-rail {
    grid-auto-columns: 344px;
  }

  .page-news .news-report {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 44px;
    align-items: start;
  }

  .page-news .news-report-cover {
    position: sticky;
    top: 112px;
  }
}

@media (min-width: 900px) {
  .page-news .news-lead {
    padding: 34px 0 64px;
  }

  .page-news .news-row {
    grid-template-columns: 40px 96px minmax(0, 1fr) auto 22px;
    grid-template-areas: "no cat .page-news time arrow";
    column-gap: 22px;
    row-gap: 0;
    align-items: baseline;
    padding: 26px 8px 26px 0;
  }

  .page-news .news-row-body p {
    font-size: 15px;
  }

  .page-news .news-version {
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 30px;
    padding: 30px 32px;
  }

  .page-news .news-version--featured {
    grid-template-columns: 128px minmax(0, 1fr) 300px;
  }

  .page-news .news-version-no {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 0 0 0 16px;
    border-bottom: 0;
    border-left: 2px solid var(--orange);
  }

  .page-news .news-version-no .data {
    font-size: 38px;
  }

  .page-news .news-versions {
    gap: 20px;
  }

  .page-news .news-report {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 52px;
  }
}

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

  .page-news .news-row,
  .page-news .news-row-arrow,
  .page-news .news-row-body h3 a,
  .page-news .news-anchors a,
  .page-news .news-tag {
    transition: none;
  }
}
