body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fff8e7;
  color: #2b2118;
}

.app {
  max-width: 520px;
  margin: 0 auto;
  padding: 24px;
  text-align: center;
}

.mascot {
  width: min(260px, 78vw);
  display: block;
  margin: 0 auto 6px;
}

h1 {
  font-size: 48px;
  margin: 0 0 4px;
}

.tagline {
  font-size: 18px;
  margin-bottom: 24px;
}

.leaf {
  background: #d9f0c1;
  border: 4px solid #5c8a36;
  border-radius: 40px 8px 40px 8px;
  padding: 32px 20px;
  min-height: 180px;
}

.pile {
  font-size: 56px;
  min-height: 80px;
  transition: transform 0.2s ease;
}

.pile.bump {
  transform: scale(1.15);
}

.meter {
  height: 20px;
  background: #ffffff;
  border-radius: 999px;
  overflow: hidden;
  margin: 20px 0 8px;
}

#meterFill {
  height: 100%;
  width: 0%;
  background: #7aad3e;
  transition: width 0.3s ease;
}

.ingredients {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}

button {
  border: 0;
  border-radius: 14px;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
  background: #fff;
  box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}

.wrap-btn {
  width: 100%;
  background: #7aad3e;
  color: white;
  font-size: 22px;
  padding: 18px;
}

.reset-btn {
  margin-top: 16px;
  background: #f1dfb8;
}

.result {
  margin-top: 24px;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.result h2 {
  margin-top: 0;
}

.hidden {
  display: none;
}

footer {
  margin-top: 32px;
  font-size: 13px;
  opacity: 0.7;
}
