.page-news {
  background: var(--c-navy);
  color: var(--c-white);
  overflow-x: clip;
}

/* ===== Hero ===== */
.page-news__hero {
  position: relative;
  padding: 32px 0 56px;
  background: var(--c-slate);
  overflow: hidden;
}

.page-news__hero::before {
  content: "";
  position: absolute;
  top: -48px;
  right: -96px;
  width: 280px;
  height: 280px;
  background: repeating-linear-gradient(135deg, rgba(168,255,96,0.14) 0 4px, transparent 4px 12px);
  clip-path: polygon(0 0, 100% 16%, 84% 100%, 12% 88%);
  transform: rotate(8deg);
}

.page-news__hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--c-green) 0 58%, var(--c-orange) 58% 82%, transparent 82%);
}

.page-news__hero-inner {
  position: relative;
  z-index: 1;
}

.page-news__hero-grid {
  display: grid;
  gap: 32px;
  margin-top: 28px;
}

.page-news__hero-copy h1 {
  font-family: var(--font-headline);
  font-size: clamp(28px, 6vw, 46px);
  line-height: 1.08;
  margin: 14px 0 18px;
  position: relative;
  display: inline-block;
}

.page-news__hero-copy h1::after {
  content: "";
  position: absolute;
  left: -8px;
  bottom: -6px;
  width: 72px;
  height: 6px;
  background: var(--c-green);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.page-news__hero-copy p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-gray);
  max-width: 56ch;
  margin: 0;
}

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

.page-news__hero-stat {
  background: var(--c-indigo);
  border-left: 3px solid var(--c-green);
  padding: 16px 14px;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
}

.page-news__hero-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--c-green);
  line-height: 1.1;
}

.page-news__hero-label {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--c-gray);
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ===== Section 通用 ===== */
.page-news__section {
  padding: 56px 0;
}

.page-news__section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 28px;
}

.page-news__section-index {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-green);
  background: var(--c-indigo);
  padding: 7px 12px;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
  letter-spacing: 0.06em;
}

.page-news__section-desc {
  margin-top: 4px;
  color: var(--c-gray);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
}

/* ===== 最新动态 ===== */
.page-news__updates {
  background: var(--c-navy);
}

.page-news__updates-visual {
  position: relative;
  margin-bottom: 20px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), 0 100%);
}

.page-news__updates-banner {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0.46;
}

.page-news__updates-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background: linear-gradient(to top, rgba(10,17,40,0.92) 0%, transparent 58%);
}

.page-news__updates-overlay-text {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-green);
  background: rgba(10,17,40,0.85);
  padding: 7px 12px;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}

.page-news__timeline-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-gray);
  margin-bottom: 10px;
}

.page-news__timeline-hint svg {
  flex-shrink: 0;
}

.page-news__timeline-scroll {
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-news__timeline {
  position: relative;
  display: flex;
  gap: 16px;
  min-width: 1480px;
  padding: 28px 8px 8px;
}

.page-news__timeline-line {
  position: absolute;
  top: 14px;
  left: 8px;
  width: calc(100% - 16px);
  height: 24px;
  pointer-events: none;
}

.page-news__timeline-line line {
  stroke: var(--c-green);
}

.page-news__news-item {
  position: relative;
  flex: 0 0 280px;
  scroll-snap-align: start;
  padding-top: 40px;
}

.page-news__news-dot {
  position: absolute;
  top: 19px;
  left: 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 0 4px rgba(168,255,96,0.2);
  z-index: 2;
}

.page-news__news-card {
  width: 100%;
  box-sizing: border-box;
  background: var(--c-indigo);
  border-left: 3px solid var(--c-green);
  padding: 20px 18px 24px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: background 0.3s ease, transform 0.3s ease;
}

.page-news__news-item:hover .page-news__news-card {
  background: #223458;
  transform: translateY(-2px);
}

.page-news__news-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.page-news__news-time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-gray);
}

.page-news__news-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 700;
  color: rgba(168,255,96,0.32);
  line-height: 1;
  margin-bottom: 8px;
}

.page-news__news-card h3 {
  font-family: var(--font-headline);
  font-size: 18px;
  line-height: 1.4;
  margin: 0 0 10px;
}

.page-news__news-summary {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.65;
  color: var(--c-gray);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-news__news-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-green);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.page-news__news-link:hover {
  border-color: var(--c-green);
}

@media (hover: hover) {
  .page-news__news-item:hover .page-news__news-summary {
    -webkit-line-clamp: unset;
    overflow: visible;
  }
}

@media (hover: none) {
  .page-news__news-summary {
    display: block;
    overflow: visible;
  }
}

/* ===== 版本记录 ===== */
.page-news__versions {
  position: relative;
  background: var(--c-slate);
}

.page-news__versions::before {
  content: "";
  display: block;
  height: 6px;
  margin-bottom: 48px;
  background: linear-gradient(90deg, var(--c-green) 0 34%, var(--c-orange) 34% 54%, transparent 54% 100%);
  clip-path: polygon(0 0, 100% 0, 97% 100%, 0 100%);
}

.page-news__version-hero {
  margin-bottom: 40px;
  overflow: hidden;
}

.page-news__version-hero-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), 0 100%);
}

.page-news__version-hero-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  background: var(--c-indigo);
  padding: 18px 20px;
  border-left: 4px solid var(--c-orange);
  margin-top: -4px;
}

