.page-news {
  --news-rail: 46px;
  --news-gap: clamp(18px, 3vw, 40px);
}

/* ============ 报头 ============ */
.page-news .news-masthead {
  padding-block: clamp(24px, 4vw, 54px) clamp(20px, 3vw, 36px);
}

.page-news .news-masthead__title {
  margin: 12px 0 18px;
  max-width: 16em;
  font-family: var(--font-head);
  font-size: clamp(32px, 5.6vw, 68px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--blue);
}

.page-news .news-masthead__lede {
  max-width: 62ch;
  font-family: var(--font-body);
  font-size: clamp(15.5px, 1.6vw, 17.5px);
  line-height: 1.78;
  color: var(--blue-deep);
}

/* ============ 拼贴首屏 ============ */
.page-news .news-hero {
  padding-bottom: clamp(30px, 5vw, 64px);
}

.page-news .news-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 1.6vw, 20px);
}

.page-news .hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: var(--r-soft);
  background: var(--panel-a);
  color: var(--paper);
  isolation: isolate;
}

.page-news .hero-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-news .hero-card__bg img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}

.page-news .hero-card__body {
  position: relative;
  z-index: 1;
  padding: clamp(84px, 16vw, 160px) clamp(18px, 2.4vw, 30px) clamp(18px, 2.4vw, 28px);
  background: linear-gradient(
    180deg,
    rgba(7, 9, 13, 0) 0%,
    rgba(7, 9, 13, 0.62) 40%,
    rgba(11, 27, 58, 0.95) 100%
  );
}

.page-news .hero-card--lead {
  min-height: clamp(360px, 52vw, 570px);
}

.page-news .hero-card--side {
  min-height: clamp(212px, 26vw, 272px);
}

.page-news .hero-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.page-news .hero-card .tag {
  border-color: rgba(244, 241, 234, 0.32);
  background: rgba(244, 241, 234, 0.14);
  color: var(--paper);
}

.page-news .hero-card .tag--orange {
  border-color: transparent;
  background: var(--orange);
  color: #ffffff;
}

.page-news .hero-card .tag--violet {
  border-color: transparent;
  background: var(--violet);
  color: #ffffff;
}

.page-news .hero-card__title {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: clamp(20px, 2.5vw, 33px);
  font-weight: 800;
  line-height: 1.16;
  color: var(--paper);
}

.page-news .hero-card__text {
  margin: 0 0 14px;
  max-width: 44ch;
  font-size: 14.5px;
  line-height: 1.72;
  color: rgba(244, 241, 234, 0.8);
}

.page-news .hero-card__link {
  display: inline-block;
  padding-bottom: 3px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.page-news .hero-card__link:hover,
.page-news .hero-card__link:focus-visible {
  color: var(--paper);
}

/* ============ 主体栅格 ============ */
.page-news .news-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--news-gap);
  align-items: start;
}

.page-news .news-layout > .col-main,
.page-news .news-layout > .col-aside {
  grid-column: 1 / -1;
  min-width: 0;
}

/* ============ 侧边目录 ============ */
.page-news .news-toc {
  border-top: 3px solid var(--blue);
  padding-top: 16px;
}

.page-news .news-toc__title {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

.page-news .news-toc__list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.page-news .news-toc__list li {
  counter-increment: toc;
}

.page-news .news-toc__list a {
  position: relative;
  display: block;
  padding: 10px 0 10px 30px;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--slate);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 0.18s ease;
}

.page-news .news-toc__list a::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 11px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--slate);
}

.page-news .news-toc__list a:hover,
.page-news .news-toc__list a:focus-visible {
  color: var(--blue);
}

.page-news .news-toc__list a[aria-current="location"] {
  color: var(--orange);
  font-weight: 700;
}

.page-news .news-toc__list a[aria-current="location"]::before {
  color: var(--orange);
}

.page-news .news-toc__side {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============ 轮次流式列表 ============ */
.page-news .round-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .round-item {
  display: flex;
  gap: clamp(14px, 2vw, 26px);
  padding-bottom: clamp(24px, 3vw, 38px);
}

.page-news .round-item__rail {
  position: relative;
  flex: 0 0 var(--news-rail);
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  padding-top: 2px;
}

.page-news .round-item__rail::after {
  content: "";
  flex: 1 1 auto;
  width: 1px;
  min-height: 26px;
  margin-top: 12px;
  background: var(--line);
}

.page-news .round-item:last-child .round-item__rail::after {
  display: none;
}

.page-news .round-item__no {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-mono);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--blue);
}

.page-news .round-item__body {
  flex: 1 1 auto;
  min-width: 0;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
}

.page-news .round-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.page-news .round-item__title {
  margin: 11px 0 8px;
  font-family: var(--font-head);
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 700;
  line-height: 1.28;
  color: var(--blue-deep);
}

.page-news .round-item__text {
  margin: 0;
  max-width: 68ch;
  font-size: 15.5px;
  line-height: 1.74;
  color: var(--slate);
}

.page-news .round-item__more {
  display: inline-block;
  margin-top: 12px;
  padding-bottom: 3px;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 90, 31, 0.42);
}

