/* ── Human-made pill (dismissible, fixed bottom-centre) ─────── */
.human-pill {
  position: fixed;
  bottom: 20px;
  left: 50%;
  translate: -50% 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 16px;
  background: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--fg);
  white-space: nowrap;
  animation: human-pill-in 0.4s ease both;
}

.human-pill[hidden] {
  display: none;
}

.human-pill .pill-hand {
  font-size: 15px;
}

.human-pill .pill-close {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.human-pill .pill-close:hover,
.human-pill .pill-close:focus-visible {
  background: var(--line);
  color: var(--fg);
}

@keyframes human-pill-in {
  from { opacity: 0; translate: -50% 12px; }
  to   { opacity: 1; translate: -50% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .human-pill { animation: none; }
}

@media (max-width: 480px) {
  .human-pill {
    font-size: 12px;
    white-space: normal;
    max-width: calc(100vw - 32px);
    text-align: left;
  }
}
