.page-news {
  --news-orange-soft: #FFEDE1;
  --news-orange-ink: #8F3B0B;
  --news-navy-soft: #E3EAF2;
  --news-track: rgba(31, 96, 145, 0.13);
  --news-rail: max(var(--gutter), calc((100vw - var(--container)) / 2));

  background: var(--gray);
  color: var(--ink);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

/* ---------- 刊头 ---------- */
.page-news .news-masthead {
  position: relative;
  padding: 28px 0 40px;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray) 100%);
  border-bottom: 1px solid var(--line);
}

.page-news .news-masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(31, 96, 145, 0.07) 1px, transparent 1px);
  background-size: 72px 100%;
  pointer-events: none;
}

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

.page-news .news-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.page-news .news-crumb a {
  color: var(--navy-500);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s var(--ease);
}

.page-news .news-crumb a:hover {
  border-bottom-color: var(--navy-500);
}

.page-news .news-crumb__sep {
  color: var(--line);
}

.page-news .news-masthead__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(27px, 5vw, 44px);
  line-height: 1.26;
  letter-spacing: -0.01em;
  color: var(--navy-900);
  margin: 14px 0 0;
  max-width: 21em;
}

.page-news .news-masthead__lede {
  margin: 18px 0 0;
  max-width: 60ch;
  font-size: 17px;
  line-height: 1.8;
  color: var(--navy-700);
}

.page-news .news-masthead__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 28px 0 0;
  padding: 14px 0 0;
  list-style: none;
  border-top: 1px solid rgba(31, 96, 145, 0.22);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--slate);
}

.page-news .news-masthead__legend li {
  position: relative;
  padding-left: 15px;
}

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

/* ---------- 主体骨架 ---------- */
.page-news .news-body {
  padding: 36px 0 8px;
}

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

.page-news .news-side {
  display: grid;
  gap: 18px;
  align-content: start;
}

/* ---------- 筛选 ---------- */
.page-news .news-filter {
  margin: 0;
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  display: grid;
  gap: 8px;
}

.page-news .news-filter__legend {
  padding: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--slate);
}

.page-news .news-filter__opt {
  position: relative;
  display: block;
}

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

.page-news .news-filter__chip {
  display: block;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy-700);
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.page-news .news-filter__chip:hover {
  background: var(--mist);
  border-color: var(--cyan);
}

.page-news .news-filter__radio:checked + .news-filter__chip {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.page-news .news-filter__radio:focus-visible + .news-filter__chip {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* ---------- 侧栏快捷入口 ---------- */
.page-news .news-side__quick {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.page-news .news-side__quick-title {
  margin: 0 0 12px;
  font-family: var(--font-narrow);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy-900);
}

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

.page-news .news-side__quick-list a {
  display: inline-block;
  font-size: 14px;
  line-height: 1.6;
  color: var(--navy-500);
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 96, 145, 0.35);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.page-news .news-side__quick-list a:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* ---------- 条目流 ---------- */
.page-news .news-stream {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.page-news .entry {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 22px 22px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}

.page-news .entry::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 3px;
  height: 26px;
  border-radius: 0 3px 3px 0;
  background: var(--cyan);
}

.page-news .entry--column::before {
  background: var(--navy-500);
}

.page-news .entry--release::before,
.page-news .entry--feedback::before {
  background: var(--orange);
}

.page-news .entry:hover {
  transform: translateY(-4px);
  border-color: var(--navy-500);
}

.page-news .entry__cover {
  margin: 0 0 16px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--gray);
  aspect-ratio: 12 / 7;
}

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

.page-news .entry__main {
  display: block;
  min-width: 0;
}

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

.page-news .entry__tag {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.page-news .entry__tag--cyan {
  background: var(--mist);
  border: 1px solid rgba(23, 195, 201, 0.5);
  color: var(--navy-700);
}

.page-news .entry__tag--navy {
  background: var(--news-navy-soft);
  border: 1px solid rgba(31, 96, 145, 0.35);
  color: var(--navy-700);
}

.page-news .entry__tag--orange {
  background: var(--news-orange-soft);
  border: 1px solid rgba(255, 122, 47, 0.45);
  color: var(--news-orange-ink);
}

.page-news .entry__time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--slate);
}

