.page-news {
  --news-gap: clamp(20px, 4vw, 36px);
  --news-rule: rgba(11, 18, 32, 0.12);
  --news-rule-light: rgba(247, 249, 254, 0.16);
  background: var(--paper);
  color: var(--ink);
  overflow-x: clip;
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 6px;
  padding: clamp(40px, 7vw, 76px) 0 clamp(64px, 9vw, 108px);
  background:
    radial-gradient(90% 120% at 6% 0%, rgba(53, 214, 255, 0.26), transparent 58%),
    linear-gradient(155deg, #07182F 0%, #07182F 46%, #0B63F6 132%);
  color: var(--paper);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 0 100%);
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -20%;
  right: -16%;
  width: min(560px, 74vw);
  aspect-ratio: 1;
  border-radius: 36px;
  transform: rotate(14deg);
  background: linear-gradient(200deg, rgba(166, 255, 61, 0.24), rgba(11, 99, 246, 0) 64%);
}

.page-news .news-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 40px);
}

.page-news .news-hero h1 {
  margin: 14px 0 18px;
  font-size: clamp(32px, 6.2vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 900;
}

.page-news .news-hero .lead {
  margin: 0 0 26px;
  max-width: 60ch;
  color: rgba(247, 249, 254, 0.82);
}

.page-news .news-hero .btn-primary {
  background: var(--neon);
  border-color: var(--neon);
  color: var(--deep);
}

.page-news .news-hero .btn-ghost {
  color: var(--paper);
  border-color: rgba(247, 249, 254, 0.32);
}

.page-news .hero-index {
  padding: 18px 18px 8px;
  border: 1px solid var(--news-rule-light);
  border-radius: var(--radius);
  background: rgba(7, 24, 47, 0.42);
}

.page-news .hero-index-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
}

.page-news .hero-index-head .index-label {
  color: rgba(247, 249, 254, 0.6);
}

.page-news .hero-index-head .index-label--neon {
  color: var(--neon);
}

.page-news .hero-feed {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .hero-feed li {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 11px 0;
  border-top: 1px solid rgba(247, 249, 254, 0.12);
}

.page-news .hero-feed .index-label {
  font-size: 11px;
  color: var(--neon);
}

.page-news .hero-feed .feed-title {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(247, 249, 254, 0.92);
}

/* ---------- 通用小件 ---------- */
.page-news .section-note {
  margin: 0;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
}

.page-news .section-head--deep {
  color: var(--paper);
}

.page-news .section-note--deep {
  color: rgba(247, 249, 254, 0.66);
}

.page-news .numeric {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- 本周焦点 ---------- */
.page-news .focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--news-gap);
}

.page-news .focus-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}

.page-news .focus-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-news .focus-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .focus-item {
  position: relative;
  padding: 16px 0 16px 22px;
  border-top: 1px solid var(--news-rule);
  transition: background-color 0.18s ease;
}

.page-news .focus-item:last-child {
  border-bottom: 1px solid var(--news-rule);
}

.page-news .focus-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 2px;
  background: var(--mist);
  transition: background-color 0.18s ease, top 0.18s ease, bottom 0.18s ease;
}

.page-news .focus-item.is-live::before {
  background: var(--neon);
}

.page-news .focus-item:hover::before,
.page-news .focus-item:focus-within::before {
  top: 10px;
  bottom: 10px;
  background: var(--flare);
}

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

.page-news .focus-title {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-news .focus-line {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
}

.page-news .focus-metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 10px;
}

.page-news .focus-metric-num {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--flare);
}

.page-news .focus-metric-label {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--slate);
}

.page-news .focus-more {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
  transition: max-height 0.3s ease, opacity 0.22s ease, margin-top 0.22s ease;
}

.page-news .focus-item:hover .focus-more,
.page-news .focus-item:focus-within .focus-more {
  max-height: 140px;
  opacity: 1;
  margin-top: 8px;
}

/* ---------- 专题系列 ---------- */
.page-news .series-visual {
  margin: 0 0 clamp(20px, 3vw, 30px);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-1);
}

.page-news .series-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

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

.page-news .series-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 18px;
  border: 1px solid var(--news-rule);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-1);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.page-news .series-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
}

.page-news .series-card::before {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  border-radius: 2px;
  margin-bottom: 14px;
  background: var(--blue);
}

