:root {
  --bg: #24160f;
  --spot: #f4c56d;
  --ink: #fff6e8;
  --muted: #e8c9a0;
  --card: #3a2418;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(ellipse at 50% 18%, #5a3218 0%, #24160f 46%, #140c08 100%);
  color: var(--ink);
  font-family: "Noto Sans SC", sans-serif;
}

.page {
  min-height: 100vh;
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 20px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-dot { margin: 0; letter-spacing: 0.18em; font-size: 0.85rem; color: var(--spot); }
.ask {
  font-family: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif;
  font-size: clamp(1.7rem, 5.6vw, 2.5rem);
  font-weight: 400;
  line-height: 1.35;
  margin: 14px 0 8px;
  max-width: 15em;
}
.tip {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 24em;
}
.thread {
  min-height: 1.5em;
  margin: 4px 0 12px;
  color: var(--spot);
  font-size: 1.02rem;
  line-height: 1.5;
}

.big-play.hide, .song-name.hide { display: none; }
.big-play {
  margin: 12px 0 8px;
  width: min(38vw, 190px);
  height: min(38vw, 190px);
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #f7d48a, #c47a22 58%, #4a2a12 100%);
  box-shadow: 0 0 0 12px #1a100c, 0 18px 50px rgba(0,0,0,.45);
  cursor: pointer;
  position: relative;
  color: #3a220e;
}
.disc {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: repeating-radial-gradient(#2a1a10 0 6px, #1a100c 7px 10px);
}
.big-play.spin .disc { animation: spin 3.6s linear infinite; }
.play-word {
  position: relative;
  z-index: 1;
  font-family: "ZCOOL KuaiLe", sans-serif;
  font-size: 2.2rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
.song-name { margin: 0 0 16px; color: var(--muted); }

.choices {
  width: 100%;
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}
.choices.two { grid-template-columns: 1fr 1fr; }
.choices.many { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .choices.many { grid-template-columns: 1fr 1fr; }
  .choices.three { grid-template-columns: 1fr 1fr 1fr; }
}

.pick {
  appearance: none;
  font-family: inherit;
  color: inherit;
  text-align: left;
  background: var(--card);
  border: 3px solid transparent;
  border-radius: 20px;
  padding: 12px 14px;
  cursor: pointer;
}
.pick:hover { border-color: #a06a32; }
.pick.on { border-color: var(--spot); background: #4a2e18; }
.pick.on strong::before { content: "✓ "; color: var(--spot); }
.pick strong { display: block; font-size: 1.12rem; margin-bottom: 4px; }
.pick span { color: var(--muted); font-size: 0.92rem; line-height: 1.4; }

.self {
  grid-column: 1 / -1;
  background: #2a1a12;
  border-radius: 20px;
  padding: 12px;
  text-align: left;
}
.self label { display: block; margin-bottom: 8px; color: var(--spot); }
.self input, .self textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff6e8;
  color: #3a220e;
}
.self textarea { min-height: 90px; resize: vertical; }

.rec {
  width: 100%;
  text-align: left;
  background: #3a2418;
  border-radius: 20px;
  padding: 16px;
  line-height: 1.7;
  color: #ffe9c8;
}
.rec h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--spot); font-weight: 700; }
.rec p { margin: 0 0 10px; white-space: pre-wrap; }

.next, .ghost {
  font-family: inherit;
  font-size: 1.08rem;
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  cursor: pointer;
}
.next { background: var(--spot); color: #3a220e; min-width: 200px; }
.next:disabled { opacity: 0.35; cursor: not-allowed; }
.ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid #6a4428;
}
.ghost.on { border-color: var(--spot); color: var(--spot); }
.row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; }
.busy { color: var(--muted); }
#player { display: none; }
.rec textarea {
  width: 100%;
  min-height: 140px;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.6;
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff6e8;
  color: #3a220e;
}
