.page-news {
  --news-rail: 236px;
  --news-card-gap: 40px;
  background: var(--ink-900);
  color: var(--text-100);
}

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

.page-news .news-crumbs {
  padding-top: clamp(20px, 3vw, 32px);
}

/* ---------- 首屏框景 ---------- */
.page-news .news-hero {
  padding: clamp(16px, 2.6vw, 26px) 0 clamp(56px, 8vw, 100px);
}

.page-news .hero-frame {
  position: relative;
  display: grid;
  gap: clamp(26px, 3.6vw, 52px);
  padding: clamp(24px, 3.4vw, 46px);
  border: 1px solid var(--ink-600);
  background:
    linear-gradient(180deg, rgba(123, 92, 255, .07), transparent 46%),
    var(--ink-800);
}

.page-news .hero-frame::before,
.page-news .hero-frame::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1px solid var(--purple-500);
  pointer-events: none;
}

.page-news .hero-frame::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.page-news .hero-frame::after {
  right: -1px;
  bottom: -1px;
  border-top: 0;
  border-left: 0;
}

.page-news .hero-frame h1 {
  margin: 14px 0 18px;
  font-size: clamp(29px, 4.4vw, 46px);
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--text-100);
}

.page-news .hero-frame .lead {
  margin: 0;
  max-width: 36rem;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-300);
}

.page-news .hero-marks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin: 26px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--ink-600);
  list-style: none;
  font-size: 13px;
  color: var(--text-300);
}

.page-news .hero-marks .mono {
  margin-right: 6px;
  font-size: 15px;
  color: var(--cyan-400);
}

.page-news .hero-frame__media {
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--ink-600);
  background: var(--ink-700);
}

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

@media (min-width: 900px) {
  .page-news .hero-frame {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    align-items: center;
  }
}

/* ---------- 置顶头条 ---------- */
.page-news .news-headline {
  padding-bottom: clamp(56px, 8vw, 100px);
}

.page-news .headline-card {
  position: relative;
  display: grid;
  gap: clamp(24px, 3vw, 44px);
  padding: clamp(24px, 3.2vw, 44px);
  border: 1px solid var(--ink-600);
  background: var(--ink-800);
}

.page-news .headline-card::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  width: 2px;
  height: 72px;
  background: var(--purple-500);
}

.page-news .headline-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
}

.page-news .tag {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--ink-600);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--text-300);
}

.page-news .tag--purple {
  border-color: rgba(123, 92, 255, .55);
  background: rgba(123, 92, 255, .12);
  color: var(--purple-300);
}

.page-news .headline-card__time {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--cyan-400);
}

.page-news .headline-card h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.32;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text-100);
}

.page-news .headline-card__lede {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-300);
  max-width: 34rem;
}

.page-news .headline-card__facts {
  display: grid;
  gap: 16px;
  margin: 0 0 28px;
  padding-top: 20px;
  border-top: 1px solid var(--ink-600);
}

.page-news .headline-card__facts dt {
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--cyan-400);
}

.page-news .headline-card__facts dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--text-300);
}

.page-news .headline-card__media {
  margin: 0;
  border: 1px solid var(--ink-600);
  background: var(--ink-700);
  overflow: hidden;
}

.page-news .headline-card__media img {
  display: block;
  width: 100%;
  height: auto;
}

.page-news .headline-card__media figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--ink-600);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--text-300);
}

@media (min-width: 900px) {
  .page-news .headline-card {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: start;
  }
}

/* ---------- 条目流 ---------- */
.page-news .news-feed {
  padding: clamp(56px, 8vw, 100px) 0;
  border-top: 1px solid var(--ink-600);
}

.page-news .feed-head h2,
.page-news .series-head h2,
.page-news .recall-panel h2 {
  margin: 12px 0 14px;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.34;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--text-100);
}

.page-news .feed-head .lead,
.page-news .series-head .lead {
  margin: 0;
  max-width: 40rem;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-300);
}

.page-news .feed-layout {
  display: grid;
  gap: clamp(24px, 3vw, 44px);
  margin-top: clamp(28px, 4vw, 46px);
}

@media (min-width: 900px) {
  .page-news .feed-layout {
    grid-template-columns: var(--news-rail) minmax(0, 1fr);
    align-items: start;
  }

  .page-news .feed-rail {
    position: sticky;
    top: calc(var(--header-h-compact) + 26px);
  }
}

.page-news .feed-rail__label {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink-600);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--text-300);
}

.page-news .tablist {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-news .tab {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-left: 2px solid transparent;
  background: transparent;
  color: var(--text-300);
  font: inherit;
  font-size: 15px;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}

.page-news .tab:hover {
  color: var(--text-100);
  background: var(--ink-700);
}

.page-news .tab[aria-selected="true"] {
  border-left-color: var(--purple-500);
  background: rgba(123, 92, 255, .1);
  color: var(--purple-300);
}

.page-news .tab__index {
  font-size: 11px;
  letter-spacing: .12em;
  opacity: .65;
}

.page-news .tab__count {
  margin-left: auto;
  font-size: 12px;
  opacity: .7;
}

@media (max-width: 899px) {
  .page-news .feed-rail__label {
    margin-bottom: 10px;
  }

  .page-news .tablist {
    flex-direction: row;
    gap: 0;
    overflow-x: auto;
    border-bottom: 1px solid var(--ink-600);
    scrollbar-width: thin;
  }

  .page-news .tab {
    width: auto;
    border: 0;
    border-bottom: 2px solid transparent;
    padding: 12px 16px;
    font-size: 14px;
  }

  .page-news .tab[aria-selected="true"] {
    border-bottom-color: var(--purple-500);
    background: transparent;
  }

  .page-news .tab__count {
    margin-left: 6px;
  }

  .page-news .feed-rail__foot {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    align-items: baseline;
    margin-top: 16px;
  }

  .page-news .feed-rail__foot p {
    margin: 0;
  }
}

.page-news .feed-rail__foot {
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid var(--ink-600);
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-300);
}

