.page-news {
  background: var(--mist);
  color: var(--ink);
  padding-bottom: clamp(40px, 6vw, 80px);
}

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

.page-news a:focus-visible,
.page-news summary:focus-visible {
  outline: 2px solid var(--lime-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 面包屑 */
.page-news .breadcrumb {
  padding-top: clamp(16px, 3vw, 26px);
}

.page-news .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--grey);
}

.page-news .breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-news .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--slate);
}

.page-news .breadcrumb-link {
  color: var(--lime-deep);
  text-decoration: none;
}

.page-news .breadcrumb-link[aria-current="page"] {
  color: var(--grey);
}

/* 首屏专题封面 */
.page-news .news-hero {
  padding: clamp(14px, 2.5vw, 24px) 0 clamp(24px, 4vw, 40px);
}

.page-news .news-hero-inner {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
}

.page-news .hero-cover {
  border-radius: var(--radius-xl);
  background-image:
    radial-gradient(100% 90% at 100% 0%, rgba(200, 255, 61, 0.18), rgba(200, 255, 61, 0) 62%),
    linear-gradient(158deg, var(--green-800) 0%, var(--green-900) 100%);
  color: var(--mist);
  padding: clamp(26px, 6vw, 58px);
  overflow: hidden;
}

.page-news .hero-eyebrow {
  color: var(--lime);
}

.page-news .hero-title {
  margin: 14px 0 0;
  font-size: clamp(34px, 7.6vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--mist);
}

.page-news .hero-accent {
  color: var(--lime);
}

.page-news .hero-lead {
  margin: 20px 0 0;
  max-width: 54ch;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.85;
  color: var(--on-dark);
}

.page-news .hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.page-news .hero-ghost {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--pill);
  border: 1px solid rgba(244, 247, 242, 0.36);
  color: var(--mist);
  font-size: 14px;
  text-decoration: none;
  transition: border-color 200ms ease, color 200ms ease;
}

.page-news .hero-ghost:hover,
.page-news .hero-ghost:focus-visible {
  border-color: var(--lime);
  color: var(--lime);
}

.page-news .hero-stats {
  margin: 30px 0 0;
  padding: 22px 0 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  gap: 18px;
  border-top: 1px solid rgba(244, 247, 242, 0.18);
}

.page-news .hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.page-news .stat-num {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  line-height: 1;
  color: var(--lime);
}

.page-news .stat-label {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--on-dark-soft);
}

.page-news .hero-figure {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--green-900);
}

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

/* 分区节奏 */
.page-news .news-section {
  padding: clamp(34px, 6vw, 68px) 0;
}

.page-news .section-head {
  max-width: 70ch;
}

.page-news .section-head h2 {
  margin: 10px 0 0;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--green-900);
}

.page-news .section-head p:not(.eyebrow) {
  margin: 12px 0 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--grey);
}

/* 分类索引 */
.page-news .tax-grid {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.page-news .tax-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.page-news .tax-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.page-news .tax-card h3 {
  margin: 10px 0 8px;
  font-size: 19px;
  color: var(--green-800);
}

.page-news .tax-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--grey);
}

.page-news .tax-num {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--lime-deep);
}

.page-news .tax-card--grass {
  background: var(--grass);
  border-color: transparent;
}

.page-news .tax-card--dark {
  background: linear-gradient(160deg, var(--green-800), var(--green-900));
  border-color: transparent;
}

.page-news .tax-card--dark h3 {
  color: var(--mist);
}

.page-news .tax-card--dark p {
  color: var(--on-dark);
}

.page-news .tax-card--dark .tax-num {
  color: var(--lime);
}

.page-news .tax-card--line {
  background: transparent;
  border: 1px dashed var(--line-strong);
}

/* 专题封面区 */
.page-news .cover-grid {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}

.page-news .cover-main {
  display: flex;
  flex-direction: column;
  background: linear-gradient(170deg, var(--green-800), var(--green-900));
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-news .cover-figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--slate);
}

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

.page-news .cover-body {
  padding: clamp(20px, 3vw, 32px);
}

.page-news .cover-body h3 {
  margin: 14px 0 10px;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.2;
  color: var(--mist);
}

.page-news .cover-body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.82;
  color: var(--on-dark);
}

.page-news .cover-link {
  display: inline-flex;
  margin-top: 18px;
  padding-bottom: 3px;
  font-size: 14px;
  font-weight: 700;
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 255, 61, 0.42);
}

.page-news .cover-link:hover {
  color: var(--lime-soft);
}

.page-news .cover-side {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 26px);
}

.page-news .cover-side--grass {
  background: var(--grass);
  border-color: transparent;
}

.page-news .side-title {
  margin: 0 0 16px;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--lime-deep);
}

.page-news .side-index,
.page-news .side-updates {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.page-news .side-index li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.page-news .side-index .mono {
  font-size: 12px;
  color: var(--slate);
}

.page-news .side-index a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.page-news .side-index a:hover {
  color: var(--lime-deep);
}

.page-news .side-updates li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(11, 61, 46, 0.12);
}

.page-news .side-updates li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-news .side-updates a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.page-news .side-updates a:hover {
  color: var(--lime-deep);
}

.page-news .side-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--grey);
}

/* 报告列表与筛选 */
.page-news .round-banner {
  margin: 26px 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--green-900);
}

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

.page-news .filter-shell {
  margin-top: 24px;
}

.page-news .filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  -webkit-overflow-scrolling: touch;
}

.page-news .filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--pill);
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: var(--green-900);
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.page-news .filter-pill:hover {
  border-color: var(--lime-deep);
}

