.page-news {
  --news-line: rgba(217, 169, 75, .22);
  --news-clay-tint: rgba(168, 98, 63, .16);
  --news-moss-tint: rgba(77, 99, 80, .20);
  --news-neon-tint: rgba(60, 214, 197, .12);
  --news-gold-tint: rgba(217, 169, 75, .12);
  --news-coral-tint: rgba(255, 112, 87, .12);
}

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

.page-news .news-hero {
  position: relative;
  padding: clamp(20px, 4.5vw, 46px) 0 clamp(30px, 5.5vw, 64px);
  overflow: hidden;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% 20% 40%;
  background:
    radial-gradient(closest-side, rgba(217, 169, 75, .16), transparent 68%),
    radial-gradient(closest-side at 20% 80%, rgba(60, 214, 197, .11), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.page-news .news-hero > .df-container {
  position: relative;
  z-index: 1;
}

.page-news .news-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-top: clamp(18px, 3vw, 34px);
}

.page-news .news-hero__title {
  margin: .34em 0 .55em;
  font-family: var(--df-serif);
  font-size: clamp(2.05rem, 8.2vw, 3.85rem);
  line-height: 1.08;
  letter-spacing: -.022em;
  font-weight: 600;
  color: var(--df-paper);
}

.page-news .news-hero__title em {
  font-style: normal;
  color: var(--df-gold-bright);
  background: linear-gradient(180deg, transparent 62%, rgba(217, 169, 75, .28) 62%);
  padding: 0 .06em;
}

.page-news .news-hero__lead .df-lead {
  max-width: 46ch;
}

.page-news .news-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 30px);
}

.page-news .news-hero__media {
  border-radius: var(--df-radius);
  overflow: hidden;
}

.page-news .news-hero__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--df-line-soft);
  border: 1px solid var(--df-line-soft);
  border-radius: var(--df-radius-sm);
  overflow: hidden;
}

.page-news .news-stat {
  background: linear-gradient(180deg, rgba(217, 169, 75, .07), rgba(11, 13, 16, .5));
  padding: 14px 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-news .news-stat__num {
  font-size: clamp(1.5rem, 5vw, 1.95rem);
  line-height: 1;
  color: var(--df-gold-bright);
  letter-spacing: .02em;
}

.page-news .news-stat:nth-child(2) .news-stat__num { color: var(--df-neon); }
.page-news .news-stat:nth-child(3) .news-stat__num { color: var(--df-coral); }
.page-news .news-stat:nth-child(4) .news-stat__num { color: var(--df-paper); }

.page-news .news-stat__label {
  font-size: .8rem;
  line-height: 1.5;
  color: var(--df-text-dim);
}

/* ---------- 走势专区 ---------- */

.page-news .news-zone__head .df-section__note {
  margin-top: 14px;
}

.page-news .news-zone__body {
  margin-top: clamp(24px, 4vw, 44px);
}

.page-news .news-zone__figure {
  border-radius: var(--df-radius);
  overflow: hidden;
}

.page-news .news-zone__caption {
  margin: 14px 0 0;
  font-size: .84rem;
  line-height: 1.6;
  color: var(--df-text-dim);
  padding-left: 14px;
  border-left: 2px solid var(--df-line);
}

.page-news .news-zone__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-news .news-cycle {
  position: relative;
  padding: 22px 20px 20px;
  border-radius: var(--df-radius);
  border: 1px solid var(--df-line-soft);
  background: linear-gradient(160deg, rgba(245, 241, 232, .04), rgba(11, 13, 16, .3));
  overflow: hidden;
}

.page-news .news-cycle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.page-news .news-cycle--gold::before { background: linear-gradient(90deg, var(--df-gold), transparent 82%); }
.page-news .news-cycle--neon::before { background: linear-gradient(90deg, var(--df-neon), transparent 82%); }
.page-news .news-cycle--coral::before { background: linear-gradient(90deg, var(--df-coral), transparent 82%); }

.page-news .news-cycle__period {
  margin: 0 0 12px;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--df-text-dim);
}

