.page-news {
  --news-card-shadow: 0 8px 24px rgba(13, 27, 42, 0.06);
  --news-card-shadow-hover: 0 14px 32px rgba(13, 27, 42, 0.12);
  background: var(--c-bg-light);
}

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

/* ===== 首屏 Hero ===== */
.page-news .news-hero {
  position: relative;
  background: var(--c-navy);
  color: #fff;
  overflow: hidden;
  padding: 40px 0 52px;
}

.page-news .news-hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-news .news-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.page-news .news-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 27, 42, 0.52) 0%, rgba(13, 27, 42, 0.9) 100%);
}

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

.page-news .news-hero .breadcrumbs {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.page-news .news-hero .breadcrumbs a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-news .news-hero .breadcrumbs a:hover {
  color: var(--c-score);
  border-color: var(--c-score);
}

.page-news .news-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(0, 230, 118, 0.5);
  border-radius: var(--radius-pill);
  color: var(--c-score);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.page-news .news-hero__kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-score);
  box-shadow: 0 0 0 4px rgba(0, 230, 118, 0.15);
}

.page-news .news-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}

.page-news .news-hero__lead {
  max-width: 660px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.7;
}

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

.page-news .news-hero .trust-line {
  color: var(--c-score);
}

.page-news .news-hero__badge {
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

/* ===== 最新动态 + 筛选 ===== */
.page-news .news-feed {
  padding: 64px 0 72px;
  background: var(--c-bg-light);
}

.page-news .news-feed__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.page-news .news-feed__head h2 {
  margin: 0 0 6px;
  font-size: 26px;
  color: var(--c-navy);
}

.page-news .news-feed__intro {
  margin: 0;
  color: var(--c-text-secondary);
  font-size: 14px;
}

.page-news .news-feed__stamp {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--c-navy);
  color: var(--c-score);
  font-size: 12px;
  font-weight: 700;
}

.page-news .news-area {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.page-news .news-cat-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.page-news .news-filter {
  background: #fff;
  border: 1px solid var(--c-divider);
  border-radius: var(--radius-lg);
  padding: 18px 18px 14px;
}

.page-news .news-filter h3 {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--c-navy);
}

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

.page-news .news-cat-label {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--c-divider);
  border-radius: var(--radius-pill);
  background: var(--c-bg-light);
  color: var(--c-text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.page-news .news-cat-label:hover {
  border-color: var(--c-primary);
  color: var(--c-primary-dark);
}

.page-news #news-cat-all:checked ~ .news-filter .news-filterbar label[for="news-cat-all"],
.page-news #news-cat-version:checked ~ .news-filter .news-filterbar label[for="news-cat-version"],
.page-news #news-cat-data:checked ~ .news-filter .news-filterbar label[for="news-cat-data"],
.page-news #news-cat-service:checked ~ .news-filter .news-filterbar label[for="news-cat-service"],
.page-news #news-cat-event:checked ~ .news-filter .news-filterbar label[for="news-cat-event"] {
  background: var(--c-primary);
  border-color: var(--c-primary-dark);
  color: var(--c-navy);
}

.page-news .news-filter__note {
  margin: 14px 0 0;
  color: var(--c-text-secondary);
  font-size: 12px;
  line-height: 1.5;
}

.page-news #news-cat-version:checked ~ .news-timeline .news-item:not([data-cat="version"]),
.page-news #news-cat-data:checked ~ .news-timeline .news-item:not([data-cat="data"]),
.page-news #news-cat-service:checked ~ .news-timeline .news-item:not([data-cat="service"]),
.page-news #news-cat-event:checked ~ .news-timeline .news-item:not([data-cat="event"]) {
  display: none;
}

/* ===== 时间线 ===== */
.page-news .news-timeline {
  position: relative;
  min-width: 0;
}

.page-news .news-timeline::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--c-primary) 0%, var(--c-primary-dark) 45%, rgba(0, 132, 61, 0.18) 100%);
}

.page-news .news-item {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

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

.page-news .news-item__node {
  width: 16px;
  height: 16px;
  margin: 30px auto 0;
  border-radius: 50%;
  background: var(--c-primary);
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.22);
  z-index: 1;
}

.page-news .news-item__content {
  border: 1px solid var(--c-divider);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-news .news-item__content:hover {
  transform: translateY(-3px);
  box-shadow: var(--news-card-shadow-hover);
  border-color: rgba(0, 200, 83, 0.35);
}

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

.page-news .news-item__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.page-news .news-item__time {
  font-size: 12px;
  color: var(--c-text-secondary);
  white-space: nowrap;
}

.page-news .news-item__title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.4;
  color: var(--c-navy);
  letter-spacing: -0.01em;
}

