/* ============================================================
   页面：战报与数据（/press/） —— 作用域 .page-news
   ============================================================ */

.page-news {
  --rail-w: 252px;
  --feed-line: rgba(147, 167, 188, .16);
  background: var(--ink);
  color: var(--paper);
  overflow-x: hidden;
}

/* ---------- 首屏：框景 + 刻度 ---------- */

.page-news .press-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--black);
  border-bottom: 1px solid var(--line-strong);
}

.page-news .press-hero__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .34;
  filter: saturate(.68) contrast(1.06);
}

.page-news .press-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 9, 15, .58) 0%, rgba(5, 9, 15, .84) 58%, var(--ink) 100%),
    linear-gradient(90deg, var(--ink) 4%, rgba(11, 26, 46, .35) 58%, rgba(11, 26, 46, 0) 100%);
}

.page-news .press-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 74px;
  height: 100%;
  background-image: repeating-linear-gradient(
    to bottom,
    var(--line-strong) 0 1px,
    transparent 1px 13px
  );
  opacity: .55;
  pointer-events: none;
}

.page-news .press-hero__inner {
  position: relative;
  z-index: 3;
  padding-top: clamp(72px, 12vw, 148px);
  padding-bottom: clamp(30px, 5vw, 58px);
}

.page-news .press-hero .breadcrumbs {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--steel);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.page-news .press-hero .breadcrumbs a {
  color: var(--steel);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}

.page-news .press-hero .breadcrumbs a:hover,
.page-news .press-hero .breadcrumbs a:focus-visible {
  color: var(--gold-hi);
  border-bottom-color: var(--gold-hi);
}

.page-news .press-hero h1 {
  margin: 12px 0 0;
  max-width: 22ch;
  font-size: clamp(31px, 5.4vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .01em;
  color: var(--paper);
}

.page-news .press-hero__lede {
  margin: 18px 0 0;
  max-width: 64ch;
  font-size: 16px;
  line-height: 1.72;
  color: var(--steel);
}

.page-news .hero-stats {
  list-style: none;
  margin: clamp(26px, 4vw, 40px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  max-width: 760px;
}

.page-news .hero-stats li {
  background: rgba(20, 38, 60, .82);
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-news .hero-stats__k {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--steel);
}

.page-news .hero-stats__v {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
}

/* ---------- 编辑部双栏 ---------- */

.page-news .press-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 46px);
  padding-top: clamp(30px, 5vw, 62px);
  padding-bottom: clamp(52px, 8vw, 100px);
}

/* ---------- 左栏 ---------- */

.page-news .press-rail {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.page-news .rail-block {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px 15px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%);
}

.page-news .rail-block--cta {
  background: linear-gradient(158deg, rgba(201, 162, 39, .13), var(--ink-2) 62%);
  border-color: rgba(201, 162, 39, .42);
}

.page-news .rail-title {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--steel);
}

.page-news .rail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-news .chip {
  appearance: none;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.2;
  padding: 5px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: transparent;
  color: var(--steel);
  cursor: pointer;
  transition: color .16s var(--ease), border-color .16s var(--ease), background-color .16s var(--ease);
}

.page-news .chip:hover {
  color: var(--paper);
  border-color: var(--steel);
}

.page-news .chip[aria-pressed="true"] {
  color: var(--black);
  background: var(--gold);
  border-color: var(--gold);
}

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

.page-news .rail-hint {
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--steel);
}

.page-news .rail-hint--tight {
  margin: 0 0 12px;
}

.page-news .rail-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.page-news .rail-links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  font-size: 13.5px;
  color: var(--steel);
  text-decoration: none;
  border-bottom: 1px dashed var(--line);
  transition: color .16s var(--ease);
}

.page-news .rail-links li:last-child a {
  border-bottom: 0;
}

.page-news .rail-links a:hover,
.page-news .rail-links a:focus-visible {
  color: var(--gold-hi);
}

.page-news .rail-links .num {
  font-family: var(--font-mono);
  color: var(--gold);
}

/* ---------- 章节骨架 ---------- */

.page-news .press-stream {
  min-width: 0;
}

.page-news .press-section + .press-section {
  margin-top: clamp(44px, 7vw, 82px);
}

.page-news .press-section__head {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 2vw, 22px);
  border-top: 1px solid var(--line-strong);
  padding-top: 18px;
  margin-bottom: 12px;
}

.page-news .press-section__head .chapter-num {
  font-size: clamp(38px, 6vw, 68px);
  line-height: .84;
  flex: none;
}

.page-news .press-section__titles {
  min-width: 0;
  padding-top: 4px;
}

.page-news .press-section__titles h2 {
  margin: 4px 0 0;
  font-size: clamp(21px, 2.7vw, 30px);
  font-weight: 800;
  line-height: 1.26;
  color: var(--paper);
}

.page-news [data-chapter].is-current .chapter-num {
  color: var(--gold-hi);
}

.page-news [data-chapter].is-current .eyebrow {
  color: var(--gold-hi);
}

.page-news [data-chapter].is-current .press-section__head {
  border-top-color: var(--gold);
}

.page-news .press-note {
  margin: 0 0 20px;
  padding: 2px 0 2px 12px;
  border-left: 2px solid var(--gold);
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--steel);
  max-width: 78ch;
}

.page-news .press-after {
  margin: 16px 0 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--steel);
}

.page-news .press-after a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 162, 39, .45);
}

.page-news .press-after a:hover,
.page-news .press-after a:focus-visible {
  color: var(--gold-hi);
  border-bottom-color: var(--gold-hi);
}

