/* changelog.css — v72 "What's New" patch-notes card + profile-menu tag */

#changelogModal { position: fixed; inset: 0; z-index: 4200; }
#changelogModal[hidden] { display: none; }
#changelogModal .note-backdrop { position: absolute; inset: 0; background: rgba(10,12,16,.45); }
.cl-card {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(560px, calc(100vw - 32px)); max-height: min(72vh, 640px);
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-card); box-shadow: var(--elev-2);
}
.cl-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px 10px; border-bottom: 1px solid var(--line);
}
.cl-head b { font-size: 16px; letter-spacing: .2px; }
.cl-body { overflow-y: auto; padding: 6px 18px 4px; }
.cl-entry { padding: 12px 0 4px; }
.cl-entry + .cl-entry { border-top: 1px solid var(--line); }
.cl-entry:not(.open) .cl-items { display: none; }
.cl-entry:not(.open) { opacity: .75; }
.cl-vhead { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cl-vhead b {
  font-family: var(--font-mono); font-size: 12px; padding: 2px 8px;
  border: 1px solid var(--line); border-radius: 999px;
}
.cl-vtitle { font-weight: 600; font-size: 14px; }
.cl-vdate { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }
.cl-items { margin: 10px 0 8px; padding-left: 20px; display: grid; gap: 7px; }
.cl-items li { font-size: 13px; line-height: 1.5; color: var(--text); }
.cl-items li::marker { color: var(--text-dim); }
.cl-more {
  display: block; width: 100%; margin: 4px 0 10px; padding: 8px;
  background: none; border: 1px dashed var(--line); border-radius: var(--radius-control);
  font: inherit; font-size: 12px; color: var(--text-dim); cursor: pointer;
}
.cl-more:hover { color: var(--text); border-color: var(--line-soft); }
.cl-actions {
  display: flex; justify-content: flex-end; gap: 8px;
  padding: 12px 18px 14px; border-top: 1px solid var(--line);
}
.cl-btn {
  padding: 8px 16px; border-radius: var(--radius-control); font: inherit; font-size: 13px;
  font-weight: 600; cursor: pointer; border: 1px solid var(--line); background: none; color: var(--text);
}
.cl-btn.ghost { color: var(--text-dim); }
.cl-btn.ghost:hover { color: var(--text); }
.cl-btn.primary { background: var(--text); color: var(--panel); border-color: var(--text); }

/* the version tag on the profile-menu row */
.pm-vtag {
  margin-left: auto; font-family: var(--font-mono); font-size: 10px;
  padding: 1px 7px; border: 1px solid var(--line); border-radius: 999px; color: var(--text-dim);
}