.page-news .entry__title {
  margin: 0 0 8px;
  font-family: var(--font-narrow);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.38;
  color: var(--navy-900);
}

.page-news .entry__desc {
  margin: 0;
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
}

.page-news .entry__more {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.page-news .entry__more > summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--navy-500);
}

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

.page-news .entry__more > summary::after {
  content: "＋";
  font-size: 13px;
  line-height: 1;
}

.page-news .entry__more[open] > summary::after {
  content: "－";
}

.page-news .entry__body {
  padding-top: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--navy-700);
}

.page-news .entry__body p {
  margin: 0 0 8px;
}

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

.page-news .entry__body a {
  color: var(--navy-500);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-news .entry__body a:hover {
  color: var(--orange);
}

/* ---------- 版本专栏 ---------- */
.page-news .news-versions {
  position: relative;
  margin-top: 52px;
  padding: 46px 0 40px;
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
}

.page-news .news-versions .eyebrow {
  color: var(--cyan);
}

.page-news .news-versions__title {
  margin: 12px 0 0;
  max-width: 22em;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(23px, 3.4vw, 33px);
  line-height: 1.34;
  color: var(--white);
}

.page-news .news-versions__lede {
  margin: 14px 0 0;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}

.page-news .news-versions__cover {
  margin: 26px 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  aspect-ratio: 16 / 9;
}

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

.page-news .news-rail {
  margin-top: 26px;
  padding: 0 var(--gutter) 14px var(--news-rail);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: rgba(23, 195, 201, 0.55) rgba(255, 255, 255, 0.08);
}

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

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

.page-news .news-rail::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.page-news .news-rail::-webkit-scrollbar-thumb {
  background: rgba(23, 195, 201, 0.55);
  border-radius: 999px;
}

.page-news .news-rail__track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding-bottom: 4px;
}

.page-news .vcard {
  flex: 0 0 auto;
  width: 254px;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  scroll-snap-align: start;
}

.page-news .vcard__num {
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(23, 195, 201, 0.42);
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cyan);
}

.page-news .vcard__title {
  margin: 0;
  font-family: var(--font-narrow);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.42;
  color: var(--white);
}

.page-news .vcard__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}

.page-news .vcard__when {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- 栏目观察 ---------- */
.page-news .news-watch {
  padding: 46px 0 50px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-news .news-watch__title {
  margin: 12px 0 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(23px, 3.4vw, 32px);
  line-height: 1.34;
  color: var(--navy-900);
}

.page-news .news-watch__lede {
  margin: 14px 0 0;
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--navy-700);
}

.page-news .watch-list {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.page-news .watch {
  display: grid;
  gap: 10px;
  padding: 20px 0 18px;
  border-bottom: 1px solid rgba(107, 122, 140, 0.24);
  transition: background 0.2s var(--ease);
}

.page-news .watch:first-child {
  border-top: 1px solid rgba(107, 122, 140, 0.24);
}

.page-news .watch:hover {
  background: rgba(255, 255, 255, 0.6);
}

.page-news .watch__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.page-news .watch__name {
  font-family: var(--font-narrow);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}

.page-news .watch__note {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--slate);
}

.page-news .watch__bar {
  height: 8px;
  border-radius: 999px;
  background: var(--news-track);
  overflow: hidden;
}

.page-news .watch__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--navy-700), var(--cyan));
  transition: width 0.4s var(--ease);
}

.page-news .watch--a .watch__fill {
  width: 100%;
}

.page-news .watch--b .watch__fill {
  width: 64%;
}

