* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f8fafc;
  color: #111827;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  text-align: center;
}

h1 {
  margin-bottom: 0.4rem;
}

.subtitle {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #4b5563;
}

.buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.vote {
  border: 0;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.1s ease, opacity 0.2s ease;
}

.vote:hover {
  transform: translateY(-1px);
}

.vote:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.up {
  background: #dcfce7;
  color: #14532d;
}

.down {
  background: #fee2e2;
  color: #7f1d1d;
}

.status {
  min-height: 24px;
  margin-top: 1rem;
  color: #1f2937;
}

.results {
  margin-top: 1rem;
}

.counts {
  display: flex;
  gap: 0.75rem;
}

.count-card {
  min-width: 110px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
