:root {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #f5f5f5;
  background: #000;
  font-synthesis: none;
  color-scheme: dark;
  --accent: #fbe13d;
  --muted: #a7a7a7;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
[hidden] { display: none !important; }
.shell { max-width: 540px; min-height: 100svh; margin: 0 auto; padding: 0 24px env(safe-area-inset-bottom); }
.topbar { height: 84px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #282828; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: 156px; height: auto; }
.intro { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; }
.eyebrow { font-size: 12px; letter-spacing: 1.2px; color: var(--muted); font-weight: 500; margin: 0 0 12px; }
h1 { font-size: 28px; letter-spacing: -.5px; line-height: 1.45; margin: 0; font-weight: 650; }
.orange { color: var(--accent); }
.intro img { width: 106px; height: 106px; object-fit: contain; margin-right: -8px; transform: rotate(8deg); }
.incentive { font-size: 12px; line-height: 1.65; color: #c9c9c9; padding: 0; margin: 22px 0 25px; }
.incentive span { color: var(--accent); margin-right: 4px; }
.progress-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); letter-spacing: .4px; }
.progress-meta > span:first-child { color: var(--accent); }
.progress { height: 3px; background: #282828; border-radius: 4px; margin: 11px 0 23px; }
.progress span { display: block; height: 100%; width: 33.333%; background: var(--accent); transition: width .2s; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-size: 20px; font-weight: 600; line-height: 1.55; padding: 0; margin-bottom: 18px; width: 100%; outline: none; }
.option { display: flex; align-items: center; gap: 13px; min-height: 59px; padding: 15px 14px; border: 1px solid #363636; background: #101010; border-radius: 10px; margin-bottom: 10px; cursor: pointer; transition: background .15s, border-color .15s; }
.option:last-child { margin-bottom: 0; }
.option:has(input:checked) { background: #22200e; border-color: var(--accent); }
.option input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; flex-shrink: 0; margin: 0; border: 1.5px solid #777; border-radius: 50%; background: #101010; }
.option input:checked { border: 6px solid var(--accent); }
.option:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 3px; }
.option span { font-size: 16px; line-height: 1.5; }
.choice-row { display: flex; gap: 10px; }
.choice-row .option { flex: 1; margin-bottom: 0; }
.follow-up-label { display: block; font-size: 16px; line-height: 1.6; margin: 22px 0 12px; }
.feedback { display: block; width: 100%; min-height: 172px; resize: vertical; padding: 16px; border: 1px solid #444; border-radius: 10px; background: #101010; color: #f5f5f5; font: inherit; font-size: 16px; line-height: 1.65; }
.feedback::placeholder { color: #999; }
.feedback:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.feedback-count { margin: 9px 0 0; text-align: right; color: var(--muted); font-size: 12px; }
.actions { display: flex; gap: 12px; margin-top: 24px; }
.primary { border: 0; background: var(--accent); color: #000; min-height: 55px; padding: 15px 22px; flex: 1; border-radius: 10px; font-size: 16px; display: flex; align-items: center; justify-content: space-between; font-weight: 650; }
.primary:hover { background: #ffed73; }
.primary:focus-visible, .back:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.back { border: 1px solid #444; background: transparent; color: #ccc; border-radius: 10px; padding: 0 13px; font-size: 14px; }
.error { font-size: 14px; color: #ffa793; line-height: 1.5; margin: 14px 0 0; }
footer { font-size: 14px; font-weight: 400; line-height: 1.8; color: #a7a7a7; text-align: center; margin: 32px 0 26px; }
.success { text-align: center; padding-top: 44px; }
.success-mark { width: 40px; height: 40px; border: 1px solid #6f6528; border-radius: 50%; background: #24200b; color: var(--accent); display: grid; place-items: center; margin: 0 auto 26px; font-size: 23px; }
.success .eyebrow { margin-bottom: 16px; }
.success h1 { font-size: 28px; }
.success > img { width: 250px; height: 250px; max-width: 100%; object-fit: contain; display: block; margin: 28px auto 8px; }
@media (min-width: 600px) {
  .shell { padding: 0 36px 1px; }
  .topbar { height: 100px; }
  .intro { margin-top: 38px; }
  .intro img { width: 128px; height: 128px; }
  h1 { font-size: 32px; }
  .option { min-height: 64px; }
  .success { padding-top: 56px; }
  .success h1 { font-size: 32px; }
  .success > img { width: 290px; height: 290px; }
}
@media (max-width: 360px) {
  .shell { padding-left: 18px; padding-right: 18px; }
  h1 { font-size: 25px; }
  .intro img { width: 80px; height: 80px; }
  .intro .eyebrow { font-size: 12px; letter-spacing: .3px; }
  .option { padding-left: 12px; gap: 10px; }
  .option span { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
