/* whats-new — user-facing changelog pill (bottom-right) + slide-up panel.
   Sibling of the ?debug pill (bottom-left); uses design tokens since it's shipped UI. */
.wn-pill {
  position: fixed; bottom: 14px; right: 14px; z-index: 40;
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  appearance: none; border: 1px solid var(--line-2); background: var(--card); color: var(--ink-soft);
  border-radius: 999px; padding: 8px 13px 8px 11px; font-family: var(--sans);
  font-weight: 600; font-size: 13px; box-shadow: 0 8px 22px -14px rgba(40,26,15,.55);
  transition: transform .12s ease, box-shadow .12s ease;
}
.wn-pill:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -14px rgba(40,26,15,.6); }
.wn-pill:active { transform: translateY(0); }
.wn-pill__spark { font-size: 13px; }
.wn-pill__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--jam);
  box-shadow: 0 0 0 2px var(--card); margin-left: 1px;
}

/* 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: 700; font-size: 18px; }
.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); }
