.page-news {
  --news-hair: rgba(42, 62, 112, 0.62);
  --news-hair-soft: rgba(42, 62, 112, 0.38);
  --news-panel: rgba(22, 38, 79, 0.72);
  background:
    radial-gradient(1100px 520px at 88% -8%, rgba(138, 92, 255, 0.14), transparent 62%),
    radial-gradient(820px 460px at -6% 6%, rgba(200, 255, 61, 0.07), transparent 60%);
  overflow-x: clip;
}

.page-news .news-hero {
  padding: clamp(20px, 3.4vw, 40px) 0 clamp(30px, 4.6vw, 60px);
}

.page-news .news-hero__grid {
  position: relative;
  display: grid;
  gap: clamp(20px, 3vw, 40px);
  margin-top: 18px;
  padding: clamp(20px, 3.4vw, 44px);
  border: 1px solid var(--ink-600);
  background:
    linear-gradient(140deg, rgba(14, 27, 60, 0.92) 0%, rgba(7, 14, 34, 0.55) 62%),
    repeating-linear-gradient(-6deg, rgba(42, 62, 112, 0.16) 0 1px, transparent 1px 14px);
}

.page-news .news-hero__grid::before,
.page-news .news-hero__grid::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  pointer-events: none;
}

.page-news .news-hero__grid::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}

.page-news .news-hero__grid::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
}

.page-news .news-hero__text {
  min-width: 0;
}

.page-news .news-hero h1 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 6.2vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink-050);
}

.page-news .news-hero__lede {
  max-width: 62ch;
  margin: 18px 0 0;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.82;
  color: var(--ink-300);
}

.page-news .news-hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 1px;
  align-self: start;
  background: var(--ink-600);
  border: 1px solid var(--ink-600);
}

.page-news .stat-cell {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 12px;
  background: var(--ink-900);
}

.page-news .stat-cell__num {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--accent);
}

.page-news .stat-cell__label {
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--ink-300);
}

/* ---------- 定位条 ---------- */

.page-news .filter-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  background: rgba(7, 14, 34, 0.94);
  border-top: 1px solid var(--ink-600);
  border-bottom: 1px solid var(--ink-600);
}

.page-news .filter-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.page-news .filter-bar__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.page-news .filter-bar__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-500);
}

.page-news .chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--ink-600);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-300);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.page-news .chip:hover {
  border-color: var(--accent-dim);
  color: var(--ink-050);
}

.page-news .chip.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink-900);
  font-weight: 700;
}

.page-news .chip--hot {
  font-size: 14px;
  padding: 7px 18px;
  border-color: var(--accent-dim);
  color: var(--ink-050);
}

.page-news .chip--stage {
  border-style: dashed;
}

/* ---------- 头条 ---------- */

.page-news .news-lead {
  padding-top: clamp(36px, 5vw, 72px);
}

.page-news .lead-grid {
  display: grid;
  gap: 14px;
  margin-top: clamp(20px, 3vw, 34px);
}

.page-news .lead-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--ink-600);
  background: var(--news-panel);
  overflow: hidden;
}

.page-news .lead-card--major {
  justify-content: flex-end;
  min-height: 340px;
  isolation: isolate;
}

.page-news .lead-card--major .lead-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-news .lead-card--major .lead-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.page-news .lead-card--major::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(7, 14, 34, 0.96) 18%, rgba(7, 14, 34, 0.26) 68%, rgba(7, 14, 34, 0.1));
  pointer-events: none;
}

.page-news .lead-card--major::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  border-width: 0 96px 96px 0;
  border-style: solid;
  border-color: transparent var(--accent) transparent transparent;
  pointer-events: none;
}

.page-news .lead-card__body {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.6vw, 32px);
}

.page-news .lead-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 29px);
  line-height: 1.26;
  letter-spacing: -0.01em;
  color: var(--ink-050);
}

.page-news .lead-card__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--ink-300);
}

