/* ===== 更新观察 · 页面专属样式（作用域：.page-news） ===== */

.page-news {
  --news-accent-line: linear-gradient(90deg, var(--blue), var(--violet) 42%, var(--cyan) 78%, var(--orange));
  --news-panel-glow: radial-gradient(130% 150% at 100% 0%, rgba(43, 245, 224, 0.13), transparent 58%);
  --news-hair: rgba(38, 49, 92, 0.75);
}

/* ---------- 首屏 ---------- */
.news-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 52px) 0 clamp(44px, 7vw, 84px);
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
}

.news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--news-hair) 1px, transparent 1px),
    linear-gradient(to bottom, var(--news-hair) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.42;
  pointer-events: none;
}

.news-hero__glow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), transparent 94%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), transparent 94%);
}

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

.news-hero__grid {
  margin-top: clamp(26px, 4.5vw, 48px);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.news-hero__lead .kicker {
  color: var(--cyan);
  letter-spacing: 0.22em;
}

.news-hero__lead h1 {
  margin: 14px 0 0;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(34px, 6.2vw, 72px);
  line-height: 1.06;
  letter-spacing: 0.02em;
  color: var(--text-strong);
  max-width: 15ch;
}

.news-hero__lead h1::after {
  content: "";
  display: block;
  width: 104px;
  height: 3px;
  margin-top: 24px;
  background: var(--news-accent-line);
}

.news-hero__lead .lede {
  margin: 22px 0 0;
  max-width: 60ch;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.8;
  color: var(--text);
}

.news-hero__aside {
  display: flex;
  flex-direction: column;
}

.news-status {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-panel);
  background-image: var(--news-panel-glow);
  padding: clamp(18px, 3vw, 28px);
}

.news-status__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--news-hair);
}

.news-status__row:first-child {
  padding-top: 0;
}

.news-status__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.news-status__label {
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.news-status__value {
  font-family: var(--font-mono);
  font-size: 19px;
  letter-spacing: 0.01em;
  color: var(--cyan);
  white-space: nowrap;
}

.news-hero__cta {
  display: block;
  width: 100%;
  margin-top: 18px;
  text-align: center;
}

/* ---------- 索引 + 叙事 双栏 ---------- */
.observe {
  padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 4vw, 48px);
}

.observe__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
}

.observe__label {
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.news-toc {
  display: flex;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0 0 6px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.news-toc::-webkit-scrollbar {
  display: none;
}

.news-toc li {
  flex: 0 0 auto;
}

.news-toc__item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 180ms ease, color 180ms ease;
}

.news-toc__item:hover {
  border-color: var(--violet);
  color: var(--text-strong);
}

.news-toc__num {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.news-toc__tag {
  display: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.news-toc__item[aria-current] {
  border-color: var(--cyan);
  color: var(--text-strong);
}

.news-toc__item[aria-current] .news-toc__num {
  color: var(--cyan);
}

.observe__stream {
  min-width: 0;
}

.observe__stream .panel {
  padding: clamp(20px, 3.2vw, 38px);
  scroll-margin-top: 118px;
  background-image: var(--news-panel-glow);
}

.page-news .panel__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.page-news .panel__index {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-news .panel__title {
  flex: 1 1 auto;
  margin: 0;
  font-size: clamp(20px, 2.6vw, 26px);
  letter-spacing: 0.01em;
  color: var(--text-strong);
}

.page-news .panel__status {
  font-size: 12px;
  letter-spacing: 0.06em;
}

.page-news .prose {
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--text);
}

.page-news .prose p {
  margin: 0 0 1.1em;
}

.page-news .prose p:last-child {
  margin-bottom: 0;
}

.page-news .prose--after {
  margin-top: 24px;
}

.page-news .prose a {
  color: var(--cyan);
}

/* ---------- 01 近期条目 ---------- */
.news-feed {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.news-entry {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  column-gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.news-entry__num {
  grid-column: 1;
  grid-row: 1 / span 2;
  padding-top: 4px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  transition: color 180ms ease;
}

.news-entry__body {
  grid-column: 2;
}

.news-entry__title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-strong);
}

.news-entry__desc {
  margin: 7px 0 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--text);
}

.news-entry__meta {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.news-entry__time {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.news-entry:hover .news-entry__num,
.news-entry:focus-within .news-entry__num {
  color: var(--cyan);
}

/* ---------- 02 更新节奏 ---------- */
.news-rhythm {
  margin-top: 6px;
  gap: clamp(20px, 3vw, 32px);
}

.news-rhythm__item {
  padding: 2px 0 2px 20px;
  border-left: 2px solid var(--blue);
}

.news-rhythm__item--major {
  border-left-color: var(--orange);
}

.news-rhythm__cycle {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.news-rhythm__item--major .news-rhythm__cycle {
  color: var(--orange);
}

.news-rhythm__item h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-strong);
}

.news-rhythm__item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.76;
  color: var(--text);
}

/* ---------- 通用图片容器（页面内） ---------- */
.page-news .media {
  margin: 28px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.16), rgba(122, 77, 255, 0.1) 55%, rgba(43, 245, 224, 0.08));
}

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

