.page-news {
  --news-muted: #5B6B8C;
  --news-border: #D9E1EC;
  overflow-x: clip;
}

.page-news section[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

/* 首屏 hero */
.page-news .news-hero {
  background: linear-gradient(135deg, #0B1B3F 0%, #1A2D5A 100%);
  color: var(--color-text-light);
  padding: 48px 0 64px;
  position: relative;
  overflow: hidden;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -80px;
  top: -80px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  transform: rotate(45deg);
  border-radius: 12px;
  pointer-events: none;
}

.page-news .news-hero__inner {
  display: grid;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.page-news .news-hero__kicker {
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  color: var(--color-accent);
  font-size: 13px;
  margin-bottom: 12px;
}

.page-news .news-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.12;
  margin-bottom: 16px;
  max-width: 11em;
  color: var(--color-text-light);
}

.page-news .news-hero__lead {
  color: rgba(255, 255, 255, 0.82);
  max-width: 30em;
  margin-bottom: 24px;
  line-height: 1.7;
}

.page-news .news-hero__stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.page-news .news-hero__stat {
  display: grid;
  gap: 2px;
}

.page-news .news-hero__stat strong {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--color-accent);
}

.page-news .news-hero__stat span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.06em;
}

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

.page-news .news-hero__visual {
  display: grid;
  gap: 14px;
}

.page-news .news-hero__visual .live-status {
  justify-content: flex-start;
}

.page-news .news-hero__visual img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.page-news .news-hero .btn--ghost {
  color: var(--color-text-light);
  border-color: rgba(255, 255, 255, 0.45);
}

.page-news .news-hero .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* 最新动态区 */
.page-news .news-feed {
  padding: 64px 0;
  background: var(--color-bg);
}

.page-news .news-feed__heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 32px;
}

.page-news .news-feed__heading-text {
  max-width: 32em;
}

.page-news .section__kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--color-accent-2);
  margin-bottom: 6px;
}

.page-news .section__heading {
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 6px;
  color: var(--color-text);
}

.page-news .section__subtitle {
  color: var(--news-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* 筛选面板与时间线动态流 */
.page-news .filter-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-news .filter-panel > input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.page-news .filter-panel:focus-within .filter-tabs__label {
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.35);
}

.page-news .filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
}

.page-news .filter-tabs__label {
  display: inline-flex;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--news-border);
  background: var(--color-text-light);
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.page-news #filter-all:checked ~ .filter-tabs label[for="filter-all"],
.page-news #filter-brand:checked ~ .filter-tabs label[for="filter-brand"],
.page-news #filter-func:checked ~ .filter-tabs label[for="filter-func"],
.page-news #filter-report:checked ~ .filter-tabs label[for="filter-report"],
.page-news #filter-feature:checked ~ .filter-tabs label[for="filter-feature"] {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text-light);
}

.page-news .news-list {
  position: relative;
  margin-top: 4px;
  padding-left: 24px;
  min-width: 0;
}

.page-news .news-list::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-accent), var(--color-accent-2));
  opacity: 0.45;
}

.page-news .news-card {
  position: relative;
  margin-bottom: 22px;
  background: var(--color-text-light);
  border: 1px solid var(--news-border);
  border-radius: 12px;
  padding: 20px;
  transition: box-shadow 0.25s, transform 0.25s;
}

.page-news .news-card:hover {
  box-shadow: 0 12px 28px rgba(11, 27, 63, 0.08);
  transform: translateY(-2px);
}

.page-news .news-card__marker {
  position: absolute;
  left: -29px;
  top: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid var(--color-text-light);
  box-shadow: 0 0 0 2px var(--color-primary);
}

.page-news .news-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.page-news .news-card__tag {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(154, 77, 255, 0.12);
  color: var(--color-accent-2);
}

.page-news .news-card--brand .news-card__tag {
  background: rgba(11, 27, 63, 0.08);
  color: var(--color-primary);
}

.page-news .news-card--func .news-card__tag {
  background: rgba(255, 107, 53, 0.12);
  color: var(--color-accent);
}

.page-news .news-card--report .news-card__tag {
  background: rgba(0, 200, 150, 0.14);
  color: #00926A;
}

.page-news .news-card--feature .news-card__tag {
  background: rgba(154, 77, 255, 0.12);
  color: var(--color-accent-2);
}

.page-news .news-card__time {
  font-size: 13px;
  color: var(--news-muted);
  font-family: var(--font-mono);
}

.page-news .news-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--color-text);
}

.page-news .news-card__summary {
  color: var(--news-muted);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 12px;
}

.page-news .news-card__detail {
  border-top: 1px dashed var(--news-border);
  padding-top: 12px;
}

.page-news .news-card__detail summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  cursor: pointer;
  list-style: none;
}

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

.page-news .news-card__detail summary::marker {
  content: "";
}

.page-news .news-card__detail summary::after {
  content: "+";
  font-size: 16px;
  line-height: 1;
  transition: transform 0.2s;
}

.page-news .news-card__detail[open] summary::after {
  content: "−";
}

.page-news .news-card__detail summary:hover {
  color: var(--color-primary);
}

.page-news .news-card__detail p {
  margin-top: 10px;
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.7;
}

