/* Changelog page: release notes by build, newest first. Icons are Lucide (ISC), see icons/LICENSE-lucide.txt. */
.changelog-page { padding: 48px 0 96px; }
.cl-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.cl-head h1 { font-size: clamp(40px, 5.6vw, 64px); }
.cl-intro { margin-top: 20px; max-width: 640px; color: var(--muted); font-size: 19px; }
.cl-cta { margin-top: 28px; }

.cl-list { margin-top: 72px; border-top: 1px solid var(--line); }
.cl-entry { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; padding: 40px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.cl-when { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; gap: 6px; font-size: 20px; letter-spacing: -.01em; line-height: 1.2; }
.cl-when time { color: var(--muted); font: 500 15px/1.4 "Inter", sans-serif; letter-spacing: 0; }
.cl-dot { display: none; }
.cl-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.cl-items li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 16px; align-items: start; }
.cl-icon {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  color: #9DC0FF; background: rgba(var(--glow), .1); border: 1px solid rgba(var(--glow), .24);
  box-shadow: 0 0 22px rgba(var(--glow), .16), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.cl-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cl-text h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font: 600 17px/1.35 "Inter", sans-serif; letter-spacing: -.005em; padding-top: 7px; }
.cl-text p { margin-top: 6px; color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 46em; }
.cl-tag { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font: 600 11px/1 "Inter", sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.cl-new { color: #9DC0FF; background: rgba(var(--glow), .12); border: 1px solid rgba(var(--glow), .28); }
.cl-fixed { color: var(--ok); background: rgba(74, 222, 128, .08); border: 1px solid rgba(74, 222, 128, .24); }

.cl-restored { margin-top: 96px; border-top: 0; }
.cl-divider { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.cl-divider h2 { font-size: clamp(26px, 3vw, 34px); }
.cl-divider p { margin-top: 12px; max-width: 640px; color: var(--muted); }
.cl-restored .cl-when time { color: var(--ink); font: inherit; letter-spacing: inherit; }
.cl-restored .cl-icon { color: var(--muted); background: var(--chip); border-color: var(--line); box-shadow: none; }

@media (max-width: 760px) {
  .changelog-page { padding: 32px 0 72px; }
  .cl-list { margin-top: 48px; }
  .cl-entry { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 32px 0; }
  .cl-when { position: static; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0; font-size: 18px; }
  .cl-dot { display: inline; color: var(--muted); white-space: pre; }
  .cl-items li { grid-template-columns: 34px minmax(0, 1fr); gap: 14px; }
  .cl-icon { width: 34px; height: 34px; border-radius: 10px; }
  .cl-text h3 { padding-top: 5px; font-size: 16px; }
  .cl-text p { font-size: 15px; }
}
