/* ===== 动态更新页专属样式 ===== */
.page-news {
  --news-line: rgba(0, 232, 143, 0.4);
  --news-plum: rgba(123, 47, 247, 0.18);
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
}

.page-news .breadcrumbs {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 24px 0;
  font-size: 14px;
}

.page-news .breadcrumbs ol {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.page-news .breadcrumbs li {
  color: var(--muted);
}

.page-news .breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--muted);
  opacity: 0.7;
}

.page-news .breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.page-news .breadcrumbs a:hover {
  color: var(--primary);
}

.page-news .breadcrumbs [aria-current="page"] {
  color: var(--text);
}

.page-news .news-hero {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 16px 24px;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  top: -24px;
  right: -40px;
  width: 320px;
  height: 280px;
  background: linear-gradient(135deg, transparent 0%, transparent 30%, rgba(123, 47, 247, 0.16) 30%, rgba(0, 232, 143, 0.08) 68%, transparent 68%);
  transform: skewX(-14deg);
  pointer-events: none;
}

.page-news .news-hero__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 600;
}

.page-news .news-hero__title {
  font-family: var(--font-title);
  font-size: clamp(34px, 7vw, 64px);
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 16px;
  max-width: 12em;
  color: var(--text);
}

.page-news .news-hero__lead {
  font-size: 16px;
  color: var(--muted);
  max-width: 40em;
  margin: 0;
}

.page-news .news-hero__aside {
  justify-self: end;
  align-self: start;
  padding-top: 6px;
}

.page-news .news-rotate-note {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: var(--primary);
  font-size: 12px;
  letter-spacing: 0.4em;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 232, 143, 0.4);
}

.page-news .news-hero__art {
  grid-column: 1 / -1;
  position: relative;
  margin-top: 12px;
}

.page-news .news-hero__img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid rgba(136, 146, 176, 0.2);
  position: relative;
  z-index: 1;
}

.page-news .news-hero__art::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(0, 232, 143, 0.38), rgba(0, 194, 255, 0.14));
  border-radius: 4px;
  z-index: 0;
  transform: translate(8px, 8px);
}

.page-news .news-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 24px 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-news .news-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgba(136, 146, 176, 0.18);
  border-bottom: 1px solid rgba(136, 146, 176, 0.18);
}

.page-news .news-toc__label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--secondary);
  margin-right: 8px;
  font-weight: 600;
}

.page-news .news-toc__link {
  display: inline-block;
  padding: 6px 12px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid rgba(136, 146, 176, 0.28);
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.page-news .news-toc__link:hover,
.page-news .news-toc__link:focus {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(0, 232, 143, 0.08);
}

.page-news .news-content {
  min-width: 0;
}

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

.page-news .news-section + .news-section::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), rgba(0, 232, 143, 0.1) 240px, transparent);
  margin-bottom: 48px;
  opacity: 0.5;
}

.page-news .news-section h2 {
  font-family: var(--font-title);
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.25;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--text);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.page-news .news-section h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  background: var(--primary);
  margin-top: 2px;
  box-shadow: 0 0 12px rgba(0, 232, 143, 0.35);
  transition: width 0.2s ease;
}

.page-news .news-section__no {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.7em;
  color: var(--primary);
  margin-right: 10px;
  vertical-align: 4px;
  letter-spacing: 0.05em;
}

.page-news .news-section__intro {
  color: var(--muted);
  font-size: 15px;
  max-width: 58em;
  margin: 12px 0 0;
}

.page-news .news-notice-list {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.page-news .notice-card {
  position: relative;
  background: linear-gradient(135deg, rgba(13, 43, 69, 0.82), rgba(8, 15, 30, 0.65));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--primary);
  border-radius: 4px;
  padding: 22px 22px 20px 26px;
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.page-news .notice-card:hover {
  transform: translateX(6px);
  border-color: rgba(0, 232, 143, 0.5);
  box-shadow: -6px 0 24px rgba(0, 232, 143, 0.12);
}

.page-news .notice-card__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: rgba(0, 232, 143, 0.1);
  border: 1px solid rgba(0, 232, 143, 0.4);
  padding: 4px 10px;
  border-radius: 2px;
}

.page-news .notice-card h3 {
  font-family: var(--font-title);
  font-size: 20px;
  letter-spacing: 0.02em;
  margin: 14px 0 8px;
  line-height: 1.35;
}

.page-news .notice-card p {
  margin: 0 0 12px;
  color: #c6d2e6;
  font-size: 14.5px;
}

.page-news .notice-card__list {
  list-style: none;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px dashed rgba(136, 146, 176, 0.28);
}

.page-news .notice-card__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}

.page-news .notice-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 2px;
  background: var(--primary);
}

.page-news .notice-card--pre {
  border-left-color: var(--secondary);
}

.page-news .notice-card--pre .notice-card__tag {
  color: #b18cff;
  border-color: rgba(123, 47, 247, 0.4);
  background: rgba(123, 47, 247, 0.12);
}

.page-news .notice-card--mid {
  border-left-color: var(--data);
}

.page-news .notice-card--mid .notice-card__tag {
  color: var(--data);
  border-color: rgba(0, 194, 255, 0.45);
  background: rgba(0, 194, 255, 0.1);
}

.page-news .notice-card--post {
  border-left-color: var(--accent);
}

