.page-news {
  --news-gap: clamp(20px, 3vw, 34px);
  --news-anchor: calc(var(--header-h) + 24px);
  display: block;
  background: var(--ice);
}

.page-news [id] {
  scroll-margin-top: var(--news-anchor);
}

/* ---------- 首屏 ---------- */

.page-news .news-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 76px) 0 clamp(30px, 4.6vw, 54px);
  background:
    radial-gradient(120% 150% at 84% -12%, rgba(79, 227, 208, 0.26) 0%, rgba(79, 227, 208, 0) 56%),
    radial-gradient(100% 130% at 6% 8%, rgba(14, 111, 224, 0.13) 0%, rgba(14, 111, 224, 0) 62%),
    var(--ice);
  border-bottom: 1px solid var(--frost);
}

.page-news .news-hero__inner {
  position: relative;
  z-index: 2;
}

.page-news .news-hero__glow {
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -46%;
  height: 78%;
  background: linear-gradient(
    100deg,
    rgba(79, 227, 208, 0) 0%,
    rgba(79, 227, 208, 0.5) 28%,
    rgba(14, 111, 224, 0.36) 56%,
    rgba(214, 40, 40, 0) 88%
  );
  filter: blur(72px);
  pointer-events: none;
  animation: news-breathe 12s ease-in-out infinite alternate;
}

@keyframes news-breathe {
  from {
    transform: translate3d(-4%, 0, 0) scale(1);
    opacity: 0.68;
  }
  to {
    transform: translate3d(4%, -6%, 0) scale(1.08);
    opacity: 1;
  }
}

.page-news .news-hero__title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(31px, 5.4vw, 58px);
  line-height: 1.15;
  color: var(--ink);
  max-width: 20ch;
}

.page-news .news-hero__lead {
  margin: 18px 0 0;
  max-width: 64ch;
  font-size: clamp(15.5px, 1.5vw, 17.5px);
  line-height: 1.85;
  color: var(--slate);
}

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

/* ---------- 当前版本状态 ---------- */

.page-news .news-status__panel {
  display: grid;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--aurora-deep);
  box-shadow: var(--shadow-2);
}

.page-news .news-status__visual {
  position: relative;
  min-height: 200px;
}

.page-news .news-status__visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

.page-news .news-status__body {
  padding: clamp(24px, 3.4vw, 44px);
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(79, 227, 208, 0.18), transparent 62%),
    var(--aurora-deep);
}

.page-news .news-status__body .section-title,
.page-news .news-status__body .eyebrow {
  color: var(--ice);
}

.page-news .news-status__body .section-lead {
  color: rgba(247, 250, 255, 0.76);
  max-width: 62ch;
}

.page-news .news-status__list {
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.page-news .news-status__list > div {
  background: rgba(6, 42, 84, 0.95);
  padding: 15px 17px;
}

.page-news .news-status__list dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aurora-cyan);
}

.page-news .news-status__list dd {
  margin: 7px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ice);
}

/* ---------- 归档区 ---------- */

.page-news .news-archive {
  background: linear-gradient(180deg, var(--ice) 0%, rgba(217, 228, 242, 0.42) 100%);
}

.page-news .news-archive__head {
  display: grid;
  gap: var(--news-gap);
  align-items: center;
}

.page-news .news-archive__figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--frost);
  background: linear-gradient(140deg, rgba(14, 111, 224, 0.1), rgba(79, 227, 208, 0.18));
  box-shadow: var(--shadow-1);
}

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

.page-news .news-chips {
  position: sticky;
  top: calc(var(--header-h) + 10px);
  z-index: 6;
  margin-top: clamp(22px, 3vw, 34px);
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 10px;
  border-radius: var(--radius-md);
  background: var(--glass-strong);
  border: 1px solid var(--frost);
  box-shadow: var(--shadow-1);
  backdrop-filter: blur(12px);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.page-news .news-chips::-webkit-scrollbar {
  display: none;
}

.page-news .news-chips > .chip {
  flex: 0 0 auto;
  text-decoration: none;
  white-space: nowrap;
}

/* ---------- 类型分组与卡片流 ---------- */

.page-news .news-group {
  margin-top: clamp(30px, 4vw, 48px);
}

.page-news .news-group__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--frost);
  font-family: var(--font-display);
  font-size: clamp(18.5px, 2.1vw, 22px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-news .news-group__title::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--aurora-cyan), var(--aurora));
  transform: rotate(45deg);
}

.page-news .news-cards {
  margin-top: 20px;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr);
}

.page-news .news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 20px 24px;
  background: #ffffff;
  border: 1px solid var(--frost);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.page-news .news-card:hover,
.page-news .news-card:focus-within {
  transform: translateY(-4px);
  border-color: var(--aurora-light);
  box-shadow: var(--shadow-2);
}

.page-news .news-card::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--aurora-cyan), var(--aurora));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}

