/* Pill button (Btn) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform 0.08s ease, opacity 0.15s, background 0.15s;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn:active:not(:disabled) { transform: scale(0.98); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

.btn--full { width: 100%; }
.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn--md { height: 48px; padding: 0 20px; font-size: 15px; }
.btn--lg { height: 56px; padding: 0 24px; font-size: 16px; }

.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--ghost   { background: transparent; color: var(--ink); border-color: var(--hairline-2); }
.btn--soft    { background: var(--accent-soft); color: var(--accent); }
.btn--danger  { background: var(--warn); color: #fff; }
.btn--ink     { background: var(--ink); color: var(--surface); }

/* Icon-only round button */
.icon-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink-2);
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.icon-btn:hover { background: var(--bg-3); }
