.page-news {
  --news-accent-glow: 0 0 24px rgba(255, 107, 26, 0.18);
  --news-cyan-glow: 0 0 24px rgba(0, 229, 255, 0.14);
  --news-gold: #FFC64F;
  --news-grid-line: rgba(42, 59, 92, 0.4);
  background: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: clip;
}

.page-news .container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.page-news img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-news a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== 面包屑 ===== */
.page-news .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 32px;
  font-size: 14px;
  color: var(--text-sub);
}

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

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

.page-news .breadcrumb[aria-current="page"] {
  color: var(--text-main);
}

/* ===== 页面头 ===== */
.page-news .page-head {
  position: relative;
  margin-bottom: 72px;
  padding: 44px 0 36px 22px;
  border-bottom: 1px solid var(--line);
}

.page-news .page-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 36px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--cyan));
}

.page-news .page-kicker {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-news .page-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.page-news .page-desc {
  max-width: 760px;
  margin: 0;
  font-size: 16px;
  color: var(--text-sub);
}

/* ===== 区块标题 ===== */
.page-news .section-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.page-news .section-header .section-kicker {
  margin: 0;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.page-news .section-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.page-news .section-header .section-desc {
  margin: 0;
  font-size: 14px;
  color: var(--text-sub);
}

/* ===== 动态筛选区 ===== */
.page-news .section {
  padding-block: 12px 56px;
}

.page-news .news-section {
  padding-top: 8px;
}

.page-news .feed-layout {
  display: grid;
  gap: 24px;
  align-items: start;
}

.page-news .feed-sidebar {
  min-width: 0;
}

.page-news .filter-panel {
  position: relative;
  padding: 22px 18px;
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.05), transparent 48%),
    var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.page-news .filter-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 999px 0 0 999px;
  background: linear-gradient(180deg, var(--accent), var(--cyan));
  opacity: 0.7;
}

.page-news .filter-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-main);
}

.page-news .filter-list {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 8px;
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.page-news .filter-link {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  white-space: nowrap;
  color: var(--text-sub);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.page-news .filter-link:hover {
  color: var(--cyan);
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: var(--news-cyan-glow);
}

.page-news .filter-link.is-active {
  color: #0A1128;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  border-color: transparent;
  font-weight: 600;
}

.page-news .filter-version {
  margin-top: 18px;
  padding: 14px 16px;
  background: rgba(10, 17, 40, 0.55);
  border: 1px dashed var(--line);
  border-radius: 12px;
}

.page-news .filter-version .version-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 107, 26, 0.16);
}

.page-news .filter-version-main {
  margin: 6px 0 2px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-sub);
}

.page-news .filter-version-main strong {
  font-family: var(--font-data);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

.page-news .filter-version-note {
  margin: 0;
  font-size: 12px;
  color: var(--text-sub);
  opacity: 0.8;
}

/* ===== 新闻卡片 ===== */
.page-news .feed-main {
  display: grid;
  gap: 20px;
}

.page-news .news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-news .news-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent 68%);
  opacity: 0.85;
}

.page-news .news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.35), var(--news-cyan-glow);
}

.page-news .news-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-elevated);
}

.page-news .news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.page-news .news-card:hover .news-media img {
  transform: scale(1.03);
}

.page-news .news-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: 20px;
}

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

.page-news .news-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 999px;
}

.page-news .tag-update {
  background: rgba(255, 107, 26, 0.14);
  color: #FFA25C;
  border: 1px solid rgba(255, 107, 26, 0.35);
}

.page-news .tag-density {
  background: rgba(0, 229, 255, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.35);
}

.page-news .tag-index {
  background: rgba(92, 124, 255, 0.13);
  color: #8FA4FF;
  border: 1px solid rgba(92, 124, 255, 0.32);
}

.page-news .tag-database {
  background: rgba(255, 198, 79, 0.12);
  color: var(--news-gold);
  border: 1px solid rgba(255, 198, 79, 0.32);
}

.page-news .news-time {
  font-size: 13px;
  color: var(--text-sub);
}

.page-news .news-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

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