.page-news .pill-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--grey);
}

.page-news #rf-all:checked ~ .filter-row .filter-pill[for="rf-all"],
.page-news #rf-topic:checked ~ .filter-row .filter-pill[for="rf-topic"],
.page-news #rf-round:checked ~ .filter-row .filter-pill[for="rf-round"],
.page-news #rf-version:checked ~ .filter-row .filter-pill[for="rf-version"],
.page-news #rf-compat:checked ~ .filter-row .filter-pill[for="rf-compat"] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--green-900);
  font-weight: 700;
}

.page-news #rf-all:checked ~ .filter-row .filter-pill[for="rf-all"] .pill-count,
.page-news #rf-topic:checked ~ .filter-row .filter-pill[for="rf-topic"] .pill-count,
.page-news #rf-round:checked ~ .filter-row .filter-pill[for="rf-round"] .pill-count,
.page-news #rf-version:checked ~ .filter-row .filter-pill[for="rf-version"] .pill-count,
.page-news #rf-compat:checked ~ .filter-row .filter-pill[for="rf-compat"] .pill-count {
  color: var(--green-900);
}

.page-news .filter-input:focus-visible ~ .filter-row .filter-pill {
  outline: 2px dashed var(--lime-deep);
  outline-offset: 3px;
}

.page-news #rf-topic:checked ~ .report-list .report-item:not([data-cat="topic"]),
.page-news #rf-round:checked ~ .report-list .report-item:not([data-cat="round"]),
.page-news #rf-version:checked ~ .report-list .report-item:not([data-cat="version"]),
.page-news #rf-compat:checked ~ .report-list .report-item:not([data-cat="compat"]) {
  display: none;
}

.page-news .report-list {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-news .report-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.page-news .report-num {
  font-size: 13px;
  letter-spacing: 0.06em;
  padding-top: 4px;
  color: var(--lime-deep);
}

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

.page-news .report-title {
  margin: 8px 0 0;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.42;
  color: var(--green-900);
}

.page-news .report-details {
  margin-top: 8px;
}

.page-news .report-details summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--lime-deep);
}

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

.page-news .report-details summary::before {
  content: "+";
  font-family: var(--font-mono);
  font-size: 14px;
}

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

.page-news .report-details p {
  margin: 10px 0 0;
  max-width: 68ch;
  font-size: 14.5px;
  line-height: 1.82;
  color: var(--grey);
}

/* 版本与兼容记录 */
.page-news .compat-shell {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius-xl);
  background-image:
    radial-gradient(90% 80% at 0% 0%, rgba(255, 90, 54, 0.16), rgba(255, 90, 54, 0) 60%),
    linear-gradient(160deg, var(--green-800), var(--green-900));
  color: var(--mist);
}

.page-news .compat-copy .eyebrow {
  color: var(--lime);
}

.page-news .compat-copy h2 {
  margin: 10px 0 0;
  font-size: clamp(24px, 3.6vw, 38px);
  line-height: 1.2;
  color: var(--mist);
}

.page-news .compat-copy > p:not(.eyebrow) {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.82;
  color: var(--on-dark);
}

.page-news .compat-steps {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.page-news .compat-steps li {
  position: relative;
  padding-left: 46px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--on-dark);
}

.page-news .compat-steps li::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  padding: 3px 9px;
  border-radius: var(--pill);
  background: var(--lime);
  color: var(--green-900);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
}

.page-news .compat-steps strong {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
  color: var(--mist);
}

.page-news .compat-copy .btn {
  margin-top: 26px;
}

.page-news .compat-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--green-900);
}

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

/* 收藏与回访 */
.page-news .keep-shell {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius-xl);
  background: var(--grass);
}

.page-news .keep-head h2 {
  margin: 10px 0 0;
  font-size: clamp(24px, 3.6vw, 38px);
  line-height: 1.2;
  color: var(--green-900);
}

.page-news .keep-head p:not(.eyebrow) {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.82;
  color: var(--grey);
}

.page-news .keep-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.page-news .keep-list li {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--grey);
}

.page-news .keep-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  color: var(--green-800);
}

.page-news .keep-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.page-news .fav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--pill);
  border: 1px solid var(--lime-deep);
  color: var(--lime-deep);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.page-news .fav-btn::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid currentColor;
}

.page-news .fav-input:checked + .fav-btn {
  background: var(--lime-deep);
  border-color: var(--lime-deep);
  color: var(--mist);
}

.page-news .fav-input:checked + .fav-btn::before {
  background: var(--lime);
  border-color: var(--lime);
}

.page-news .fav-input:focus-visible + .fav-btn {
  outline: 2px dashed var(--lime-deep);
  outline-offset: 3px;
}

@media (min-width: 700px) {
  .page-news .tax-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-news .report-item {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 4px 16px;
    padding: 22px 0;
  }

  .page-news .round-banner {
    aspect-ratio: 12 / 5;
  }

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

@media (min-width: 980px) {
  .page-news .news-hero-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: stretch;
  }

  .page-news .hero-figure {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .page-news .tax-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-news .cover-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    grid-template-rows: auto auto;
    align-items: stretch;
  }

  .page-news .cover-main {
    grid-row: span 2;
  }

  .page-news .compat-shell {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
  }

  .page-news .keep-shell {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .tax-card,
  .page-news .filter-pill,
  .page-news .fav-btn,
  .page-news .hero-ghost {
    transition: none;
  }

  .page-news .tax-card:hover {
    transform: none;
  }
}
