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

/* 面包屑 */
.page-news .breadcrumb {
  padding: 28px 0 10px;
  font-size: 14px;
  line-height: 1.6;
}

.page-news .breadcrumb a {
  color: var(--color-muted);
  text-decoration: none;
}

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

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

/* 页头 */
.page-news .news-intro {
  position: relative;
  overflow: hidden;
  background-color: var(--color-space-900);
  background-image:
    radial-gradient(circle at 85% 18%, rgba(232, 200, 122, 0.18), transparent 240px),
    radial-gradient(circle at 15% 95%, rgba(30, 76, 126, 0.5), transparent 320px),
    linear-gradient(160deg, var(--color-space-900) 0%, var(--color-space-700) 100%);
  color: var(--color-white);
  padding: 52px 0 56px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  margin-bottom: 48px;
}

.page-news .intro-layout {
  display: grid;
  gap: 36px;
}

.page-news .intro-copy .section-eyebrow,
.page-news .series-section .section-eyebrow,
.page-news .subscribe-section .section-eyebrow {
  color: var(--color-gold-300);
  margin-bottom: 8px;
}

.page-news .news-intro h1 {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  max-width: 17em;
}

.page-news .intro-lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(244, 247, 251, 0.82);
  max-width: 38em;
}

.page-news .intro-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-top: 1px solid rgba(232, 200, 122, 0.34);
  border-bottom: 1px solid rgba(232, 200, 122, 0.34);
  padding: 22px 0 12px;
}

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

.page-news .rail-num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  color: var(--color-white);
}

.page-news .rail-desc {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(244, 247, 251, 0.7);
}

/* 近期动态 */
.page-news .updates-section {
  padding: 8px 0 64px;
}

.page-news .section-heading h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.25;
  margin: 6px 0 0;
  color: var(--color-ink);
}

.page-news .updates-head {
  display: grid;
  gap: 22px;
  margin-bottom: 32px;
}

.page-news .category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-news .category-nav .tag {
  font-size: 13px;
  line-height: 1;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(11, 30, 58, 0.14);
  color: var(--color-muted);
  background: transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.page-news .category-nav .tag:hover {
  border-color: var(--color-gold-500);
  color: var(--color-ink);
}

.page-news .category-nav .tag.is-active {
  background: var(--color-space-900);
  border-color: var(--color-space-900);
  color: var(--color-gold-300);
}

/* 置顶动态卡 */
.page-news .featured-card {
  display: grid;
  gap: 22px;
  margin-bottom: 28px;
  padding: 18px;
  background: var(--color-white);
  border: 1px solid rgba(11, 30, 58, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.page-news .featured-card img,
.page-news .post-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

/* 动态卡片流 */
.page-news .post-grid {
  display: grid;
  gap: 22px;
}

.page-news .post-card {
  padding: 24px 22px;
  background: var(--color-white);
  border: 1px solid rgba(11, 30, 58, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.page-news .post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(201, 168, 76, 0.55);
}

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

.page-news .post-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 7px 11px;
  border-radius: var(--radius-pill);
}

.page-news .cat-version {
  background: rgba(255, 122, 61, 0.14);
  color: #B34A12;
}

.page-news .cat-feature {
  background: rgba(201, 168, 76, 0.18);
  color: #7C621F;
}

.page-news .cat-service {
  background: rgba(35, 181, 126, 0.14);
  color: #116F4C;
}

.page-news .cat-notice {
  background: rgba(30, 76, 126, 0.12);
  color: var(--color-space-500);
}

.page-news .post-time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-muted);
  letter-spacing: 0.02em;
}

.page-news .post-card h3,
.page-news .featured-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.45;
  color: var(--color-ink);
}

.page-news .featured-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.page-news .post-card p,
.page-news .featured-card p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-muted);
}

.page-news .post-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-space-500);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-news .post-link:hover {
  border-color: currentColor;
  color: var(--color-ink);
}

.page-news .featured-card .post-link {
  font-size: 15px;
}

/* 赛季专题 */
.page-news .series-section {
  background-color: var(--color-space-900);
  background-image: radial-gradient(circle at 90% 10%, rgba(30, 76, 126, 0.35), transparent 300px);
  color: var(--color-white);
  padding: 64px 0 48px;
  margin-bottom: 64px;
}

.page-news .series-section .section-heading h2 {
  color: var(--color-white);
}

.page-news .series-intro {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(244, 247, 251, 0.72);
  max-width: 46em;
}

.page-news .series-scroller {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 16px 4px 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--color-gold-500) var(--color-space-700);
}

.page-news .series-card {
  flex: 0 0 min(82vw, 340px);
  scroll-snap-align: start;
  background: var(--color-space-700);
  border: 1px solid rgba(232, 200, 122, 0.22);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-news .series-thumb {
  aspect-ratio: 2 / 1;
  background: var(--color-space-500);
}

.page-news .series-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-news .series-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
  flex: 1;
}

.page-news .series-index {
  font-family: var(--font-mono);
  font-size: 30px;
  line-height: 1;
  font-weight: 500;
  color: rgba(232, 200, 122, 0.9);
}

.page-news .series-content h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-white);
}

.page-news .series-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(244, 247, 251, 0.72);
  flex: 1;
}

.page-news .series-content .btn {
  margin-top: 6px;
}

