.page-news {
  background: var(--base-dark);
  color: var(--text-primary);
}

.page-news .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---- 顶部标题区 ---- */
.page-news .news-masthead {
  position: relative;
  padding: 32px 0 26px;
  border-bottom: 1px solid var(--border-line);
  margin-bottom: 48px;
}

.page-news .news-masthead::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue) 45%, var(--accent-purple));
  opacity: .65;
}

.page-news .news-masthead .breadcrumb {
  margin-bottom: 24px;
}

.page-news .news-title-grid {
  display: grid;
  gap: 24px;
}

.page-news .news-title-block {
  position: relative;
  padding-left: 18px;
}

.page-news .news-title-block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 6px;
  width: 4px;
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple) 80%);
}

.page-news .news-title-block h1 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.page-news .news-lead {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 62ch;
}

.page-news .news-meta-panel {
  margin: 0;
  padding: 0;
  border: 1px solid var(--border-line);
  background: var(--panel-dark);
}

.page-news .news-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  margin: 0;
  border-bottom: 1px solid var(--border-line);
}

.page-news .news-meta-row:last-child {
  border-bottom: none;
}

.page-news .news-meta-row dt {
  margin: 0;
  color: var(--text-secondary);
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.page-news .news-meta-row dd {
  margin: 0;
  color: var(--accent-cyan);
  font-weight: 700;
}

/* ---- 最新发布 ---- */
.page-news .news-feature-wrap {
  margin-bottom: 56px;
}

.page-news .news-feature {
  display: grid;
  position: relative;
  margin: 0;
  border: 1px solid var(--border-line);
  border-left: 3px solid var(--accent-cyan);
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 168, 255, .12), transparent 55%),
    linear-gradient(135deg, var(--panel-dark) 0%, #0D1424 72%);
}

.page-news .news-feature-media {
  min-height: 200px;
  overflow: hidden;
  background: var(--base-dark);
  border-bottom: 1px solid var(--border-line);
}

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

.page-news .news-feature-body {
  padding: 26px 22px 28px;
}

.page-news .news-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: .78rem;
  letter-spacing: .05em;
}

.page-news .news-article-meta .news-item-date {
  color: var(--text-secondary);
}

.page-news .news-article-meta .news-item-id {
  color: var(--accent-orange);
}

.page-news .news-feature-body h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 4vw, 2.35rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--text-primary);
}

.page-news .news-feature-body > p {
  margin: 0;
  color: var(--text-secondary);
  font-size: .95rem;
  line-height: 1.8;
}

.page-news .news-keypoints {
  list-style: none;
  margin: 18px 0 22px;
  padding: 0;
}

.page-news .news-keypoints li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--text-primary);
  border-bottom: 1px dashed var(--border-line);
}

.page-news .news-keypoints li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 17px;
  width: 7px;
  height: 7px;
  background: var(--accent-blue);
  transform: rotate(45deg);
}

.page-news .news-feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---- 更新记录区域 ---- */
.page-news .news-list-wrap {
  padding-top: 8px;
  margin-bottom: 64px;
}

.page-news .news-list-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-line);
}

.page-news .news-list-header h2 {
  margin: 8px 0 0;
  font-size: 1.85rem;
  line-height: 1.15;
  font-weight: 800;
  color: var(--text-primary);
}

.page-news .news-list-note {
  margin: 0 0 2px;
  font-size: .84rem;
}

/* 分类筛选 */
.page-news .news-filter-side {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  padding: 14px;
  background: var(--panel-dark);
  border: 1px solid var(--border-line);
}

.page-news .news-filter-title {
  width: 100%;
  margin: 0 0 6px;
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--text-secondary);
}

.page-news .news-filter {
  display: inline-block;
  padding: 7px 13px;
  border: 1px solid var(--border-line);
  background: var(--base-dark);
  color: var(--text-secondary);
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: border-color var(--ease), color var(--ease), background var(--ease), box-shadow var(--ease);
}

.page-news .news-filter:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.page-news .news-filter-all {
  color: var(--accent-cyan);
  border-color: rgba(0, 229, 160, .45);
}

.page-news #filter-version:target ~ .news-list-layout .news-filter-version,
.page-news #filter-event:target ~ .news-list-layout .news-filter-event,
.page-news #filter-feature:target ~ .news-list-layout .news-filter-feature,
.page-news #filter-report:target ~ .news-list-layout .news-filter-report {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: var(--base-dark);
  box-shadow: 0 0 12px rgba(0, 229, 160, .25);
}

.page-news #filter-version:target ~ .news-list-layout .news-filter-all,
.page-news #filter-event:target ~ .news-list-layout .news-filter-all,
.page-news #filter-feature:target ~ .news-list-layout .news-filter-all,
.page-news #filter-report:target ~ .news-list-layout .news-filter-all {
  color: var(--text-secondary);
  background: var(--base-dark);
  border-color: var(--border-line);
  box-shadow: none;
}

/* 时间轴列表 */
.page-news .news-timeline {
  position: relative;
  border-left: 1px solid var(--border-line);
  padding-left: 18px;
}

.page-news .news-timeline::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 2px;
  width: 7px;
  height: 7px;
  background: var(--accent-cyan);
  transform: rotate(45deg);
}

.page-news .news-item {
  position: relative;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-line);
  transition: background var(--ease);
}

.page-news .news-item:hover {
  background: linear-gradient(90deg, rgba(0, 229, 160, .06), rgba(0, 168, 255, .02));
}

