.changelog-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Changelog */
.changelog-entry {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: oklch(15% 0.025 270 / 35%);
  overflow: hidden;
}

:root.light .changelog-entry {
  background: oklch(100% 0 0 / 55%);
}

.changelog-summary {
  min-height: 44px;
  padding: 9px 12px;
  display: grid;
  grid-template-columns: minmax(82px, auto) 1fr auto;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  list-style: none;
}

.changelog-summary::-webkit-details-marker {
  display: none;
}

.changelog-summary::before {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
  transition: transform var(--transition);
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.changelog-entry[open] .changelog-summary::before {
  transform: rotate(45deg);
}

.changelog-version {
  padding-left: 16px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-mono);
  grid-column: 1;
  grid-row: 1;
}

.changelog-date {
  min-width: 0;
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.changelog-count {
  min-width: 24px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: oklch(74% 0.2 45 / 9%);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-mono);
}

.changelog-changes {
  margin: 0;
  padding: 0 14px 12px 34px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

.changelog-changes li {
  padding: 2px 0;
}

.changelog-changes li::marker {
  color: var(--accent);
}