.page-news .series-content .btn-outline {
  border-color: rgba(232, 200, 122, 0.65);
  color: var(--color-gold-300);
}

.page-news .series-content .btn-outline:hover {
  background: rgba(232, 200, 122, 0.12);
  color: var(--color-white);
  border-color: var(--color-gold-300);
}

/* 更新日志 */
.page-news .changelog-section {
  padding: 8px 0 72px;
}

.page-news .changelog-section .section-heading {
  margin-bottom: 32px;
}

.page-news .changelog-layout {
  display: grid;
  gap: 28px;
}

.page-news .changelog-side img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  border: 1px solid rgba(11, 30, 58, 0.08);
}

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

.page-news .version-panel {
  background: var(--color-white);
  border: 1px solid rgba(11, 30, 58, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.page-news .version-panel:last-child {
  margin-bottom: 0;
}

.page-news .version-panel summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s ease;
}

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

.page-news .version-panel summary:hover {
  background: rgba(11, 30, 58, 0.03);
}

.page-news .version-panel[open] summary {
  border-bottom: 1px solid rgba(11, 30, 58, 0.06);
  background: rgba(11, 30, 58, 0.02);
}

.page-news .version-num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  color: var(--color-gold-500);
}

.page-news .version-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-ink);
  flex: 1;
}

.page-news .version-arrow {
  --arrow-size: 26px;
  width: var(--arrow-size);
  height: var(--arrow-size);
  border-radius: 50%;
  border: 1px solid rgba(11, 30, 58, 0.18);
  position: relative;
  flex: 0 0 auto;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.page-news .version-arrow::before,
.page-news .version-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  background: var(--color-ink);
  transition: background 0.2s ease;
}

.page-news .version-arrow::before {
  transform: translate(-50%, -50%);
}

.page-news .version-arrow::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.page-news .version-panel[open] .version-arrow {
  transform: rotate(45deg);
  border-color: var(--color-gold-500);
}

.page-news .version-panel[open] .version-arrow::before,
.page-news .version-panel[open] .version-arrow::after {
  background: var(--color-gold-500);
}

.page-news .version-panel ul {
  margin: 0;
  padding: 20px 24px 24px 44px;
  display: grid;
  gap: 10px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-muted);
}

.page-news .version-panel li::marker {
  color: var(--color-gold-500);
}

/* 订阅与提醒 */
.page-news .subscribe-section {
  background-color: var(--color-space-900);
  background-image: radial-gradient(circle at 90% 75%, rgba(30, 76, 126, 0.35), transparent 280px), linear-gradient(160deg, var(--color-space-900), var(--color-space-700));
  color: var(--color-white);
  padding: 64px 0 72px;
}

.page-news .subscribe-section h2 {
  color: var(--color-white);
}

.page-news .subscribe-lead {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(244, 247, 251, 0.76);
  max-width: 48em;
}

.page-news .subscribe-layout {
  display: grid;
  gap: 36px;
  margin-top: 24px;
}

.page-news .subscribe-channels {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.page-news .channel-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(232, 200, 122, 0.2);
  border-radius: var(--radius-md);
  background: rgba(19, 46, 84, 0.7);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.page-news .channel-link:hover {
  border-color: var(--color-gold-300);
  background: rgba(19, 46, 84, 0.95);
}

.page-news .channel-index {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--color-gold-300);
}

.page-news .channel-link > span:nth-child(2) {
  font-weight: 600;
  color: var(--color-white);
}

.page-news .channel-note {
  font-size: 13px;
  color: rgba(244, 247, 251, 0.7);
  text-align: right;
}

.page-news .service-note {
  margin: 28px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(244, 247, 251, 0.76);
  max-width: 52em;
}

.page-news .trust-note {
  margin: 20px 0 0;
  padding: 16px 20px;
  border-left: 2px solid var(--color-gold-500);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(244, 247, 251, 0.8);
}

.page-news .subscribe-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

/* 桌面端布局增强 */
@media (min-width: 780px) {
  .page-news .news-intro h1 {
    font-size: 38px;
  }

  .page-news .post-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 22px;
  }

  .page-news .post-grid .post-card:nth-child(even) {
    margin-top: 48px;
  }
}

@media (min-width: 860px) {
  .page-news .updates-section {
    padding: 16px 0 96px;
  }

  .page-news .section-heading h2 {
    font-size: 38px;
  }

  .page-news .news-intro {
    padding: 64px 0 68px;
  }

  .page-news .intro-layout {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: end;
    gap: 64px;
  }

  .page-news .intro-rail {
    padding-top: 26px;
  }

  .page-news .rail-num {
    font-size: 32px;
  }

  .page-news .updates-head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .page-news .featured-card {
    grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
    align-items: center;
    padding: 24px;
  }

  .page-news .featured-card h3 {
    font-size: 26px;
  }

  .page-news .series-card {
    flex-basis: 340px;
  }

  .page-news .series-card-lead {
    flex-basis: 520px;
  }
}

@media (min-width: 920px) {
  .page-news .changelog-layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
    align-items: start;
  }

  .page-news .subscribe-layout {
    grid-template-columns: 1fr 300px;
    gap: 64px;
    align-items: center;
  }
}

@media (min-width: 1080px) {
  .page-news .news-intro h1 {
    font-size: 48px;
  }

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

  .page-news .subscribe-section {
    padding: 72px 0 80px;
  }
}
