* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Trebuchet MS", Arial, sans-serif;
  background: linear-gradient(135deg, #fff5f8, #fffafc);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  color: #7b304d;
}

.card {
  width: min(88vw, 520px);
  min-height: 380px;
  background: rgba(255,255,255,0.86);
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(129, 59, 85, 0.14);
  padding: 34px 26px;
  text-align: center;
  position: relative;
  z-index: 2;
  animation: pop .35s ease;
}

@keyframes pop {
  from { transform: scale(.96); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.cute-img {
  width: 105px;
  height: 105px;
  margin: 0 auto 18px;
  border-radius: 26px;
  background: #f6e9f2;
  display: grid;
  place-items: center;
  font-size: 58px;
}

h1 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 7vw, 46px);
  line-height: 1.05;
  letter-spacing: 1px;
  color: #7f304c;
}

.hint, .small-note {
  color: #b58195;
  font-size: 14px;
}

.answer-row {
  margin-top: 28px;
  min-height: 76px;
  display: flex;
  justify-content: center;
  gap: 18px;
  position: relative;
}

.btn {
  border: 0;
  padding: 15px 27px;
  border-radius: 26px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, left .2s ease, top .2s ease, opacity .2s ease;
  touch-action: none;
  user-select: none;
}

.btn:active { transform: scale(.96); }
.yes { background: #f58baa; color: white; }
.no { background: #dfd0ff; color: #6f54a1; }
.no.runaway { position: fixed; z-index: 99; }

.form-group { text-align: left; margin: 18px 0; }
label { display: block; font-weight: 800; margin-bottom: 8px; }
input, select {
  width: 100%;
  border: 1px solid #ead9df;
  border-radius: 18px;
  padding: 15px 16px;
  font-size: 16px;
  color: #703149;
  background: white;
  outline: none;
}

.full-btn {
  width: 100%;
  margin-top: 14px;
  background: #e982a4;
  color: white;
}

.food-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.food-card {
  border: 0;
  border-radius: 24px;
  background: #f6f1fb;
  padding: 22px 10px;
  color: #7b304d;
  font-weight: 800;
  cursor: pointer;
  min-height: 95px;
}
.food-card span { display: block; font-size: 30px; margin-bottom: 8px; }
.food-card.selected { outline: 3px solid #f58baa; background: #fff1f6; }

.final-text {
  font-size: clamp(26px, 7vw, 42px);
  line-height: 1.25;
  font-weight: 900;
}

.subtle { color: #b58195; font-size: 13px; margin-top: 20px; }

.flower {
  position: fixed;
  top: -20px;
  color: #f58baa;
  font-size: 18px;
  animation: fall linear forwards;
  z-index: 1;
}
@keyframes fall {
  to { transform: translateY(110vh) rotate(280deg); opacity: .15; }
}

@media (max-width: 520px) {
  .card { min-height: 420px; padding: 28px 18px; }
  .answer-row { gap: 12px; }
  .btn { padding: 14px 22px; }
  .food-grid { grid-template-columns: repeat(2, 1fr); }
}
