.page-news {
  --news-pad: clamp(16px, 3.4vw, 32px);
  --news-rule: rgba(127, 212, 240, 0.10);
  --news-rule-strong: rgba(127, 212, 240, 0.32);
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
}

.page-news .num {
  font-family: var(--ff-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.page-news .section-index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ice-light);
}

.page-news .section-index::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--neon);
  flex: 0 0 auto;
}

/* ---------- 首屏：专题横幅 + 筛选条 ---------- */

.page-news .news-hero {
  position: relative;
  padding: clamp(24px, 4.5vw, 56px) 0 clamp(20px, 3vw, 34px);
  background-image:
    repeating-linear-gradient(90deg, var(--news-rule) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, var(--news-rule) 0 1px, transparent 1px 72px);
  border-bottom: 2px solid var(--line-strong);
}

.page-news .news-hero__shell {
  display: grid;
  margin-top: clamp(14px, 2vw, 22px);
  border: 2px solid var(--line-strong);
  background: var(--bg-alt);
  box-shadow: 10px 10px 0 rgba(182, 255, 60, 0.10);
  overflow: hidden;
}

.page-news .news-hero__lead {
  padding: var(--news-pad);
  border-bottom: 2px solid var(--line-strong);
  min-width: 0;
}

.page-news .news-hero__lead .label-mono {
  display: block;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--neon);
}

.page-news .news-hero h1 {
  margin: 12px 0 0;
  font-family: var(--ff-display);
  font-size: clamp(1.7rem, 4.4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ice-white);
}

.page-news .news-hero__deck {
  margin: 16px 0 0;
  max-width: 48ch;
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--fg-mute);
}

.page-news .news-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 18px;
}

.page-news .news-hero__stamp {
  font-size: 12px;
  color: var(--steel);
}

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

.page-news .news-hero__media {
  position: relative;
  margin: 0;
  min-height: 190px;
  background: linear-gradient(155deg, var(--ice-mid), var(--ice-abyss));
}

.page-news .news-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 190px;
  max-width: 100%;
  object-fit: cover;
  opacity: 0.74;
}

.page-news .news-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: clamp(16px, 2.5vw, 24px);
  padding: 12px;
  border: 2px solid var(--line-strong);
  background: rgba(11, 34, 55, 0.82);
}

.page-news .pill {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border: 2px solid var(--line);
  border-radius: 2px;
  color: var(--steel);
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  transition: color var(--dur) linear, border-color var(--dur) linear;
}

.page-news .pill:hover,
.page-news .pill:focus-visible {
  color: var(--ice-white);
  border-color: var(--line-strong);
  outline: none;
}

.page-news .pill.is-active {
  border-color: var(--neon);
  color: var(--neon);
}

.page-news .news-filter__note {
  margin-left: auto;
  font-size: 12px;
  color: var(--steel);
}

/* ---------- 通用分区 ---------- */

.page-news .news-section {
  padding: clamp(34px, 6vw, 72px) 0;
  border-bottom: 1px solid var(--news-rule);
}

.page-news .news-section--alt {
  background: var(--bg-alt);
}

.page-news .news-section--band {
  background: linear-gradient(180deg, var(--ice-deep), var(--bg));
  border-top: 2px solid var(--line-strong);
}

.page-news .news-section__head {
  max-width: 720px;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.page-news .news-section h2 {
  margin: 10px 0 0;
  font-family: var(--ff-display);
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ice-white);
}

.page-news .news-section__lead {
  margin: 12px 0 0;
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--fg-mute);
}

/* ---------- 动态列表 ---------- */

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

.page-news .news-item {
  border-bottom: 1px solid var(--news-rule);
  min-width: 0;
}

.page-news .news-item:nth-child(even) {
  background: rgba(11, 34, 55, 0.58);
}

.page-news .news-item > details {
  min-width: 0;
}

.page-news .news-item > details[open] {
  background: rgba(18, 58, 87, 0.40);
}

.page-news .news-item__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px 14px;
  padding: 16px var(--news-pad);
  cursor: pointer;
  list-style: none;
}

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

.page-news .news-item__head::marker {
  content: "";
}

.page-news .news-item__head:hover .news-item__title {
  color: var(--ice-light);
}

.page-news .news-item__cat {
  flex: 0 0 56px;
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 2px;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.page-news .news-item__cat.is-league {
  background: var(--ice-bright);
  color: var(--ice-white);
}

.page-news .news-item__cat.is-product {
  background: var(--neon);
  color: var(--ice-abyss);
}

.page-news .news-item__cat.is-data {
  background: var(--orange);
  color: var(--ice-white);
}

.page-news .news-item__cat.is-topic {
  background: var(--ice-light);
  color: var(--ice-abyss);
}

.page-news .news-item__main {
  flex: 1 1 210px;
  min-width: 0;
  display: block;
}

.page-news .news-item__title {
  display: block;
  font-size: clamp(15px, 1.05vw + 12px, 17px);
  font-weight: 700;
  line-height: 1.45;
  color: var(--ice-white);
  transition: color var(--dur) linear;
}

.page-news .news-item > details[open] .news-item__title {
  color: var(--neon);
}

.page-news .news-item__sum {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-mute);
}

