/* ========== 最新动态页 / page-news ========== */
.page-news {
  background: var(--c-paper);
  color: var(--c-ink);
  overflow-x: hidden;
}

/* ---------- Hero 首屏 ---------- */
.page-news .news-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 6vw, 72px) var(--gutter) clamp(44px, 6vw, 80px);
  background:
    radial-gradient(1100px 420px at 88% -12%, rgba(0, 255, 135, 0.22), transparent 62%),
    linear-gradient(135deg, var(--c-space) 0%, #0F2B4F 55%, var(--c-teal) 100%);
  color: var(--c-white);
  border-bottom: 4px solid var(--c-lime);
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 7px),
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 250px;
  height: 250px;
  background: var(--c-wine);
  transform: rotate(24deg);
  opacity: 0.5;
}

.page-news .news-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-w);
  margin-inline: auto;
  display: grid;
  gap: 28px;
}

.page-news .news-hero .breadcrumb {
  padding: 0;
  margin: 0 0 8px;
}

.page-news .news-hero .breadcrumb-list {
  margin: 0;
  padding: 0;
}

.page-news .news-hero .breadcrumb-item {
  color: rgba(255, 255, 255, 0.64);
}

.page-news .news-hero .breadcrumb-item a {
  color: var(--c-lime);
  text-decoration: none;
}

.page-news .news-hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-lime);
}

.page-news .news-hero-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--c-lime);
  display: inline-block;
}

.page-news .news-hero h1 {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: clamp(42px, 7vw, 68px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.page-news .news-hero-lead {
  max-width: 640px;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

.page-news .news-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.page-news .hero-stat {
  padding: 16px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.065);
  text-align: center;
}

.page-news .hero-stat-num {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--c-lime);
  line-height: 1.1;
}

.page-news .hero-stat-label {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.66);
}

/* ---------- 双栏布局 ---------- */
.page-news .news-layout {
  max-width: calc(var(--container-w) + var(--gutter) * 2);
  margin-inline: auto;
  padding: clamp(32px, 5vw, 60px) var(--gutter) clamp(40px, 6vw, 72px);
  display: grid;
  gap: 32px;
}

.page-news .news-main {
  min-width: 0;
}

.page-news .news-main .section-head {
  margin-bottom: 20px;
}

/* ---------- 更新动态列表 ---------- */
.page-news .news-list {
  display: grid;
  gap: 14px;
  scroll-margin-top: 110px;
}

.page-news .news-list-item {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 56px;
  gap: 12px;
  align-items: start;
  padding: 16px 14px;
  border-radius: var(--radius-card);
  background: var(--c-teal);
  color: rgba(242, 244, 248, 0.9);
  box-shadow: 0 10px 26px rgba(11, 27, 61, 0.14);
  scroll-margin-top: 110px;
  transition: transform var(--ease), box-shadow var(--ease), background-color var(--ease);
}

.page-news .news-list-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(50% - 22px);
  width: 3px;
  height: 44px;
  border-radius: 0 4px 4px 0;
  background: var(--c-lime);
}

.page-news .news-list-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.page-news .news-list-item:target {
  box-shadow: 0 0 0 3px var(--c-lime), var(--shadow-lift);
}

.page-news .news-item-index {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: var(--c-lime);
  letter-spacing: -0.03em;
}

.page-news .news-item-content {
  min-width: 0;
}

.page-news .news-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.page-news .news-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-news .news-item-time {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.56);
}

.page-news .news-item-content h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.page-news .news-item-content h3 a {
  color: var(--c-white);
  text-decoration: none;
}

.page-news .news-item-content h3 a:hover {
  color: var(--c-lime);
}

.page-news .news-summary {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(242, 244, 248, 0.78);
}

.page-news .news-expand {
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 10px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(242, 244, 248, 0.72);
}

.page-news .news-expand summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-lime);
}

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

.page-news .news-expand summary::before {
  content: "+";
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.page-news .news-expand[open] summary::before {
  content: "−";
}

.page-news .news-item-icon {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  align-self: center;
}

.page-news .news-list-footer {
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  background: rgba(11, 27, 61, 0.07);
  color: var(--c-space);
  text-align: center;
  font-size: 13px;
}

/* ---------- 侧栏 ---------- */
.page-news .news-side {
  display: grid;
  gap: 24px;
  align-content: start;
  min-width: 0;
}

.page-news .news-side-section {
  border-radius: 24px;
  padding: 22px 18px;
  box-shadow: 0 10px 28px rgba(11, 27, 61, 0.08);
}

.page-news .side-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.page-news .side-section-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--c-space);
}

.page-news .side-section-head .kicker {
  color: var(--c-indigo);
}

/* ---- 热门标签 ---- */
.page-news .news-side-section--tags {
  background: var(--c-white);
  border-left: 4px solid var(--c-indigo);
}

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

.page-news .tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border: 1px solid rgba(11, 27, 61, 0.14);
  border-radius: var(--radius-pill);
  background: var(--c-white);
  color: var(--c-space);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease), background-color var(--ease);
}

