/* Changelog feed - releases on a rail, tag pills (text first, tint second). */
:root {
    --cl-new-bg: #e0e7ff; --cl-new: #3730a3; --cl-imp-bg: #e0f2fe; --cl-imp: #075985; --cl-fix-bg: #dcfce7; --cl-fix: #166534;
    --cl-sec-bg: #fef3c7; --cl-sec: #92400e; --cl-brk-bg: #fee2e2; --cl-brk: #991b1b; --cl-dep-bg: #f1f5f9; --cl-dep: #475569;
}
html[data-theme="dark"] {
    --cl-new-bg: #2b3170; --cl-new: #c7d2fe; --cl-imp-bg: #123650; --cl-imp: #bae6fd; --cl-fix-bg: #173b2a; --cl-fix: #bbf7d0;
    --cl-sec-bg: #45311a; --cl-sec: #fde68a; --cl-brk-bg: #4a1d24; --cl-brk: #fecaca; --cl-dep-bg: #263048; --cl-dep: #cbd5e1;
}
@media (prefers-color-scheme: dark) {
    html[data-theme="auto"] {
        --cl-new-bg: #2b3170; --cl-new: #c7d2fe; --cl-imp-bg: #123650; --cl-imp: #bae6fd; --cl-fix-bg: #173b2a; --cl-fix: #bbf7d0;
        --cl-sec-bg: #45311a; --cl-sec: #fde68a; --cl-brk-bg: #4a1d24; --cl-brk: #fecaca; --cl-dep-bg: #263048; --cl-dep: #cbd5e1;
    }
}

.cl-feed { display: grid; gap: 0; }
.cl-older { margin-top: 0; }
.cl-rel { position: relative; padding: 0 0 16px 22px; min-width: 0; }
.cl-rel::before { content: ""; position: absolute; left: 5px; top: 14px; bottom: -2px; width: 2px; background: var(--e-line); border-radius: 2px; }
.cl-feed .cl-rel:last-child::before { bottom: 10px; }
.cl-dot { position: absolute; left: 0; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--e-bg); border: 2px solid var(--e-line-strong); }
.cl-feed:first-child .cl-rel:first-child .cl-dot { border-color: var(--e-accent); background: var(--e-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--e-accent) 22%, transparent); }
.cl-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 4px; }
.cl-title { margin: 0; font-size: 1em; font-weight: 750; letter-spacing: -.01em; color: var(--e-ink); overflow-wrap: anywhere; }
.cl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.cl-date { font-size: .82em; color: var(--e-ink-3); font-variant-numeric: tabular-nums; margin-right: 2px; }
.cl-pill { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px; font-size: .72em; font-weight: 700; letter-spacing: .02em; background: var(--e-surface-2); color: var(--e-ink-2); white-space: nowrap; }
.cl-latest { background: var(--e-accent); color: var(--e-accent-ink); }
.cl-new { background: var(--cl-new-bg); color: var(--cl-new); }
.cl-improved { background: var(--cl-imp-bg); color: var(--cl-imp); }
.cl-fixed { background: var(--cl-fix-bg); color: var(--cl-fix); }
.cl-security { background: var(--cl-sec-bg); color: var(--cl-sec); }
.cl-breaking { background: var(--cl-brk-bg); color: var(--cl-brk); }
.cl-deprecated { background: var(--cl-dep-bg); color: var(--cl-dep); }
.cl-sum { margin: 2px 0 4px; font-size: .92em; color: var(--e-ink-2); overflow-wrap: anywhere; }
.cl-items { margin: 4px 0 0; padding: 0 0 0 18px; display: grid; gap: 4px; }
.cl-item { font-size: .92em; line-height: 1.45; color: var(--e-ink); overflow-wrap: anywhere; }
.cl-item::marker { color: var(--e-ink-3); }
.cl-item .cl-pill { margin-right: 6px; vertical-align: 1px; }
.cl-text code { font-family: var(--e-mono); font-size: .88em; padding: 0 4px; border-radius: 4px; background: var(--e-surface-2); }
.cl-link { display: inline-block; margin-top: 6px; font-size: .84em; font-weight: 650; color: var(--e-accent-fg); text-underline-offset: 2px; }
.cl-more-row { padding-left: 22px; }
.cl-more { font-size: .84em; padding: 5px 14px; min-height: 40px; border-radius: 999px; }
html[data-compact="1"] .cl-rel { padding-bottom: 11px; }
