.page-news {
  --news-sky: #8FC2EA;
  --news-cat-ver: var(--gold);
  --news-cat-dev: var(--mint);
  --news-cat-fee: var(--amber);
  --news-cat-pack: #8FC2EA;
  background: var(--navy);
  color: var(--text);
  overflow-x: hidden;
}

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

.page-news .breadcrumb {
  padding-top: clamp(16px, 3vw, 26px);
  font-size: 0.8125rem;
}

.page-news .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted-dim);
}

.page-news .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin-right: 8px;
  color: var(--line);
}

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

.page-news .breadcrumb-link:hover,
.page-news .breadcrumb-link:focus-visible {
  color: var(--amber);
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  padding: clamp(22px, 5vw, 44px) 0 clamp(10px, 2vw, 20px);
}

.page-news .news-hero-inner {
  display: grid;
  gap: 16px;
}

.page-news .news-hero .eyebrow {
  margin: 0;
  color: var(--gold);
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.page-news .news-hero .page-title {
  margin: 0;
  font-size: var(--fs-display);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 900;
  max-width: 16ch;
}

.page-news .news-hero .lede {
  margin: 0;
  max-width: 44ch;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text);
}

.page-news .news-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8125rem;
  font-family: var(--font-mono);
}

.page-news .news-hero-meta span {
  position: relative;
  padding-left: 14px;
}

.page-news .news-hero-meta span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  background: var(--gold);
  transform: rotate(45deg);
}

.page-news .news-hero-media {
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  background: var(--harbor);
}

.page-news .news-hero-media img,
.page-news .media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

/* ---------- 章节通用 ---------- */
.page-news .section {
  padding: clamp(34px, 7vw, 72px) 0;
}

.page-news .news-section-head {
  display: grid;
  gap: 10px;
  padding-top: 16px;
  margin-bottom: clamp(20px, 4vw, 34px);
  border-top: 1px solid var(--line);
}

.page-news .news-section-head .section-index {
  margin: 0;
  color: var(--gold);
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
}

.page-news .news-section-head .section-title {
  margin: 0;
  font-size: var(--fs-title);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  max-width: 24ch;
}

.page-news .news-section-note {
  margin: 0;
  max-width: 54ch;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ---------- 公告索引 ---------- */
.page-news .notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-news .notice {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 90px;
}

.page-news .notice summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  gap: 6px 12px;
  padding: 16px 2px;
  grid-template-columns: auto auto 1fr auto;
  grid-template-areas:
    "no tag time cue"
    "title title title title";
  align-items: baseline;
}

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

.page-news .notice summary:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.page-news .notice-no {
  grid-area: no;
  color: var(--muted-dim);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.page-news .notice-tag {
  grid-area: tag;
  justify-self: start;
  padding: 1px 8px;
  font-size: 0.72rem;
  line-height: 1.7;
  letter-spacing: 0.05em;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  white-space: nowrap;
}

.page-news .notice-tag--ver { color: var(--news-cat-ver); }
.page-news .notice-tag--dev { color: var(--news-cat-dev); }
.page-news .notice-tag--fee { color: var(--news-cat-fee); }
.page-news .notice-tag--pack { color: var(--news-cat-pack); }

.page-news .notice-time {
  grid-area: time;
  justify-self: start;
  color: var(--muted-dim);
  font-size: 0.75rem;
}

.page-news .notice-title {
  grid-area: title;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text);
  transition: color 0.2s ease;
}

.page-news .notice summary:hover .notice-title,
.page-news .notice[open] .notice-title {
  color: var(--amber);
}

.page-news .notice-cue {
  grid-area: cue;
  justify-self: end;
  position: relative;
  width: 14px;
  height: 14px;
  align-self: center;
  transition: transform 0.24s ease;
}

.page-news .notice-cue::before,
.page-news .notice-cue::after {
  content: "";
  position: absolute;
  background: var(--muted);
}

.page-news .notice-cue::before {
  left: 0;
  top: 6px;
  width: 14px;
  height: 2px;
}

.page-news .notice-cue::after {
  left: 6px;
  top: 0;
  width: 2px;
  height: 14px;
}

.page-news .notice[open] .notice-cue {
  transform: rotate(45deg);
}

.page-news .notice[open] .notice-cue::before,
.page-news .notice[open] .notice-cue::after {
  background: var(--mint);
}

.page-news .notice[open] .notice-no {
  color: var(--mint);
}

.page-news .notice-body {
  display: grid;
  gap: 8px;
  padding: 2px 2px 20px;
  max-width: 66ch;
  animation: news-reveal 0.28s ease both;
}

@keyframes news-reveal {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: none; }
}

.page-news .notice-body p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.78;
  color: var(--muted);
}

