:root {
  color-scheme: light;
  --bg-top: #ffe6df;
  --bg-bottom: #fff7ef;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-border: rgba(177, 92, 103, 0.18);
  --text: #5c2230;
  --muted: #9a5f69;
  --love: #ff6b88;
  --love-dark: #e94b6b;
  --nope: #ffffff;
  --nope-border: #efc3cb;
  --shadow: 0 24px 60px rgba(176, 90, 107, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.75) 0%, transparent 32%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  color: var(--text);
}

button {
  font: inherit;
  border: 0;
  cursor: pointer;
}

.app {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 18px;
}

.panel {
  width: min(100%, 420px);
  padding: 28px 24px 24px;
  border-radius: 32px;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  text-align: center;
}

.eyebrow {
  margin: 20px 0 8px;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.photo-wrap {
  position: relative;
  width: min(100%, 240px);
  margin: 0 auto;
}

.photo-wrap::after {
  content: "";
  position: absolute;
  inset: auto 8% -12px;
  height: 26px;
  border-radius: 999px;
  background: rgba(207, 122, 137, 0.18);
  filter: blur(10px);
  z-index: -1;
}

.photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 28px;
  border: 4px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 32px rgba(189, 92, 110, 0.22);
}

.question {
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.3rem);
  line-height: 1.08;
}

.actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
  min-height: 84px;
}

.btn {
  min-width: 108px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 700;
  transition:
    transform 220ms ease,
    opacity 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.btn-love {
  background: linear-gradient(180deg, #ff8ca2 0%, var(--love) 100%);
  color: #fffdfd;
  box-shadow: 0 12px 24px rgba(233, 75, 107, 0.28);
  transform: scale(var(--love-scale, 1));
}

.btn-love:hover {
  background: linear-gradient(180deg, #ff97ab 0%, var(--love-dark) 100%);
}

.btn-nope {
  background: var(--nope);
  color: var(--muted);
  border: 2px solid var(--nope-border);
  box-shadow: 0 10px 24px rgba(223, 181, 189, 0.2);
}

.btn-nope:hover {
  background: #fff5f6;
}

.btn:active {
  transform: translateY(1px) scale(var(--love-scale, 1));
}

.btn-nope:active {
  transform: translateY(1px);
}

.actions.only-love .btn-love {
  min-width: 180px;
}

.hint {
  margin: 18px 0 0;
  min-height: 1.5em;
  color: var(--muted);
  font-size: 0.98rem;
}

@media (max-width: 480px) {
  .panel {
    padding: 22px 18px 20px;
    border-radius: 26px;
  }

  .actions {
    gap: 10px;
  }

  .btn {
    min-width: 92px;
    padding: 0 18px;
  }
}
