/* =====================================================================
   Detail pages: shared closing, followed by the site footer.
   与新首页最后一屏同款：白底上的大标题与「联系合作」，
   下面接全站页脚（夜色雪山 + 深色链接区，见 site-chrome.css）。只在详情视图出现。
   ===================================================================== */
.detail-finale:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  --df-night: #0e1a2e;
  --df-ink: #1c2433;
  display: none;
  position: relative;
  padding-top: 120px;
  text-align: center;
  color: var(--df-ink);
  background: #fff;
}
body.v22-detail-active .detail-finale:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  display: block;
}
.detail-finale-glow:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  position: absolute;
  left: 50%;
  top: 40px;
  width: 900px;
  max-width: 100%;
  height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(
    closest-side,
    rgba(246, 227, 191, 0.62),
    rgba(246, 227, 191, 0.26) 52%,
    rgba(246, 227, 191, 0)
  );
  pointer-events: none;
}
.detail-finale-in:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  position: relative;
  z-index: 3;
  width: min(100% - 32px, 960px);
  margin-inline: auto;
}
.detail-finale-title:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  margin: 0;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--df-ink);
}
.detail-finale-title span:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  display: block;
}
.detail-finale-lead:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  margin: 24px auto 0;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.75;
  color: #5b6475;
  text-wrap: balance;
}
.detail-finale-btn:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  margin-top: 40px;
  padding: 0 32px;
  border-radius: 10px;
  background: var(--df-ink);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s ease-out;
}
.detail-finale-btn:hover:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  background: #2950ff;
}
.detail-finale-btn:focus-visible:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  outline: 2px solid #2950ff;
  outline-offset: 3px;
}

/* The page's own closing gives way to the shared one: no extra space before it. */
body.v22-detail-active .v22-detail-page:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  padding-bottom: 0;
}

@media (max-width: 760px) {
  .detail-finale:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
    padding-top: 80px;
  }
  .detail-finale-title:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
    font-size: 36px;
  }
  .detail-finale-lead:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
    margin-top: 16px;
    padding-inline: 8px;
    font-size: 15px;
  }
  .detail-finale-btn:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
    margin-top: 28px;
  }
}
