:root {
  --violet: #7c3aed;
  --violet-dark: #6d28d9;
  --text: #1f2937;
  --bg: #f8fafc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  display: grid;
  place-items: center;
}

.wrap {
  text-align: center;
}

.tiny-button {
  border: 1px solid var(--violet-dark);
  background: var(--violet);
  color: #fff;
  border-radius: 8px;
  font-size: 12px;
  padding: 6px 10px;
  cursor: pointer;
  transition: transform 120ms ease, background-color 120ms ease;
}

.tiny-button:hover {
  background: var(--violet-dark);
}

.tiny-button:active {
  transform: scale(0.96);
}

.tiny-button.click-pop {
  animation: clickPop 180ms ease-out;
}

@keyframes clickPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.button-message {
  margin-top: 8px;
  font-size: 12px;
  min-height: 1em;
}