.page-news .news-title a:hover {
  color: var(--cyan);
}

.page-news .news-excerpt {
  margin: 0;
  font-size: 14px;
  color: var(--text-sub);
}

.page-news .news-more {
  margin-top: auto;
  align-self: flex-start;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.page-news .news-more:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* ===== 赛事密度观察 ===== */
.page-news .density-section {
  padding-top: 28px;
}

.page-news .density-layout {
  display: grid;
  gap: 24px;
  align-items: start;
}

.page-news .density-chart {
  position: relative;
  padding: 24px 20px;
  overflow: hidden;
  background:
    linear-gradient(rgba(42, 59, 92, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 59, 92, 0.22) 1px, transparent 1px),
    linear-gradient(160deg, rgba(0, 229, 255, 0.06), transparent 44%),
    var(--bg-panel);
  background-size: 26px 26px, 26px 26px, auto, auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.page-news .density-chart::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 26, 0.09), transparent 62%);
  pointer-events: none;
}

.page-news .chart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.page-news .chart-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.page-news .chart-unit {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--text-sub);
}

.page-news .chart-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .chart-row {
  display: grid;
  grid-template-columns: 52px 1fr 34px;
  align-items: center;
  gap: 12px;
}

.page-news .chart-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
}

.page-news .chart-track {
  display: block;
  height: 10px;
  overflow: hidden;
  background: rgba(10, 17, 40, 0.6);
  border-radius: 999px;
  border: 1px solid rgba(42, 59, 92, 0.6);
}

.page-news .chart-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.page-news .fill-high {
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  box-shadow: 0 0 12px rgba(255, 107, 26, 0.3);
}

.page-news .fill-mid {
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.55), var(--cyan));
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.22);
}

.page-news .fill-low {
  background: linear-gradient(90deg, rgba(176, 196, 222, 0.3), rgba(0, 229, 255, 0.35));
}

.page-news .chart-value {
  font-family: var(--font-data);
  font-size: 15px;
  font-weight: 700;
  text-align: right;
  color: var(--text-main);
}

.page-news .chart-note {
  margin: 22px 0 0;
  padding-top: 14px;
  font-size: 12px;
  color: var(--text-sub);
  border-top: 1px solid var(--line);
}

.page-news .density-visual,
.page-news .version-figure,
.page-news .feature-visual {
  margin: 0;
}

.page-news .density-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.page-news .density-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.page-news .density-visual:hover .density-frame img {
  transform: scale(1.02);
}

.page-news .density-visual figcaption,
.page-news .version-figure figcaption,
.page-news .feature-visual figcaption {
  margin-top: 12px;
  padding-left: 12px;
  font-size: 12px;
  color: var(--text-sub);
  border-left: 2px solid var(--accent);
  line-height: 1.5;
}

/* ===== 版本日志 ===== */
.page-news .version-section {
  padding-top: 28px;
}

.page-news .version-layout {
  display: grid;
  gap: 24px;
  align-items: start;
}

.page-news .timeline-panel {
  position: relative;
  padding: 24px 20px;
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 229, 255, 0.07), transparent 38%),
    var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.page-news .timeline-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 16px;
}

.page-news .timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-news .timeline-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.13), 0 0 10px rgba(0, 229, 255, 0.4);
}

.page-news .timeline-item.timeline-current .timeline-dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 107, 26, 0.15), 0 0 12px rgba(255, 107, 26, 0.5);
}

.page-news .timeline-line {
  width: 1px;
  flex: 1;
  min-height: 24px;
  background: linear-gradient(180deg, var(--line), rgba(42, 59, 92, 0.3));
}

.page-news .timeline-item:last-child .timeline-line {
  display: none;
}

.page-news .timeline-content {
  padding-bottom: 32px;
}

.page-news .timeline-item:last-child .timeline-content {
  padding-bottom: 0;
}

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

.page-news .version-badge {
  display: inline-block;
  padding: 3px 12px;
  font-family: var(--font-data);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  background: rgba(255, 107, 26, 0.12);
  border: 1px solid rgba(255, 107, 26, 0.38);
  border-radius: 6px;
}

