.cute-sky {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background-color: #fff8e6;
  background-image:
    radial-gradient(circle at 8% 14%, rgba(255, 214, 102, 0.75) 0 46px, transparent 47px),
    radial-gradient(circle at 90% 8%, rgba(255, 236, 170, 0.95) 0 64px, transparent 65px),
    radial-gradient(circle at 76% 86%, rgba(245, 190, 70, 0.45) 0 80px, transparent 81px),
    linear-gradient(165deg, #fffdf6 0%, #ffe08a 48%, #fff3c4 100%);
  display: flex;
  flex-direction: column;
}

.cute-float {
  position: absolute;
  bottom: -8%;
  width: 1.6rem;
  animation: cute-float linear infinite;
  animation-duration: 14s;
}

.form-wrap {
  position: relative;
  width: min(36rem, calc(100% - 2rem));
  margin: auto;
  padding: 1.5rem 0;
}

.card {
  position: relative;
  border: 1px solid #f0d48a;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(201, 132, 18, 0.16);
  padding: 1.5rem;
}

.card h1,
.card h2 {
  color: #7a4b12;
  font-weight: 500;
}

.brand,
.progress {
  color: #c98412;
  font-weight: 500;
}

.brand {
  text-align: center;
  letter-spacing: 0.18em;
}

.cup {
  width: 1.4rem;
  height: 1.4rem;
}

.cake-lg {
  width: 3.5rem;
  height: 3.5rem;
  display: block;
  margin: 0.4rem auto;
}

.langs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  border: 0;
  border-radius: 999px;
  padding: 0 0.8rem;
  background: #fff4d6;
  color: #7a4b12;
}

.lang.on {
  background: #c98412;
  color: white;
}

.flag {
  width: 1.25rem;
  height: 0.85rem;
  border-radius: 2px;
}

.honey,
.ghost {
  min-height: 2.75rem;
  border: 0;
  border-radius: 999px;
  padding: 0 1.2rem;
  font-size: 1rem;
}

.honey {
  width: 100%;
  background: #c98412;
  color: white;
}

.ghost {
  background: transparent;
  color: #7a4b12;
}

.step-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.choice {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.75rem;
}

.phone-form input,
.phone-form textarea,
.phone-form select {
  font-size: 16px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #e8c56a;
  background: transparent;
  padding: 0.45rem 0;
}

.phone-form input[type="radio"],
.phone-form input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: #c98412;
}

.illu {
  display: block;
  max-width: 100%;
  max-height: 16rem;
  margin: 0.6rem auto;
  border-radius: 16px;
}

.help,
.desc,
.thank-body {
  white-space: pre-wrap;
}

.req {
  color: #ef4444;
}

.hidden {
  display: none !important;
}

.text-link {
  color: #c98412;
  font-weight: 500;
}

.thank-card {
  text-align: center;
  padding-bottom: 6rem;
}

.done-stamp {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  width: 5.4rem;
  pointer-events: none;
  transform: rotate(-12deg);
  animation: stamp-slam 0.62s cubic-bezier(0.16, 0.84, 0.24, 1.12) 0.38s both;
}

.done-stamp-ring {
  position: absolute;
  right: 1.15rem;
  bottom: 1.15rem;
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 999px;
  border: 2px solid rgba(194, 59, 69, 0.4);
  animation: stamp-ring 0.42s ease-out 0.78s both;
}

.sheet-in {
  animation: sheet-in 0.42s cubic-bezier(0.2, 0.85, 0.2, 1) both;
}

.sheet-out,
.sheet-out-back {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 2;
  pointer-events: none;
  animation: sheet-out 0.48s ease forwards;
}

.sheet-out-back {
  animation-name: sheet-out-back;
}

.phone-form {
  position: relative;
}

[data-loc] {
  display: none;
}

html[data-lang="th"] [data-loc="th"],
html[data-lang="en"] [data-loc="en"],
html[data-lang="zh"] [data-loc="zh"] {
  display: inline;
}

@keyframes cute-float {
  from { transform: translateY(0); opacity: 0; }
  12% { opacity: 0.9; }
  to { transform: translateY(-115vh); opacity: 0; }
}

@keyframes sheet-in {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: none; }
}

@keyframes sheet-out {
  to { transform: translateX(-115%) rotate(-7deg); opacity: 0; }
}

@keyframes sheet-out-back {
  to { transform: translateX(115%) rotate(7deg); opacity: 0; }
}

@keyframes stamp-slam {
  0% { transform: translate(18px, -92px) rotate(-34deg) scale(1.28); opacity: 0; }
  62% { transform: translate(0, 2px) rotate(-12deg) scale(0.94); opacity: 1; }
  100% { transform: rotate(-12deg); opacity: 1; }
}

@keyframes stamp-ring {
  from { transform: scale(0.7); opacity: 0.7; }
  to { transform: scale(1.35); opacity: 0; }
}

@keyframes cute-shake {
  30% { transform: translateX(-7px); }
  70% { transform: translateX(7px); }
}

.cute-shake {
  animation: cute-shake 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
  .cute-float,
  .sheet-in,
  .sheet-out,
  .sheet-out-back,
  .done-stamp,
  .done-stamp-ring,
  .cute-shake {
    animation: none;
  }
}
