/* GENERATED FILE - do not edit. Source: src/styles/. Rebuild: npm run build */
/* Flashbag - changelog page styles. Shared chrome lives in ../site.css. */

/* CHANGELOG */
.changelog { padding: 24px 0 96px; }
.changelog-inner {
  max-width: 780px;
  margin: 0 auto;
}
.release {
  padding: 40px 0 32px;
  border-top: 1px solid var(--border);
}
.release:first-child { border-top: none; padding-top: 8px; }
.release-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.version-tag {
  display: inline-flex; align-items: center;
  padding: 5px 12px;
  background: var(--ink);
  color: #ffffff;
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.02em;
  font-family: 'SF Mono', ui-monospace, Menlo, monospace;
}
.version-tag.latest {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(0, 97, 255, .28);
}
.release-date {
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 500;
  font-family: 'SF Mono', ui-monospace, Menlo, monospace;
}
.release-latest-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px;
  background: var(--yellow-soft); color: #92400e;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.release-group { margin-bottom: 24px; }
.release-group:last-child { margin-bottom: 0; }
.group-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.group-badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10.5px; font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.group-badge.new { background: var(--green-soft); color: #14532d; }
.group-badge.improved { background: var(--blue-soft); color: var(--blue-2); }
.group-badge.chat { background: #fef3c7; color: #92400e; }
.group-badge.plain { background: var(--bg-warm); color: var(--ink-2); }
.release ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.release ul li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
}
.release ul li::before {
  content: '';
  position: absolute;
  left: 6px; top: 10px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--border-strong);
}
.release ul li code {
  background: var(--bg-warm);
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 13px;
  font-family: 'SF Mono', ui-monospace, Menlo, monospace;
  color: var(--ink);
}

/* STAT ROW - figures are computed at build time from the releases below */
.stat-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 40px auto 0;
  max-width: 780px;
}
.stat {
  flex: 1 1 0;
  min-width: 150px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.stat + .stat { border-left: 1px solid var(--border); }
.stat-num {
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  /* tabular figures keep the width fixed while the count-up runs */
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}
.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
  text-align: center;
  max-width: 19ch;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .stat-row { gap: 28px 0; }
  .stat { flex: 0 0 50%; min-width: 0; padding: 0 12px; }
  /* two narrow columns - the labels have to be allowed to wrap again */
  .stat-label { white-space: normal; max-width: 14ch; }
  /* 2x2 on phones: the divider belongs between the columns, not the rows */
  .stat + .stat { border-left: none; }
  .stat:nth-child(even) { border-left: 1px solid var(--border); }
}