.page-news .timeline-current .version-badge {
  color: var(--accent);
  background: rgba(255, 107, 26, 0.16);
  border-color: var(--accent);
}

.page-news .version-state {
  font-size: 13px;
  color: var(--text-sub);
}

.page-news .timeline-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.page-news .timeline-desc {
  margin: 0;
  font-size: 14px;
  color: var(--text-sub);
}

.page-news .version-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-news .version-figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding-bottom: 12px;
  background: var(--bg-panel);
}

.page-news .version-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-news .version-figure figcaption {
  margin: 0;
  padding: 14px 16px 0;
  border-left: none;
  border-top: 1px solid var(--line);
}

.page-news .version-highlight {
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(255, 107, 26, 0.13), rgba(0, 229, 255, 0.05) 62%);
  border: 1px solid rgba(255, 107, 26, 0.3);
  border-radius: var(--radius-md);
}

.page-news .highlight-label {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.page-news .highlight-main {
  margin: 0 0 4px;
  font-family: var(--font-data);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
}

.page-news .highlight-sub {
  margin: 0;
  font-size: 13px;
  color: var(--text-sub);
}

/* ===== 专题系列 ===== */
.page-news .feature-section {
  padding-top: 28px;
}

.page-news .feature-banner {
  position: relative;
  display: grid;
  gap: 28px;
  overflow: hidden;
  padding: 32px 24px;
  background:
    linear-gradient(135deg, rgba(255, 107, 26, 0.16), transparent 44%),
    radial-gradient(circle at 84% 16%, rgba(0, 229, 255, 0.14), transparent 36%),
    linear-gradient(rgba(42, 59, 92, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 59, 92, 0.4) 1px, transparent 1px),
    var(--bg-elevated);
  background-size: auto, auto, 28px 28px, 28px 28px, auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-news .feature-banner::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 26, 0.1), transparent 60%);
  pointer-events: none;
}

.page-news .feature-copy {
  position: relative;
  z-index: 1;
}

.page-news .feature-label {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-news .feature-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

.page-news .feature-intro {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--text-sub);
}

.page-news .feature-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .feature-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.page-news .feature-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.page-news .feature-links a span {
  color: var(--accent);
}

.page-news .feature-visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-news .feature-visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

.page-news .feature-visual figcaption {
  border-left-color: var(--cyan);
}

/* ===== 滚动显现 ===== */
.page-news [data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

/* ===== 平板 ===== */
@media (min-width: 640px) {
  .page-news .page-title {
    font-size: 38px;
  }

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

  .page-news .section-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .page-news .section-header .section-desc {
    max-width: 44%;
    text-align: right;
  }

  .page-news .feature-banner {
    padding: 40px 36px;
  }
}

/* ===== 桌面 ===== */
@media (min-width: 992px) {
  .page-news .page-title {
    font-size: 44px;
  }

  .page-news .feed-layout {
    grid-template-columns: 240px 1fr;
    gap: 28px;
  }

  .page-news .filter-panel {
    position: sticky;
    top: calc(var(--header-h, 68px) + 20px);
  }

  .page-news .filter-list {
    flex-direction: column;
    overflow-x: visible;
    gap: 6px;
    padding-bottom: 0;
  }

  .page-news .filter-link {
    white-space: normal;
    border-radius: 10px;
    border-color: transparent;
  }

  .page-news .filter-link.is-active {
    background: linear-gradient(90deg, var(--accent), var(--accent-soft));
    color: #0A1128;
  }

  .page-news .news-section,
  .page-news .density-section,
  .page-news .version-section,
  .page-news .feature-section {
    padding-bottom: 80px;
  }

  .page-news .density-layout {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .page-news .density-chart {
    padding: 30px 28px;
  }

  .page-news .version-layout {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 28px;
  }

  .page-news .feature-banner {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 40px;
    padding: 48px;
  }

  .page-news .feature-title {
    font-size: 30px;
  }
}

/* ===== 宽屏 ===== */
@media (min-width: 1280px) {
  .page-news .feed-layout {
    grid-template-columns: 280px 1fr;
    gap: 36px;
  }
}