.page-news__version-hero-code {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-orange);
  background: rgba(255,107,53,0.14);
  padding: 6px 12px;
  white-space: nowrap;
}

.page-news__version-hero-caption p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-white);
  margin: 0;
  flex: 1 1 260px;
}

.page-news__version-list {
  position: relative;
  display: grid;
  gap: 20px;
}

.page-news__version-list::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 18px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--c-green) 0 6px, transparent 6px 12px);
  opacity: 0.35;
}

.page-news__version-item {
  position: relative;
  display: grid;
  gap: 12px;
  padding-left: 52px;
}

.page-news__version-marker {
  position: absolute;
  left: 6px;
  top: 4px;
  text-align: center;
  z-index: 1;
}

.page-news__version-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--c-navy);
  border: 2px solid var(--c-green);
  color: var(--c-green);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  box-sizing: border-box;
}

.page-news__version-status {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--c-gray);
  margin-top: 5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.page-news__version-body {
  background: var(--c-indigo);
  padding: 20px 18px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  border-left: 3px solid var(--c-green);
}

.page-news__version-body--current {
  border-left: 3px solid var(--c-orange);
  background: linear-gradient(135deg, var(--c-indigo) 0%, #213257 100%);
}

.page-news__version-body h3 {
  font-family: var(--font-headline);
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 8px;
}

.page-news__version-body p {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.65;
  color: var(--c-gray);
  margin: 0 0 12px;
}

.page-news__version-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news__version-body li {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-cyan);
  background: rgba(0,229,255,0.08);
  padding: 4px 9px;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
}

/* ===== 赛事目录观察 ===== */
.page-news__directory {
  background: var(--c-navy);
}

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

.page-news__directory-card {
  background: var(--c-indigo);
  overflow: hidden;
}

.page-news__directory-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.page-news__directory-card:hover .page-news__directory-media img {
  transform: scale(1.02);
}

.page-news__directory-body {
  padding: 24px 20px;
}

.page-news__directory-body--offset {
  background: var(--c-slate);
}

.page-news__directory-body h3 {
  font-family: var(--font-headline);
  font-size: 20px;
  line-height: 1.3;
  margin: 12px 0 14px;
}

.page-news__directory-body p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-gray);
  margin: 0 0 18px;
}

.page-news__directory-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0 20px 24px;
  background: var(--c-slate);
}

.page-news__directory-meta-item {
  background: var(--c-navy);
  padding: 14px 10px;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}

.page-news__directory-meta-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--c-green);
  line-height: 1.1;
}

.page-news__directory-meta-label {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--c-gray);
  margin-top: 3px;
}

/* ===== 玩转平台 ===== */
.page-news__tips {
  position: relative;
  background: var(--c-slate);
}

.page-news__tips::before {
  content: "";
  display: block;
  height: 6px;
  margin-bottom: 48px;
  background: linear-gradient(90deg, var(--c-cyan) 0 22%, var(--c-green) 22% 58%, transparent 58% 100%);
  clip-path: polygon(0 0, 100% 0, 97% 100%, 0 100%);
}

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

.page-news__tips-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 3%, 100% 100%, 3% 97%);
}

.page-news__tips-content {
  display: grid;
  gap: 12px;
}

.page-news__tip-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  background: var(--c-indigo);
  padding: 16px;
  border-left: 3px solid var(--c-green);
  transition: background 0.3s ease, transform 0.3s ease;
}

.page-news__tip-card:hover {
  background: #223458;
  transform: translateX(4px);
}

.page-news__tip-index {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-cyan);
  line-height: 1.2;
}

.page-news__tip-card h3 {
  font-family: var(--font-headline);
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 6px;
}

.page-news__tip-card p {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.65;
  color: var(--c-gray);
  margin: 0;
}

.page-news__tips-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

/* ===== 桌面增强 ===== */
@media (min-width: 768px) {
  .page-news__hero {
    padding: 48px 0 72px;
  }

  .page-news__hero-grid {
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: end;
  }

  .page-news__section {
    padding: 80px 0;
  }

  .page-news__section-head {
    margin-bottom: 40px;
  }

  .page-news__version-list {
    gap: 16px;
    margin: 0 auto;
  }

  .page-news__version-body {
    padding: 24px 28px;
  }

  .page-news__version-body p {
    font-size: 14px;
  }

  .page-news__directory-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 0;
    align-items: start;
  }

  .page-news__directory-card:first-child {
    margin-right: -28px;
    z-index: 1;
  }

  .page-news__directory-card:last-child {
    margin-top: 80px;
  }

  .page-news__directory-body {
    padding: 28px 28px 24px;
  }

  .page-news__directory-meta {
    padding: 0 28px 28px;
  }

  .page-news__tips-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 44px;
    align-items: center;
  }

  .page-news__tip-card {
    grid-template-columns: 52px 1fr;
    padding: 20px;
  }

  .page-news__tip-card p {
    font-size: 14px;
  }
}

@media (min-width: 1200px) {
  .page-news__timeline {
    min-width: 1464px;
    padding-left: 4px;
    padding-right: 4px;
  }

  .page-news__timeline-line {
    left: 4px;
    width: calc(100% - 8px);
  }

  .page-news__directory-card:first-child {
    margin-right: -48px;
  }

  .page-news__directory-body h3 {
    font-size: 22px;
  }
}
