/* ===== 6688体育线上 · 最新动态页专属样式 ===== */
.page-news {
  --news-line: rgba(163, 181, 198, 0.22);
  --news-grid: 40px;
  position: relative;
  background: var(--color-bg);
  color: var(--color-text);
}

/* ---------- 面包屑 ---------- */
.page-news .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 13px;
  color: var(--color-muted);
  margin: 0 0 20px;
}

.page-news .breadcrumb a {
  color: var(--color-cyan);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-news .breadcrumb a:hover {
  color: var(--color-green);
}

.page-news .breadcrumb [aria-current="page"] {
  color: var(--color-muted);
  font-weight: 500;
}

/* ---------- Hero ---------- */
.page-news .news-hero {
  position: relative;
  padding: 88px 24px 48px;
  background:
    radial-gradient(ellipse at 85% 10%, rgba(0, 229, 255, 0.14) 0%, transparent 52%),
    radial-gradient(ellipse at 8% 85%, rgba(198, 255, 0, 0.07) 0%, transparent 42%),
    repeating-linear-gradient(0deg, transparent 0 var(--news-grid), rgba(19, 27, 43, 0.5) var(--news-grid)),
    repeating-linear-gradient(90deg, transparent 0 var(--news-grid), rgba(19, 27, 43, 0.5) var(--news-grid)),
    var(--color-bg);
  border-bottom: 2px solid var(--news-line);
  overflow: hidden;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-green), var(--color-cyan) 45%, transparent 95%);
  opacity: 0.85;
}

.page-news .news-hero-deco {
  position: absolute;
  top: 12px;
  right: 8px;
  width: min(560px, 78vw);
  height: auto;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.page-news .news-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.page-news .news-hero-copy {
  display: flex;
  flex-direction: column;
}

.page-news .news-hero-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--color-cyan);
  text-transform: uppercase;
  margin: 0 0 16px;
  padding: 6px 12px;
  border: 1px solid rgba(0, 229, 255, 0.4);
  background: rgba(0, 229, 255, 0.08);
}

.page-news .news-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0 0 18px;
}

.page-news .news-hero-lead {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-metal);
  margin: 0 0 26px;
  max-width: 640px;
}

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

.page-news .news-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.page-news .news-hero-stats .stat {
  background: rgba(19, 27, 43, 0.9);
  border: 2px solid var(--news-line);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-news .news-hero-stats .stat-value {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-green);
  line-height: 1;
}

.page-news .news-hero-stats .stat-label {
  font-family: var(--font-main);
  font-size: 12px;
  color: var(--color-muted);
}

/* ---------- 章节通用 ---------- */
.page-news .news-latest,
.page-news .news-season,
.page-news .news-versions {
  padding: 56px 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.page-news .news-latest .section-head,
.page-news .news-season .section-head,
.page-news .news-versions .section-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.page-news .section-index {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-cyan);
  border: 2px solid rgba(0, 229, 255, 0.4);
  background: rgba(0, 229, 255, 0.06);
  padding: 6px 10px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 4px;
}

.page-news .section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.25;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.page-news .section-meta {
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-muted);
  margin: 0;
}

/* ---------- 最新发布：筛选标签 ---------- */
.page-news .news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 34px;
}

.page-news .news-filter-tag {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-metal);
  text-decoration: none;
  padding: 8px 16px;
  border: 2px solid var(--news-line);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.page-news .news-filter-tag:hover,
.page-news .news-filter-tag.is-active {
  border-color: var(--color-green);
  color: var(--color-green);
  background: rgba(198, 255, 0, 0.08);
}

/* ---------- 最新发布：时间线 ---------- */
.page-news .news-timeline {
  position: relative;
  padding-left: 36px;
}

.page-news .news-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-green), var(--color-cyan) 70%, transparent);
  opacity: 0.4;
}

.page-news .news-item {
  position: relative;
  margin-bottom: 32px;
}

.page-news .news-item-marker {
  position: absolute;
  left: -53px;
  top: 20px;
  width: 52px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-cyan);
  background: var(--color-bg);
  color: var(--color-cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  z-index: 1;
}

.page-news .news-item-card {
  background: var(--color-panel);
  border: 2px solid var(--news-line);
  padding: 22px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.page-news .news-item-card:hover {
  border-color: rgba(198, 255, 0, 0.45);
  transform: translateY(-2px);
}

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

.page-news .news-item-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-muted);
  letter-spacing: 0.04em;
}

.page-news .news-item-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.45;
  margin: 0 0 10px;
}

.page-news .news-item-card p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-muted);
  margin: 0 0 12px;
}

.page-news .news-figure {
  margin: 18px 0 6px;
  border: 2px solid var(--news-line);
  background: var(--color-bg);
}

.page-news .news-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
}

.page-news .news-figure figcaption {
  padding: 10px 14px;
  font-size: 12px;
  color: var(--color-muted);
  border-top: 2px solid var(--news-line);
}

.page-news .news-details {
  border-top: 1px solid var(--news-line);
  padding-top: 12px;
  margin-top: 14px;
}

.page-news .news-details summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-cyan);
}

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

.page-news .news-details summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1;
}

.page-news .news-details[open] summary::before {
  content: "–";
}

.page-news .news-details .prose {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-metal);
}

.page-news .news-details .prose p {
  margin: 0;
}

/* ---------- 赛季专题 ---------- */
.page-news .season-wrap {
  display: grid;
  gap: 24px;
}

.page-news .season-hero figure {
  margin: 0;
  border: 2px solid var(--news-line);
  background: var(--color-panel);
  overflow: hidden;
}

.page-news .season-hero img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-news .season-hero figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--color-muted);
  border-top: 2px solid var(--news-line);
  text-align: center;
}

