/* whats-new — dev notes panel (only opened via ?whatsnew). Uses design tokens. */
/* panel */
.wn-panel { position: fixed; inset: 0; z-index: 50; }
.wn-panel__scrim {
  position: absolute; inset: 0; background: rgba(36,26,19,.34);
  opacity: 0; transition: opacity .18s ease;
}
.wn-panel__sheet {
  position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 100%);
  width: 100%; max-width: 480px; max-height: 72vh; display: flex; flex-direction: column;
  background: var(--card); border-radius: 20px 20px 0 0; box-shadow: 0 -20px 50px -24px rgba(40,26,15,.5);
  transition: transform .2s cubic-bezier(.2,.8,.2,1);
}
.wn-panel--open .wn-panel__scrim { opacity: 1; }
.wn-panel--open .wn-panel__sheet { transform: translate(-50%, 0); }

.wn-panel__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px 12px; border-bottom: 1px solid var(--hair);
}
.wn-panel__title { font-weight: 800; font-size: 20px; }
.wn-panel__x {
  appearance: none; border: none; background: none; cursor: pointer;
  font-size: 16px; color: var(--muted); line-height: 1; padding: 4px;
}
.wn-panel__list { overflow-y: auto; padding: 6px 20px 24px; }
.wn-item { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.wn-item:last-child { border-bottom: none; }
.wn-item__date { flex: 0 0 auto; font-size: 11px; color: var(--muted); min-width: 46px; }
.wn-item__title { flex: 1; font-size: 14px; line-height: 1.4; color: var(--ink); }
