.page-news {
  background: var(--space-blue);
  color: var(--white);
  overflow-x: hidden;
}

.page-news figure {
  margin: 0;
}

.page-news .chapter-head {
  margin-bottom: 32px;
}

/* ---------- Hero ---------- */
.page-news .news-hero {
  position: relative;
  padding: 56px 0 72px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(140deg, var(--space-blue) 0%, var(--deep-blue) 62%, var(--tech-blue) 100%);
  background-size: 26px 26px, 26px 26px, 100% 100%;
  overflow: hidden;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  right: -10px;
  top: -80px;
  width: 48%;
  height: 130%;
  background: linear-gradient(135deg, transparent 0%, transparent 38%, rgba(0, 255, 138, 0.08) 38%, rgba(255, 107, 53, 0.05) 100%);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-news .news-hero__inner {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.page-news .news-hero__grid {
  display: grid;
  gap: 28px;
  margin-top: 36px;
}

.page-news .news-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--white);
}

.page-news .news-hero__lead {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--light-gray);
  max-width: 62ch;
  margin: 0 0 24px;
}

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

.page-news .news-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--mid-gray);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 8px 12px;
}

.page-news .news-hero__meta-num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--lime);
  font-size: 0.75rem;
}

.page-news .news-hero__visual {
  display: none;
}

/* ---------- 最新发布 ---------- */
.page-news .news-latest {
  background: var(--deep-blue);
  padding: 72px 0;
}

.page-news .news-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.page-news .news-filter__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--mid-gray);
  margin-right: 6px;
}

.page-news .news-filter__item {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--light-gray);
  background: transparent;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.page-news .news-filter__item:hover,
.page-news .news-filter__item.is-active {
  background: var(--lime-dim);
  color: var(--lime);
  border-color: rgba(0, 255, 138, 0.35);
}

/* ---------- 时间线 ---------- */
.page-news .news-timeline {
  position: relative;
}

.page-news .news-timeline::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(to bottom, var(--lime) 0%, var(--lime) 70%, rgba(0, 255, 138, 0.12) 100%);
  opacity: 0.5;
}

.page-news .timeline-card {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.page-news .timeline-card__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
}

.page-news .timeline-card__node {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.18);
  flex-shrink: 0;
}

.page-news .timeline-card__body {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.page-news .timeline-card__body:hover {
  border-color: rgba(0, 255, 138, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 255, 138, 0.1), 0 12px 24px -16px rgba(0, 255, 138, 0.15);
}

.page-news .timeline-card__num {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--lime);
  opacity: 0.28;
  -webkit-font-smoothing: antialiased;
}

.page-news .timeline-card__content {
  min-width: 0;
}

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

.page-news .timeline-card__time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--mid-gray);
  letter-spacing: 0.5px;
}

.page-news .timeline-card__title {
  font-family: var(--font-head);
  font-size: 1.125rem;
  line-height: 1.3;
  margin: 0 0 8px;
  color: var(--white);
}

.page-news .timeline-card__desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--light-gray);
  margin: 0 0 12px;
}

.page-news .timeline-card__more {
  margin-top: 4px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  padding-top: 10px;
}

.page-news .timeline-card__more summary {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--lime);
  list-style: none;
  transition: opacity var(--transition);
}

.page-news .timeline-card__more summary:hover {
  opacity: 0.8;
}

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

.page-news .timeline-card__more summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
}

.page-news .timeline-card__more[open] summary::after {
  content: "−";
}

.page-news .timeline-card__full {
  margin-top: 12px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--light-gray);
}

.page-news .timeline-card__full p {
  margin: 0 0 12px;
}

.page-news .timeline-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.page-news .timeline-card__figure {
  margin-top: 16px;
}

.page-news .timeline-card__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------- 专题：赛后复盘 ---------- */
.page-news .news-replay {
  padding: 72px 0;
  background: var(--space-blue);
}

.page-news .replay-feature {
  display: grid;
  gap: 28px;
}

.page-news .replay-feature__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-news .replay-feature__content > p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--light-gray);
  margin: 0 0 24px;
}

.page-news .feature-list {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.page-news .feature-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--orange);
  border-radius: 10px;
}

.page-news .feature-item__index {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--orange);
}

.page-news .feature-item h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  line-height: 1.3;
  margin: 0 0 4px;
  color: var(--white);
}

.page-news .feature-item p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--mid-gray);
  margin: 0;
}

/* ---------- 数据同步状态 ---------- */
.page-news .news-sync {
  padding: 72px 0;
  background: var(--deep-blue);
}

.page-news .sync-grid {
  display: grid;
  gap: 28px;
}

.page-news .sync-grid__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-news .sync-status {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.page-news .sync-status__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  align-items: center;
}

.page-news .sync-status__label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--light-gray);
}

.page-news .sync-status__value {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--lime);
  background: var(--lime-dim);
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.page-news .sync-status__bar {
  grid-column: 1 / -1;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.page-news .sync-status__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--lime), var(--tech-blue));
  transform-origin: left;
}

.page-news .sync-note {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--mid-gray);
  margin: 0 0 24px;
}

.page-news .sync-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}

.page-news .sync-mini-card {
  padding: 14px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  text-align: center;
}

.page-news .sync-mini-card__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--lime);
  line-height: 1.2;
}

.page-news .sync-mini-card__label {
  display: block;
  font-size: 0.75rem;
  color: var(--mid-gray);
  margin-top: 6px;
}

/* ---------- 桌面端 ---------- */
@media (min-width: 768px) {
  .page-news .news-hero {
    padding: 80px 0 100px;
  }

  .page-news .news-hero__inner {
    padding: 0 32px;
  }

  .page-news .news-hero__grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 40px;
    align-items: center;
  }

  .page-news .news-hero__visual {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .page-news .news-hero__ring {
    width: 230px;
    height: 230px;
    border-radius: 50%;
    border: 3px solid rgba(0, 255, 138, 0.18);
    border-top-color: var(--lime);
    border-right-color: var(--orange);
    border-bottom-color: rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotate(-15deg);
    position: relative;
  }

  .page-news .news-hero__ring::after {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 50%;
    border: 1px dashed rgba(0, 255, 138, 0.2);
  }

  .page-news .news-hero__ring-num {
    font-family: var(--font-mono);
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--white);
    transform: rotate(15deg);
  }

  .page-news .news-hero__ring-sub {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--lime);
    margin-top: 8px;
    transform: rotate(15deg);
  }

  .page-news .news-latest,
  .page-news .news-replay,
  .page-news .news-sync {
    padding: 96px 0;
  }

  .page-news .news-filter {
    padding: 14px 20px;
  }

  .page-news .timeline-card {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 22px;
  }

  .page-news .news-timeline::before {
    left: 27px;
  }

  .page-news .timeline-card__body {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 20px;
    padding: 24px;
  }

  .page-news .timeline-card__num {
    font-size: 56px;
    opacity: 0.32;
  }

  .page-news .timeline-card__title {
    font-size: 1.25rem;
  }

  .page-news .timeline-card__figure img {
    max-width: 480px;
  }

  .page-news .replay-feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 44px;
    align-items: center;
  }

  .page-news .sync-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 44px;
    align-items: start;
  }

  .page-news .sync-cards {
    gap: 14px;
  }
}

@media (min-width: 1024px) {
  .page-news .news-hero__inner,
  .page-news .news-latest .container,
  .page-news .news-replay .container,
  .page-news .news-sync .container {
    width: min(100% - 64px, var(--content-w));
    margin-inline: auto;
  }
}