.page-news .news-item-index {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-left: -18px;
  padding: 4px 0 0 10px;
  border-left: 2px solid transparent;
  transition: border-color var(--ease);
}

.page-news .news-item:hover .news-item-index {
  border-left-color: var(--accent-cyan);
}

.page-news .news-item-date,
.page-news .news-item-id {
  font-size: .78rem;
  letter-spacing: .02em;
}

.page-news .news-item-date {
  color: var(--text-secondary);
}

.page-news .news-item-id {
  color: var(--accent-orange);
}

/* 展开区域 */
.page-news .news-details {
  min-width: 0;
}

.page-news .news-details summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  transition: color var(--ease);
}

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

.page-news .news-details summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid var(--border-line);
  color: var(--accent-blue);
  font-family: var(--font-mono);
  font-size: .95rem;
  line-height: 1;
  flex-shrink: 0;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.page-news .news-details[open] summary::before {
  content: "–";
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: var(--base-dark);
}

.page-news .news-item-title {
  flex: 1 1 170px;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-primary);
  transition: color var(--ease);
}

.page-news .news-item:hover .news-item-title,
.page-news .news-details[open] summary .news-item-title {
  color: var(--accent-cyan);
}

.page-news .news-tag {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.5;
  white-space: nowrap;
}

.page-news .tag-version {
  color: var(--accent-cyan);
  border-color: rgba(0, 229, 160, .5);
}

.page-news .tag-event {
  color: var(--accent-orange);
  border-color: rgba(255, 120, 73, .55);
}

.page-news .tag-feature {
  color: var(--accent-blue);
  border-color: rgba(0, 168, 255, .5);
}

.page-news .tag-report {
  color: var(--accent-purple);
  border-color: rgba(139, 92, 246, .5);
}

.page-news .news-details-content {
  max-width: 68ch;
  margin-top: 14px;
  padding: 16px 18px;
  background: var(--panel-dark);
  border-left: 2px solid var(--accent-blue);
  font-size: .88rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.page-news .news-details-content p {
  margin: 0;
}

.page-news .news-details-content p + p {
  margin-top: 10px;
}

.page-news .news-details-content a {
  color: var(--accent-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 160, .35);
  transition: border-color var(--ease), color var(--ease);
}

.page-news .news-details-content a:hover {
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}

.page-news .news-details-media {
  margin-top: 14px;
  background: var(--base-dark);
  border: 1px solid var(--border-line);
}

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

/* 分类过滤锚点 */
.page-news .filter-span {
  display: block;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  scroll-margin-top: 16px;
}

.page-news #filter-version:target ~ .news-list-layout .news-item:not(.cat-version),
.page-news #filter-event:target ~ .news-list-layout .news-item:not(.cat-event),
.page-news #filter-feature:target ~ .news-list-layout .news-item:not(.cat-feature),
.page-news #filter-report:target ~ .news-list-layout .news-item:not(.cat-report) {
  display: none;
}

/* ---- 运营数据区 ---- */
.page-news .news-stats-wrap {
  margin-bottom: 64px;
}

.page-news .news-stats-layout {
  display: grid;
  gap: 28px;
  position: relative;
  padding: 32px 24px;
  overflow: hidden;
  border: 1px solid var(--border-line);
  background:
    radial-gradient(circle at 8% 10%, rgba(0, 229, 160, .09), transparent 42%),
    radial-gradient(circle at 90% 80%, rgba(139, 92, 246, .14), transparent 45%),
    var(--panel-dark);
}

.page-news .news-stats-info h2 {
  margin: 8px 0 10px;
  font-size: 1.85rem;
  line-height: 1.15;
  font-weight: 800;
  color: var(--text-primary);
}

.page-news .news-stats-desc {
  max-width: 52ch;
  margin: 0;
  font-size: .9rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.page-news .news-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 24px 0;
  background: var(--border-line);
  border: 1px solid var(--border-line);
}

.page-news .news-stats-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px;
  background: var(--base-dark);
}

.page-news .news-stats-num {
  font-family: var(--font-mono);
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.page-news .news-stats-num small {
  margin-left: 2px;
  font-size: .95rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.page-news .news-stats-label {
  font-size: .8rem;
  color: var(--text-secondary);
}

.page-news .news-stats-media {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--base-dark);
  border: 1px solid var(--border-line);
}

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

/* ---- 桌面端 ---- */
@media (min-width: 768px) {
  .page-news .news-masthead {
    padding: 44px 0 30px;
    margin-bottom: 64px;
  }

  .page-news .news-title-grid {
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: end;
  }

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

  .page-news .news-feature-media {
    min-height: 340px;
    border-right: 1px solid var(--border-line);
    border-bottom: 0;
  }

  .page-news .news-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .page-news .news-feature-body {
    padding: 34px 32px 36px;
  }

  .page-news .news-list-layout {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 36px;
    align-items: start;
  }

  .page-news .news-filter-side {
    position: sticky;
    top: 24px;
    flex-direction: column;
    margin-bottom: 0;
  }

  .page-news .news-filter-title {
    margin-bottom: 8px;
  }

  .page-news .news-item {
    grid-template-columns: 100px 1fr;
    gap: 18px;
    padding: 20px 0;
  }

  .page-news .news-details-content {
    padding: 18px 22px;
  }

  .page-news .news-stats-layout {
    grid-template-columns: 1.2fr 0.9fr;
    gap: 40px;
    align-items: center;
    padding: 42px 40px;
  }
}