.page-news .news-item__time {
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 12px;
  color: var(--orange);
  text-align: right;
  white-space: nowrap;
}

.page-news .news-item__more {
  padding: 0 var(--news-pad) 22px;
  animation: news-reveal 200ms linear both;
}

.page-news .news-item__more p {
  margin: 0 0 1em;
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ice-pale);
}

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

.page-news .news-item__more a {
  color: var(--ice-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-news .news-item__figure {
  margin: 16px 0 0;
  max-width: 100%;
  border: 2px solid var(--line-strong);
  background: var(--bg);
}

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

@keyframes news-reveal {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 分类与归档 ---------- */

.page-news .archive-grid {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
}

.page-news .cat-list {
  display: grid;
  align-content: start;
  border-top: 2px solid var(--line-strong);
}

.page-news .cat-row {
  padding: 16px 0 16px 16px;
  border-bottom: 1px solid var(--news-rule);
  border-left: 4px solid var(--ice-mid);
}

.page-news .cat-row.is-league {
  border-left-color: var(--ice-bright);
}

.page-news .cat-row.is-product {
  border-left-color: var(--neon);
}

.page-news .cat-row.is-data {
  border-left-color: var(--orange);
}

.page-news .cat-row.is-topic {
  border-left-color: var(--ice-light);
}

.page-news .cat-row h3 {
  margin: 0;
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: 1.3;
  color: var(--ice-white);
}

.page-news .cat-row__meta {
  margin: 8px 0 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--neon);
  font-family: var(--ff-mono);
}

.page-news .cat-row__desc {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-mute);
}

.page-news .quarter-list {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
}

.page-news .quarter {
  border: 2px solid var(--line-strong);
  background: var(--bg);
  min-width: 0;
}

.page-news .quarter summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--ice-white);
}

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

.page-news .quarter summary .num {
  font-size: 12px;
  font-weight: 400;
  color: var(--steel);
}

.page-news .quarter[open] summary {
  border-bottom: 1px solid var(--news-rule);
  color: var(--neon);
}

.page-news .quarter ul {
  list-style: none;
  margin: 0;
  padding: 12px 16px 16px;
  display: grid;
  gap: 8px;
}

.page-news .quarter li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-mute);
}

.page-news .quarter li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 6px;
  height: 2px;
  background: var(--ice-light);
}

/* ---------- 更新节奏 ---------- */

.page-news .cadence-grid {
  display: grid;
  gap: 2px;
  background: var(--line-strong);
  border: 2px solid var(--line-strong);
}

.page-news .cadence-card {
  padding: 20px clamp(16px, 2.4vw, 24px);
  background: var(--bg-alt);
  min-width: 0;
}

.page-news .cadence-card__cycle {
  margin: 0;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--steel);
}

.page-news .cadence-card__big {
  margin: 12px 0 10px;
  font-family: var(--ff-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--neon);
}

.page-news .cadence-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-mute);
}

/* ---------- 线索与纠错 ---------- */

.page-news .feedback-panel {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  padding: clamp(20px, 3vw, 32px);
  border: 2px solid var(--line-strong);
  border-left: 6px solid var(--orange);
  background: rgba(11, 34, 55, 0.72);
  box-shadow: 8px 8px 0 rgba(255, 90, 43, 0.12);
}

.page-news .feedback-panel__lead {
  min-width: 0;
}

.page-news .feedback-panel h2 {
  margin: 10px 0 0;
  font-family: var(--ff-display);
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ice-white);
}

.page-news .feedback-panel__desc {
  margin: 14px 0 0;
  max-width: 56ch;
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--fg-mute);
}

.page-news .feedback-panel .btn {
  margin-top: 22px;
}

.page-news .priority-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
}

.page-news .priority-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-mute);
}

.page-news .priority-list .num {
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 700;
  color: var(--orange);
  white-space: nowrap;
}

/* ---------- 响应式 ---------- */

@media (min-width: 640px) {
  .page-news .cadence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .page-news .news-item__head {
    padding: 20px 28px;
    gap: 12px 22px;
  }

  .page-news .news-item__cat {
    flex: 0 0 80px;
    min-height: 52px;
    font-size: 12px;
  }

  .page-news .news-item__main {
    flex: 1 1 auto;
  }

  .page-news .news-item__time {
    flex: 0 0 112px;
  }

  .page-news .news-item__more {
    padding: 0 28px 24px 136px;
  }

  .page-news .news-item__figure {
    max-width: 560px;
  }
}

@media (min-width: 900px) {
  .page-news .news-hero__shell {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }

  .page-news .news-hero__lead {
    border-bottom: 0;
    border-right: 2px solid var(--line-strong);
    padding: clamp(24px, 3vw, 44px);
  }

  .page-news .news-hero__media {
    min-height: 100%;
  }

  .page-news .news-hero__media img {
    min-height: 100%;
    height: 100%;
  }

  .page-news .archive-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .page-news .feedback-panel {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
  }
}

@media (min-width: 1080px) {
  .page-news .cadence-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

  .page-news .pill,
  .page-news .news-item__title {
    transition: none;
  }
}