.page-news .season-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 280px);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.page-news .season-card {
  scroll-snap-align: start;
  background: var(--color-panel);
  border: 2px solid var(--news-line);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.page-news .season-card:hover {
  border-color: var(--color-cyan);
  transform: translateY(-4px);
}

.page-news .season-round {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-warn);
  letter-spacing: 0.04em;
}

.page-news .season-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.4;
  margin: 0;
}

.page-news .season-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-muted);
  margin: 0;
  flex: 1;
}

/* ---------- 版本记录 ---------- */
.page-news .version-table {
  border-bottom: 2px solid var(--news-line);
}

.page-news .version-row {
  border: 2px solid var(--news-line);
  border-bottom: none;
  background: var(--color-panel);
}

.page-news .version-row summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  cursor: pointer;
  list-style: none;
}

.page-news .version-row summary::-webkit-details-marker {
  display: none;
}

.page-news .version-row summary:hover {
  background: rgba(0, 229, 255, 0.04);
}

.page-news .version-badge {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--color-green);
  border: 2px solid rgba(198, 255, 0, 0.45);
  background: rgba(198, 255, 0, 0.06);
  padding: 4px 8px;
  flex-shrink: 0;
  white-space: nowrap;
}

.page-news .version-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text);
  flex: 1;
}

.page-news .version-caret {
  color: var(--color-cyan);
  font-family: var(--font-mono);
  font-size: 18px;
  transition: transform 0.25s ease;
}

.page-news .version-row[open] .version-caret {
  transform: rotate(45deg);
}

.page-news .version-body {
  padding: 0 16px 16px 68px;
}

.page-news .version-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-metal);
  border-left: 2px solid rgba(0, 229, 255, 0.3);
  padding-left: 12px;
}

.page-news .version-note {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px;
  background: rgba(19, 27, 43, 0.7);
  border: 2px dashed var(--news-line);
}

.page-news .version-note img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--color-cyan);
}

.page-news .version-note-copy {
  min-width: 0;
}

.page-news .version-note h3 {
  font-family: var(--font-display);
  font-size: 17px;
  margin: 0 0 8px;
}

.page-news .version-note p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-muted);
  margin: 0 0 14px;
}

.page-news .version-note-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- 底部更新提醒 ---------- */
.page-news .news-cta {
  margin-top: 40px;
  padding: 56px 24px;
  position: relative;
  background:
    linear-gradient(115deg, rgba(11, 15, 26, 0.94), rgba(19, 27, 43, 0.9) 55%, rgba(0, 229, 255, 0.1) 140%),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(163, 181, 198, 0.06) 18px 20px);
  border-top: 2px solid var(--news-line);
  border-bottom: 2px solid var(--news-line);
}

.page-news .news-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-green), var(--color-cyan));
  opacity: 0.55;
}

.page-news .news-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.page-news .news-cta img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--color-green);
}

.page-news .news-cta-copy {
  display: flex;
  flex-direction: column;
}

.page-news .news-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 34px);
  margin: 0 0 12px;
}

.page-news .news-cta p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-metal);
  margin: 0 0 20px;
  max-width: 560px;
}

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

/* ---------- 桌面端 ---------- */
@media (min-width: 960px) {
  .page-news .news-hero {
    padding: 120px 48px 64px;
  }

  .page-news .news-hero-deco {
    opacity: 0.4;
  }

  .page-news .news-hero-grid {
    grid-template-columns: 1.4fr 0.8fr;
    align-items: end;
    gap: 48px;
  }

  .page-news .news-hero h1 {
    font-size: clamp(44px, 5.5vw, 64px);
  }

  .page-news .news-hero-lead {
    font-size: 17px;
  }

  .page-news .news-hero-stats {
    gap: 14px;
  }

  .page-news .news-latest,
  .page-news .news-season,
  .page-news .news-versions {
    padding: 72px 48px;
  }

  /* 时间线切换为中央交替 */
  .page-news .news-timeline {
    padding-left: 0;
  }

  .page-news .news-timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .page-news .news-item {
    width: calc(50% - 52px);
    margin-right: auto;
    margin-bottom: 40px;
  }

  .page-news .news-item:nth-child(even) {
    margin-left: auto;
    margin-right: 0;
  }

  .page-news .news-item-marker {
    left: calc(100% + 26px);
  }

  .page-news .news-item:nth-child(even) .news-item-marker {
    left: -78px;
  }

  /* 赛季专题双栏 */
  .page-news .season-wrap {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
  }

  .page-news .season-hero {
    height: 100%;
  }

  .page-news .season-hero figure {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .page-news .season-hero img {
    flex: 1;
    min-height: 260px;
  }

  .page-news .season-scroller {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(150px, 1fr);
    gap: 16px;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }

  .page-news .season-card {
    min-height: 150px;
  }

  /* 版本记录 */
  .page-news .version-row summary {
    padding: 18px 20px;
  }

  .page-news .version-body {
    padding: 0 20px 20px 130px;
  }

  .page-news .version-note {
    grid-template-columns: 120px 1fr;
    padding: 28px 32px;
  }

  .page-news .version-note img {
    width: 120px;
    height: 120px;
  }

  /* CTA */
  .page-news .news-cta {
    padding: 64px 48px;
  }

  .page-news .news-cta-inner {
    grid-template-columns: 160px 1fr;
    gap: 40px;
    justify-items: start;
    text-align: left;
  }

  .page-news .news-cta img {
    width: 160px;
    height: 160px;
  }

  .page-news .news-cta-actions {
    justify-content: flex-start;
  }
}

@media (min-width: 1200px) {
  .page-news .news-latest,
  .page-news .news-season,
  .page-news .news-versions {
    padding-left: 0;
    padding-right: 0;
  }
}
