/* ===== page-news · 赛场动态 ===== */

.page-news {
  background: var(--ink-0);
  color: var(--text);
  font-family: var(--font-sans);
  overflow-x: clip;
}

/* ---- 区块骨架：内容居中，左右自适应留白 ---- */
.page-news .news-section {
  position: relative;
  padding: 56px max(20px, calc((100% - var(--wrap-w)) / 2));
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.page-news .news-section + .news-section {
  border-top: 1px solid rgba(46, 68, 122, 0.45);
}

@media (min-width: 900px) {
  .page-news .news-section {
    padding-top: 96px;
    padding-bottom: 96px;
  }
}

/* ---- 通用区块头 ---- */
.page-news .news-head {
  max-width: 660px;
  margin-bottom: 32px;
}

.page-news .news-head-title {
  margin: 12px 0 0;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}

.page-news .news-head-lede {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

@media (min-width: 900px) {
  .page-news .news-head {
    margin-bottom: 48px;
  }
}

/* ================= 首屏 ================= */
.page-news .news-hero {
  position: relative;
  padding: 28px max(20px, calc((100% - var(--wrap-w)) / 2)) 64px;
  overflow: hidden;
  border-bottom: 1px solid rgba(46, 68, 122, 0.5);
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(46, 68, 122, 0.3) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(46, 68, 122, 0.3) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 28% 26%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 75% at 28% 26%, #000 0%, transparent 78%);
  pointer-events: none;
  z-index: 0;
}

.page-news .news-hero > * {
  position: relative;
  z-index: 1;
}

.page-news .news-hero-inner {
  display: grid;
  gap: 36px;
  align-items: center;
  margin-top: 28px;
}

@media (min-width: 1024px) {
  .page-news .news-hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
    margin-top: 44px;
  }
}

.page-news .news-hero-title {
  margin: 10px 0 0;
  font-size: clamp(3rem, 13vw, 7.5rem);
  font-weight: 250;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--text);
}

.page-news .news-hero-title::after {
  content: "";
  display: block;
  width: 92px;
  height: 6px;
  margin-top: 18px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--lime), var(--orange));
}

.page-news .news-hero-lede {
  margin: 22px 0 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.85;
}

.page-news .news-hero-marks {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-news .news-hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-news .news-hero-media {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(46, 68, 122, 0.85);
  background: linear-gradient(135deg, var(--ink-2), var(--ink-0));
  box-shadow: 0 28px 60px -32px rgba(0, 0, 0, 0.9);
}

.page-news .news-hero-media::before {
  content: "TRACK / LIVE";
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--lime);
  background: rgba(10, 16, 38, 0.8);
  border: 1px solid rgba(61, 255, 136, 0.45);
  border-radius: var(--r-pill);
}

.page-news .news-hero-media::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  width: 54px;
  height: 4px;
  border-radius: 4px;
  background: var(--lime);
  box-shadow: 0 0 18px rgba(61, 255, 136, 0.75);
}

.page-news .news-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.92;
}

/* ================= 01 最新更新 ================= */
.page-news .news-timeline-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 960px) {
  .page-news .news-timeline-grid {
    grid-template-columns: 236px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }
}

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

@media (min-width: 960px) {
  .page-news .news-rail {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

.page-news .news-rail-label {
  margin: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}

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

@media (min-width: 960px) {
  .page-news .news-rail-list {
    flex-direction: column;
    flex-wrap: nowrap;
  }
}

.page-news .news-rail-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(46, 68, 122, 0.85);
  background: var(--ink-1);
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: default;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.page-news .news-rail-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.85;
}

.page-news .news-rail-chip.is-on {
  color: var(--ink-0);
  background: var(--lime);
  border-color: var(--lime);
}

.page-news .news-rail-note {
  margin: 0;
  padding-top: 14px;
  border-top: 1px dashed rgba(46, 68, 122, 0.85);
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.75;
}

.page-news .news-entries {
  list-style: none;
  margin: 0;
  padding: 0 0 0 26px;
  position: relative;
  display: grid;
  gap: 16px;
}

.page-news .news-entries::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(to bottom,
    var(--lime) 0%,
    rgba(61, 255, 136, 0.45) 38%,
    rgba(46, 68, 122, 0.7) 100%);
}

.page-news .news-entry {
  position: relative;
  padding: 20px 22px 22px;
  border-radius: var(--r-md);
  border: 1px solid rgba(46, 68, 122, 0.75);
  background: var(--ink-1);
  transition:
    transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.page-news .news-entry::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 26px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink-0);
  border: 2px solid var(--lime);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.page-news .news-entry:hover {
  transform: translateX(6px);
  background: var(--ink-2);
  border-color: rgba(61, 255, 136, 0.55);
  box-shadow: 0 22px 46px -30px rgba(61, 255, 136, 0.6);
}

.page-news .news-entry:hover::before {
  background: var(--lime);
  box-shadow: 0 0 14px rgba(61, 255, 136, 0.9);
}

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