/* 战报更新区 */
.page-news .report-section {
  background: linear-gradient(160deg, #0B1B3F 0%, #1A2D5A 60%, #0B1B3F 100%);
  color: var(--color-text-light);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.page-news .report-section::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 2px solid rgba(255, 107, 53, 0.4);
  transform: rotate(45deg);
  left: -60px;
  bottom: -40px;
  border-radius: 12px;
  pointer-events: none;
}

.page-news .report-section__heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 40px;
}

.page-news .report-section .section__heading {
  color: var(--color-text-light);
}

.page-news .report-section .section__kicker {
  color: var(--color-accent);
}

.page-news .report-grid {
  display: grid;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.page-news .report-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  overflow: hidden;
}

.page-news .report-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-news .report-card__body {
  padding: 24px;
}

.page-news .report-card__label {
  font-family: var(--font-mono);
  color: var(--color-accent);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.page-news .report-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  margin: 8px 0 10px;
  color: var(--color-text-light);
}

.page-news .report-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.page-news .report-card__stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .report-card__stats li {
  display: grid;
  gap: 2px;
}

.page-news .report-card__stats strong {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-accent);
}

.page-news .report-card__stats span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
}

.page-news .report-timeline-wrap {
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  padding-left: 24px;
}

.page-news .report-timeline-wrap h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--color-warning);
}

.page-news .report-timeline {
  display: grid;
  gap: 20px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.page-news .report-timeline__item {
  position: relative;
  padding-left: 16px;
}

.page-news .report-timeline__dot {
  position: absolute;
  left: -30px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.25);
  animation: page-news-pulse 2s infinite;
}

@keyframes page-news-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.45);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255, 107, 53, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
  }
}

.page-news .report-timeline__item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--color-text-light);
}

.page-news .report-timeline__item p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}

.page-news .report-section .btn--ghost {
  color: var(--color-text-light);
  border-color: rgba(255, 255, 255, 0.5);
}

.page-news .report-section .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* 专题系列 */
.page-news .series-section {
  padding: 64px 0;
  background: var(--color-bg);
}

.page-news .series-section__heading {
  max-width: 36em;
}

.page-news .series-grid {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.page-news .series-card {
  background: var(--color-text-light);
  border-radius: 16px;
  border: 1px solid var(--news-border);
  overflow: hidden;
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.page-news .series-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(11, 27, 63, 0.1);
}

.page-news .series-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-news .series-card:not(.series-card--cover)::before {
  content: "";
  display: block;
  height: 150px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.18) 0 18%, transparent 20%),
    linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
}

.page-news .series-card__body {
  padding: 20px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.page-news .series-card__index {
  font-family: var(--font-mono);
  color: var(--color-accent);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.page-news .series-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.3;
  color: var(--color-text);
}

.page-news .series-card p {
  color: var(--news-muted);
  font-size: 14px;
  line-height: 1.7;
  flex: 1;
}

/* 迭代时间线 */
.page-news .evolution-section {
  padding: 64px 0;
  background: var(--color-primary);
  color: var(--color-text-light);
}

.page-news .evolution-section .section__heading {
  color: var(--color-text-light);
}

.page-news .evolution-section .section__kicker {
  color: var(--color-accent);
}

.page-news .evolution-section__heading {
  max-width: 36em;
}

.page-news .evolution-section__strip {
  width: 100%;
  height: auto;
  margin: 32px 0;
  border-radius: 12px;
  object-fit: cover;
}

.page-news .evolution-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 16px;
  max-width: 720px;
}

.page-news .evolution-list__item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 16px;
}

.page-news .evolution-list__item:last-child {
  border-bottom: none;
}

.page-news .evolution-list__version {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  border-radius: 8px;
  background: var(--color-accent);
  color: var(--color-text-light);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  transform: skewX(-8deg);
}

.page-news .evolution-list h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  margin-bottom: 4px;
  color: var(--color-text-light);
}

.page-news .evolution-list p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
}

.page-news .evolution-section .btn--ghost {
  color: var(--color-text-light);
  border-color: rgba(255, 255, 255, 0.5);
}

.page-news .evolution-section .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* 底部联系引导 */
.page-news .outro-section {
  padding: 48px 0;
  background: var(--color-bg);
}

.page-news .outro-section__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.page-news .outro-section h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--color-text);
}

.page-news .outro-section p {
  color: var(--news-muted);
  line-height: 1.7;
  max-width: 30em;
}

.page-news .outro-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 响应式增强 */
@media (min-width: 768px) {
  .page-news .news-hero {
    padding: 64px 0 80px;
  }

  .page-news .news-hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
  }

  .page-news .filter-panel {
    grid-template-columns: 140px 1fr;
    gap: 24px;
  }

  .page-news .filter-tabs {
    flex-direction: column;
  }

  .page-news .report-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

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

  .page-news .outro-section__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .page-news .news-feed {
    padding: 80px 0;
  }

  .page-news .filter-panel {
    grid-template-columns: 160px 1fr;
    gap: 40px;
  }

  .page-news .report-section,
  .page-news .series-section,
  .page-news .evolution-section {
    padding: 88px 0;
  }

  .page-news .series-grid {
    gap: 28px;
  }

  .page-news .evolution-list__item {
    grid-template-columns: 88px 1fr;
  }
}
