.page-news {
  --news-line: rgba(241, 212, 140, 0.28);
  --news-rule: rgba(6, 59, 50, 0.12);
  --news-soft: rgba(6, 59, 50, 0.06);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
}

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

.page-news a:focus-visible,
.page-news summary:focus-visible,
.page-news button:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 焦点更新 ---------- */
.page-news .news-focus {
  position: relative;
  overflow: hidden;
  padding: 0 0 clamp(52px, 9vw, 104px);
  background:
    radial-gradient(120% 90% at 92% -10%, rgba(46, 211, 198, 0.18), transparent 58%),
    radial-gradient(90% 80% at 0% 110%, rgba(217, 164, 65, 0.2), transparent 62%),
    var(--ink-green);
  color: var(--paper);
}

.page-news .news-focus::after {
  content: "";
  position: absolute;
  right: -140px;
  top: 18%;
  width: 320px;
  height: 320px;
  border: 1px solid var(--news-line);
  border-radius: 50%;
  pointer-events: none;
}

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

.page-news .breadcrumb {
  padding: clamp(16px, 3vw, 28px) 0 clamp(24px, 5vw, 46px);
  font-size: 0.78rem;
}

.page-news .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55em;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--sage);
  letter-spacing: 0.06em;
}

.page-news .breadcrumb-list > li + li::before {
  content: "/";
  margin-right: 0.55em;
  color: rgba(159, 184, 168, 0.6);
}

.page-news .breadcrumb-link {
  color: var(--gold-light);
  text-decoration: none;
}

.page-news .breadcrumb-link:hover {
  text-decoration: underline;
}

.page-news .breadcrumb-current {
  color: var(--paper);
}

.page-news .news-focus-grid {
  display: grid;
  gap: clamp(34px, 6vw, 56px);
}

.page-news .news-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin: 0 0 1rem;
  font-family: var(--font-latin);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.page-news .news-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 4px rgba(46, 211, 198, 0.18);
}

.page-news .news-focus-copy h1 {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.15rem, 8vw, 4rem);
  line-height: 1.06;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.page-news .news-hl {
  display: block;
  color: var(--gold-light);
}

.page-news .news-focus-copy .lede {
  max-width: 42ch;
  margin: 0 0 1.6rem;
  font-size: clamp(1rem, 2.4vw, 1.1rem);
  line-height: 1.85;
  color: rgba(246, 241, 231, 0.85);
}

.page-news .news-focus-list {
  display: grid;
  gap: 0.7rem;
  max-width: 46ch;
  margin: 0 0 1.9rem;
  padding: 0;
  list-style: none;
}

.page-news .news-focus-list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  font-size: 0.94rem;
  line-height: 1.7;
  color: rgba(246, 241, 231, 0.8);
}

.page-news .news-focus-list li::before {
  content: "";
  width: 20px;
  height: 1px;
  margin-top: 0.72em;
  background: var(--gold);
}

.page-news .news-focus-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.6rem;
}

.page-news .news-focus-actions .link-arrow {
  color: var(--neon);
  font-size: 0.92rem;
}

.page-news .news-focus-media {
  position: relative;
  margin: 0;
}

.page-news .news-focus-media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 26px 6px 26px 6px;
  box-shadow: 0 32px 64px -32px rgba(0, 0, 0, 0.72);
}

.page-news .news-focus-card {
  position: relative;
  margin: -48px 14px 0;
  padding: 1.1rem 1.25rem;
  background: rgba(11, 87, 72, 0.94);
  border: 1px solid var(--news-line);
  border-radius: 4px 18px 4px 18px;
  box-shadow: var(--shadow-soft);
}

.page-news .news-focus-card p {
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
  line-height: 1.72;
  color: rgba(246, 241, 231, 0.86);
}

/* ---------- 通用章节头 ---------- */
.page-news .section-head {
  max-width: 62ch;
  margin-bottom: clamp(22px, 4vw, 38px);
}

.page-news .section-kicker {
  margin: 0 0 0.7rem;
  font-family: var(--font-latin);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brick);
}

.page-news .section-title {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 4.6vw, 2.4rem);
  line-height: 1.16;
  color: var(--ink-green);
}