.page-news .news-entry-time {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.page-news .news-entry-title {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}

.page-news .news-entry-text {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.8;
  opacity: 0.78;
  transition: opacity 0.3s ease;
}

.page-news .news-entry:hover .news-entry-text {
  opacity: 1;
}

/* ================= 02 专题系列 ================= */
.page-news .news-series-grid {
  display: grid;
  gap: 20px;
}

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

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

  .page-news .news-series-card--feature {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: stretch;
  }
}

.page-news .news-series-card {
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid rgba(46, 68, 122, 0.75);
  background: var(--ink-1);
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.page-news .news-series-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 154, 61, 0.6);
  box-shadow: 0 26px 52px -32px rgba(255, 154, 61, 0.6);
}

.page-news .news-series-media {
  margin: 0;
  overflow: hidden;
  background: var(--ink-2);
}

.page-news .news-series-media img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  opacity: 0.92;
}

.page-news .news-series-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 24px 28px;
}

.page-news .news-series-title {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.page-news .news-series-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.page-news .news-series-points {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-news .news-series-points li {
  position: relative;
  padding-left: 18px;
  color: var(--lime-soft);
  font-size: 0.875rem;
  line-height: 1.7;
}

.page-news .news-series-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
}

/* ================= 03 三层栏目 ================= */
.page-news .news-layers-grid {
  display: grid;
  gap: 16px;
}

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

.page-news .news-layer {
  position: relative;
  overflow: hidden;
  padding: 26px 24px 24px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(46, 68, 122, 0.8);
  background: linear-gradient(160deg, var(--ink-1), var(--ink-0));
  transition: border-color 0.35s ease, transform 0.35s ease;
}

.page-news .news-layer::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -70px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 255, 136, 0.18), transparent 70%);
  pointer-events: none;
}

.page-news .news-layer--accent::after {
  background: radial-gradient(circle, rgba(255, 154, 61, 0.2), transparent 70%);
}

.page-news .news-layer:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 255, 136, 0.5);
}

.page-news .news-layer--accent:hover {
  border-color: rgba(255, 154, 61, 0.55);
}

.page-news .news-layer-code {
  display: inline-block;
  padding-left: 8px;
  border-left: 2px solid var(--lime);
  font-size: 0.75rem;
  line-height: 1;
  letter-spacing: 0.22em;
  color: var(--lime);
}

.page-news .news-layer--accent .news-layer-code {
  color: var(--orange);
  border-left-color: var(--orange);
}

.page-news .news-layer-title {
  margin: 16px 0 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.page-news .news-layer-text {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.page-news .news-layer-when {
  margin: 20px 0 0;
  padding-top: 14px;
  border-top: 1px dashed rgba(46, 68, 122, 0.9);
  color: var(--lime-soft);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}

.page-news .news-layer--accent .news-layer-when {
  color: var(--orange);
}

.page-news .news-layers-media {
  margin: 20px 0 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid rgba(46, 68, 122, 0.8);
  background: var(--ink-1);
}

.page-news .news-layers-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.88;
}

@media (min-width: 900px) {
  .page-news .news-layers-media {
    margin-top: 32px;
  }

  .page-news .news-layers-media img {
    aspect-ratio: 16 / 5;
  }
}

/* ================= 04 周末节奏 ================= */
.page-news .news-weekend-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 1000px) {
  .page-news .news-weekend-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }
}

.page-news .news-steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .news-steps::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--lime), var(--orange));
  opacity: 0.6;
}

.page-news .news-step {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
}

.page-news .news-step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink-0);
  border: 2px solid var(--lime);
  color: var(--lime);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.page-news .news-step:nth-child(3) .news-step-num,
.page-news .news-step:nth-child(4) .news-step-num {
  border-color: var(--orange);
  color: var(--orange);
}

.page-news .news-step-body {
  padding-top: 5px;
}

.page-news .news-step-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.page-news .news-step-text {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.page-news .news-weekend-media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid rgba(46, 68, 122, 0.8);
  background: var(--ink-1);
}

.page-news .news-weekend-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 7;
  object-fit: cover;
  opacity: 0.9;
}

/* ================= 收束 CTA ================= */
.page-news .news-section--cta {
  padding-bottom: 72px;
}

.page-news .news-cta-inner {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 26px;
  padding: 34px 26px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(61, 255, 136, 0.28);
  background: linear-gradient(120deg, var(--ink-2), var(--ink-0));
}

.page-news .news-cta-inner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--lime), var(--orange));
}

@media (min-width: 900px) {
  .page-news .news-cta-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 40px;
    padding: 44px 48px;
  }
}

.page-news .news-cta-title {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
}

.page-news .news-cta-text {
  margin: 14px 0 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.page-news .news-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ================= 动效收敛 ================= */
@media (prefers-reduced-motion: reduce) {
  .page-news .news-entry,
  .page-news .news-entry::before,
  .page-news .news-entry-text,
  .page-news .news-series-card,
  .page-news .news-layer,
  .page-news .news-rail-chip {
    transition: none;
  }

  .page-news .news-entry:hover {
    transform: none;
  }

  .page-news .news-series-card:hover,
  .page-news .news-layer:hover {
    transform: none;
  }
}