.page-news .notice-key {
  display: inline-block;
  margin-right: 8px;
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.page-news .notice-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.page-news .notice-links .btn {
  font-size: 0.8125rem;
  padding: 6px 12px;
}

/* ---------- 时间轴 ---------- */
.page-news .news-timeline {
  background: var(--harbor);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-news .timeline-texture {
  aspect-ratio: 21 / 8;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 18px;
}

.page-news .timeline-track {
  list-style: none;
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 4px 2px 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.page-news .timeline-track::-webkit-scrollbar {
  height: 6px;
}

.page-news .timeline-track::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 3px;
}

.page-news .tl-node {
  scroll-snap-align: start;
  display: grid;
  gap: 6px;
  flex: 0 0 172px;
  padding: 14px 14px 16px;
  text-decoration: none;
  background: var(--navy);
  border: 1px solid var(--line);
  border-left: 3px solid var(--news-cat-ver);
  border-radius: var(--radius);
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.page-news .tl-node--ver { border-left-color: var(--news-cat-ver); }
.page-news .tl-node--dev { border-left-color: var(--news-cat-dev); }
.page-news .tl-node--fee { border-left-color: var(--news-cat-fee); }
.page-news .tl-node--pack { border-left-color: var(--news-cat-pack); }

.page-news .tl-node:hover,
.page-news .tl-node:focus-visible {
  background: var(--deck);
  border-color: var(--gold);
  transform: translateY(-3px);
  outline: none;
}

.page-news .tl-no {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.page-news .tl-tag {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.page-news .tl-label {
  font-size: 0.9375rem;
  line-height: 1.5;
  font-weight: 600;
}

.page-news .tl-time {
  font-size: 0.72rem;
  color: var(--muted-dim);
}

.page-news .timeline-hint {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted-dim);
  letter-spacing: 0.04em;
}

/* ---------- 四类说明 ---------- */
.page-news .cat-grid {
  display: grid;
  gap: 14px;
}

.page-news .cat-card {
  padding: 18px 18px 20px;
  background: var(--harbor);
  border: 1px solid var(--line);
  border-left: 3px solid var(--line);
  border-radius: var(--radius);
}

.page-news .cat-card--ver { border-left-color: var(--news-cat-ver); }
.page-news .cat-card--dev { border-left-color: var(--news-cat-dev); }
.page-news .cat-card--fee { border-left-color: var(--news-cat-fee); }
.page-news .cat-card--pack { border-left-color: var(--news-cat-pack); }

.page-news .cat-name {
  margin: 0 0 4px;
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.page-news .cat-count {
  margin: 0 0 10px;
  font-size: 0.75rem;
  color: var(--muted-dim);
  letter-spacing: 0.08em;
}

.page-news .cat-card p:last-child {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--muted);
}

.page-news .cat-media {
  margin: 0;
}

.page-news .cat-media .media-frame {
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-news .cat-media .media-caption {
  margin-top: 8px;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--muted-dim);
}

/* ---------- 资料包 ---------- */
.page-news .news-pack {
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-news .pack-inner {
  display: grid;
  gap: 26px;
}

.page-news .pack-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(11, 15, 20, 0.14);
  border-radius: var(--radius);
  background: var(--harbor);
}

.page-news .news-pack .section-index {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  color: var(--mint-deep);
}

.page-news .news-pack .section-title {
  margin: 0 0 12px;
  font-size: var(--fs-title);
  font-weight: 800;
  line-height: 1.18;
  color: var(--ink);
  max-width: 20ch;
}

.page-news .pack-lede {
  margin: 0 0 18px;
  max-width: 46ch;
  font-size: 1rem;
  line-height: 1.8;
  color: #33404b;
}

.page-news .pack-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  border-top: 1px solid rgba(11, 15, 20, 0.16);
}

.page-news .pack-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(11, 15, 20, 0.16);
}

.page-news .pack-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ink);
}

.page-news .pack-tag {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--mint-deep);
  align-self: center;
  white-space: nowrap;
}

.page-news .pack-desc {
  grid-column: 1 / -1;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #4a5763;
}

.page-news .pack-note {
  margin: 0 0 18px;
  font-size: 0.875rem;
  line-height: 1.75;
  color: #4a5763;
  border-left: 2px solid var(--gold);
  padding-left: 12px;
}

.page-news .news-pack .btn--ghost {
  color: var(--ink);
  border-color: rgba(11, 15, 20, 0.35);
}

.page-news .news-pack .btn--ghost:hover,
.page-news .news-pack .btn--ghost:focus-visible {
  border-color: var(--ink);
  color: var(--ink);
}

/* ---------- 归档与节奏 ---------- */
.page-news .archive-grid {
  display: grid;
  gap: 26px;
}

.page-news .archive-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-news .archive-stats li {
  display: grid;
  gap: 2px;
  padding: 12px 0 12px 16px;
  border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, rgba(18, 58, 94, 0.75), rgba(18, 58, 94, 0));
}

.page-news .stat-num {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--amber);
  letter-spacing: -0.02em;
}

.page-news .stat-label {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
}

.page-news .archive-copy p {
  margin: 0 0 14px;
  max-width: 46ch;
  font-size: 0.9688rem;
  line-height: 1.85;
  color: var(--text);
}

.page-news .archive-copy a {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.page-news .archive-copy a:hover,
.page-news .archive-copy a:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.page-news .archive-actions {
  margin-top: 6px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-news .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-news .cat-media {
    grid-column: 1 / -1;
  }

  .page-news .archive-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: start;
  }
}

@media (min-width: 900px) {
  .page-news .notice summary {
    grid-template-columns: 56px 104px 76px minmax(0, 1fr) 20px;
    grid-template-areas: "no tag time title cue";
    align-items: center;
    padding: 15px 6px;
  }

  .page-news .notice-time {
    justify-self: start;
  }

  .page-news .notice-body {
    padding-left: 166px;
  }

  .page-news .pack-inner {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 44px;
    align-items: start;
  }
}

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

  .page-news .cat-media {
    grid-column: span 3;
  }

  .page-news .tl-node {
    flex-basis: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .notice-body {
    animation: none;
  }

  .page-news .notice-cue,
  .page-news .notice-title,
  .page-news .tl-node {
    transition: none;
  }

  .page-news .tl-node:hover,
  .page-news .tl-node:focus-visible {
    transform: none;
  }
}
