/* ===== 版本动态（page-news） ===== */
.page-news {
  --news-rail: 268px;
  --news-entry-bg: linear-gradient(158deg, rgba(28, 26, 69, .72), rgba(18, 18, 46, .94));
}

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

/* 首屏 */
.page-news .news-hero {
  padding-block: clamp(16px, 3.5vw, 30px) clamp(26px, 5vw, 46px);
}

.page-news .news-hero__grid {
  margin-top: 20px;
  row-gap: 30px;
  align-items: start;
}

.page-news .news-hero h1 {
  margin: 8px 0 14px;
  font-size: clamp(32px, 7.6vw, 54px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--text);
  text-shadow: 0 0 28px rgba(168, 85, 247, .42);
}

.page-news .news-hero__lede {
  max-width: 42ch;
}

.page-news .news-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.page-news .news-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.page-news .news-hero__figure .media-frame__caption {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
}

/* 本期提要 */
.page-news .news-brief {
  padding-block: clamp(24px, 5vw, 44px);
}

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

.page-news .brief-list li {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 18px 20px 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--news-entry-bg);
}

.page-news .brief-list li::before {
  content: "";
  position: absolute;
  inset: 16px auto 16px 0;
  width: 3px;
  border-radius: var(--pill);
  background: linear-gradient(180deg, var(--neon), rgba(45, 226, 230, .18));
}

.page-news .brief-no {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 500;
  line-height: 1;
  color: var(--gold);
}

.page-news .brief-item {
  display: grid;
  gap: 10px;
}

.page-news .brief-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
}

/* 条目流布局 */
.page-news .news-feed {
  padding-block: clamp(28px, 5vw, 54px);
  background: linear-gradient(180deg, rgba(28, 26, 69, .38), rgba(7, 7, 26, 0) 46%);
}

.page-news .news-layout {
  display: grid;
  gap: 28px;
}

.page-news .news-rail {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(18, 18, 46, .82);
}

.page-news .news-rail .rule {
  margin: 18px 0;
}

.page-news .news-chips {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding-bottom: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-news .news-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: rgba(18, 18, 46, .9);
  color: var(--muted);
  font: 600 13px/1 var(--font-sans);
  letter-spacing: .04em;
  cursor: pointer;
  transition: border-color .25s ease, color .25s ease, background .25s ease;
}

.page-news .news-chip .mono {
  font-size: 12px;
  color: var(--gold-soft);
}

.page-news .news-chip:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

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

.page-news .news-chip.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--neon), #6D28D9);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(192, 132, 252, .45), 0 12px 26px -16px rgba(168, 85, 247, .95);
}

.page-news .news-chip.is-active .mono {
  color: #fff;
}

.page-news .news-rail__count {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.page-news .news-rail__count .mono {
  color: var(--gold);
  font-size: 14px;
}

.page-news .news-rail__anchors {
  display: grid;
  gap: 4px;
}

.page-news .news-anchor {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 9px 10px;
  border-left: 2px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color .22s ease, background .22s ease, border-color .22s ease;
}

.page-news .news-anchor .mono {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--cyan);
}

.page-news .news-anchor:hover {
  color: var(--text);
  background: rgba(168, 85, 247, .12);
  border-left-color: var(--neon);
}

/* 每期分区 */
.page-news .news-stream {
  display: grid;
  gap: 42px;
  min-width: 0;
}

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

.page-news .issue__label {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--gold-soft);
}

.page-news .issue__note {
  font-size: 14px;
  color: var(--muted);
}

.page-news .issue__list {
  display: grid;
  gap: 16px;
}

/* 条目卡 */
.page-news .entry {
  position: relative;
  padding: 20px 20px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--news-entry-bg);
  transition: border-color .28s ease, box-shadow .28s ease;
}

.page-news .entry::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 22px;
  bottom: 22px;
  width: 2px;
  border-radius: var(--pill);
  background: linear-gradient(180deg, var(--neon), rgba(45, 226, 230, .3), rgba(45, 226, 230, 0));
  opacity: .68;
  transition: opacity .28s ease;
}

.page-news .entry:hover,
.page-news .entry:focus-within {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 1px rgba(192, 132, 252, .22), 0 24px 46px -32px rgba(168, 85, 247, .95);
}

.page-news .entry:hover::before,
.page-news .entry:focus-within::before {
  opacity: 1;
}

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

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

.page-news .entry__title {
  margin: 12px 0 8px;
  font-size: clamp(18px, 2.6vw, 22px);
  line-height: 1.35;
  color: var(--text);
}

.page-news .entry__title::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  margin-top: 10px;
  border-radius: var(--pill);
  background: linear-gradient(90deg, var(--cyan), rgba(45, 226, 230, 0));
  transition: width .3s ease;
}

.page-news .entry:hover .entry__title::after,
.page-news .entry:focus-within .entry__title::after {
  width: 120px;
}

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

.page-news .entry--featured .media-frame {
  margin-top: 16px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.page-news .entry--featured .media-frame__caption {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
}

/* 专题系列 */
.page-news .news-series {
  padding-block: clamp(30px, 5vw, 52px);
}

.page-news .news-series .grid-12 {
  margin-top: 22px;
  row-gap: 20px;
}

.page-news .series-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(28, 26, 69, .78), rgba(18, 18, 46, .95));
  transition: border-color .28s ease, box-shadow .28s ease;
}

.page-news .series-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 1px rgba(192, 132, 252, .2), 0 26px 48px -34px rgba(168, 85, 247, .95);
}

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

.page-news .series-card__title {
  margin: 0;
  font-size: clamp(19px, 2.4vw, 22px);
  line-height: 1.3;
  color: var(--text);
}

.page-news .series-card__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.page-news .series-card__meter {
  height: 6px;
  border-radius: var(--pill);
  background: rgba(169, 163, 207, .16);
  overflow: hidden;
}

.page-news .series-card__fill {
  display: block;
  height: 100%;
  border-radius: var(--pill);
  background: linear-gradient(90deg, var(--neon), var(--cyan));
}

.page-news .series-card--read .series-card__fill {
  width: 70%;
}

.page-news .series-card--room .series-card__fill {
  width: 82%;
}

.page-news .series-card__meter-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--gold-soft);
}

/* 回看与联系 */
.page-news .news-archive {
  padding-block: clamp(28px, 5vw, 52px) clamp(44px, 7vw, 76px);
}

.page-news .archive-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.page-news .archive-list .faq {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(18, 18, 46, .84);
  padding: 4px 18px;
}

.page-news .archive-links {
  display: grid;
  gap: 10px;
  margin: 12px 0 6px;
  padding: 0;
  list-style: none;
}

.page-news .archive-links li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.page-news .archive-links .mono {
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--cyan);
}

.page-news .news-archive__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* 平板及以上：左窄右宽双栏 */
@media (min-width: 980px) {
  .page-news .news-layout {
    grid-template-columns: var(--news-rail) minmax(0, 1fr);
    gap: 44px;
    align-items: start;
  }

  .page-news .news-rail {
    position: sticky;
    top: calc(var(--header-offset) + 18px);
  }

  .page-news .news-chips {
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    padding-bottom: 0;
  }

  .page-news .news-chip {
    justify-content: space-between;
    border-radius: var(--radius-sm);
  }
}

@media (min-width: 900px) {
  .page-news .brief-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-news .brief-list li {
    grid-template-columns: minmax(0, 1fr);
  }
}