.page-news .notice-card--post .notice-card__tag {
  color: var(--accent);
  border-color: rgba(255, 122, 0, 0.45);
  background: rgba(255, 122, 0, 0.12);
}

.page-news .report-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 28px;
  background: rgba(13, 43, 69, 0.5);
  border: 1px solid rgba(0, 194, 255, 0.18);
  border-radius: 4px;
  padding: 18px;
}

.page-news .report-feature__img {
  width: 100%;
  height: auto;
  border-radius: 3px;
}

.page-news .report-feature__content h3 {
  font-family: var(--font-title);
  font-size: 22px;
  letter-spacing: 0.02em;
  margin: 0 0 10px;
}

.page-news .report-feature__content p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

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

.page-news .report-timeline li {
  position: relative;
  border-left: 1px dashed rgba(0, 194, 255, 0.4);
  padding: 0 0 14px 18px;
  font-size: 14px;
  color: var(--muted);
}

.page-news .report-timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--data);
  box-shadow: 0 0 8px rgba(0, 194, 255, 0.5);
}

.page-news .report-timeline li:last-child {
  padding-bottom: 0;
}

.page-news .report-timeline strong {
  color: var(--text);
}

.page-news .report-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 20px;
}

.page-news .report-card {
  background: rgba(13, 43, 69, 0.6);
  border: 1px solid rgba(136, 146, 176, 0.2);
  border-radius: 4px;
  padding: 18px;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.page-news .report-card:hover {
  transform: translateY(-4px);
  border-color: rgba(123, 47, 247, 0.55);
  box-shadow: 0 8px 24px rgba(123, 47, 247, 0.15);
}

.page-news .report-card .badge {
  background: rgba(123, 47, 247, 0.14);
  border: 1px solid rgba(123, 47, 247, 0.4);
  color: #c9a9ff;
}

.page-news .report-card h3 {
  font-size: 18px;
  font-family: var(--font-title);
  letter-spacing: 0.02em;
  margin: 12px 0 8px;
}

.page-news .report-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.page-news .version-visual {
  margin: 28px 0 8px;
  border: 1px solid rgba(136, 146, 176, 0.18);
  border-radius: 4px;
  padding: 12px;
  background: rgba(13, 43, 69, 0.4);
}

.page-news .version-visual__img {
  width: 100%;
  height: auto;
  border-radius: 3px;
}

.page-news .version-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  position: relative;
}

.page-news .version-item {
  position: relative;
  padding: 0 0 30px 40px;
  border-left: 1px dashed var(--news-line);
  transition: background 0.15s ease;
}

.page-news .version-item:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.page-news .version-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 14px rgba(0, 232, 143, 0.4);
}

.page-news .version-item:hover {
  background: linear-gradient(90deg, rgba(123, 47, 247, 0.08), transparent 70%);
}

.page-news .version-item__year {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 28px;
  color: var(--data);
  letter-spacing: 0.06em;
  margin-bottom: 2px;
  line-height: 1.2;
  transition: color 0.15s ease;
}

.page-news .version-item:hover .version-item__year {
  color: var(--primary);
}

.page-news .version-item__body h3 {
  font-size: 18px;
  font-family: var(--font-title);
  letter-spacing: 0.02em;
  margin: 4px 0 6px;
}

.page-news .version-item__body p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
  max-width: 46em;
}

.page-news .news-bookmark {
  scroll-margin-top: calc(var(--header-h) + 24px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(123, 47, 247, 0.22), rgba(0, 194, 255, 0.08)),
    var(--bg);
  border: 1px solid rgba(123, 47, 247, 0.4);
  border-radius: 6px;
  padding: 32px 24px;
  margin-top: 16px;
}

.page-news .news-bookmark__content h2 {
  font-size: clamp(22px, 4vw, 32px);
  padding-bottom: 0;
  margin-bottom: 12px;
}

.page-news .news-bookmark__content h2::after {
  display: none;
}

.page-news .news-bookmark__content p {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 20px;
  max-width: 36em;
}

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

.page-news .news-bookmark__img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.page-news [data-reveal][data-revealed] {
  animation: newsRise 0.24s ease both;
}

@keyframes newsRise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news [data-reveal][data-revealed] {
    animation: none;
  }
}

@media (min-width: 700px) {
  .page-news .report-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

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

  .page-news .news-bookmark {
    grid-template-columns: 1.4fr 1fr;
    padding: 36px 32px;
  }
}

@media (min-width: 980px) {
  .page-news .news-layout {
    grid-template-columns: 196px minmax(0, 1fr);
    gap: 56px;
    padding-top: 8px;
  }

  .page-news .news-toc {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    align-self: start;
    padding: 0;
    border: none;
    border-left: 2px solid rgba(123, 47, 247, 0.55);
    padding-left: 16px;
  }

  .page-news .news-toc__label {
    margin-bottom: 12px;
  }

  .page-news .news-toc__link {
    display: block;
    width: 100%;
    padding: 9px 0;
    font-size: 14px;
    border: none;
    border-radius: 0;
    color: var(--muted);
    background: transparent;
    border-bottom: 1px solid rgba(136, 146, 176, 0.14);
  }

  .page-news .news-toc__link:hover,
  .page-news .news-toc__link:focus {
    color: var(--primary);
    background: transparent;
    border-bottom-color: var(--primary);
    padding-left: 6px;
  }
}