.page-news .tag:hover,
.page-news .tag:focus-visible {
  border-color: var(--c-lime);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.page-news .tag--hot {
  border-color: rgba(255, 122, 0, 0.4);
  background: rgba(255, 122, 0, 0.08);
  color: var(--c-orange);
}

.page-news .tag--version {
  padding: 8px 18px;
  font-size: 15px;
}

.page-news .tag--league {
  padding: 6px 13px;
  font-size: 13px;
}

.page-news .tag--summer {
  padding: 8px 16px;
  font-size: 14px;
}

.page-news .tag--data {
  padding: 7px 15px;
  font-size: 14px;
}

.page-news .tag--video {
  padding: 5px 11px;
  font-size: 12px;
}

.page-news .tag--account {
  padding: 6px 12px;
  font-size: 13px;
}

.page-news .tags-note {
  margin: 14px 0 0;
  font-size: 12px;
  color: rgba(11, 27, 61, 0.5);
}

/* ---- 精选视频集锦 ---- */
.page-news .news-side-section--videos {
  background:
    radial-gradient(240px 200px at 92% -4%, rgba(0, 255, 135, 0.2), transparent 60%),
    linear-gradient(160deg, var(--c-space) 0%, #102A52 55%, var(--c-indigo) 100%);
  color: rgba(255, 255, 255, 0.92);
}

.page-news .news-side-section--videos .side-section-head h2 {
  color: var(--c-white);
}

.page-news .news-side-section--videos .side-section-head .kicker {
  color: var(--c-lime);
}

.page-news .featured-video-card {
  display: grid;
  gap: 14px;
}

.page-news .featured-video-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
}

.page-news .featured-video-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-news .video-play-badge {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  background: rgba(11, 27, 61, 0.34);
  color: var(--c-white);
  font-size: 42px;
  transition: background-color var(--ease);
}

.page-news .featured-video-thumb:hover .video-play-badge,
.page-news .featured-video-thumb:focus-visible .video-play-badge {
  background: rgba(11, 27, 61, 0.08);
}

.page-news .featured-video-body h3 {
  margin: 8px 0 4px;
  font-size: 18px;
  line-height: 1.35;
}

.page-news .featured-video-body h3 a {
  color: var(--c-white);
  text-decoration: none;
}

.page-news .featured-video-body h3 a:hover {
  color: var(--c-lime);
}

.page-news .featured-video-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.page-news .featured-video-list {
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.page-news .featured-video-link {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  transition: color var(--ease);
}

.page-news .featured-video-link:last-child {
  border-bottom: 0;
}

.page-news .featured-video-link:hover {
  color: var(--c-lime);
}

.page-news .video-link-index {
  font-size: 12px;
  color: var(--c-lime);
}

.page-news .video-link-dur {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.56);
}

/* ---- 订阅提示 ---- */
.page-news .news-side-section--subscribe {
  border: 1px solid rgba(0, 255, 135, 0.5);
  background: var(--c-paper);
}

.page-news .news-side-section--subscribe .kicker {
  color: var(--c-orange);
}

.page-news .news-side-section--subscribe p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-ink);
}

.page-news .news-side-section--subscribe p a {
  color: var(--c-teal);
  font-weight: 700;
}

.page-news .subscribe-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .subscribe-channel {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--c-space);
  color: var(--c-lime);
  font-family: var(--font-mono);
  font-size: 12px;
}

/* ---------- 底部数据快照 ---------- */
.page-news .news-bottom-feature {
  display: grid;
  gap: 24px;
  align-items: center;
  max-width: calc(var(--container-w) + var(--gutter) * 2);
  margin-inline: auto;
  margin-bottom: clamp(40px, 6vw, 72px);
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(700px 300px at 10% 110%, rgba(255, 122, 0, 0.18), transparent 60%),
    linear-gradient(135deg, #071530, var(--c-space) 60%, var(--c-teal));
  box-shadow: var(--shadow-lift);
}

.page-news .news-bottom-media .img-frame {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 16 / 9;
}

.page-news .news-bottom-media .img-frame .img-frame-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-news .news-bottom-copy .section-head {
  margin-bottom: 12px;
}

.page-news .news-bottom-copy .section-title {
  color: var(--c-white);
}

.page-news .news-bottom-copy .section-lead {
  color: rgba(255, 255, 255, 0.8);
}

.page-news .news-bottom-copy p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.page-news .news-bottom-copy p a {
  color: var(--c-lime);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-news .news-bottom-copy .btn--outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 1.5px solid var(--c-lime);
  border-radius: var(--radius-pill);
  color: var(--c-lime);
  font-weight: 800;
  text-decoration: none;
  transition: background-color var(--ease), color var(--ease), box-shadow var(--ease);
}

.page-news .news-bottom-copy .btn--outline:hover {
  background: var(--c-lime);
  color: var(--c-space);
  box-shadow: var(--shadow-glow);
}

/* ---------- 媒体查询 ---------- */
@media (min-width: 600px) {
  .page-news .news-list-item {
    grid-template-columns: 56px minmax(0, 1fr) 88px;
    gap: 18px;
    padding: 20px 18px;
  }

  .page-news .news-item-index {
    font-size: 34px;
  }

  .page-news .news-item-icon {
    width: 88px;
    height: 88px;
  }

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

  .page-news .hero-stat {
    padding: 20px 16px;
  }
}

@media (min-width: 900px) {
  .page-news .news-hero-inner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
    gap: 48px;
  }

  .page-news .news-hero-stats {
    margin-top: 0;
  }

  .page-news .news-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 40px;
  }

  .page-news .news-list-item {
    grid-template-columns: 56px minmax(0, 1fr) 100px;
    gap: 18px;
    padding: 20px 20px;
  }

  .page-news .news-item-icon {
    width: 100px;
    height: 100px;
  }

  .page-news .news-bottom-feature {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
  }
}