/* ---------- 战报流 ---------- */

.page-news .feed {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .feed-item {
  position: relative;
  padding: 19px 0 22px 14px;
  border-bottom: 1px solid var(--feed-line);
}

.page-news .feed-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  bottom: 24px;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform .18s var(--ease);
}

.page-news .feed-item:hover::before {
  transform: scaleY(1);
}

.page-news .feed-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 8px;
}

.page-news .feed-round,
.page-news .feed-time {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--steel);
}

.page-news .feed-time {
  position: relative;
  padding-left: 12px;
}

.page-news .feed-time::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--green);
}

.page-news .feed-title {
  margin: 0 0 7px;
  font-size: clamp(17.5px, 2.1vw, 21px);
  font-weight: 700;
  line-height: 1.36;
  color: var(--paper);
}

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

.page-news .feed-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 11px;
}

.page-news .fact {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.3;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--steel);
}

.page-news .fact b {
  color: var(--green);
  font-weight: 600;
}

.page-news .feed-figure {
  margin: 26px 0 30px;
}

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

.page-news .feed-figure--band {
  margin: 0 0 18px;
}

.page-news .feed-figure--band img {
  aspect-ratio: 14 / 5;
}

.page-news .feed-figure figcaption {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--steel);
}

/* ---------- 抢断数据表 ---------- */

.page-news .steals-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.page-news .steals-table th,
.page-news .steals-table td {
  padding: 10px 14px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--hair);
}

.page-news .steals-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--steel);
  border-bottom: 1px solid var(--line-strong);
}

.page-news .steals-table .num {
  text-align: right;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.page-news .steals-table tbody tr.zone th {
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--green);
  border-bottom: 1px solid var(--line-strong);
}

.page-news .steals-table tr.zone--gk th {
  background: rgba(63, 167, 106, .11);
}

.page-news .steals-table tr.zone--df th {
  background: rgba(63, 167, 106, .075);
}

.page-news .steals-table tr.zone--mf th {
  background: rgba(63, 167, 106, .045);
}

.page-news .steals-table tr.zone--fw th {
  background: rgba(63, 167, 106, .022);
}

.page-news .steals-table tbody tr:not(.zone):hover {
  background: rgba(201, 162, 39, .07);
}

.page-news .steals-table tbody tr:not(.zone):hover td:first-child {
  box-shadow: inset 2px 0 0 var(--gold);
}

/* ---------- 批次 ---------- */

.page-news .batch {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 0 16px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 16px 16px 18px 0;
}

.page-news .batch + .batch {
  margin-top: 14px;
}

.page-news .batch__id {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  padding-top: 2px;
  border-right: 1px solid var(--hair);
}

.page-news .batch__no {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
}

.page-news .batch__unit {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--steel);
  writing-mode: vertical-rl;
  text-orientation: upright;
}

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

.page-news .batch__title {
  margin: 5px 0 8px;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--paper);
}

.page-news .batch__text {
  margin: 0;
  max-width: 68ch;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--steel);
}

.page-news .batch__facts {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .batch__facts li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 12.5px;
  color: var(--steel);
}

.page-news .batch__facts .num {
  font-family: var(--font-mono);
  color: var(--paper);
  font-weight: 600;
}

/* ---------- 专题归档 ---------- */

.page-news .archive {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
}

.page-news .archive__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  opacity: .32;
}

.page-news .archive-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}

.page-news .archive-list li + li {
  border-top: 1px solid var(--hair);
}

.page-news .archive-list a {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  text-decoration: none;
  color: var(--paper);
  transition: background-color .16s var(--ease);
}

.page-news .archive-list a:hover,
.page-news .archive-list a:focus-visible {
  background: rgba(201, 162, 39, .08);
}

.page-news .archive-num {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
}

.page-news .archive-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  min-width: 0;
}

.page-news .archive-go {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--steel);
  white-space: nowrap;
}

.page-news .archive-list a:hover .archive-go,
.page-news .archive-list a:focus-visible .archive-go {
  color: var(--gold-hi);
}

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

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

  .page-news .steals-table {
    min-width: 0;
  }
}

@media (min-width: 1000px) {
  .page-news .press-body {
    grid-template-columns: var(--rail-w) minmax(0, 1fr);
    gap: clamp(30px, 3.4vw, 52px);
  }

  .page-news .press-rail {
    position: sticky;
    top: 88px;
    align-self: start;
    max-height: calc(100vh - 112px);
    overflow-y: auto;
    padding-right: 4px;
  }

  .page-news .press-rail::-webkit-scrollbar {
    width: 4px;
  }

  .page-news .press-rail::-webkit-scrollbar-thumb {
    background: var(--line-strong);
    border-radius: 2px;
  }

  .page-news .feed-figure--band img {
    aspect-ratio: 14 / 4.4;
  }

  .page-news .archive {
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  }

  .page-news .archive__img {
    height: 100%;
    aspect-ratio: auto;
  }
}

@media (max-width: 380px) {
  .page-news .hero-stats__v {
    font-size: 24px;
  }

  .page-news .batch {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 0 12px;
    padding-right: 12px;
  }

  .page-news .archive-list a {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .page-news .archive-go {
    grid-column: 2;
    color: var(--steel);
  }
}

/* ---------- 动效退化 ---------- */

@media (prefers-reduced-motion: reduce) {
  .page-news .feed-item::before,
  .page-news .chip,
  .page-news .rail-links a,
  .page-news .archive-list a,
  .page-news .press-after a {
    transition: none;
  }

  .page-news .feed-item:hover::before {
    transform: none;
  }
}