.page-news .section-note {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ---------- 四类更新流 ---------- */
.page-news .news-flows {
  padding: clamp(52px, 9vw, 100px) 0 clamp(28px, 5vw, 52px);
}

.page-news .news-flow-chips {
  display: flex;
  gap: 0.6rem;
  margin: 0 0 clamp(20px, 3vw, 32px);
  padding: 0.2rem 0 0.8rem;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-news .news-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.05rem;
  white-space: nowrap;
  border: 1px solid var(--news-rule);
  border-radius: 999px;
  background: var(--paper-shade);
  color: var(--ink-green);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.page-news .news-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.page-news .news-chip--notice::before { background: var(--brick); }
.page-news .news-chip--mobile::before { background: var(--neon-deep); }
.page-news .news-chip--docs::before { background: var(--ink-green-soft); }

.page-news .news-chip:hover {
  background: var(--paper);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.page-news .news-flow-grid {
  display: grid;
  gap: clamp(16px, 3vw, 24px);
}

.page-news .news-flow {
  --flow-fg: var(--ink);
  --flow-dim: var(--text-muted);
  --flow-head: var(--ink-green);
  --flow-rule: var(--news-rule);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: clamp(20px, 3.2vw, 32px);
  background: var(--paper);
  border: 1px solid var(--news-rule);
  border-radius: 20px 4px 20px 4px;
  color: var(--flow-fg);
}

.page-news .news-flow--notice {
  background: var(--paper-shade);
}

.page-news .news-flow--mobile {
  background: var(--paper);
  border-top: 3px solid var(--neon-deep);
}

.page-news .news-flow--docs {
  background: var(--paper-shade);
}

.page-news .news-flow--versions {
  --flow-fg: var(--paper);
  --flow-dim: rgba(246, 241, 231, 0.8);
  --flow-head: var(--gold-light);
  --flow-rule: var(--news-line);
  background: linear-gradient(155deg, var(--ink-green-soft) 0%, var(--ink-green) 72%);
  border-color: transparent;
}

.page-news .news-flow-no {
  margin: 0;
  font-family: var(--font-latin);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.page-news .news-flow-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.25rem, 3.4vw, 1.6rem);
  line-height: 1.25;
  color: var(--flow-head);
}

.page-news .news-flow-text {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--flow-dim);
}

.page-news .news-flow-points {
  display: grid;
  gap: 0.5rem;
  margin: 0.2rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--flow-rule);
  padding-top: 0.9rem;
}

.page-news .news-flow-points li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--flow-dim);
}

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

.page-news .news-flow-media {
  margin: 0.4rem 0 0;
  border-radius: 14px 2px 14px 2px;
  overflow: hidden;
}

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

/* ---------- 专题系列 ---------- */
.page-news .news-topics {
  padding: clamp(52px, 9vw, 96px) 0;
  background: var(--paper-shade);
}

.page-news .news-topics-track {
  display: flex;
  gap: clamp(14px, 2.5vw, 22px);
  margin: 0;
  padding: 0 0 1rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.page-news .news-topic {
  flex: 0 0 auto;
  width: min(76vw, 312px);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.35rem 1.4rem 1.5rem;
  scroll-snap-align: start;
  background: var(--paper);
  border: 1px solid var(--news-rule);
  border-radius: 4px 22px 4px 22px;
}

.page-news .news-topic h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.16rem;
  line-height: 1.35;
  color: var(--ink-green);
}

.page-news .news-topic p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.78;
  color: var(--text-muted);
}

.page-news .news-topic-count {
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px dashed var(--news-rule);
  font-family: var(--font-latin);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--ink-green-soft);
}

.page-news .news-topic .tag {
  align-self: flex-start;
}

/* ---------- 更新日志 ---------- */
.page-news .news-log {
  padding: clamp(52px, 9vw, 100px) 0;
}

.page-news .news-log-layout {
  display: grid;
  gap: clamp(26px, 4vw, 52px);
}

