/* ==========================================================================
   /release/ 最新版本页 — 结构语言对齐 /develop/，MMJ 绿 #88DD44 作 accent
   （--page-accent 与 develop.css 同一挂法，卡片/分节/字号层级同体系）
   ========================================================================== */

.release-page {
  --max-width: var(--max, 1180px);
  --paper: var(--bg, #f9f7ff);
  --paper-2: var(--bg-2, #ffffff);
  --line: var(--border, rgba(13, 10, 40, 0.1));
  --radius-md: var(--r-md, 16px);
  --radius-sm: var(--r-sm, 10px);
  --page-accent: var(--pjsk-momojan);
  --page-accent-hover: var(--pjsk-momojan-deep);
  min-width: 320px;
  background: linear-gradient(rgba(136,221,68,.1), rgba(136,221,68,.05)), var(--paper);
}

.release-page .section-number {
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

/* ---------- Hero（同 develop-hero 版式） ---------- */
.release-hero {
  padding: 90px max(28px, calc((100vw - var(--max-width)) / 2)) 110px;
  background:
    linear-gradient(120deg, rgba(136, 221, 68, 0.14), transparent 40%),
    linear-gradient(300deg, rgba(136, 68, 153, 0.11), transparent 35%);
  border-bottom: 1px solid var(--line);
}

.release-kicker {
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--ink);
}

.release-kicker span {
  width: 34px;
  height: 3px;
  background: var(--pjsk-momojan);
}

.release-hero h1 {
  margin: 0;
  font-size: clamp(52px, 6.7vw, 94px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.release-hero-copy > p:last-child {
  max-width: 650px;
  margin: 34px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.75;
}

/* ---------- 分节（同 timeline-section / develop-feature-section 间距） ---------- */
.release-section {
  padding: 110px max(28px, calc((100vw - var(--max-width)) / 2)) 120px;
}

.release-section-alt {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}

.release-section-intro {
  max-width: 660px;
  margin-bottom: 64px;
}

.release-section-intro h2,
.release-more h2 {
  margin: 18px 0 0;
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.release-section-intro > p:last-child {
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

/* ---------- 卡片（同 develop-feature：白底、1px 边、顶部 5px accent） ---------- */
.release-current-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.release-feature,
.release-entry {
  --feature-accent: var(--pjsk-momojan);
  min-width: 0;
  padding: 32px;
  background: var(--white, #fff);
  border: 1px solid var(--line);
  border-top: 5px solid var(--feature-accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm, 0 4px 16px rgba(13,10,40,0.07));
}

.feature-label {
  margin: 0;
  color: var(--feature-accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.release-feature h3 {
  margin: 12px 0 0;
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.release-feature > p:not(.feature-label) {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

/* ---------- 按钮（同 develop-beta-button 体系） ---------- */
.release-button {
  min-height: 54px;
  margin-top: 24px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: var(--radius-md);
  background: var(--pjsk-momojan);
  color: #17320c;
  box-shadow: var(--shadow-sm, 0 4px 16px rgba(13,10,40,0.07));
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.release-button:hover {
  background: var(--pjsk-momojan-deep);
  color: #fff;
  transform: translateY(-2px);
}

.release-button-secondary {
  background: var(--white, #fff);
  border: 1px solid var(--line);
  color: var(--ink);
}

.release-button-secondary:hover {
  background: var(--pjsk-momojan);
  border-color: var(--pjsk-momojan);
  color: #17320c;
}

/* ---------- 版本记录条目 ---------- */
.release-entries {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.release-entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 20px;
}

.release-entry-meta time {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.release-badge {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(136, 221, 68, 0.16);
  color: var(--pjsk-momojan-deep);
  border: 1px solid rgba(136, 221, 68, 0.45);
}

.release-badge.is-warn {
  background: var(--gold-soft, rgba(255,153,0,0.16));
  color: var(--pjsk-wxs-deep);
  border-color: rgba(255, 153, 0, 0.4);
}

.release-entry h3 {
  margin: 12px 0 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.release-entry > p:not(.feature-label) {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

.release-entry ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.release-entry li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

.release-entry li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pjsk-momojan);
}

.release-entry li strong {
  color: var(--ink);
  font-weight: 700;
}

/* ---------- 底部 CTA（同 develop-logs-cta 双栏） ---------- */
.release-more {
  padding: 110px max(28px, calc((100vw - var(--max-width)) / 2));
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}

.release-more > div:last-child {
  align-self: end;
}

.release-more > div:last-child > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
}

.release-more-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.release-more-actions .release-button {
  margin-top: 28px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .release-current-grid { grid-template-columns: 1fr; }
  .release-more { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 720px) {
  .release-hero {
    padding: calc(40px + env(safe-area-inset-top)) 20px 76px;
  }

  .release-kicker {
    margin-bottom: 18px;
    font-size: 10px;
  }

  .release-hero h1 {
    font-size: clamp(40px, 12vw, 56px);
    letter-spacing: -0.035em;
  }

  .release-hero-copy > p:last-child {
    margin-top: 24px;
    font-size: 16px;
  }

  .release-section,
  .release-more {
    padding: 82px 20px;
  }

  .release-section-intro { margin-bottom: 42px; }
  .release-section-intro h2,
  .release-more h2 { font-size: clamp(36px, 10vw, 48px); }
  .release-section-intro > p:last-child { font-size: 16px; }

  .release-feature,
  .release-entry { padding: 26px 24px; }
  .release-entry h3 { font-size: 29px; }
}

@media (max-width: 360px) {
  .release-section-intro h2 { font-size: 32px; }
}