.page-news .news-card:hover::after,
.page-news .news-card:focus-within::after {
  transform: scaleX(1);
}

.page-news .news-card__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.page-news .news-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}

.page-news .news-card__status.is-fixed {
  color: var(--aurora-deep);
}

.page-news .news-card__status.is-fixed .news-card__dot {
  background: var(--aurora-cyan);
  box-shadow: 0 0 0 3px rgba(79, 227, 208, 0.24);
}

.page-news .news-card__status.is-open {
  color: var(--maple);
}

.page-news .news-card__status.is-open .news-card__dot {
  background: var(--maple);
  box-shadow: 0 0 0 3px rgba(214, 40, 40, 0.16);
}

.page-news .news-card__title {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-news .news-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
}

.page-news .news-card__type {
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}

.page-news .news-card__note {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--slate);
}

/* ---------- 本周处理摘要 ---------- */

.page-news .news-weekly__grid {
  display: grid;
  gap: var(--news-gap);
  align-items: center;
}

.page-news .news-weekly__list {
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.page-news .news-weekly__list li {
  position: relative;
  padding-left: 20px;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--slate);
}

.page-news .news-weekly__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--aurora-cyan), var(--aurora));
}

.page-news .news-weekly__list strong {
  color: var(--ink);
  font-weight: 700;
}

.page-news .news-weekly__figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--frost);
  background: linear-gradient(150deg, rgba(79, 227, 208, 0.2), rgba(14, 111, 224, 0.08));
  box-shadow: var(--shadow-1);
}

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

/* ---------- 迭代节奏 ---------- */

.page-news .news-rhythm {
  background: linear-gradient(180deg, var(--ice) 0%, rgba(217, 228, 242, 0.55) 100%);
  border-top: 1px solid var(--frost);
}

.page-news .news-steps {
  margin: clamp(26px, 3.4vw, 42px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.page-news .news-step {
  position: relative;
  padding: 26px 22px 26px;
  border-radius: var(--radius-md);
  background: var(--glass);
  border: 1px solid var(--frost);
  box-shadow: var(--shadow-1);
  backdrop-filter: blur(8px);
}

.page-news .news-step__num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  background: linear-gradient(135deg, var(--aurora), var(--maple));
  -webkit-background-clip: text;
  background-clip: text;
}

.page-news .news-step h3 {
  margin: 14px 0 8px;
  font-size: 17.5px;
  font-weight: 700;
  color: var(--ink);
}

.page-news .news-step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--slate);
}

/* ---------- 提交反馈 ---------- */

.page-news .news-submit {
  background:
    radial-gradient(110% 130% at 88% 4%, rgba(79, 227, 208, 0.16), transparent 58%),
    linear-gradient(180deg, var(--ice), #eef4fc);
  border-top: 1px solid var(--frost);
}

.page-news .news-submit__inner {
  display: grid;
  gap: var(--news-gap);
  align-items: center;
}

.page-news .news-submit__list {
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px;
}

.page-news .news-submit__list li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--slate);
}

.page-news .news-submit__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  border: 2px solid var(--aurora);
  background: rgba(14, 111, 224, 0.08);
}

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

.page-news .news-submit__note {
  margin: 20px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--maple-soft);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--slate);
}

.page-news .news-submit__figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--frost);
  background: #ffffff;
  box-shadow: var(--shadow-2);
}

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

/* ---------- 响应式 ---------- */

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

@media (min-width: 760px) {
  .page-news .news-chips {
    flex-wrap: wrap;
    overflow: visible;
  }
}

@media (min-width: 900px) {
  .page-news .news-status__panel {
    grid-template-columns: 5fr 7fr;
    align-items: stretch;
  }

  .page-news .news-status__visual {
    min-height: 100%;
  }

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

  .page-news .news-archive__head {
    grid-template-columns: 7fr 5fr;
  }
}

@media (min-width: 940px) {
  .page-news .news-weekly__grid {
    grid-template-columns: 6fr 5fr;
  }

  .page-news .news-submit__inner {
    grid-template-columns: 7fr 5fr;
  }
}

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

  .page-news .news-cards > .news-card:nth-child(3n + 2) {
    margin-top: 28px;
  }

  .page-news .news-cards > .news-card:nth-child(3n + 3) {
    margin-top: 11px;
  }

  .page-news .news-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .page-news .news-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 48px;
    right: -14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--aurora-cyan);
    box-shadow: 0 0 0 4px rgba(79, 227, 208, 0.2);
  }
}

@media (max-width: 420px) {
  .page-news .news-card {
    padding: 18px 16px 22px;
  }

  .page-news .news-card::after {
    left: 16px;
    right: 16px;
  }

  .page-news .news-hero__actions .btn,
  .page-news .news-submit__actions .btn {
    width: 100%;
    text-align: center;
  }
}

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

  .page-news .news-card,
  .page-news .news-card::after {
    transition: none;
  }
}
