:root {
  --bg-start: #fff4fa;
  --bg-end: #ffe9f2;
  --card: #fff;
  --text: #5a2146;
  --muted: #8f5d7d;
  --yes: #ff3f87;
  --yes-hover: #e02f73;
  --no: #f4d9e6;
  --shadow: 0 12px 24px rgba(208, 86, 142, 0.18);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Segoe UI", Roboto, system-ui, sans-serif;
  background: linear-gradient(150deg, var(--bg-start), var(--bg-end));
  color: var(--text);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.card {
  position: relative;
  width: min(100%, 28rem);
  background: var(--card);
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.eyebrow { margin: 0; color: var(--muted); font-size: 0.85rem; }
h1 { font-size: clamp(1.6rem, 4vw, 2rem); margin: 0.5rem 0; }
.subtext, .helper { margin: 0.25rem 0 1rem; color: var(--muted); font-size: 0.95rem; }

.photo-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.thumb {
  border: 2px solid transparent;
  border-radius: 0.75rem;
  padding: 0.35rem;
  background: #fff;
  cursor: pointer;
  display: grid;
  gap: 0.35rem;
}

.thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.55rem;
}

.hero img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}


.thumb-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.thumb.is-selected { border-color: var(--yes); }

.hero {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: #ffe8f1;
}

.actions { position: relative; min-height: 7rem; margin-top: 1rem; }

.btn {
  min-height: 48px;
  min-width: 120px;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.65rem 1rem;
  cursor: pointer;
  transition: left 320ms cubic-bezier(0.2, 0.8, 0.2, 1), top 320ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.2s ease, background 0.2s ease;
}

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

.btn-yes { background: var(--yes); color: #fff; position: absolute; left: 0; bottom: 0; }
.btn-yes:hover, .btn-yes:focus-visible { background: var(--yes-hover); }

.btn-no { background: var(--no); color: var(--text); position: absolute; right: 0; top: 0; }

.swap-pop { animation: swap-pop 360ms ease; }

@keyframes swap-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.success h1 { color: #d01866; }
.success .helper { color: #d01866; font-weight: 600; }

@media (min-width: 640px) {
  .card { padding: 1.5rem; }
}
