.page-news {
  --news-cut: 22px;
  --cat-recap: var(--signal);
  --cat-transfer: var(--amber);
  --cat-preview: var(--cyan);
  --cat-clip: var(--cinnabar);
  background: var(--ink-900);
  color: var(--fog);
  padding-bottom: clamp(40px, 6vw, 80px);
  overflow-x: clip;
}

.page-news .breadcrumb {
  margin: clamp(16px, 3vw, 28px) 0 0;
  font-size: 13px;
}

.page-news .section-title {
  font-family: var(--font-display);
  line-height: 1.04;
  letter-spacing: 0.01em;
}

.page-news .link-underline {
  color: var(--signal);
}

/* ---------- 首屏 ---------- */
.news-head {
  padding: clamp(18px, 4vw, 34px) 0 clamp(26px, 5vw, 52px);
}

.news-head__grid {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
}

.news-head h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6.4vw, 74px);
  line-height: 0.98;
  font-weight: 700;
  margin: 14px 0 18px;
  max-width: 16ch;
  text-wrap: balance;
}

.news-head__lede .section-lead {
  max-width: 48ch;
}

.news-head__lede .actions {
  margin-top: 22px;
}

.news-head__board {
  position: relative;
  padding: 20px 18px 16px;
  background: linear-gradient(162deg, var(--ink-700), var(--ink-800) 62%, var(--ink-900));
  border: 2px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-hard-sm);
}

.news-head__board::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 74px;
  height: 4px;
  background: linear-gradient(90deg, var(--signal), var(--cyan));
}

.board-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.board-list li {
  display: grid;
  grid-template-columns: 4.4ch minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line-soft);
}

.board-list li:last-child {
  border-bottom: 0;
}

.board-num {
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1;
  color: var(--signal);
}

.board-list li:nth-child(2) .board-num {
  color: var(--amber);
}

.board-list li:nth-child(3) .board-num {
  color: var(--cyan);
}

.board-list li:nth-child(4) .board-num {
  color: var(--fog);
}

.board-label {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ice);
}

/* ---------- 通用图片框 ---------- */
.news-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ink-700);
  border-bottom: 2px solid var(--line-soft);
}

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

.news-figure__tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 10px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--cyan);
  background: rgba(6, 19, 31, 0.84);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
}

/* ---------- 编辑台精选 ---------- */
.feature__grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 22px);
}

.pick {
  display: flex;
  flex-direction: column;
  background: var(--ink-800);
  border: 2px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.pick:hover,
.pick:focus-within {
  transform: translateY(-4px);
  border-color: var(--signal);
  box-shadow: var(--shadow-hard);
}

.pick__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 20px;
  flex: 1;
}

.pick--text .pick__body {
  justify-content: center;
  padding: 24px 20px;
}

.pick__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 12px;
  color: var(--ice);
  letter-spacing: 0.04em;
}

.pick__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.4vw, 34px);
  line-height: 1.14;
  font-weight: 700;
  margin: 0;
}

.pick--lead .pick__title {
  font-size: clamp(26px, 4.4vw, 46px);
  line-height: 1.06;
}

.pick__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ice);
}

.pick__foot {
  margin: auto 0 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ice);
}

.pick--lead .news-figure {
  aspect-ratio: 16 / 10;
}

.news-figure--side {
  aspect-ratio: 10 / 7;
}

/* ---------- 栏目索引 ---------- */
.cat-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
  margin-bottom: clamp(20px, 3vw, 30px);
}

.cat-card {
  --cat-color: var(--ice);
  position: relative;
  padding: 18px 18px 20px;
  background: var(--ink-800);
  border: 2px solid var(--line-soft);
  border-left: 6px solid var(--cat-color);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.cat-card:hover {
  background: var(--ink-700);
  border-color: var(--line-strong);
  border-left-color: var(--cat-color);
}

.cat-card--recap { --cat-color: var(--cat-recap); }
.cat-card--transfer { --cat-color: var(--cat-transfer); }
.cat-card--preview { --cat-color: var(--cat-preview); }
.cat-card--clip { --cat-color: var(--cat-clip); }

.cat-card__freq {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--cat-color);
}

