/* ─── Page ─── */
.whats-new {
  max-width: 880px;
  margin: 0 auto;
  padding: 28px 32px 48px;
  color: var(--text-primary);
  background: var(--bg-card);
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 8px 24px rgba(0,0,0,0.25);
  border: 1px solid var(--border-subtle);
}

.whats-new__header {
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}
.whats-new__title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.whats-new__close {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.whats-new__close:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--border);
}
.whats-new__icon {
  color: var(--accent);
  flex-shrink: 0;
}
.whats-new__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
  line-height: 1.2;
}
.whats-new__subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}
.whats-new__date {
  font-variant-numeric: tabular-nums;
}

.whats-new__view-tabs {
  display: inline-flex;
  gap: 4px;
  margin-top: 14px;
  padding: 3px;
  border-radius: 8px;
  background: var(--bg-hover);
  border: 1px solid var(--border-subtle);
}

.whats-new__view-tab {
  padding: 6px 14px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.whats-new__view-tab:hover {
  color: var(--text-primary);
}

.whats-new__view-tab--active {
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.whats-new__body {
  font-size: 14px;
  line-height: 1.65;
}
.whats-new__empty {
  color: var(--text-muted);
  font-style: italic;
}

.whats-new-h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 24px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}
.whats-new-h2:first-child {
  margin-top: 0;
}

.whats-new-h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 22px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}
.whats-new-h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 14px 0 6px;
}

.whats-new-p {
  margin: 6px 0;
}

.whats-new-list {
  list-style: disc;
  padding-left: 22px;
  margin: 6px 0 10px;
}
.whats-new-list li {
  margin-bottom: 8px;
  padding-left: 2px;
}
.whats-new-list li::marker {
  color: var(--text-muted);
}

.whats-new-quote {
  border-left: 3px solid var(--border);
  padding: 6px 12px;
  margin: 10px 0;
  color: var(--text-secondary);
  background: var(--bg-hover);
  border-radius: 0 4px 4px 0;
}

.whats-new-hr {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 18px 0;
}

.whats-new-code {
  background: var(--bg-elevated);
  color: var(--text-secondary);
  padding: 1px 5px;
  border-radius: 3px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 12.5px;
}

.whats-new-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dashed var(--border);
  cursor: pointer;
}
.whats-new-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