.page-news .news-cycle--gold .news-cycle__period { color: var(--df-gold-bright); }
.page-news .news-cycle--neon .news-cycle__period { color: var(--df-neon); }
.page-news .news-cycle--coral .news-cycle__period { color: var(--df-coral); }

.page-news .news-cycle .df-card__title {
  margin: 0 0 10px;
  font-family: var(--df-serif);
  font-size: 1.3rem;
  color: var(--df-paper);
}

.page-news .news-cycle .df-card__body {
  font-size: .92rem;
  line-height: 1.72;
  color: var(--df-text);
  margin: 0;
}

.page-news .news-cycle .df-card__meta {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--df-line-soft);
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--df-text-dim);
}

/* ---------- 历史号码 ---------- */

.page-news .news-archive__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.page-news .news-archive__body {
  margin: 16px 0 0;
  max-width: 62ch;
  font-size: .98rem;
  line-height: 1.8;
  color: var(--df-text);
}

.page-news .news-yearbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}

.page-news .news-year {
  display: inline-block;
  padding: 7px 15px;
  border: 1px solid var(--news-line);
  border-radius: 999px;
  font-size: .86rem;
  color: var(--df-gold-bright);
  background: var(--news-gold-tint);
}

.page-news .news-year--note {
  border-style: dashed;
  border-color: var(--df-line-soft);
  color: var(--df-text-dim);
  background: transparent;
  font-family: var(--df-sans);
  letter-spacing: .02em;
}

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

.page-news .news-archive__points li {
  position: relative;
  padding-left: 22px;
  font-size: .92rem;
  line-height: 1.72;
  color: var(--df-text);
}

.page-news .news-archive__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .66em;
  width: 10px;
  height: 2px;
  background: var(--df-neon);
}

.page-news .news-archive__points strong {
  color: var(--df-paper);
  font-weight: 600;
}

.page-news .news-archive__figure {
  border-radius: var(--df-radius);
  overflow: hidden;
  box-shadow: 0 26px 60px -34px rgba(0, 0, 0, .8);
}

/* ---------- 版本与更新 ---------- */

.page-news .news-version__panel {
  position: relative;
  border-radius: var(--df-radius);
  border: 1px solid var(--news-line);
  padding: clamp(24px, 5vw, 52px);
  background:
    linear-gradient(148deg, var(--news-clay-tint) 0%, var(--news-moss-tint) 46%, rgba(11, 13, 16, .2) 100%);
  overflow: hidden;
}

.page-news .news-version__panel::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -40%;
  width: 46%;
  padding-bottom: 46%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(60, 214, 197, .16), transparent 70%);
  pointer-events: none;
}

.page-news .news-version__head {
  position: relative;
  z-index: 1;
  max-width: 68ch;
}

.page-news .news-version__lead {
  margin: 16px 0 0;
  font-size: .98rem;
  line-height: 1.82;
  color: var(--df-text);
}

.page-news .news-version__facts {
  position: relative;
  z-index: 1;
  margin-top: clamp(26px, 4vw, 42px);
}

.page-news .news-fact {
  padding: 18px 18px 20px;
  border-top: 2px solid var(--df-gold);
  background: rgba(11, 13, 16, .38);
  border-radius: 0 0 var(--df-radius-sm) var(--df-radius-sm);
}

.page-news .news-fact:nth-child(2) { border-top-color: var(--df-neon); }
.page-news .news-fact:nth-child(3) { border-top-color: var(--df-coral); }

.page-news .news-fact__key {
  margin: 0 0 10px;
  font-size: .76rem;
  letter-spacing: .16em;
  color: var(--df-text-dim);
}

.page-news .news-fact__val {
  margin: 0;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--df-text);
}

.page-news .news-version__figure {
  position: relative;
  z-index: 1;
  margin: clamp(26px, 4vw, 44px) 0 0;
  border-radius: var(--df-radius);
  overflow: hidden;
}

/* ---------- 上手路径 ---------- */

.page-news .news-steps__list {
  list-style: none;
  margin: clamp(24px, 4vw, 44px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.page-news .news-step {
  position: relative;
  padding: 0 0 30px 60px;
}

.page-news .news-step:last-child {
  padding-bottom: 0;
}

.page-news .news-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 46px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--news-line), transparent);
}