.page-news .figure__caption {
  margin: 0;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: var(--bg-panel);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-dim);
}

/* ---------- 03 V4 速览 ---------- */
.news-notes {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.news-notes li {
  position: relative;
  padding: 14px 0 14px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.76;
  color: var(--text);
}

.news-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 12px;
  height: 1px;
  background: var(--cyan);
}

.news-notes li strong {
  color: var(--text-strong);
  font-weight: 600;
}

.news-notes li strong::after {
  content: " ";
}

.news-hint {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-left: 2px solid var(--orange);
  background: rgba(255, 138, 61, 0.07);
  font-size: 14px;
  line-height: 1.72;
  color: var(--text);
}

.news-hint a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 04 性能与节点 ---------- */
.news-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.news-metrics .stat {
  padding: 18px 16px;
  background: var(--bg-panel);
}

.news-metrics .stat__value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--cyan);
}

.news-metrics .stat__label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-dim);
}

.news-nodes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.news-nodes__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(43, 245, 224, 0.05);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--text);
}

.news-nodes__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(55, 214, 122, 0.7);
}

/* ---------- 05 体验季 ---------- */
.news-season {
  gap: clamp(22px, 4vw, 40px);
  align-items: start;
}

.news-season__text h3 {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-strong);
}

.news-season__text p {
  margin: 0 0 1.1em;
  font-size: 15px;
  line-height: 1.78;
  color: var(--text);
}

.news-season__text p:last-child {
  margin-bottom: 0;
}

.news-season__media {
  margin-top: 0;
}

/* ---------- 下一步 ---------- */
.news-next {
  padding: clamp(44px, 6vw, 80px) 0 calc(var(--dock-space) + 24px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-deep), rgba(14, 21, 51, 0.55));
}

.news-next .kicker {
  color: var(--cyan);
  letter-spacing: 0.22em;
}

.news-next h2 {
  margin: 12px 0 0;
  max-width: 24ch;
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.24;
  letter-spacing: 0.01em;
  color: var(--text-strong);
}

.news-next__list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.news-next__list li {
  border-bottom: 1px solid var(--line);
}

.news-next__list a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 2px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, padding-left 180ms ease;
}

.news-next__list a:hover,
.news-next__list a:focus-visible {
  color: var(--text-strong);
  background: rgba(47, 107, 255, 0.08);
  padding-left: 14px;
}

.news-next__list .mono {
  flex: 0 0 auto;
  font-size: 13px;
  color: var(--cyan);
}

/* ---------- 桌面端栅格 ---------- */
@media (min-width: 760px) {
  .news-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .observe__inner {
    grid-template-columns: 246px minmax(0, 1fr);
    gap: clamp(32px, 5vw, 60px);
    align-items: start;
  }

  .observe__index {
    position: sticky;
    top: 116px;
    align-self: start;
  }

  .news-toc {
    flex-direction: column;
    gap: 0;
    margin-top: 18px;
    padding: 0;
    overflow: visible;
  }

  .news-toc li {
    flex: 0 0 auto;
  }

  .news-toc__item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 4px 10px;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    white-space: normal;
    transition: border-color 180ms ease, color 180ms ease;
  }

  .news-toc__item:hover {
    background: transparent;
    border-bottom-color: var(--violet);
  }

  .news-toc__num {
    grid-column: 1;
    grid-row: 1;
    padding-top: 2px;
  }

  .news-toc__text {
    grid-column: 2;
    grid-row: 1;
    font-weight: 500;
    color: var(--text-strong);
  }

  .news-toc__tag {
    display: block;
    grid-column: 2;
    grid-row: 2;
  }

  .news-toc__item[aria-current] {
    border-bottom-color: var(--cyan);
  }
}

@media (min-width: 1200px) {
  .news-hero__lead h1 {
    letter-spacing: 0.03em;
  }
}

/* ---------- 无障碍：减少动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-news .news-toc__item,
  .page-news .news-entry__num,
  .page-news .news-next__list a {
    transition: none;
  }

  .page-news .news-next__list a:hover,
  .page-news .news-next__list a:focus-visible {
    padding-left: 2px;
  }
}