.page-news .series-card--blue::before {
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.page-news .series-card--neon::before {
  background: linear-gradient(90deg, var(--neon), #d8ff9a);
}

.page-news .series-card--flare::before {
  background: linear-gradient(90deg, var(--flare), #ffb08a);
}

.page-news .series-card--cyan::before {
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.page-news .series-card .index-label {
  color: var(--slate);
  margin: 0 0 6px;
}

.page-news .series-name {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.page-news .series-text {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
}

.page-news .series-list {
  counter-reset: series-item;
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.page-news .series-list li {
  counter-increment: series-item;
  position: relative;
  padding: 8px 0 8px 28px;
  border-top: 1px solid var(--news-rule);
  font-size: 14px;
  line-height: 1.6;
}

.page-news .series-list li::before {
  content: counter(series-item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.page-news .series-meta {
  margin: auto 0 0;
  padding-top: 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  font-family: var(--mono);
  color: var(--blue);
}

/* ---------- 栏目对照 ---------- */
.page-news .section--deep {
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(53, 214, 255, 0.2), transparent 60%),
    linear-gradient(160deg, #07182F 0%, #0A1F3C 100%);
  color: var(--paper);
}

.page-news .map-intro {
  margin: 0 0 clamp(20px, 3vw, 30px);
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(247, 249, 254, 0.76);
}

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

.page-news .map-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--news-rule-light);
}

.page-news .map-head .index-label {
  color: rgba(247, 249, 254, 0.5);
}

.page-news .map-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid var(--news-rule-light);
}

.page-news .map-idx {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.page-news .map-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.page-news .map-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-news .map-desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(247, 249, 254, 0.62);
}

.page-news .map-count {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  text-align: right;
  color: var(--neon);
}

.page-news .map-visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--news-rule-light);
}

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

.page-news .map-foot {
  margin: clamp(20px, 3vw, 28px) 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(247, 249, 254, 0.7);
}

.page-news .map-foot a {
  color: var(--neon);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 版本更新 ---------- */
.page-news .update-track {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding: 10px 0;
}

.page-news .track-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  opacity: 0.1;
  pointer-events: none;
}

.page-news .update-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 20px 20px 18px 22px;
  border: 1px solid var(--news-rule);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-1);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.page-news .update-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
}

.page-news .update-card--now {
  border-color: rgba(11, 99, 246, 0.28);
}

.page-news .update-card--now::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--neon), var(--cyan));
}

.page-news .update-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.page-news .update-head .index-label {
  color: var(--slate);
}

.page-news .update-title {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-news .update-points {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .update-points li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
}

.page-news .update-points li:last-child {
  margin-bottom: 0;
}

.page-news .update-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

/* ---------- 订阅与追更 ---------- */
.page-news .follow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--news-gap);
}

.page-news .follow-grid h2 {
  margin: 12px 0 14px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 900;
}

.page-news .follow-text {
  margin: 0 0 22px;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--slate);
}

.page-news .follow-steps {
  counter-reset: follow-step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .follow-steps li {
  counter-increment: follow-step;
  position: relative;
  margin-left: 15px;
  padding: 0 0 20px 32px;
  border-left: 1px solid var(--news-rule);
}

.page-news .follow-steps li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.page-news .follow-steps li::before {
  content: counter(follow-step, decimal-leading-zero);
  position: absolute;
  left: -15px;
  top: 0;
  width: 30px;
  height: 30px;
  line-height: 28px;
  text-align: center;
  border-radius: 50%;
  border: 1px solid var(--news-rule);
  background: #fff;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--blue);
}

.page-news .step-title {
  margin: 4px 0 4px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 800;
}

.page-news .step-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
}

.page-news .follow-side {
  padding: 22px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--news-rule);
  background: #fff;
  box-shadow: var(--shadow-1);
}

.page-news .side-title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.page-news .side-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .side-list li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--news-rule);
}

.page-news .side-key {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--blue);
}

.page-news .side-val {
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
}

/* ---------- 相关入口 ---------- */
.page-news .news-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin-top: clamp(28px, 5vw, 48px);
  border-top: 1px solid var(--news-rule);
  background: var(--news-rule);
}

.page-news .news-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.page-news .news-link .index-label {
  color: var(--slate);
  transition: color 0.18s ease;
}

.page-news .news-link-text {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

.page-news .news-link:hover,
.page-news .news-link:focus-visible {
  background: var(--deep);
  color: var(--paper);
}

.page-news .news-link:hover .index-label,
.page-news .news-link:focus-visible .index-label {
  color: var(--neon);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-news .series-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 900px) {
  .page-news .focus-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(24px, 3vw, 40px);
  }

  .page-news .map-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 48px);
    align-items: start;
  }

  .page-news .follow-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 48px);
    align-items: start;
  }

  .page-news .update-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 28px;
    padding-bottom: 52px;
  }

  .page-news .update-card:nth-child(even) {
    margin-top: 30px;
  }

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

@media (min-width: 960px) {
  .page-news .news-hero-inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: start;
    gap: clamp(32px, 4vw, 56px);
  }
}

@media (min-width: 1080px) {
  .page-news .series-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .page-news .hero-feed li {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .page-news .map-row {
    grid-template-columns: 26px minmax(0, 1fr) 38px;
    gap: 10px;
  }

  .page-news .map-count {
    font-size: 20px;
  }

  .page-news .focus-item {
    padding-left: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .series-card,
  .page-news .update-card,
  .page-news .focus-item,
  .page-news .focus-item::before,
  .page-news .focus-more,
  .page-news .news-link {
    transition: none;
  }

  .page-news .series-card:hover,
  .page-news .update-card:hover {
    transform: none;
  }
}
