.page-news {
  --news-grid: 88px;
  --news-hair: rgba(29, 46, 41, 0.85);
  --news-text-soft: rgba(232, 245, 240, 0.72);
  background-color: var(--phx-night);
  color: var(--phx-white);
  font-family: var(--phx-font-body);
  overflow-x: clip;
}

/* ---------- 面包屑 ---------- */
.page-news .news-crumbs {
  padding-top: clamp(14px, 2vw, 22px);
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  position: relative;
  padding: clamp(28px, 5vw, 56px) 0 clamp(28px, 4vw, 52px);
  border-bottom: 1px solid var(--phx-line);
  isolation: isolate;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--news-hair) 1px, transparent 1px),
    linear-gradient(to bottom, var(--news-hair) 1px, transparent 1px);
  background-size: var(--news-grid) var(--news-grid);
  background-position: -1px -1px;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
}

.page-news .news-hero__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.page-news .news-hero__round {
  font-family: var(--phx-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--phx-neon);
  border: 1px solid rgba(47, 243, 161, 0.35);
  border-radius: var(--phx-radius);
  padding: 4px 10px;
  white-space: nowrap;
}

.page-news .news-hero h1 {
  margin: 18px 0 0;
  max-width: 17ch;
  font-family: var(--phx-font-display);
  font-weight: 800;
  font-size: clamp(29px, 6.4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.page-news .news-hero__lede {
  margin: 18px 0 0;
  max-width: 58ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
  color: var(--news-text-soft);
}

.page-news .news-hero__stamp {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 22px 0 0;
  font-family: var(--phx-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--phx-mist);
}

.page-news .news-hero__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--phx-neon);
  box-shadow: 0 0 0 0 rgba(47, 243, 161, 0.55);
  animation: news-pulse 2.4s var(--phx-ease) infinite;
  flex: none;
}

@keyframes news-pulse {
  0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(47, 243, 161, 0.55); }
  35% { box-shadow: 0 0 0 7px rgba(47, 243, 161, 0); }
}

/* ---------- 置顶更新 ---------- */
.page-news .news-pin-section {
  padding-top: clamp(30px, 5vw, 52px);
}

.page-news .news-pin {
  position: relative;
  border: 1px solid var(--phx-line);
  border-radius: var(--phx-radius);
  overflow: hidden;
  background-color: var(--phx-coal);
}

.page-news .news-pin__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-news .news-pin__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(0.75) contrast(1.08);
}

.page-news .news-pin__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10, 28, 23, 0.96) 0%, rgba(10, 28, 23, 0.78) 50%, rgba(10, 28, 23, 0.38) 100%);
}

.page-news .news-pin__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(22px, 4vw, 48px);
}

.page-news .news-pin__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-family: var(--phx-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--phx-mist);
}

.page-news .news-pin__title {
  margin: 0;
  max-width: 22ch;
  font-family: var(--phx-font-display);
  font-weight: 800;
  font-size: clamp(21px, 3.6vw, 37px);
  line-height: 1.2;
  letter-spacing: -0.012em;
}

.page-news .news-pin__text {
  margin: 0;
  max-width: 58ch;
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(232, 245, 240, 0.82);
}

/* ---------- 列表与筛选 ---------- */
.page-news .news-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 4px 0 16px;
  border-bottom: 1px solid var(--phx-line);
}

.page-news .news-toolbar .phx-filter-count {
  margin-left: auto;
  font-family: var(--phx-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--phx-mist);
}

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

.page-news .news-feed__item {
  border-bottom: 1px solid var(--phx-line);
}

.page-news .news-feed__item[hidden] {
  display: none;
}

.page-news .news-entry {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: clamp(18px, 3vw, 26px) 0;
  transition: background-color 0.2s var(--phx-ease);
}

.page-news .news-feed__item:hover .news-entry {
  background-color: var(--phx-glass);
}

.page-news .news-entry__index {
  font-family: var(--phx-font-mono);
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 28px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--phx-mist);
  opacity: 0.6;
  padding-top: 2px;
  transition: color 0.18s var(--phx-ease), opacity 0.18s var(--phx-ease);
}

.page-news .news-feed__item:hover .news-entry__index,
.page-news .news-feed__item:focus-within .news-entry__index {
  color: var(--phx-neon);
  opacity: 1;
}

.page-news .news-entry__body {
  min-width: 0;
}

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