.page-news .feed-rail__foot .mono {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--cyan-400);
}

.page-news .feed-rail__foot p {
  margin: 0;
}

.page-news .tab-panel {
  display: grid;
  gap: var(--news-card-gap);
}

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

.page-news .feed-item {
  position: relative;
  padding: 20px 22px 22px 26px;
  border: 1px solid var(--ink-600);
  background: var(--ink-800);
  transition: border-color .24s var(--ease), box-shadow .24s var(--ease);
}

.page-news .feed-item:hover {
  border-color: rgba(123, 92, 255, .55);
  box-shadow: inset 0 0 0 1px rgba(123, 92, 255, .16);
}

.page-news .feed-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 26px;
  width: 8px;
  height: 8px;
  background: var(--ink-900);
  border: 1px solid var(--purple-500);
  transform: rotate(45deg);
}

.page-news .feed-item__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 12px;
}

.page-news .feed-item__cat {
  letter-spacing: .12em;
  color: var(--purple-300);
}

.page-news .feed-item__time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: .1em;
  color: var(--cyan-400);
}

.page-news .feed-item__time::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--cyan-400);
  opacity: .6;
}

.page-news .feed-item__title {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--text-100);
}

.page-news .feed-item__summary {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-300);
}

.page-news .feed-item__more {
  margin-top: 14px;
}

.page-news .feed-item__cue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  list-style: none;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--purple-300);
  cursor: pointer;
}

.page-news .feed-item__cue::-webkit-details-marker {
  display: none;
}

.page-news .feed-item__cue::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--purple-500);
}

.page-news .feed-item__more[open] .feed-item__cue::after {
  content: "−";
}

.page-news .feed-item__full {
  margin-top: 6px;
  padding: 14px 0 0 16px;
  border-left: 1px solid var(--ink-600);
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-300);
}

.page-news .feed-item__full p {
  margin: 0;
}

.page-news .feed-figure {
  margin: 0;
  border: 1px solid var(--ink-600);
  background: var(--ink-800);
  overflow: hidden;
}

.page-news .feed-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-news .feed-figure figcaption {
  padding: 10px 16px;
  border-top: 1px solid var(--ink-600);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--text-300);
}

/* ---------- 专题系列 ---------- */
.page-news .news-series {
  padding: clamp(56px, 8vw, 100px) 0;
  border-top: 1px solid var(--ink-600);
  background: linear-gradient(180deg, rgba(79, 216, 232, .045), transparent 62%);
}

.page-news .series-head {
  display: grid;
  gap: clamp(24px, 3.4vw, 48px);
  margin-bottom: clamp(28px, 4vw, 44px);
}

.page-news .series-head__media {
  margin: 0;
  width: 100%;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--ink-600);
  background: var(--ink-800);
  overflow: hidden;
}

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

@media (min-width: 900px) {
  .page-news .series-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, .78fr);
    align-items: center;
  }
}

.page-news .series-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(272px, 80%);
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--ink-600) transparent;
}

.page-news .series-track::-webkit-scrollbar {
  height: 4px;
}

.page-news .series-track::-webkit-scrollbar-thumb {
  background: var(--ink-600);
}

.page-news .series-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--ink-600);
  background: var(--ink-800);
  scroll-snap-align: start;
  transition: border-color .24s var(--ease);
}

.page-news .series-card:hover {
  border-color: rgba(123, 92, 255, .55);
}

.page-news .series-card__index {
  margin: 0;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--cyan-400);
}

.page-news .series-card__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--text-100);
}

.page-news .series-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-300);
}

.page-news .series-card__foot {
  margin: auto 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--ink-600);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--purple-300);
}

@media (min-width: 900px) {
  .page-news .series-track {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow-x: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
  }
}

/* ---------- 回看与入口 ---------- */
.page-news .news-recall {
  padding: clamp(56px, 8vw, 100px) 0 clamp(72px, 9vw, 118px);
  border-top: 1px solid var(--ink-600);
}

.page-news .recall-panel {
  position: relative;
  padding: clamp(24px, 3.4vw, 48px);
  border: 1px solid var(--ink-600);
  background:
    linear-gradient(158deg, rgba(123, 92, 255, .1), transparent 52%),
    var(--ink-800);
}

.page-news .recall-panel::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 76px;
  height: 1px;
  background: var(--cyan-400);
}

.page-news .recall-panel__intro h2 {
  margin: 12px 0 0;
}

.page-news .recall-grid {
  display: grid;
  gap: 24px;
  margin-top: 30px;
}

.page-news .recall-item {
  padding-top: 16px;
  border-top: 1px solid var(--ink-600);
}

.page-news .recall-item__num {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--purple-300);
}

.page-news .recall-item h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--text-100);
}

.page-news .recall-item p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-300);
  word-break: break-word;
}

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

@media (min-width: 760px) {
  .page-news .recall-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .tab,
  .page-news .feed-item,
  .page-news .series-card {
    transition: none;
  }
}
