:root {
  --font-sans: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-serif: "Playfair", serif;
}

body {
  font-family: var(--font-sans);
  font-style: normal;
}

/* Shared pill button. */
.btn {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  border: 0;
  border-radius: 359.986px;

  background: var(--y-palette-muted);
  color: #ffffff;

  text-align: center;
  word-break: break-word;

  transform: scale(1);
  transform-origin: center;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Restrained interaction: only scale, no color/type/layout changes. */
.btn:not(:disabled):hover {
  transform: scale(1.015);
}

.btn:not(:disabled):active {
  transform: scale(0.97);
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }

  .btn:not(:disabled):hover,
  .btn:not(:disabled):active {
    transform: none;
  }
}