.page-news .news-item__summary {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-text);
}

.page-news .news-item__thumb {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--c-navy-soft);
  aspect-ratio: 1 / 1;
  max-width: 220px;
}

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

.page-news .news-item__more {
  margin-top: 14px;
  border-top: 1px dashed var(--c-divider);
  padding-top: 12px;
}

.page-news .news-item__more summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
  color: var(--c-primary-dark);
  font-size: 13px;
  font-weight: 700;
}

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

.page-news .news-item__more .less-label {
  display: none;
}

.page-news .news-item__more[open] .more-label {
  display: none;
}

.page-news .news-item__more[open] .less-label {
  display: inline;
}

.page-news .news-item__more summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -4px;
}

.page-news .news-item__more[open] summary::after {
  transform: rotate(225deg);
  margin-top: 2px;
}

.page-news .news-item__more-body {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-text-secondary);
}

/* ===== 更新日志 ===== */
.page-news .news-changelog {
  position: relative;
  background: var(--c-navy);
  color: rgba(255, 255, 255, 0.86);
  padding: 64px 0 72px;
  overflow: hidden;
}

.page-news .news-changelog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--c-primary) 0%, var(--c-score) 55%, var(--c-orange) 100%);
}

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

.page-news .changelog__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-navy-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 4 / 3;
}

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

.page-news .changelog__tag {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.page-news .changelog__content h2 {
  margin: 0 0 10px;
  font-size: 26px;
  color: #fff;
}

.page-news .changelog__lead {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.7;
  max-width: 640px;
}

.page-news .changelog__table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.page-news .changelog-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-news .changelog-table th {
  padding: 12px 16px;
  text-align: left;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}

.page-news .changelog-table td {
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}

.page-news .changelog-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-news .changelog-table tbody tr {
  transition: background-color 0.2s ease;
}

.page-news .changelog-table tbody tr:hover {
  background-color: rgba(0, 230, 118, 0.08);
}

.page-news .changelog-table__highlight td {
  background: rgba(0, 200, 83, 0.06);
}

.page-news .changelog-table__highlight td:first-child {
  border-left: 3px solid var(--c-score);
}

.page-news .changelog-table__highlight td:first-child,
.page-news .changelog-table__highlight td:nth-child(2) {
  color: var(--c-score);
  font-weight: 700;
}

.page-news .changelog__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.page-news .changelog__note {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.page-news .changelog__btn {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.page-news .changelog__btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* ===== 赛场指南专题 ===== */
.page-news .news-guide {
  padding: 64px 0 80px;
  background: var(--c-bg-light);
}

.page-news .news-guide__head {
  margin-bottom: 28px;
  max-width: 720px;
}

.page-news .news-guide__head .route-tag {
  display: inline-flex;
  margin-bottom: 10px;
}

.page-news .news-guide__head h2 {
  margin: 0 0 8px;
  font-size: 26px;
  color: var(--c-navy);
}

.page-news .news-guide__lead {
  margin: 0;
  color: var(--c-text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.page-news .guide-feature {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: calc(var(--radius-lg) + 6px);
  background: var(--c-navy);
  color: #fff;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--news-card-shadow);
}

.page-news .guide-feature__visual {
  min-height: 0;
  aspect-ratio: 16 / 10;
}

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

.page-news .guide-feature__content {
  padding: 28px;
}

.page-news .guide-feature__content .pill-tag {
  margin-bottom: 12px;
}

.page-news .guide-feature__title {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.35;
  color: #fff;
  letter-spacing: -0.01em;
}

.page-news .guide-feature__content p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.7;
}

.page-news .guide-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-news .guide-item {
  padding: 22px;
  border: 1px solid var(--c-divider);
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-news .guide-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--news-card-shadow-hover);
  border-color: rgba(0, 200, 83, 0.4);
}

.page-news .guide-item__title {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.45;
  color: var(--c-navy);
}

.page-news .guide-item p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-text-secondary);
}

.page-news .guide-item a {
  color: var(--c-primary-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 132, 61, 0.3);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-news .guide-item a:hover {
  color: var(--c-primary);
  border-color: var(--c-primary);
}

/* ===== 响应式布局 ===== */
@media (min-width: 640px) {
  .page-news .news-item--featured .news-item__content {
    grid-template-columns: 1fr 180px;
    align-items: start;
  }
}

@media (min-width: 768px) {
  .page-news .changelog__grid {
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: center;
  }

  .page-news .guide-feature {
    grid-template-columns: 1.1fr 1fr;
  }

  .page-news .guide-feature__visual {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .page-news .guide-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 960px) {
  .page-news .news-area {
    grid-template-columns: 240px 1fr;
    gap: 32px;
  }

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