/* HERO */
.page-hero {
  background: linear-gradient(135deg, var(--pink-pale) 0%, var(--blue-light) 100%);
  padding: 60px 24px 52px; text-align: center;
  border-bottom: 2px solid var(--pink-light);
}
.page-hero h1 { font-size: clamp(28px, 5vw, 42px); font-weight: 900; margin-bottom: 10px; }
.page-hero p { color: var(--text-mid); font-size: 15px; max-width: 480px; margin: 0 auto; text-wrap: balance; }

/* LAYOUT */
.changelog-body { max-width: 760px; margin: 52px auto 80px; padding: 0 24px; }

/* TIMELINE */
.timeline { display: flex; flex-direction: column; gap: 0; }

.release {
  position: relative;
  padding: 0 0 48px 48px;
  border-left: 3px solid var(--pink-light);
}
.release:last-child { border-left-color: transparent; padding-bottom: 0; }

/* Version dot */
.release::before {
  content: '';
  position: absolute; left: -9px; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--pink);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--pink);
}
.release.upcoming::before { background: var(--text-light); box-shadow: 0 0 0 2px var(--text-light); }

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

.version-num {
  font-size: 22px; font-weight: 900; color: var(--text);
  letter-spacing: -0.02em;
}

.release-date {
  font-size: 13px; color: var(--text-light); font-weight: 600;
}

.tag {
  display: inline-block; font-size: 11px; font-weight: 800;
  padding: 2px 10px; border-radius: 8px;
  letter-spacing: 0.04em;
}
.tag-new    { background: var(--pink-light);  color: var(--pink); }
.tag-fix    { background: #E4F7EE;             color: #1E7A4A; }
.tag-improve{ background: var(--blue-light);   color: var(--blue); }
.tag-upcoming { background: #F0F0F0;           color: #888; }

.release-title {
  font-size: 17px; font-weight: 800; color: var(--text);
  margin-bottom: 12px;
}

.release-notes {
  list-style: none;
  display: flex; flex-direction: column; gap: 6px;
}
.release-notes li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--text-mid);
}
.release-notes li::before {
  content: '•';
  color: var(--pink); font-weight: 900; flex-shrink: 0; margin-top: 1px;
}

.release-notes li .note-tag {
  display: inline-block; font-size: 10px; font-weight: 800;
  padding: 1px 7px; border-radius: 6px;
  margin-right: 4px; vertical-align: middle; flex-shrink: 0;
}

.release-section {
  font-size: 14px; font-weight: 800; color: var(--text);
  margin: 20px 0 8px;
}
.release-section:first-of-type { margin-top: 14px; }

.release-intro {
  font-size: 14px; color: var(--text-mid);
  margin: 4px 0 8px; line-height: 1.7;
}

.release-divider { border: none; border-top: 1px solid var(--border); margin: 0 0 24px 0; }

@media (max-width: 640px) {
  .page-hero { padding: 36px 16px 28px; }
  .page-hero h1 { font-size: 24px; }
  .changelog-body { padding: 0 16px; margin-top: 32px; margin-bottom: 56px; }
  .release { padding-left: 24px; }
  .release-version { font-size: 20px; }
  .release-meta { font-size: 12px; }
}