.page-news .watch--c .watch__fill {
  width: 46%;
}

.page-news .watch__text {
  margin: 0;
  max-width: 66ch;
  font-size: 14px;
  line-height: 1.78;
  color: var(--navy-700);
}

.page-news .watch__hint {
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--orange);
  transition: opacity 0.22s var(--ease), max-height 0.22s var(--ease);
}

.page-news .watch:hover .watch__hint,
.page-news .watch:focus-within .watch__hint,
.page-news .watch:focus .watch__hint {
  max-height: 48px;
  opacity: 1;
}

/* ---------- 使用场景 ---------- */
.page-news .news-scenes {
  position: relative;
  padding: 52px 0 56px;
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
}

.page-news .news-scenes__bg {
  position: absolute;
  inset: 0;
  opacity: 0.26;
}

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

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

.page-news .news-scenes .eyebrow {
  color: var(--cyan);
}

.page-news .news-scenes__title {
  margin: 12px 0 0;
  max-width: 24em;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(23px, 3.4vw, 32px);
  line-height: 1.34;
  color: var(--white);
}

.page-news .news-scenes__lede {
  margin: 14px 0 0;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.74);
}

.page-news .scene-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 26px 0 0;
  font-family: var(--font-narrow);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--cyan);
}

.page-news .scene-path__arrow {
  color: rgba(255, 255, 255, 0.4);
}

.page-news .scene-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-news .scene {
  padding: 22px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.page-news .scene__num {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.page-news .scene__title {
  margin: 0 0 8px;
  font-family: var(--font-narrow);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.42;
  color: var(--white);
}

.page-news .scene__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- 反馈收束 ---------- */
.page-news .news-cta {
  padding: 44px 0 60px;
  background: var(--gray);
}

.page-news .news-cta__inner {
  display: grid;
  gap: 22px;
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
}

.page-news .news-cta__title {
  margin: 0;
  font-family: var(--font-narrow);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--navy-900);
}

.page-news .news-cta__desc {
  margin: 12px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--navy-700);
}

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

/* ---------- 筛选联动（CSS 渐进增强） ---------- */
.page-news:has(#nt-retrieval:checked) .entry:not(.entry--retrieval),
.page-news:has(#nt-release:checked) .entry:not(.entry--release),
.page-news:has(#nt-column:checked) .entry:not(.entry--column),
.page-news:has(#nt-usage:checked) .entry:not(.entry--usage),
.page-news:has(#nt-feedback:checked) .entry:not(.entry--feedback) {
  display: none;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-news .entry {
    padding: 24px 26px 20px;
  }

  .page-news .news-cta__inner {
    padding: 30px 32px;
  }
}

@media (min-width: 760px) {
  .page-news .news-versions__cover {
    aspect-ratio: 16 / 6;
  }

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

  .page-news .news-cta__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
  }

  .page-news .entry--featured {
    grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
  }

  .page-news .entry--featured .entry__cover {
    margin: 0;
  }

  .page-news .vcard {
    width: 288px;
  }
}

@media (min-width: 900px) {
  .page-news .news-masthead {
    padding: 40px 0 52px;
  }

  .page-news .news-body {
    padding: 48px 0 8px;
  }

  .page-news .news-layout {
    grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
    gap: 40px;
    align-items: start;
  }

  .page-news .news-side {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    gap: 20px;
  }

  .page-news .news-stream {
    gap: 18px;
  }

  .page-news .news-versions {
    margin-top: 64px;
    padding: 56px 0 48px;
  }

  .page-news .news-watch {
    padding: 56px 0 58px;
  }

  .page-news .news-scenes {
    padding: 62px 0 66px;
  }

  .page-news .news-cta {
    padding: 52px 0 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .entry,
  .page-news .watch__hint,
  .page-news .watch__fill,
  .page-news .news-filter__chip {
    transition: none;
  }

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

  .page-news .news-rail {
    scroll-behavior: auto;
  }
}
