:root {
  color-scheme: light dark;
  --bg: #f6f5f2;
  --card: #ffffff;
  --text: #1a1a1a;
  --muted: #8a8a86;
  --border: #e3e2de;
  --accent: #9db437;
  --accent-bg: #f7fadf;
  --star-off: #cfcfca;
  --star-on: #e8b90c;
  --btn-bg: #1a1a1a;
  --btn-text: #ffffff;
  --error: #c0392b;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --card: #1e1e1e;
    --text: #ececea;
    --muted: #9a9a94;
    --border: #3a3a3a;
    --accent: #c4d44a;
    --accent-bg: rgba(196, 212, 74, 0.12);
    --star-off: #4a4a4a;
    --btn-bg: #c4d44a;
    --btn-text: #14170a;
    --error: #e07b6d;
  }
}
/* pan-x pan-y allows scrolling but forbids double-tap and pinch zoom on
   browsers that honor touch-action; iOS pinch is additionally blocked via
   gesture-event handlers in app.js. */
* { box-sizing: border-box; margin: 0; padding: 0; touch-action: pan-x pan-y; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 24px 16px 48px;
}
.card {
  width: 100%;
  max-width: 480px;
  height: fit-content;
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.07);
}
.hero { width: 100%; display: block; }
.card-content { padding: 24px 22px 28px; }
h1 { font-size: 22px; margin-bottom: 6px; }
.muted { color: var(--muted); font-size: 14px; }
section { margin-top: 22px; }
h2 { font-size: 15px; margin-bottom: 4px; }
.hint { color: var(--muted); font-size: 12.5px; margin-bottom: 8px; }
.req { color: var(--error); }
.option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: start;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 6px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
}
.option .check { visibility: hidden; display: flex; }
.option .icon { width: 14px; height: 14px; color: var(--accent); }
.option.selected { border: 1.5px solid var(--accent); background: var(--accent-bg); }
.option.selected .check { visibility: visible; }
.other-input {
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: none;
  color: var(--text);
  font-size: 16px;
}
.stars { display: flex; gap: 4px; margin-top: 6px; flex-wrap: wrap; }
.star { background: none; border: none; cursor: pointer; color: var(--star-off); padding: 2px; }
.star .icon { width: 24px; height: 24px; display: block; }
.star.filled { color: var(--star-on); }
.error { color: var(--error); font-size: 13px; margin-top: 16px; }
.signature { margin-top: 14px; color: var(--accent); font-weight: 700; font-size: 14px; }
.submit {
  width: 100%;
  margin-top: 18px;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  padding: 13px;
  cursor: pointer;
}
.submit:disabled { opacity: 0.6; }
