.page-news {
  --news-gap: clamp(14px, 2.4vw, 24px);
  --news-rail: 148px;
  --news-card: rgba(18, 70, 58, 0.42);
  background: var(--ink);
  color: var(--white);
  overflow-x: clip;
}

/* ---------- 首屏横向主题带 ---------- */
.page-news .news-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0E2A22;
  border-bottom-left-radius: var(--r-l);
  border-bottom-right-radius: var(--r-l);
}

.page-news .news-hero-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
}

.page-news .news-hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  background:
    linear-gradient(180deg, rgba(11, 15, 14, 0.28) 0%, rgba(11, 15, 14, 0.80) 58%, #0B0F0E 100%),
    radial-gradient(110% 82% at 84% 6%, rgba(41, 242, 200, 0.20), transparent 62%);
}

.page-news .news-hero-inner {
  position: relative;
  padding-top: clamp(22px, 5vw, 44px);
  padding-bottom: clamp(30px, 6vw, 62px);
}

.page-news .news-hero .breadcrumbs {
  margin-bottom: clamp(18px, 4vw, 34px);
}

.page-news .news-hero-title {
  margin: 10px 0 16px;
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--white);
}

.page-news .news-hero-lede {
  max-width: 58ch;
  margin: 0;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.78;
  color: var(--mist);
}

.page-news .news-ribbon {
  margin-top: clamp(26px, 5vw, 46px);
  border-top: 1px solid var(--line);
}

.page-news .news-ribbon-list {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 12px 0 2px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-news .news-ribbon-list::-webkit-scrollbar {
  display: none;
}

.page-news .news-ribbon a {
  display: inline-block;
  padding: 9px 14px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--silver);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.page-news .news-ribbon a:hover,
.page-news .news-ribbon a:focus-visible,
.page-news .news-ribbon a.is-active {
  color: var(--ink);
  background: var(--neon);
  border-color: var(--neon);
}

/* ---------- 通用章节头 ---------- */
.page-news .news-lines,
.page-news .news-feed,
.page-news .news-insight,
.page-news .news-contribute,
.page-news .news-subscribe {
  padding: clamp(46px, 7vw, 96px) 0;
}

.page-news .section-head {
  max-width: 64ch;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.page-news .section-title {
  margin: 10px 0 0;
}

.page-news .section-lede {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--silver);
}

/* ---------- 三条线索 ---------- */
.page-news .news-lines {
  background: linear-gradient(180deg, var(--ink) 0%, #0E2A22 46%, var(--ink) 100%);
}

.page-news .lines-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--news-gap);
}

.page-news .line-card {
  position: relative;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: linear-gradient(200deg, rgba(18, 70, 58, 0.52), rgba(11, 15, 14, 0.72));
  overflow: hidden;
}

.page-news .line-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41, 242, 200, 0.16), transparent 70%);
  pointer-events: none;
}

.page-news .line-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--neon);
}

.page-news .line-title {
  margin: 10px 0 12px;
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--white);
}

.page-news .line-card p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--silver);
}

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

.page-news .line-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--amber);
}

/* ---------- 最新条目 ---------- */
.page-news .news-feed {
  background: var(--ink);
}

.page-news .news-filter {
  margin-top: clamp(8px, 2vw, 16px);
}

.page-news .news-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(16px, 3vw, 26px);
}

.page-news .news-filter .tab-panel {
  display: none;
}

.page-news .news-filter .tab-panel.is-active {
  display: block;
}

.page-news .entry {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: clamp(18px, 3vw, 26px) 0;
  border-top: 1px solid var(--line);
  transition: background-color 0.24s ease;
}

.page-news .entry:last-of-type {
  border-bottom: 1px solid var(--line);
}

.page-news .entry-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.page-news .entry-tag {
  padding: 3px 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--neon);
  white-space: nowrap;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.page-news .entry-time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--amber);
}

.page-news .entry-round {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--silver);
}

.page-news .entry-main {
  position: relative;
}

.page-news .entry-title {
  margin: 0 0 8px;
  font-size: clamp(17px, 2.2vw, 23px);
  font-weight: 500;
  line-height: 1.44;
  color: var(--white);
}

.page-news .entry-sum {
  margin: 0;
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.72;
  color: var(--silver);
}

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

.page-news .entry-figure {
  margin: 0;
}

.page-news .entry-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 12 / 7;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
}

.page-news .news-feed-foot {
  margin: clamp(24px, 4vw, 36px) 0 0;
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--silver);
}

.page-news .news-feed-foot a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 专题书架 ---------- */
.page-news .news-shelf {
  padding: clamp(46px, 7vw, 96px) 0;
  background:
    linear-gradient(196deg, rgba(18, 70, 58, 0.62) 0%, rgba(11, 15, 14, 0.96) 62%),
    var(--ink);
  border-top-left-radius: var(--r-l);
  border-bottom-right-radius: var(--r-l);
}

.page-news .shelf-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--news-gap);
}

.page-news .shelf-card {
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--news-card);
}

.page-news .shelf-card summary {
  list-style: none;
  cursor: pointer;
}

.page-news .shelf-card summary::-webkit-details-marker {
  display: none;
}

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

.page-news .shelf-head::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--neon);
}

.page-news .shelf-card[open] .shelf-head::after {
  content: "–";
}

