/* changelog.css: styles for /changelog.html */

.hero {
  text-align: center; padding: 80px 24px 48px;
  background: linear-gradient(180deg, var(--accent-light) 0%, var(--bg-white) 100%);
}
.hero h1 { font-size: 40px; font-weight: 700; margin-bottom: 12px; }
.hero p { font-size: 17px; color: var(--text-muted); max-width: 520px; margin: 0 auto; }

.changelog { max-width: 760px; margin: 0 auto; padding: 48px 24px 96px; }

.release {
  position: relative;
  padding: 0 0 48px 32px;
  border-left: 2px solid var(--border);
}
.release:last-child { padding-bottom: 0; }
.release::before {
  content: '';
  position: absolute; left: -7px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg-white);
}

.release-header {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin-bottom: 12px;
}
.release-version {
  display: inline-block;
  background: var(--accent); color: #fff;
  padding: 3px 10px; border-radius: 6px;
  font-size: 14px; font-weight: 600;
}
.release-date { font-size: 13px; color: var(--text-tertiary); }

.release-body { font-size: 14px; line-height: 1.8; color: var(--text-muted); }
.release-body h2 { font-size: 16px; font-weight: 600; color: var(--text); margin: 16px 0 8px; }
.release-body h3 { font-size: 15px; font-weight: 600; color: var(--text); margin: 12px 0 6px; }
.release-body ul { margin: 4px 0 12px 20px; padding: 0; }
.release-body li { margin-bottom: 4px; }
.release-body p { margin-bottom: 8px; }
.release-body a { color: var(--accent); text-decoration: none; }
.release-body a:hover { text-decoration: underline; }
.release-body code {
  background: var(--bg-surface); padding: 2px 5px; border-radius: 4px;
  font-size: 13px;
}

.changelog-skeleton { padding: 0 0 0 32px; border-left: 2px solid var(--border); }
.skeleton-bar {
  height: 14px; border-radius: 4px;
  background: var(--border); opacity: 0.5;
  margin-bottom: 10px;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 0.4; } 50% { opacity: 0.7; } }

.changelog-empty {
  text-align: center; padding: 64px 24px; color: var(--text-muted); font-size: 15px;
}
.changelog-empty a { color: var(--accent); text-decoration: none; }
.changelog-empty a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .hero h1 { font-size: 28px; }
  .release { padding-left: 24px; }
}