.cat-card__title {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.1;
  margin: 0 0 8px;
}

.cat-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--ice);
}

.news-figure--banner {
  aspect-ratio: 2 / 1;
  border: 2px solid var(--line);
  border-radius: var(--radius-card);
}

/* ---------- 最新条目 ---------- */
.filter-board {
  position: relative;
}

.filter-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  opacity: 0;
  overflow: hidden;
  clip-path: inset(50%);
}

.filter-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  margin-bottom: 12px;
  scrollbar-width: thin;
}

.filter-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 14px;
  line-height: 1;
  color: var(--fog);
  background: var(--ink-800);
  border: 2px solid var(--line-strong);
  border-radius: var(--capsule);
  cursor: pointer;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.filter-tab .mono {
  font-size: 11px;
  color: var(--ice);
}

.filter-tab:hover {
  border-color: var(--signal);
}

.page-news #nf-all:checked ~ .filter-tabs [for="nf-all"],
.page-news #nf-recap:checked ~ .filter-tabs [for="nf-recap"],
.page-news #nf-transfer:checked ~ .filter-tabs [for="nf-transfer"],
.page-news #nf-preview:checked ~ .filter-tabs [for="nf-preview"],
.page-news #nf-clip:checked ~ .filter-tabs [for="nf-clip"] {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--well);
  box-shadow: var(--shadow-hard-sm);
}

.page-news #nf-all:checked ~ .filter-tabs [for="nf-all"] .mono,
.page-news #nf-recap:checked ~ .filter-tabs [for="nf-recap"] .mono,
.page-news #nf-transfer:checked ~ .filter-tabs [for="nf-transfer"] .mono,
.page-news #nf-preview:checked ~ .filter-tabs [for="nf-preview"] .mono,
.page-news #nf-clip:checked ~ .filter-tabs [for="nf-clip"] .mono {
  color: var(--well);
}

.page-news #nf-all:focus-visible ~ .filter-tabs [for="nf-all"],
.page-news #nf-recap:focus-visible ~ .filter-tabs [for="nf-recap"],
.page-news #nf-transfer:focus-visible ~ .filter-tabs [for="nf-transfer"],
.page-news #nf-preview:focus-visible ~ .filter-tabs [for="nf-preview"],
.page-news #nf-clip:focus-visible ~ .filter-tabs [for="nf-clip"] {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-news #nf-recap:checked ~ .news-list .news-row:not(.cat-recap),
.page-news #nf-transfer:checked ~ .news-list .news-row:not(.cat-transfer),
.page-news #nf-preview:checked ~ .news-list .news-row:not(.cat-preview),
.page-news #nf-clip:checked ~ .news-list .news-row:not(.cat-clip) {
  display: none;
}

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

.news-row {
  --row-color: var(--ice);
  display: grid;
  gap: 6px 20px;
  padding: 12px 16px 14px 16px;
  background: var(--ink-800);
  border: 2px solid var(--line-soft);
  border-left: 6px solid var(--row-color);
  border-radius: 0 10px 10px 0;
  transition: border-left-color 0.18s var(--ease), background 0.18s var(--ease), transform 0.18s var(--ease);
}

.news-row:hover {
  border-left-color: var(--signal);
  background: var(--ink-700);
}

.news-row.cat-recap { --row-color: var(--cat-recap); }
.news-row.cat-transfer { --row-color: var(--cat-transfer); }
.news-row.cat-preview { --row-color: var(--cat-preview); }
.news-row.cat-clip { --row-color: var(--cat-clip); }

.row-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.row-time {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ice);
}

.row-title {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.5vw, 25px);
  line-height: 1.22;
  font-weight: 600;
  margin: 0;
}

.row-details {
  margin-top: 4px;
}

.row-details summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ice);
  transition: color 0.16s var(--ease);
}

.row-details summary::-webkit-details-marker {
  display: none;
}

.row-details summary::after {
  content: "+";
  font-size: 13px;
  color: var(--signal);
}

.row-details[open] summary::after {
  content: "–";
}

.row-details summary:hover {
  color: var(--signal);
}

