* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #1c1b1a;
  color: #f5f1e8;
  display: flex;
  align-items: center;
  justify-content: center;
}

main {
  text-align: center;
  padding: 1.5rem;
  width: 100%;
  max-width: 480px;
}

.label {
  font-size: 1.2rem;
  opacity: 0.7;
  margin: 0;
}

.count {
  font-size: min(40vw, 14rem);
  font-weight: 800;
  line-height: 1;
  margin: 0.2em 0 0.4em;
  font-variant-numeric: tabular-nums;
}

.beer {
  width: 100%;
  padding: 1.6rem 1rem;
  font-size: 2rem;
  font-weight: 700;
  border: none;
  border-radius: 1.2rem;
  background: #f0a500;
  color: #1c1b1a;
  cursor: pointer;
  touch-action: manipulation;
}

.beer:active {
  transform: scale(0.98);
}

.undo {
  margin-top: 1.2rem;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border: 1px solid #5a5651;
  border-radius: 0.8rem;
  background: transparent;
  color: #f5f1e8;
  cursor: pointer;
}