.page-news .news-step__index {
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--news-line);
  background: var(--df-ink-soft);
  font-size: .9rem;
  color: var(--df-gold-bright);
}

.page-news .news-step:nth-child(2) .news-step__index { color: var(--df-neon); border-color: rgba(60, 214, 197, .3); }
.page-news .news-step:nth-child(3) .news-step__index { color: var(--df-coral); border-color: rgba(255, 112, 87, .3); }

.page-news .news-step__title {
  margin: .55em 0 .4em;
  font-family: var(--df-serif);
  font-size: 1.24rem;
  color: var(--df-paper);
}

.page-news .news-step__body {
  margin: 0;
  max-width: 58ch;
  font-size: .93rem;
  line-height: 1.75;
  color: var(--df-text);
}

/* ---------- 常见问题 ---------- */

.page-news .news-faq__aside .df-section__note {
  margin-top: 14px;
}

.page-news .news-faq__list {
  display: grid;
  gap: 0;
}

.page-news .news-faq__item {
  border-top: 1px solid var(--df-line-soft);
}

.page-news .news-faq__item:last-child {
  border-bottom: 1px solid var(--df-line-soft);
}

.page-news .news-faq__q {
  cursor: pointer;
  list-style: none;
  padding: 18px 34px 18px 0;
  position: relative;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--df-paper);
  transition: color .2s ease;
}

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

.page-news .news-faq__q::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -6px;
  border-right: 2px solid var(--df-gold);
  border-bottom: 2px solid var(--df-gold);
  transform: rotate(45deg);
  transition: transform .24s ease;
}

.page-news .news-faq__item[open] .news-faq__q { color: var(--df-gold-bright); }
.page-news .news-faq__item[open] .news-faq__q::after { transform: rotate(-135deg); margin-top: -2px; }

.page-news .news-faq__a {
  padding: 0 0 20px;
}

.page-news .news-faq__a p {
  margin: 0;
  max-width: 66ch;
  font-size: .91rem;
  line-height: 1.8;
  color: var(--df-text-dim);
}

/* ---------- 收尾行动 ---------- */

.page-news .news-cta__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: clamp(24px, 4.5vw, 44px);
  border-radius: var(--df-radius);
  border: 1px solid var(--news-line);
  background:
    linear-gradient(120deg, rgba(217, 169, 75, .10), rgba(60, 214, 197, .07) 60%, rgba(11, 13, 16, .2));
}

.page-news .news-cta__title {
  margin: 0 0 12px;
  font-family: var(--df-serif);
  font-size: clamp(1.35rem, 4.4vw, 1.85rem);
  line-height: 1.28;
  color: var(--df-paper);
}

.page-news .news-cta__body {
  margin: 0;
  max-width: 56ch;
  font-size: .93rem;
  line-height: 1.78;
  color: var(--df-text);
}

.page-news .news-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: start;
}

/* ---------- 图片通用 ---------- */

.page-news .df-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

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

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

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

  .page-news .news-archive__inner {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
    gap: clamp(28px, 5vw, 60px);
  }

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

  .page-news .news-step {
    padding: 0;
  }

  .page-news .news-step:not(:last-child)::after {
    left: 54px;
    right: -24px;
    top: 21px;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, var(--news-line), transparent);
  }

  .page-news .news-cta__panel {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr);
    align-items: center;
    gap: clamp(24px, 4vw, 48px);
  }
}

@media (min-width: 980px) {
  .page-news .news-hero__grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    grid-template-areas:
      "lead media"
      "stats media";
    column-gap: clamp(28px, 4vw, 56px);
    row-gap: 26px;
  }

  .page-news .news-hero__lead { grid-area: lead; }
  .page-news .news-hero__media { grid-area: media; align-self: stretch; }
  .page-news .news-hero__stats { grid-area: stats; }

  .page-news .news-hero__media img {
    height: 100%;
  }
}

@media (min-width: 1180px) {
  .page-news .news-hero__title {
    font-size: clamp(3rem, 4.4vw, 4.05rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-faq__q,
  .page-news .news-faq__q::after {
    transition: none;
  }
}
</main>