.row-details p {
  margin: 8px 0 2px;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ice);
}

.page-news .tag--clip {
  color: var(--cinnabar);
  border-color: rgba(192, 85, 63, 0.55);
  background: rgba(192, 85, 63, 0.12);
}

/* ---------- 专题系列 ---------- */
.series-grid {
  display: grid;
  gap: clamp(14px, 2.2vw, 20px);
}

.series-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 20px;
  background: var(--ink-800);
  border: 2px solid var(--line);
  border-radius: var(--radius-card);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--news-cut)), calc(100% - var(--news-cut)) 100%, 0 100%);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.series-card:hover {
  background: var(--ink-700);
  border-color: var(--line-strong);
}

.series-card__num {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--signal);
}

.series-card__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.12;
  margin: 0;
}

.series-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--ice);
}

.series-card__count {
  margin: auto 0 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--amber);
  opacity: 0.6;
  transition: opacity 0.18s var(--ease), color 0.18s var(--ease);
}

.series-card:hover .series-card__count,
.series-card:focus-within .series-card__count {
  opacity: 1;
  color: var(--signal);
}

.series-card__link {
  font-size: 14px;
}

.news-figure--card {
  margin-top: 8px;
  aspect-ratio: 16 / 9;
  border: 2px solid var(--line-soft);
  border-radius: 8px;
}

/* ---------- 作者与节奏 ---------- */
.desk-grid {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
}

.desk-text {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ice);
  max-width: 52ch;
}

.desk-facts {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 1px;
}

.desk-facts li {
  display: grid;
  grid-template-columns: 8.5ch minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ice);
  border-top: 1px solid var(--line-soft);
}

.desk-facts .mono {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fog);
}

.desk-link {
  margin: 0;
  font-size: 14px;
}

.desk-panel {
  padding: 22px 20px;
  background: var(--ink-800);
  border: 2px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-hard-sm);
}

.desk-bar {
  margin-top: 16px;
}

.desk-bar__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0;
  font-size: 13px;
  color: var(--fog);
}

.desk-bar__head .mono {
  font-size: 12px;
  color: var(--signal);
}

.desk-bar--amber .desk-bar__head .mono {
  color: var(--amber);
}

.page-news .desk-meter {
  display: block;
  width: 100%;
  height: 10px;
  margin-top: 8px;
  background: rgba(158, 174, 207, 0.16);
  border-radius: 999px;
  overflow: hidden;
}

.page-news .desk-meter .desk-meter__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--signal), var(--cyan));
}

.page-news .desk-bar--amber .desk-meter .desk-meter__fill {
  background: linear-gradient(90deg, var(--amber), var(--cinnabar));
}

.desk-note {
  margin: 20px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line-soft);
  font-size: 13px;
  line-height: 1.75;
  color: var(--ice);
}

/* ---------- 订阅 ---------- */
.sub-cta {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 4vw, 34px);
  background:
    radial-gradient(circle at 88% 0%, rgba(53, 224, 140, 0.16), transparent 58%),
    linear-gradient(148deg, var(--ink-700), var(--ink-800));
  border: 2px solid var(--line-strong);
  border-left: 8px solid var(--amber);
  border-radius: var(--radius-card);
}

.sub-cta__body .section-title {
  margin: 10px 0 12px;
  max-width: 20ch;
}

.sub-cta__body p:last-child {
  margin: 0;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ice);
}

.sub-cta__actions {
  align-self: center;
}

/* ---------- 响应式 ---------- */
@media (min-width: 760px) {
  .news-row {
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: start;
    padding: 14px 20px 14px 18px;
  }

  .row-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-top: 2px;
  }

  .series-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  .sub-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 900px) {
  .news-head__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
  }

  .feature__grid {
    grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: stretch;
  }

  .pick--lead {
    grid-row: span 2;
  }

  .desk-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }
}

@media (max-width: 420px) {
  .board-list li {
    grid-template-columns: 3.6ch minmax(0, 1fr);
    gap: 10px;
  }

  .desk-facts li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .news-figure__tag {
    font-size: 10px;
    padding: 4px 8px;
  }
}