.page-news .round-item__more:hover,
.page-news .round-item__more:focus-visible {
  border-bottom-color: var(--orange);
}

/* ============ 主场卡与主场图带 ============ */
.page-news .venue-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.page-news .venue-card {
  padding: 18px 18px 20px;
  background: var(--steel);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--r-soft-sm) var(--r-soft-sm) 0;
}

.page-news .venue-card:nth-child(2) {
  border-left-color: var(--violet);
}

.page-news .venue-card:nth-child(3) {
  border-left-color: var(--pitch);
}

.page-news .venue-card__name {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--blue);
}

.page-news .venue-card__stat {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--orange);
}

.page-news .venue-card__meta {
  margin: 0;
  font-size: 14px;
  line-height: 1.68;
  color: var(--blue-deep);
}

.page-news .news-venueband {
  margin: 0;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  border-radius: var(--r-soft);
  background: var(--panel-b);
}

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

.page-news .news-cap {
  margin: 12px 0 18px;
  max-width: 66ch;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--slate);
}

.page-news .venue-more {
  margin: 0;
}

/* ============ 球队线索 ============ */
.page-news .team-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 20px;
}

.page-news .team-chip {
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--blue);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.page-news .team-chip:nth-child(2n) {
  border-radius: var(--r-soft-sm);
  border-color: rgba(123, 77, 255, 0.45);
  color: var(--violet);
}

.page-news .table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 3px solid var(--blue);
}

.page-news .table-scroll .data-table {
  min-width: 500px;
  width: 100%;
}

.page-news .team-note {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
}

.page-news .team-note a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 90, 31, 0.42);
}

/* ============ 专题系列 ============ */
.page-news .news-band {
  margin: 0 0 18px;
  aspect-ratio: 16 / 6;
  overflow: hidden;
  border-radius: var(--r-soft);
  background: var(--panel-b);
}

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

.page-news .series-rail {
  display: flex;
  gap: 14px;
  padding-bottom: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.page-news .series-card {
  flex: 0 0 clamp(238px, 76vw, 318px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 24px;
  border-radius: var(--r-soft);
  background: linear-gradient(150deg, var(--panel-a) 0%, var(--panel-b) 100%);
  color: var(--paper);
}

.page-news .series-card__no {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  color: var(--orange);
}

.page-news .series-card:nth-child(2) .series-card__no {
  color: var(--violet);
}

.page-news .series-card:nth-child(3) .series-card__no {
  color: var(--pitch);
}

.page-news .series-card__title {
  margin: 14px 0 10px;
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.22;
  color: var(--paper);
}

.page-news .series-card__text {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.72;
  color: rgba(244, 241, 234, 0.78);
}

.page-news .series-card__meta {
  margin: auto 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(217, 226, 240, 0.7);
}

/* ============ 投稿与勘误 ============ */
.page-news .contribute-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-news .contribute-card {
  padding: 22px 20px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--violet);
  border-radius: 0 0 var(--r-soft-sm) var(--r-soft-sm);
}

.page-news .contribute-card--amber {
  border-top-color: var(--amber);
  background: var(--steel);
}

.page-news .contribute-card__title {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--blue);
}

.page-news .contribute-card__list {
  margin: 0 0 14px;
  padding-left: 1.1em;
  font-size: 14.5px;
  line-height: 1.76;
  color: var(--blue-deep);
}

.page-news .contribute-card__list li + li {
  margin-top: 8px;
}

.page-news .contribute-card__list strong {
  font-weight: 700;
  color: var(--blue);
}

.page-news .contribute-card__foot {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--slate);
}

.page-news .contribute-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
}

/* ============ 归档节奏 ============ */
.page-news .news-figs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 24px;
}

.page-news .news-figs .stat {
  padding: 18px 16px;
  background: var(--steel);
  border-top: 3px solid var(--blue);
  border-radius: 0 0 var(--r-soft-sm) var(--r-soft-sm);
}

.page-news .news-figs .stat__value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 500;
  line-height: 1.08;
  color: var(--blue);
}

.page-news .news-figs .stat__value--hot {
  color: var(--orange);
}

.page-news .news-figs .stat__label {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--slate);
}

.page-news #archive .prose a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 90, 31, 0.42);
}

/* ============ 断点 ============ */
@media (min-width: 700px) {
  .page-news .venue-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

@media (min-width: 860px) {
  .page-news .news-hero__grid {
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .page-news .hero-card--lead {
    grid-row: 1 / span 2;
  }
}

@media (min-width: 1000px) {
  .page-news .news-layout > .col-main {
    grid-column: 1 / span 8;
  }

  .page-news .news-layout > .col-aside {
    grid-column: 9 / span 4;
    align-self: start;
    position: sticky;
    top: calc(var(--nav-h) + 20px);
  }
}

@media (min-width: 1240px) {
  .page-news .news-band {
    aspect-ratio: 16 / 5;
  }
}

@media (max-width: 999px) {
  .page-news .news-layout > .col-aside {
    position: static;
    margin-top: 8px;
    border-top: 1px solid var(--line);
    padding-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-toc__list a,
  .page-news .hero-card__link {
    transition: none;
  }
}
</main>