.page-news .shelf-name {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--white);
}

.page-news .shelf-count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--amber);
}

.page-news .shelf-list {
  margin: 16px 0 0;
  padding-left: 18px;
  list-style: disc;
}

.page-news .shelf-list li {
  margin-bottom: 9px;
  font-size: 14px;
  line-height: 1.68;
  color: var(--mist);
}

.page-news .shelf-list li:last-child {
  margin-bottom: 0;
}

.page-news .shelf-card--cover {
  padding: 0;
  overflow: hidden;
  border-color: var(--line-strong);
}

.page-news .shelf-card--cover img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.page-news .shelf-cover-note {
  margin: 0;
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--silver);
  background: rgba(11, 15, 14, 0.7);
}

/* ---------- 编辑推荐与名次变化 ---------- */
.page-news .news-insight {
  background: var(--ink);
}

.page-news .insight-grid {
  align-items: start;
  gap: clamp(26px, 4vw, 52px);
}

.page-news .insight-figure {
  margin: clamp(18px, 3vw, 26px) 0 0;
}

.page-news .insight-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
}

.page-news .insight-note {
  margin: 18px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--mist);
}

.page-news .insight-move {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-m);
  background: linear-gradient(168deg, rgba(18, 70, 58, 0.5), rgba(11, 15, 14, 0.85));
}

.page-news .move-lede {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--silver);
}

.page-news .move-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.page-news .move-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.page-news .move-label {
  font-size: 14px;
  color: var(--mist);
}

.page-news .move-track {
  grid-column: 1 / -1;
  grid-row: 2;
  display: block;
  height: 6px;
  border-radius: 999px;
  background: rgba(159, 176, 172, 0.16);
  overflow: hidden;
}

.page-news .move-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.page-news .move-fill--up {
  width: 62%;
  background: linear-gradient(90deg, rgba(41, 242, 200, 0.3), var(--neon));
}

.page-news .move-fill--down {
  width: 42%;
  background: linear-gradient(90deg, rgba(255, 106, 43, 0.3), var(--orange));
}

.page-news .move-fill--swap {
  width: 100%;
  background: linear-gradient(90deg, rgba(76, 211, 255, 0.3), var(--blue));
}

.page-news .move-value {
  font-family: var(--font-mono);
  font-size: 20px;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}

/* ---------- 线索与指正 ---------- */
.page-news .news-contribute {
  padding-top: 0;
  background: var(--ink);
}

.page-news .contribute-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 4vw, 48px);
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-l);
  background:
    radial-gradient(120% 90% at 92% 0%, rgba(255, 106, 43, 0.16), transparent 58%),
    linear-gradient(170deg, rgba(18, 70, 58, 0.5), rgba(11, 15, 14, 0.9));
}

.page-news .contribute-copy p {
  margin: 14px 0 0;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--mist);
}

.page-news .contribute-ways {
  margin: 0;
  display: grid;
  gap: 14px;
}

.page-news .contribute-way {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.page-news .contribute-way:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-news .contribute-way dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--silver);
}

.page-news .contribute-way dd {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--white);
  word-break: break-word;
}

/* ---------- 订阅入口 ---------- */
.page-news .news-subscribe {
  padding-top: 0;
  background: var(--ink);
}

.page-news .subscribe-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  padding: clamp(24px, 4vw, 46px);
  border-radius: var(--r-l);
  border: 1px solid var(--line);
  background: linear-gradient(140deg, rgba(18, 70, 58, 0.62), rgba(11, 15, 14, 0.94));
}

.page-news .subscribe-copy p {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--mist);
}

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

.page-news .subscribe-actions .btn {
  text-decoration: none;
}

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

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

  .page-news .shelf-card--wide {
    grid-column: span 4;
  }

  .page-news .shelf-card--narrow {
    grid-column: span 2;
  }

  .page-news .shelf-card--cover {
    grid-column: span 2;
  }

  .page-news .contribute-card {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }

  .page-news .subscribe-panel {
    grid-template-columns: minmax(0, 1.6fr) auto;
  }
}

@media (min-width: 820px) {
  .page-news .entry {
    grid-template-columns: var(--news-rail) minmax(0, 1fr);
    gap: clamp(18px, 3vw, 40px);
    padding: clamp(22px, 3vw, 30px) clamp(10px, 1.6vw, 18px);
  }

  .page-news .entry:hover,
  .page-news .entry:focus-within {
    background: rgba(41, 242, 200, 0.05);
  }

  .page-news .entry-rail {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }

  .page-news .entry-hover {
    display: block;
    position: absolute;
    right: 0;
    bottom: -2px;
    z-index: 2;
    padding: 9px 14px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    white-space: nowrap;
    color: var(--blue);
    background: rgba(11, 15, 14, 0.95);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-s);
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .page-news .entry:hover .entry-hover,
  .page-news .entry:focus-within .entry-hover {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1000px) {
  .page-news .entry--lead {
    grid-template-columns: var(--news-rail) minmax(0, 1fr) minmax(240px, 360px);
    align-items: center;
  }

  .page-news .entry--lead .entry-hover {
    right: auto;
    left: 0;
    bottom: -6px;
  }

  .page-news .insight-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .entry-hover,
  .page-news .news-ribbon a {
    transition: none;
  }
}