.page-news .lead-card__meta {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-500);
}

.page-news .lead-card--minor {
  gap: 10px;
  padding: clamp(18px, 2.2vw, 24px);
  justify-content: flex-start;
}

.page-news .lead-card--minor .lead-card__title {
  font-size: clamp(17px, 1.7vw, 21px);
}

/* ---------- 阶段列表 ---------- */

.page-news .news-stream {
  padding-top: clamp(38px, 5vw, 76px);
}

.page-news .stage-group {
  display: grid;
  gap: 12px;
  padding: 24px 0;
  border-top: 1px solid var(--news-hair-soft);
}

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

.page-news .stage-group__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(200, 255, 61, 0.14);
}

.page-news .stage-group__name {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-050);
}

.page-news .stage-group__count {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-500);
}

.page-news .stage-group__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.page-news .stream-item {
  position: relative;
  padding: 16px 0;
  border-bottom: 1px dashed var(--news-hair-soft);
  min-width: 0;
}

.page-news .stream-item:last-child {
  border-bottom: 0;
}

.page-news .stream-item__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.page-news .stream-item__cat {
  padding: 2px 9px;
  border: 1px solid var(--ink-600);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-300);
}

.page-news .stream-item__code {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-500);
}

.page-news .stream-item__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--ink-050);
}

.page-news .stream-item__desc {
  margin: 8px 0 0;
  max-width: 68ch;
  font-size: 14px;
  line-height: 1.76;
  color: var(--ink-300);
}

.page-news .stream-item__meta {
  margin: 8px 0 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-500);
  opacity: 1;
  transition: opacity 220ms ease;
}

@media (hover: hover) {
  .page-news .stream-item__meta {
    opacity: 0;
  }

  .page-news .stream-item:hover .stream-item__meta {
    opacity: 1;
  }
}

/* ---------- 交手档案 ---------- */

.page-news .news-h2h {
  padding-top: clamp(40px, 5vw, 76px);
}

.page-news .news-h2h__media {
  margin: 0 0 clamp(24px, 3.4vw, 40px);
  border: 1px solid var(--ink-600);
  background: var(--ink-800);
  overflow: hidden;
}

.page-news .news-h2h__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0.82;
}

.page-news .news-h2h__caption {
  display: block;
  padding: 10px 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-300);
  border-top: 1px solid var(--ink-600);
}

.page-news .h2h-axis {
  list-style: none;
  display: flex;
  margin: clamp(20px, 3vw, 34px) 0 0;
  padding: 0 0 6px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  border-bottom: 1px solid var(--news-hair-soft);
}

.page-news .h2h-node {
  position: relative;
  flex: 1 0 168px;
  min-width: 0;
  padding: 30px 8px 18px;
  text-align: center;
}

.page-news .h2h-node::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ink-600);
}

.page-news .h2h-node:first-child::before {
  left: 50%;
}

.page-news .h2h-node:last-child::before {
  right: 50%;
}

.page-news .h2h-node__dot {
  position: absolute;
  top: 5px;
  left: 50%;
  z-index: 2;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border: 2px solid var(--ink-500);
  border-radius: 50%;
  background: var(--ink-900);
  transition: box-shadow 240ms ease, border-color 240ms ease, background-color 240ms ease;
}

.page-news .h2h-node--home .h2h-node__dot {
  border-color: var(--accent);
  background: var(--accent);
}

.page-news .h2h-node--away .h2h-node__dot {
  border-color: var(--violet);
  background: var(--ink-900);
}

.page-news .h2h-node.is-active .h2h-node__dot {
  box-shadow: 0 0 0 6px rgba(200, 255, 61, 0.16);
}

.page-news .h2h-node__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-300);
}

.page-news .h2h-node__score {
  display: block;
  margin-top: 6px;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--ink-050);
}

.page-news .h2h-node.is-active .h2h-node__score {
  color: var(--accent);
  font-weight: 700;
}