.page-news .news-log-note {
  margin: 0 0 1.4rem;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.page-news .news-log-ruler {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  margin-bottom: 1.4rem;
  color: var(--gold);
}

.page-news .news-log-aside .link-arrow {
  color: var(--ink-green);
  font-size: 0.92rem;
}

.page-news .news-log-list {
  display: grid;
  gap: clamp(12px, 2.2vw, 18px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .news-log-item {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  gap: 0.85rem;
  padding: clamp(15px, 2.6vw, 22px) clamp(15px, 2.6vw, 24px);
  background: var(--paper);
  border: 1px solid var(--news-rule);
  border-left: 3px solid var(--gold);
  border-radius: 2px 16px 2px 16px;
  transition: border-left-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.page-news .news-log-item:hover {
  border-left-color: var(--brick);
  box-shadow: var(--shadow-soft);
}

.page-news .news-log-no {
  font-family: var(--font-latin);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  padding-top: 0.15rem;
}

.page-news .news-log-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.55rem;
}

.page-news .news-log-meta .tag {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.page-news .news-log-time {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.62rem;
  border: 1px solid var(--news-rule);
  border-radius: 999px;
  background: var(--news-soft);
  color: var(--ink-green);
  font-family: var(--font-latin);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  cursor: help;
}

.page-news .news-log-head {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.02rem, 2.8vw, 1.18rem);
  line-height: 1.42;
  color: var(--ink-green);
}

.page-news .news-log-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.page-news .news-log-more {
  list-style: none;
}

.page-news .news-log-more summary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.68rem 1.2rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-green);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.page-news .news-log-more summary::after {
  content: "＋";
  font-family: var(--font-latin);
  color: var(--brick);
}

.page-news .news-log-more details[open] summary::after {
  content: "－";
}

.page-news .news-log-list--more {
  margin-top: clamp(12px, 2.2vw, 18px);
}

/* ---------- 维护节奏 ---------- */
.page-news .news-rhythm {
  padding: clamp(52px, 9vw, 100px) 0;
  background:
    radial-gradient(100% 80% at 100% 0%, rgba(46, 211, 198, 0.14), transparent 60%),
    linear-gradient(150deg, var(--ink-green-soft), var(--ink-green-deep));
  color: var(--paper);
}

.page-news .news-rhythm-grid {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
}

.page-news .news-rhythm .section-kicker {
  color: var(--neon);
}

.page-news .news-rhythm .section-title {
  color: var(--paper);
}

.page-news .news-rhythm-note {
  margin: 0;
  max-width: 46ch;
  font-size: 0.96rem;
  line-height: 1.85;
  color: rgba(246, 241, 231, 0.8);
}

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

.page-news .news-rhythm-list li {
  padding: clamp(16px, 2.6vw, 22px) 0;
  border-top: 1px solid var(--news-line);
}

.page-news .news-rhythm-list li:last-child {
  border-bottom: 1px solid var(--news-line);
}

.page-news .news-rhythm-label {
  margin: 0 0 0.35rem;
  font-family: var(--font-latin);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.page-news .news-rhythm-list h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.1rem, 3vw, 1.32rem);
  color: var(--paper);
}

.page-news .news-rhythm-list p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.8;
  color: rgba(246, 241, 231, 0.78);
}

/* ---------- 收尾入口 ---------- */
.page-news .news-cta {
  padding: clamp(52px, 9vw, 100px) 0 clamp(60px, 10vw, 112px);
}

.page-news .news-cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1.1rem;
  padding: clamp(24px, 5vw, 54px);
  background: var(--paper-shade);
  border-radius: 30px 8px 30px 8px;
}

.page-news .news-cta-panel::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(180, 83, 58, 0.35);
  border-radius: 50%;
  pointer-events: none;
}

.page-news .news-cta-panel .section-title {
  max-width: 24ch;
  margin: 0;
}

.page-news .news-cta-text {
  max-width: 52ch;
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.82;
  color: var(--text-muted);
}

.page-news .news-cta-links {
  display: grid;
  gap: 0.9rem;
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
}

.page-news .news-cta-links li {
  padding-top: 0.9rem;
  border-top: 1px solid rgba(6, 59, 50, 0.14);
}

.page-news .news-cta-links .link-arrow {
  display: grid;
  gap: 0.2rem;
  color: var(--ink-green);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}

.page-news .news-cta-links .link-arrow span {
  font-weight: 400;
  font-size: 0.86rem;
  color: var(--text-muted);
}

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

@media (min-width: 900px) {
  .page-news .news-focus-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
  }

  .page-news .news-focus-card {
    position: absolute;
    right: clamp(12px, 2vw, 20px);
    bottom: clamp(12px, 2vw, 20px);
    width: min(320px, 72%);
    margin: 0;
  }

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

  .page-news .news-flow--versions { grid-column: 1 / span 7; }
  .page-news .news-flow--notice { grid-column: 8 / span 5; margin-top: clamp(24px, 4vw, 48px); }
  .page-news .news-flow--mobile { grid-column: 1 / span 5; margin-top: clamp(-24px, -2vw, 0px); }
  .page-news .news-flow--docs { grid-column: 6 / span 7; margin-top: clamp(24px, 4vw, 48px); }

  .page-news .news-log-layout {
    grid-template-columns: minmax(0, 3fr) minmax(0, 8fr);
    align-items: start;
  }

  .page-news .news-log-aside {
    position: sticky;
    top: clamp(24px, 4vw, 48px);
  }

  .page-news .news-rhythm-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    align-items: start;
  }
}

@media (min-width: 1100px) {
  .page-news .news-topic {
    width: 320px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-news .news-chip,
  .page-news .news-log-item {
    transition: none;
  }

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