.page-news .news-entry__tag {
  font-family: var(--phx-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border: 1px solid var(--phx-line);
  border-radius: var(--phx-radius);
  color: var(--phx-mist);
  white-space: nowrap;
}

.page-news .news-feed__item[data-filter-tags~="digest"] .news-entry__tag {
  color: var(--phx-neon);
  border-color: rgba(47, 243, 161, 0.35);
}

.page-news .news-feed__item[data-filter-tags~="patch"] .news-entry__tag {
  color: var(--phx-violet);
  border-color: rgba(123, 92, 255, 0.42);
}

.page-news .news-feed__item[data-filter-tags~="discipline"] .news-entry__tag {
  color: var(--phx-yellow);
  border-color: rgba(245, 195, 59, 0.38);
}

.page-news .news-entry__time {
  font-family: var(--phx-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--phx-mist);
}

.page-news .news-entry__title {
  margin: 0 0 8px;
  font-family: var(--phx-font-display);
  font-weight: 800;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.page-news .news-entry__summary {
  margin: 0;
  max-width: 66ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--news-text-soft);
}

.page-news .news-entry__more {
  margin-top: 12px;
  padding-left: 12px;
  border-left: 2px solid var(--phx-line);
}

.page-news .news-entry__more > summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--phx-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--phx-neon);
}

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

.page-news .news-entry__more > summary::before {
  content: "+ ";
}

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

.page-news .news-entry__more > p {
  margin: 10px 0 0;
  max-width: 64ch;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--news-text-soft);
}

.page-news .news-entry__figure {
  margin: 16px 0 0;
  border: 1px solid var(--phx-line);
  overflow: hidden;
}

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

/* ---------- 板块迭代 ---------- */
.page-news .news-patch {
  display: grid;
  gap: 26px;
}

.page-news .news-patch__media {
  margin: 0;
  border: 1px solid var(--phx-line);
  background-color: var(--phx-coal);
  overflow: hidden;
}

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

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

.page-news .news-patch__item {
  padding: 16px 0;
  border-bottom: 1px solid var(--phx-line);
}

.page-news .news-patch__ver {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--phx-font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--phx-violet);
  border: 1px solid rgba(123, 92, 255, 0.4);
  border-radius: var(--phx-radius);
  padding: 2px 8px;
}

.page-news .news-patch__name {
  margin: 0 0 6px;
  font-family: var(--phx-font-display);
  font-weight: 800;
  font-size: 16.5px;
  line-height: 1.4;
}

.page-news .news-patch__desc {
  margin: 0;
  max-width: 62ch;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--news-text-soft);
}

/* ---------- 专题系列 ---------- */
.page-news .news-series__head {
  display: grid;
  gap: 22px;
  align-items: end;
}

.page-news .news-series__intro .phx-lede {
  margin-bottom: 0;
}

.page-news .news-series__figure {
  margin: 0;
  border: 1px solid var(--phx-line);
  overflow: hidden;
}

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

.page-news .news-series__grid {
  margin-top: clamp(22px, 3.5vw, 36px);
}

.page-news .news-series__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  border: 1px solid var(--phx-line);
  border-left: 2px solid var(--phx-neon);
  border-radius: var(--phx-radius);
  background-color: var(--phx-glass);
}

.page-news .news-series__count {
  font-family: var(--phx-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.09em;
  color: var(--phx-mist);
}

.page-news .news-series__name {
  margin: 0;
  font-family: var(--phx-font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.page-news .news-series__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--news-text-soft);
}

/* ---------- 回访节奏 ---------- */
.page-news .news-revisit {
  display: grid;
  gap: 24px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--phx-line);
  border-radius: var(--phx-radius);
  background-color: var(--phx-coal);
}

.page-news .news-revisit__text {
  margin: 12px 0 0;
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--news-text-soft);
}

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

.page-news .news-revisit__row {
  display: grid;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px solid var(--phx-line);
}

.page-news .news-revisit__row p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--news-text-soft);
}

.page-news .news-revisit__phase {
  font-family: var(--phx-font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--phx-neon);
}

.page-news .news-revisit__note {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--news-text-soft);
}

.page-news .news-revisit__note a {
  color: var(--phx-neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 243, 161, 0.4);
}

.page-news .news-revisit__note a:hover,
.page-news .news-revisit__note a:focus-visible {
  color: var(--phx-white);
  border-bottom-color: var(--phx-white);
}

/* ---------- 交互态 ---------- */
.page-news .phx-filter:focus-visible,
.page-news .news-revisit__note a:focus-visible,
.page-news .news-entry__more > summary:focus-visible {
  outline: 2px solid var(--phx-neon);
  outline-offset: 2px;
}

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

  .page-news .news-revisit__row {
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: baseline;
    gap: 18px;
  }
}

@media (min-width: 900px) {
  .page-news .news-entry {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 28px;
  }

  .page-news .news-patch {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    align-items: start;
    gap: 40px;
  }

  .page-news .news-series__head {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 40px;
  }

  .page-news .news-revisit {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr);
    gap: 32px 48px;
  }

  .page-news .news-revisit__intro {
    grid-row: 1 / span 2;
  }

  .page-news .news-revisit__note {
    grid-column: 2;
  }
}

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

  .page-news .news-entry,
  .page-news .news-entry__index {
    transition: none;
  }
}