.page-news .table-scroll {
  margin-top: clamp(24px, 3.4vw, 40px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border: 1px solid var(--ink-600);
}

.page-news .h2h-table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-news .h2h-table__caption {
  padding: 12px 14px;
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-300);
  background: var(--ink-800);
  border-bottom: 1px solid var(--ink-600);
}

.page-news .h2h-table th,
.page-news .h2h-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--news-hair-soft);
}

.page-news .h2h-table thead th {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-500);
  background: rgba(14, 27, 60, 0.6);
}

.page-news .h2h-table tbody th {
  font-weight: 400;
  color: var(--ink-300);
}

.page-news .h2h-table tbody tr:last-child th,
.page-news .h2h-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-news .h2h-table td {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--ink-050);
}

.page-news .h2h-table td.is-current {
  color: var(--accent);
  font-weight: 700;
}

/* ---------- 数据专题 ---------- */

.page-news .news-charts {
  padding-top: clamp(40px, 5vw, 76px);
}

.page-news .charts__grid {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  margin-top: clamp(20px, 3vw, 34px);
}

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

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

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

.page-news .charts__list {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.page-news .chart-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--news-hair-soft);
}

.page-news .chart-card:first-child {
  padding-top: 0;
}

.page-news .chart-card:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-news .chart-card__glyph {
  width: 64px;
  height: 32px;
  margin-top: 4px;
}

.page-news .chart-card__body {
  min-width: 0;
}

.page-news .chart-card__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-050);
}

.page-news .chart-card__body p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.76;
  color: var(--ink-300);
}

/* ---------- 编辑推荐 ---------- */

.page-news .news-picks {
  padding-top: clamp(40px, 5vw, 76px);
  padding-bottom: clamp(48px, 7vw, 104px);
}

.page-news .picks__grid {
  display: grid;
  gap: 16px;
  margin-top: clamp(20px, 3vw, 34px);
}

.page-news .pick {
  border: 1px solid var(--ink-600);
  background: var(--news-panel);
  overflow: hidden;
}

.page-news .pick--feature img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  opacity: 0.78;
}

.page-news .pick__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: clamp(18px, 2.2vw, 26px);
}

.page-news .pick__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(18px, 1.9vw, 23px);
  line-height: 1.36;
  color: var(--ink-050);
}

.page-news .pick__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.76;
  color: var(--ink-300);
}

.page-news .picks__side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.page-news .pick--text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: clamp(18px, 2.2vw, 24px);
}

.page-news .pick--text h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.44;
  color: var(--ink-050);
}

.page-news .pick--text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.76;
  color: var(--ink-300);
}

.page-news .pick .link-arrow {
  font-size: 13px;
  color: var(--accent);
}

.page-news .sub-bar {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--accent-dim);
  background:
    linear-gradient(120deg, rgba(200, 255, 61, 0.08), rgba(138, 92, 255, 0.1)),
    var(--ink-800);
}

.page-news .sub-bar__text h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.36;
  color: var(--ink-050);
}

.page-news .sub-bar__text p {
  margin: 10px 0 0;
  max-width: 60ch;
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink-300);
}

.page-news .sub-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

@media (min-width: 880px) {
  .page-news .lead-grid {
    grid-template-columns: 7fr 5fr;
  }

  .page-news .lead-card--major {
    grid-row: 1 / span 2;
    min-height: 420px;
  }

  .page-news .lead-card--minor {
    justify-content: space-between;
  }

  .page-news .stage-group {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 40px;
    padding: 30px 0;
  }

  .page-news .stage-group__label {
    position: sticky;
    top: calc(var(--header-h) + 86px);
    align-self: start;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .page-news .charts__grid {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }

  .page-news .picks__grid {
    grid-template-columns: 7fr 5fr;
  }

  .page-news .sub-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-news .chip,
  .page-news .h2h-node__dot,
  .page-news .stream-item__meta {
    transition: none;
  }

  .page-news .stream-item__meta {
    opacity: 1;
  }
}
