:root {
  --bg: #f7f3fb;
  --bg-soft: #fbf9fe;
  --card: rgba(255, 255, 255, 0.94);
  --ink: #231f2e;
  --muted: #8a829a;
  --line: rgba(108, 92, 168, 0.12);
  --violet: #6f5cff;
  --violet-2: #8a73ff;
  --violet-soft: rgba(111, 92, 255, 0.12);
  --orange: #ff8b5b;
  --shadow: 0 24px 60px rgba(84, 64, 131, 0.12);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  background: linear-gradient(180deg, #f7f4f8 0%, #f1eff5 100%);
  font-family: "PingFang SC", "Hiragino Sans GB", "SF Pro Display", "Microsoft YaHei", sans-serif;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

button, input, textarea, select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.app-shell {
  position: relative;
  width: min(430px, 100%);
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  padding: 18px 18px calc(96px + var(--safe-bottom));
  background: #f5f2f6;
}

.ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.45;
  pointer-events: none;
}

.ambient-a {
  top: -64px;
  left: -90px;
  width: 220px;
  height: 220px;
  background: rgba(111, 92, 255, 0.18);
}

.ambient-b {
  top: 170px;
  right: -90px;
  width: 190px;
  height: 190px;
  background: rgba(255, 139, 91, 0.18);
}

.screen {
  display: none;
  position: relative;
  animation: fadeUp 0.32s ease both;
  isolation: isolate;
}

.screen.is-active {
  display: block;
}

.is-hidden {
  display: none !important;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.welcome-screen {
  position: relative;
  min-height: calc(100vh - 36px);
  display: grid;
  place-items: center;
  padding: 30px 18px 70px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.22), transparent 24%),
    radial-gradient(circle at 62% 58%, rgba(111, 92, 255, 0.10), transparent 18%),
    linear-gradient(180deg, #868892 0%, #8f919b 44%, #9a9ca5 100%);
}

.welcome-screen::before,
.quiz-screen::before,
.analysis-screen::before,
.result-screen::before {
  content: "";
  position: absolute;
  inset: -18px;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.88;
  z-index: -3;
  pointer-events: none;
}

.welcome-screen::before {
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.20), transparent 26%),
    radial-gradient(circle at 68% 76%, rgba(255, 255, 255, 0.08), transparent 18%);
  opacity: 1;
}

.quiz-screen::before {
  background: linear-gradient(180deg, #f7f4f8 0%, #f2eff6 100%);
}

.analysis-screen::before {
  background: linear-gradient(180deg, #f7f4f8 0%, #f2eff6 100%);
}

.result-screen::before {
  background:
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.2) 34%, rgba(245,242,248,.86)),
    url('https://xm88.oss-cn-shanghai.aliyuncs.com/public/uploads/20260723/result-top.jpg');
  background-size: cover;
  background-position: center top;
}

.welcome-screen::after,
.quiz-screen::after,
.analysis-screen::after,
.result-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(248, 244, 251, 0.3), rgba(248, 244, 251, 0.08) 32%, rgba(248, 244, 251, 0.24));
  z-index: -2;
  pointer-events: none;
}

.welcome-screen::after {
  background: linear-gradient(180deg, rgba(55, 57, 67, 0.16), rgba(55, 57, 67, 0.24));
}

.welcome-hero {
  position: absolute;
  left: 50%;
  top: 34%;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: 12px;
  width: calc(100% - 36px);
  max-width: 320px;
  color: rgba(35, 31, 46, 0.36);
  text-align: center;
  pointer-events: none;
  z-index: 0;
}

.welcome-hero-mark {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.34) 0 18%, transparent 19%),
    radial-gradient(circle at 50% 50%, rgba(111, 92, 255, 0.12) 0 46%, transparent 47%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 0 28px rgba(255, 255, 255, 0.10);
}

.welcome-hero-mark::before,
.welcome-hero-mark::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 2px solid rgba(116, 112, 130, 0.25);
}

.welcome-hero-mark::after {
  inset: 28px;
  border-width: 1px;
}

.welcome-hero-copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: 24px;
  letter-spacing: 0.22em;
}

.welcome-hero-copy span {
  font-size: 12px;
  letter-spacing: 0.12em;
}

.welcome-card {
  position: relative;
  z-index: 2;
  width: min(304px, 100%);
  padding: 18px 20px 20px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 249, 253, 0.98));
  box-shadow: 0 18px 52px rgba(58, 54, 72, 0.20);
  backdrop-filter: blur(10px);
}

.welcome-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 76px;
  border-radius: 24px 24px 18px 18px;
  background: linear-gradient(180deg, rgba(114, 111, 255, 0.18), rgba(114, 111, 255, 0));
  pointer-events: none;
}

.welcome-card .welcome-badge,
.welcome-card h1,
.welcome-card .welcome-copy,
.welcome-card .welcome-actions {
  position: relative;
  z-index: 1;
}

.page-character {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  filter: drop-shadow(0 18px 28px rgba(66, 51, 97, 0.12));
}

.char-welcome {
  right: -34px;
  top: 54px;
  width: 176px;
  height: 416px;
  background-image: url('/assets/images/char-female-slim.svg');
  opacity: 0.16;
  filter: grayscale(0.25) drop-shadow(0 12px 24px rgba(66, 51, 97, 0.08));
}

.char-quiz {
  display: none;
}

.char-analysis {
  left: -40px;
  bottom: -6px;
  width: 188px;
  height: 446px;
  background-image: url('/assets/images/char-female-curvy.svg');
  opacity: 0.30;
}

.char-result {
  display: none;
}

.welcome-close {
  position: absolute;
  right: 16px;
  top: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--muted);
  background: rgba(139, 126, 169, 0.08);
  font-size: 24px;
  line-height: 34px;
}

.welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--violet);
  background: var(--violet-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.welcome-card h1 {
  margin: 14px 0 10px;
  font-size: 22px;
  line-height: 1.28;
  letter-spacing: -0.04em;
}

.welcome-copy {
  display: grid;
  gap: 10px;
}

.welcome-copy p {
  margin: 0;
  color: #736d81;
  font-size: 12px;
  line-height: 1.7;
}

.welcome-copy p:last-child {
  margin-top: 2px;
  color: var(--violet);
  font-weight: 700;
  text-align: center;
}

.welcome-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.welcome-list li {
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(111, 92, 255, 0.08), rgba(111, 92, 255, 0.04));
  color: #4b4167;
  font-size: 14px;
}

.welcome-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.phone-recover {
  position: relative;
  z-index: 1;
  margin-top: 12px;
}

.phone-recover-toggle {
  width: 100%;
  padding: 8px 10px;
  color: var(--violet);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}

.phone-recover-form {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(111, 92, 255, 0.07);
}

.phone-recover-form input,
.contact-phone-card input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(111, 92, 255, 0.16);
  border-radius: 14px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.btn-primary,
.btn-secondary,
.btn-ghost {
  width: 100%;
  min-height: 50px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
}

.resume-plan-btn {
  color: #fff;
  background: linear-gradient(135deg, #ff8b5b, #ffb36f);
  box-shadow: 0 12px 24px rgba(255, 139, 91, 0.24);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #6f73ff, #7d67ff 58%, #8a6cff);
  box-shadow: 0 12px 24px rgba(112, 104, 255, 0.34);
}

.btn-secondary {
  color: #4a4363;
  background: rgba(111, 92, 255, 0.08);
}

.btn-ghost {
  color: #7b748a;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(111, 92, 255, 0.10);
}

.btn-primary:active,
.btn-secondary:active,
.btn-ghost:active,
.choice-card:active,
.package-card:active {
  transform: scale(0.985);
}

.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.page-header {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: start;
  gap: 6px;
  padding-top: 10px;
}

.back-btn,
.header-spacer {
  width: 34px;
  height: 34px;
}

.back-btn {
  border-radius: 50%;
  background: rgba(111, 92, 255, 0.08);
  color: var(--violet);
  font-size: 36px;
  line-height: 29px;
  text-align: center;
}

.header-center {
  text-align: center;
}

.header-center strong {
  display: block;
  margin-top: 2px;
  margin-bottom: 16px;
  color: var(--violet);
  font-size: 16px;
  letter-spacing: 0;
}

.step-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 8px;
}

.step-progress span {
  position: relative;
  width: 52px;
  height: 4px;
  border-radius: 999px;
  background: rgba(222, 218, 226, 0.96);
}

.step-progress span + span {
  margin-left: 0;
}

.step-progress span::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
  box-shadow: 0 0 0 1px rgba(228, 224, 233, 0.75);
}

.step-progress .is-done,
.step-progress .is-active {
  background: var(--violet);
}

.question-stage {
  padding-top: 22px;
}

.question-stage h2 {
  margin: 24px 10px 18px;
  text-align: center;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0;
}

.question-host {
  min-height: 540px;
  padding-top: 4px;
}

.question-subtitle {
  margin: -8px auto 20px;
  max-width: 310px;
  color: #9c95a7;
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

.question-subtitle-ruler {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 18px;
  margin: 0 auto;
  z-index: 2;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.choice-grid-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-grid-person {
  gap: 16px;
  margin-top: 28px;
}

.choice-grid-body {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 10px;
}

.choice-grid-goal {
  gap: 16px;
  margin-top: 16px;
}

.choice-grid-pills {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.choice-grid-binary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.choice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  min-height: 70px;
  padding: 18px;
  border: 1px solid rgba(230, 226, 235, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 22px rgba(63, 58, 73, 0.04);
  text-align: left;
}

.choice-card-person {
  align-items: center;
  min-height: 236px;
  padding: 0 0 22px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.choice-card-body {
  min-height: 250px;
  padding: 0 0 18px;
  overflow: hidden;
  border-radius: 8px;
}

.choice-card-goal {
  min-height: 252px;
  padding: 0 0 18px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.choice-card-pill {
  min-height: 118px;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
  border-radius: 26px;
  text-align: center;
}

.choice-card-binary {
  min-height: 132px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.choice-figure {
  width: 100%;
  height: 172px;
  margin-bottom: 18px;
  background-position: center 28%;
  background-repeat: no-repeat;
  background-size: cover;
}

.choice-card-body .choice-figure {
  height: 188px;
  background-position: center 18%;
}

.choice-card-goal .choice-figure {
  height: 194px;
  margin-bottom: 14px;
  background-position: center top;
}

.choice-card.is-selected {
  border-color: rgba(111, 92, 255, 0.46);
  background: #fff;
  box-shadow: 0 14px 30px rgba(111, 92, 255, 0.12);
}

.choice-icon {
  grid-area: icon;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--violet);
  background: rgba(111, 92, 255, 0.1);
  font-size: 18px;
  font-weight: 700;
}

.choice-title {
  grid-area: title;
  font-size: 18px;
  font-weight: 700;
}

.choice-card-person .choice-title {
  color: #55515c;
  font-size: 20px;
}

.choice-card-goal .choice-title {
  width: 100%;
  padding: 0 10px;
  text-align: center;
  font-size: 18px;
}

.choice-card-body .choice-title {
  padding: 0 12px;
  text-align: center;
  width: 100%;
}

.choice-card-pill .choice-title {
  font-size: 17px;
  text-align: center;
}

.choice-card-binary .choice-title {
  width: 100%;
  text-align: center;
}

.choice-detail,
.choice-subtitle {
  grid-area: detail;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.choice-card-body .choice-detail {
  padding: 0 12px;
  text-align: center;
}

.question-hero {
  width: 100%;
  margin: 4px 0 18px;
}

.question-hero-photo {
  height: 224px;
  border-radius: 28px;
  background-position: center top;
  background-size: cover;
  box-shadow: 0 16px 36px rgba(76, 64, 106, 0.12);
}

.question-hero-illustration {
  position: relative;
  height: 214px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(243,238,250,0.95));
  box-shadow: 0 16px 36px rgba(76, 64, 106, 0.10);
}

.question-hero-illustration::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 24%, rgba(255,255,255,0.92), transparent 18%),
    radial-gradient(circle at 80% 16%, rgba(138,115,255,0.15), transparent 20%),
    linear-gradient(180deg, rgba(111,92,255,0.10), rgba(255,255,255,0));
}

.question-hero-body,
.question-hero-shadow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.question-hero-shadow {
  bottom: 22px;
  width: 124px;
  height: 16px;
  border-radius: 999px;
  background: rgba(82, 70, 110, 0.14);
  filter: blur(6px);
}

.question-hero-plank .question-hero-body {
  bottom: 44px;
  width: 188px;
  height: 48px;
  border-radius: 999px 999px 18px 18px;
  background:
    radial-gradient(circle at 18px 24px, #f6c4b2 0 10px, transparent 11px),
    linear-gradient(90deg, #ffb88e 0 18%, #7c68ff 18% 76%, #ffb88e 76% 100%);
  box-shadow: 0 12px 24px rgba(111, 92, 255, 0.16);
}

.question-hero-plank .question-hero-body::before,
.question-hero-plank .question-hero-body::after,
.question-hero-bend .question-hero-body::before,
.question-hero-bend .question-hero-body::after {
  content: "";
  position: absolute;
  background: #7c68ff;
  border-radius: 999px;
}

.question-hero-plank .question-hero-body::before {
  left: 20px;
  bottom: -28px;
  width: 14px;
  height: 34px;
  transform: rotate(10deg);
}

.question-hero-plank .question-hero-body::after {
  right: 34px;
  bottom: -30px;
  width: 14px;
  height: 40px;
  transform: rotate(-18deg);
}

.question-hero-bend .question-hero-body {
  bottom: 42px;
  width: 146px;
  height: 116px;
}

.question-hero-bend .question-hero-body::before {
  left: 42px;
  top: 10px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #7c68ff;
  box-shadow: -22px 54px 0 10px #7c68ff;
}

.question-hero-bend .question-hero-body::after {
  left: 22px;
  bottom: 6px;
  width: 104px;
  height: 16px;
  transform: rotate(22deg);
}

.question-stage.is-transition {
  padding-top: 10px;
}

.transition-card {
  display: grid;
  gap: 16px;
  margin-top: 24px;
  padding: 22px 18px 24px;
  border: 1px solid rgba(233, 228, 239, 0.92);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(249,246,251,0.96));
  box-shadow: 0 18px 44px rgba(86, 74, 114, 0.08);
}

.transition-title {
  color: #2a2538;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.transition-copy {
  color: #8f889d;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

.transition-hero {
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(246,241,252,0.9), rgba(255,255,255,0.98));
}

.transition-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.transition-card-weight {
  min-height: 520px;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.transition-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--violet);
  background: rgba(111, 92, 255, 0.10);
  font-size: 13px;
  font-weight: 700;
}

.transition-metric {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin-top: 8px;
  padding: 20px 28px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(111,92,255,0.12), rgba(255,255,255,0.96));
}

.transition-metric strong {
  color: var(--violet);
  font-size: 56px;
  line-height: 1;
}

.transition-metric span {
  color: #918aa1;
  font-size: 13px;
}

.transition-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.transition-story-photo {
  height: 136px;
  border-radius: 18px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 12px 24px rgba(79, 66, 112, 0.10);
}

.transition-story-list {
  display: grid;
  gap: 10px;
}

.transition-story-list span {
  display: block;
  padding: 14px 16px;
  border-radius: 18px;
  color: #5b5569;
  font-size: 14px;
  line-height: 1.5;
  background: rgba(111, 92, 255, 0.08);
}

.ruler-card {
  position: relative;
  min-height: 560px;
  padding-top: 78px;
}

.ruler-value {
  position: absolute;
  left: 34%;
  top: var(--ruler-center, 201px);
  transform: translateY(-50%);
  display: flex;
  align-items: flex-end;
  gap: 6px;
  color: var(--violet);
  z-index: 2;
  pointer-events: none;
}

.ruler-value strong {
  font-size: 72px;
  line-height: 0.9;
  letter-spacing: 0;
}

.ruler-value span {
  padding-bottom: 10px;
  font-size: 22px;
  font-weight: 700;
}

.ruler-track {
  position: absolute;
  right: -20px;
  top: 30px;
  width: 158px;
  height: var(--ruler-height, 342px);
}

.ruler-center-line {
  position: absolute;
  left: 0;
  top: 50%;
  width: 160px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--violet-2));
  transform: translateY(-50%);
  box-shadow: 0 0 0 6px rgba(111, 92, 255, 0.08);
  pointer-events: none;
  z-index: 1;
}

.ruler-viewport {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent);
}

.ruler-viewport::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.ruler-row {
  height: var(--ruler-row, 38px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
}

.ruler-label {
  width: 46px;
  margin-right: 12px;
  color: #9b93a9;
  font-size: 15px;
  text-align: right;
}

.ruler-stick {
  width: 68px;
  height: 2px;
  border-radius: 999px;
  background: rgba(153, 145, 169, 0.82);
}

.ruler-row.is-medium .ruler-stick {
  width: 44px;
  opacity: 0.72;
}

.ruler-row.is-minor .ruler-stick {
  width: 24px;
  opacity: 0.48;
}

.ruler-row.is-active .ruler-label {
  color: var(--violet);
  font-weight: 700;
}

.ruler-row.is-active .ruler-stick {
  background: var(--violet);
  box-shadow: 0 0 0 4px rgba(111, 92, 255, 0.08);
}

.ruler-tip {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 20px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(111, 92, 255, 0.08);
  color: #7a718a;
  font-size: 13px;
  line-height: 1.6;
  box-shadow: 0 10px 28px rgba(66, 52, 98, 0.06);
}

.analysis-host {
  padding-top: 34px;
}

.analysis-card,
.result-card {
  padding: 22px 18px;
  border-radius: 20px;
  border: 1px solid rgba(230, 226, 235, 0.92);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(63, 58, 73, 0.06);
}

.analysis-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.analysis-desc {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.analysis-orbit {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}

.analysis-orbit span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(111, 92, 255, 0.18);
}

.analysis-orbit span:nth-child(2) {
  width: 14px;
  height: 14px;
  background: rgba(111, 92, 255, 0.32);
}

.analysis-ring {
  width: 104px;
  height: 104px;
  margin: 18px auto 4px;
  border-radius: 50%;
  border: 1px solid rgba(111, 92, 255, 0.10);
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(111, 92, 255, 0.08), rgba(111, 92, 255, 0.02) 58%, transparent 60%);
}

.analysis-ring-core {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--violet-2));
  box-shadow: 0 0 0 10px rgba(111, 92, 255, 0.08);
}

.analysis-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.analysis-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: flex-start;
}

.analysis-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--violet-2));
  font-size: 12px;
  font-weight: 800;
}

.analysis-item strong {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
}

.analysis-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.analysis-profile {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.analysis-profile div {
  padding: 12px 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(111, 92, 255, 0.08), rgba(111, 92, 255, 0.04));
  text-align: center;
}

.analysis-profile span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.analysis-profile strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}

.result-host {
  position: relative;
  z-index: 2;
  padding-top: 14px;
  display: grid;
  gap: 14px;
}

.result-summary h2 {
  margin: 12px 0 10px;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0;
}

.result-headline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.result-score {
  min-width: 72px;
  text-align: center;
  padding: 12px 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(111, 92, 255, 0.10), rgba(111, 92, 255, 0.05));
}

.result-score strong {
  display: block;
  color: var(--violet);
  font-size: 24px;
  line-height: 1;
}

.result-score span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.result-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--violet);
  background: var(--violet-soft);
  font-size: 12px;
  font-weight: 700;
}

.result-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.result-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.result-metrics span,
.tag-row span {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(111, 92, 255, 0.08);
  color: #594d82;
  font-size: 12px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-head strong {
  font-size: 18px;
}

.reason-list,
.stage-list {
  display: grid;
  gap: 10px;
}

.reason-item {
  padding: 14px 15px;
  border-radius: 18px;
  background: rgba(111, 92, 255, 0.06);
  color: #4d4369;
  font-size: 14px;
  line-height: 1.55;
}

.stage-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(111, 92, 255, 0.08);
}

.stage-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.stage-index {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--violet-2));
  font-weight: 800;
}

.stage-item strong {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
}

.stage-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.package-grid {
  display: grid;
  gap: 10px;
}

.package-card {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(111, 92, 255, 0.08);
  background: rgba(255, 255, 255, 0.92);
  text-align: left;
}

.package-card.is-selected {
  border-color: rgba(111, 92, 255, 0.42);
  background: linear-gradient(180deg, rgba(111, 92, 255, 0.08), rgba(255, 255, 255, 0.95));
  box-shadow: 0 14px 30px rgba(111, 92, 255, 0.12);
}

.package-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.package-head strong {
  font-size: 17px;
}

.package-head span {
  color: var(--muted);
  font-size: 12px;
}

.package-price {
  margin-top: 8px;
  color: var(--violet);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.package-card p {
  margin-top: 6px;
  color: #69617d;
  font-size: 13px;
}

.agreement-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  padding: 14px 0 0;
  color: #887fa2;
  font-size: 13px;
  line-height: 1.55;
}

.contact-phone-card {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding: 16px;
  border: 1px solid rgba(255, 139, 91, 0.28);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 139, 91, 0.12), rgba(111, 92, 255, 0.06));
}

.contact-phone-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.contact-phone-title strong {
  color: #51486e;
  font-size: 16px;
  font-weight: 800;
}

.contact-phone-title span {
  padding: 3px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--orange);
  font-size: 12px;
  font-weight: 800;
}

.contact-phone-card p {
  margin: 0;
  color: #8a829a;
  font-size: 12px;
  line-height: 1.5;
}

.agreement-box {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid rgba(111, 92, 255, 0.35);
  display: grid;
  place-items: center;
  color: #fff;
  background: #fff;
  font-size: 14px;
  font-weight: 800;
}

.agreement-row.is-checked .agreement-box {
  background: linear-gradient(135deg, var(--violet), var(--violet-2));
  border-color: transparent;
}

.bottom-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  width: min(430px, 100%);
  padding: 14px 18px calc(14px + var(--safe-bottom));
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(247, 243, 251, 0), rgba(247, 243, 251, 0.84) 18%, rgba(247, 243, 251, 0.98));
  backdrop-filter: blur(14px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: center;
  z-index: 20;
}

.bottom-bar.has-secondary {
  grid-template-columns: 112px 1fr;
}

.bottom-bar.is-hidden {
  display: none;
}

.back-btn.is-hidden,
.btn-secondary.is-hidden {
  display: none;
}

.page-header .back-btn.is-hidden {
  display: block !important;
  visibility: hidden;
}

@media (max-width: 380px) {
  .app-shell {
    padding-left: 14px;
    padding-right: 14px;
  }

  .welcome-card h1,
  .question-stage h2,
  .analysis-title,
  .result-summary h2 {
    font-size: 25px;
  }

  .question-stage h2 {
    margin-left: 4px;
    margin-right: 4px;
  }

  .choice-grid-wide,
  .choice-grid-body,
  .choice-grid-goal,
  .choice-grid-pills,
  .choice-grid-binary {
    grid-template-columns: 1fr;
  }

  .choice-card-person,
  .choice-card-body,
  .choice-card-goal {
    min-height: auto;
  }

  .ruler-value {
    left: 24%;
  }

  .ruler-track {
    right: -34px;
  }

  .bottom-bar.has-secondary {
    grid-template-columns: 96px 1fr;
  }
}

/* 乐享云康体态管理风格覆盖：橙色、白底、大圆角、轻盈卡片 */
:root {
  --bg: #fff8ef;
  --bg-soft: #fff3df;
  --card: rgba(255, 255, 255, 0.98);
  --ink: #2b2118;
  --muted: #988879;
  --line: rgba(255, 139, 42, 0.16);
  --violet: #ff7a1a;
  --violet-2: #ff9f32;
  --violet-soft: rgba(255, 139, 42, 0.12);
  --orange: #ff7a1a;
  --shadow: 0 22px 50px rgba(196, 116, 28, 0.14);
}

html,
body {
  background:
    radial-gradient(circle at 18% -8%, rgba(255, 178, 84, 0.24), transparent 32%),
    linear-gradient(180deg, #fffaf2 0%, #fff4e6 100%);
}

.app-shell {
  background:
    radial-gradient(circle at 82% 4%, rgba(255, 192, 104, 0.28), transparent 28%),
    linear-gradient(180deg, #fffaf2 0%, #fff5e8 100%);
  box-shadow: 0 0 0 1px rgba(255, 139, 42, 0.08) inset;
}

.ambient-a {
  background: rgba(255, 178, 84, 0.34);
}

.ambient-b {
  background: rgba(255, 122, 26, 0.20);
}

.welcome-screen {
  align-content: center;
  min-height: calc(100vh - 36px);
  padding: 28px 18px 88px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 185, 93, 0.22), transparent 28%),
    linear-gradient(180deg, #fffaf2 0%, #fff3e3 100%);
}

.welcome-screen::after,
.quiz-screen::after,
.analysis-screen::after,
.result-screen::after {
  background: transparent;
}

.welcome-hero {
  top: 18%;
  color: rgba(255, 122, 26, 0.28);
}

.welcome-hero-mark {
  width: 92px;
  height: 92px;
  background:
    radial-gradient(circle at 38% 46%, #2b2118 0 5px, transparent 6px),
    radial-gradient(circle at 62% 46%, #2b2118 0 5px, transparent 6px),
    linear-gradient(180deg, #eafff8, #ffffff);
  border: 8px solid #d5fff2;
  box-shadow: 0 18px 36px rgba(44, 197, 151, 0.16);
}

.welcome-hero-mark::before {
  inset: 22px 18px auto;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: #2b2118;
  opacity: .18;
}

.welcome-hero-mark::after {
  left: 50%;
  top: 94px;
  width: 62px;
  height: 10px;
  border: 0;
  background: rgba(43, 33, 24, 0.10);
  transform: translateX(-50%);
  filter: blur(4px);
}

.welcome-card {
  width: min(340px, 100%);
  margin-top: 132px;
  padding: 24px 22px 22px;
  border: 1px solid rgba(255, 160, 55, 0.18);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 54px rgba(186, 106, 28, 0.16);
}

.welcome-card::before {
  height: 92px;
  border-radius: 30px 30px 22px 22px;
  background: linear-gradient(180deg, rgba(255, 174, 79, 0.18), rgba(255, 255, 255, 0));
}

.welcome-badge {
  color: #f97316;
  background: rgba(255, 138, 31, 0.12);
}

.welcome-card h1 {
  color: #2b2118;
  font-size: 25px;
  text-align: center;
}

.welcome-copy p {
  color: #897868;
  font-size: 13px;
}

.welcome-copy p:last-child,
.phone-recover-toggle {
  color: #ff7a1a;
}

.btn-primary {
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8a1f, #ffb13d);
  box-shadow: 0 14px 28px rgba(255, 127, 25, 0.28);
}

.btn-secondary,
.phone-recover-form {
  color: #6f4a1f;
  background: rgba(255, 139, 42, 0.10);
}

.btn-ghost {
  color: #9b856e;
  border-color: rgba(255, 139, 42, 0.14);
  background: rgba(255, 255, 255, 0.82);
}

.page-header {
  padding-top: 14px;
}

.back-btn {
  color: #ff7a1a;
  background: rgba(255, 139, 42, 0.12);
}

.header-center strong {
  color: #ff7a1a;
}

.step-progress span {
  background: rgba(255, 198, 128, 0.45);
}

.step-progress .is-done,
.step-progress .is-active {
  background: linear-gradient(90deg, #ff8a1f, #ffb13d);
}

.question-stage h2 {
  color: #2b2118;
  font-size: 31px;
}

.question-subtitle {
  color: #9c8a78;
}

.choice-grid {
  gap: 16px;
}

.choice-card {
  border: 1px solid rgba(255, 139, 42, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 32px rgba(186, 106, 28, 0.08);
}

.choice-card-person,
.choice-card-body,
.choice-card-goal {
  border-radius: 22px;
  overflow: hidden;
}

.choice-card.is-selected {
  border-color: rgba(255, 122, 26, 0.70);
  box-shadow: 0 16px 34px rgba(255, 122, 26, 0.18);
}

.choice-card.is-selected::after {
  content: "✓";
  position: absolute;
  right: 12px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #ff8a1f, #ffb13d);
  font-weight: 800;
}

.choice-title {
  color: #3a2b1e;
}

.choice-detail,
.choice-subtitle {
  color: #9b8977;
}

.choice-icon,
.transition-badge {
  color: #ff7a1a;
  background: rgba(255, 139, 42, 0.12);
}

.question-hero-photo,
.question-hero-illustration,
.transition-card,
.ruler-panel,
.result-card,
.pay-card,
.analysis-card {
  border-radius: 30px;
  box-shadow: 0 18px 42px rgba(186, 106, 28, 0.10);
}

.question-hero-illustration,
.transition-card,
.transition-hero {
  background: linear-gradient(180deg, #fff7eb, #ffffff);
}

.ruler-value,
.ruler-value strong,
.ruler-center-line,
.transition-metric strong,
.price,
.meal-title,
.section-title {
  color: #ff7a1a;
}

.ruler-center-line {
  background: #ff8a1f;
}

.bottom-bar {
  background: linear-gradient(180deg, rgba(255, 248, 239, 0), rgba(255, 248, 239, 0.96) 24%);
}

.package-card.is-active,
.agreement-row.is-checked,
.contact-phone-card {
  border-color: rgba(255, 122, 26, 0.50);
  background: #fff7eb;
}

.result-screen::before {
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 178, 84, 0.34), transparent 32%),
    linear-gradient(180deg, #fff7e8 0%, #fffaf2 42%, #ffffff 100%);
}

/* 乐享云康体态管理测评首页 */
.app-shell {
  background:
    radial-gradient(circle at 78% -4%, rgba(255, 183, 77, 0.42), transparent 28%),
    radial-gradient(circle at 10% 18%, rgba(255, 133, 46, 0.16), transparent 22%),
    linear-gradient(180deg, #fffaf2 0%, #fff3e3 58%, #fff8ef 100%);
}

.welcome-screen {
  align-content: start;
  place-items: stretch;
  padding: 26px 16px 72px;
  background:
    radial-gradient(circle at 82% 6%, rgba(255, 181, 74, 0.34), transparent 26%),
    linear-gradient(180deg, #fffaf2 0%, #fff2df 100%);
}

.welcome-screen::after {
  background:
    radial-gradient(circle at 16% 82%, rgba(255, 159, 67, 0.16), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,246,231,0.2));
}

.welcome-hero {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: 100%;
  max-width: none;
  margin: 10px auto 18px;
  color: #7a4a16;
}

.welcome-hero-mark {
  width: 104px;
  height: 104px;
  border: 10px solid #fff0d6;
  background:
    radial-gradient(circle at 40% 44%, #ff7a1a 0 10px, transparent 11px),
    radial-gradient(circle at 62% 44%, #ffad3d 0 10px, transparent 11px),
    linear-gradient(180deg, #fff8ec, #ffffff);
  box-shadow: 0 22px 46px rgba(255, 127, 25, 0.20);
}

.welcome-hero-mark::before {
  inset: 20px 38px auto auto;
  width: 28px;
  height: 18px;
  border: 0;
  border-radius: 28px 28px 4px 28px;
  background: #47b66b;
  transform: rotate(-22deg);
  opacity: 1;
}

.welcome-hero-copy strong {
  color: #2b2118;
  font-size: 26px;
  letter-spacing: 0.04em;
}

.welcome-hero-copy span {
  color: #b2824e;
  letter-spacing: 0.08em;
}

.welcome-card {
  width: 100%;
  margin-top: 0;
  padding: 24px 18px 20px;
  border: 1px solid rgba(255, 137, 31, 0.16);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 26px 62px rgba(186, 106, 28, 0.16);
}

.welcome-card h1 {
  margin-top: 12px;
  color: #2b2118;
  font-size: 30px;
  line-height: 1.18;
  text-align: left;
}

.welcome-badge {
  color: #ff7a1a;
  background: #fff1dc;
}

.welcome-copy {
  margin-top: 12px;
}

.welcome-copy p {
  margin: 0;
  color: #947b62;
  font-size: 14px;
  line-height: 1.65;
}

.welcome-gender-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

.welcome-gender-card {
  position: relative;
  min-height: 198px;
  overflow: hidden;
  padding: 12px 10px 14px;
  border: 1.5px solid rgba(255, 139, 42, 0.20);
  border-radius: 28px;
  background:
    radial-gradient(circle at 72% 14%, rgba(255, 190, 94, 0.26), transparent 28%),
    linear-gradient(180deg, #fff9ef, #ffffff);
  box-shadow: 0 18px 42px rgba(186, 106, 28, 0.10);
}

.welcome-gender-card:active {
  transform: scale(0.985);
  border-color: #ff8a1f;
  background: #fff4e4;
}

.welcome-gender-figure {
  display: block;
  width: 100%;
  height: 136px;
  margin-bottom: 10px;
  border-radius: 22px;
  background-color: #fff2de;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
}

.welcome-gender-female {
  background-image: url('https://xm88.oss-cn-shanghai.aliyuncs.com/public/uploads/20260723/asian-fitness-female.jpg');
}

.welcome-gender-male {
  background-image: url('https://xm88.oss-cn-shanghai.aliyuncs.com/public/uploads/20260723/asian-fitness-male.jpg');
}

.welcome-gender-card strong {
  display: block;
  color: #3a2b1e;
  font-size: 18px;
}

.welcome-actions {
  margin-top: 16px;
}

.phone-recover {
  display: none;
}

.quiz-screen::before,
.analysis-screen::before {
  background:
    radial-gradient(circle at 82% 0%, rgba(255, 181, 74, 0.28), transparent 26%),
    linear-gradient(180deg, #fffaf2 0%, #fff4e6 100%);
}

.question-stage h2 {
  color: #2b2118;
}

.choice-card {
  border-radius: 26px;
  border-color: rgba(255, 139, 42, 0.16);
  background: rgba(255, 255, 255, 0.98);
}

.choice-card.is-selected {
  border-color: #ff8a1f;
  background: #fff7eb;
}

/* 截图式问题页：浅灰底、大标题、白色圆角选项 */
.quiz-screen {
  min-height: calc(100vh - 36px);
  padding-top: 0;
}

.quiz-screen::before,
.analysis-screen::before {
  background: #f5f6fb;
}

.page-header {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  align-items: start;
  padding: 14px 0 0;
}

.back-btn {
  width: 34px;
  height: 46px;
  color: #111827;
  background: transparent;
  font-size: 50px;
  line-height: 36px;
}

.header-center strong {
  display: block;
  color: #b7b7b7;
  text-align: center;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.step-progress {
  display: flex;
  justify-content: center;
  gap: 0;
  width: min(240px, 72vw);
  margin: 28px auto 0;
}

.step-progress span {
  position: relative;
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: #bce9df;
}

.step-progress span + span {
  margin-left: 8px;
}

.step-progress span.is-done,
.step-progress span.is-active {
  background: #20c7a3;
}

.step-progress span.is-done::after,
.step-progress span.is-active::after {
  content: "✓";
  position: absolute;
  right: -10px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #ffffff;
  background: #b8eadf;
  font-size: 12px;
  font-weight: 900;
  transform: translateY(-50%);
}

.question-stage {
  padding: 64px 6px 0;
}

.question-stage[data-input-type="single"] h2 {
  margin: 0 auto 176px;
  color: #111827;
  text-align: center;
  font-size: 31px;
  font-weight: 900;
  line-height: 1.24;
}

.question-stage[data-input-type="single"] .question-subtitle,
.question-stage[data-input-type="single"] .question-hero {
  display: none;
}

.choice-grid:not(.choice-grid-person):not(.choice-grid-body):not(.choice-grid-goal):not(.choice-grid-pills):not(.choice-grid-binary) {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 0;
}

.choice-card:not(.choice-card-person):not(.choice-card-body):not(.choice-card-goal):not(.choice-card-pill):not(.choice-card-binary) {
  display: grid;
  grid-template-columns: 58px 1fr;
  grid-template-areas: "icon title";
  align-items: center;
  min-height: 78px;
  padding: 0 34px;
  border: 0;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: none;
}

.choice-card:not(.choice-card-person):not(.choice-card-body):not(.choice-card-goal):not(.choice-card-pill):not(.choice-card-binary).is-selected {
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.choice-card:not(.choice-card-person):not(.choice-card-body):not(.choice-card-goal):not(.choice-card-pill):not(.choice-card-binary).is-selected::after {
  display: none;
}

.choice-card:not(.choice-card-person):not(.choice-card-body):not(.choice-card-goal):not(.choice-card-pill):not(.choice-card-binary) .choice-icon {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: 27px;
}

.choice-card:not(.choice-card-person):not(.choice-card-body):not(.choice-card-goal):not(.choice-card-pill):not(.choice-card-binary) .choice-title {
  color: #111827;
  font-size: 22px;
  font-weight: 900;
  justify-self: start;
  text-align: left;
}

.choice-card:not(.choice-card-person):not(.choice-card-body):not(.choice-card-goal):not(.choice-card-pill):not(.choice-card-binary) .choice-detail,
.choice-card:not(.choice-card-person):not(.choice-card-body):not(.choice-card-goal):not(.choice-card-pill):not(.choice-card-binary) .choice-subtitle {
  display: none;
}

/* 更接近乐享云康体态管理的问卷首页：干净留白、圆形人物、轻量卡片 */
.welcome-screen {
  display: block;
  min-height: calc(100vh - 36px);
  padding: 20px 22px 70px;
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 187, 92, 0.18), transparent 24%),
    radial-gradient(circle at 86% 82%, rgba(80, 190, 122, 0.12), transparent 24%),
    linear-gradient(180deg, #fffdf7 0%, #fff6e8 100%);
}

.welcome-skip {
  position: absolute;
  right: 22px;
  top: 20px;
  z-index: 4;
  padding: 8px 14px;
  border-radius: 999px;
  color: #9a8a76;
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.welcome-card {
  width: 100%;
  margin-top: 88px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.welcome-card::before {
  display: none;
}

.welcome-badge {
  display: inline-flex;
  padding: 8px 13px;
  border-radius: 999px;
  color: #ff7a1a;
  background: #fff1dc;
  font-size: 13px;
  font-weight: 700;
}

.welcome-card h1 {
  margin: 18px 0 0;
  color: #1f1a14;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.welcome-card h1 span {
  position: relative;
  display: inline-block;
}

.welcome-card h1 span::after {
  content: "";
  position: absolute;
  left: 2px;
  right: -2px;
  bottom: 4px;
  height: 12px;
  border-radius: 999px;
  background: rgba(83, 196, 123, 0.30);
  z-index: -1;
}

.welcome-copy p {
  max-width: 300px;
  margin-top: 12px;
  color: #9a8a76;
  font-size: 15px;
  line-height: 1.7;
}

.welcome-gender-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 54px;
}

.welcome-gender-card {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.welcome-gender-card:active {
  transform: scale(0.97);
}

.welcome-gender-figure {
  width: 132px;
  height: 132px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 8px solid #ffffff;
  background-color: #fff1dc;
  background-size: cover;
  background-position: center top;
  box-shadow: 0 18px 38px rgba(184, 105, 30, 0.16);
}

.welcome-gender-male {
  background-position: center 8%;
}

.welcome-gender-card strong {
  color: #2b2118;
  font-size: 18px;
  font-weight: 800;
}

.welcome-actions {
  margin-top: 46px;
}

.resume-plan-btn {
  width: 100%;
}

.quiz-screen::before,
.analysis-screen::before,
.result-screen::before {
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 187, 92, 0.18), transparent 26%),
    linear-gradient(180deg, #fffdf7 0%, #fff6e8 100%);
}

.page-header {
  padding: 12px 4px 0;
}

.question-stage {
  padding-top: 26px;
}

.question-stage h2 {
  max-width: 330px;
  color: #1f1a14;
  font-size: 32px;
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.choice-grid {
  margin-top: 34px;
  gap: 16px;
}

.choice-card {
  min-height: 64px;
  padding: 18px;
  border: 1px solid rgba(255, 139, 42, 0.15);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 28px rgba(184, 105, 30, 0.08);
}

.choice-card.is-selected {
  border-color: #ff8a1f;
  background: #fff2df;
}

/* App 动效：入场、轻浮动、点击反馈 */
@keyframes orangeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes orangePopIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes orangeSlideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes orangePulse {
  0%, 100% { box-shadow: 0 18px 38px rgba(184, 105, 30, 0.16); }
  50% { box-shadow: 0 24px 52px rgba(255, 138, 31, 0.26); }
}

.welcome-badge {
  animation: orangeSlideUp .46s ease both;
}

.welcome-card h1 {
  animation: orangeSlideUp .52s .06s ease both;
}

.welcome-copy {
  animation: orangeSlideUp .52s .12s ease both;
}

.welcome-gender-card {
  animation: orangePopIn .52s .18s cubic-bezier(.2, .85, .2, 1.15) both;
  transition: transform .18s ease, filter .18s ease;
}

.welcome-gender-card:nth-child(2) {
  animation-delay: .28s;
}

.welcome-gender-figure {
  animation: orangeFloat 3.2s ease-in-out infinite, orangePulse 2.8s ease-in-out infinite;
}

.welcome-gender-card:nth-child(2) .welcome-gender-figure {
  animation-delay: .4s, .3s;
}

.welcome-gender-card:hover {
  transform: translateY(-4px);
}

.question-stage {
  animation: orangeSlideUp .36s ease both;
}

.choice-card {
  animation: orangePopIn .34s cubic-bezier(.2, .85, .2, 1.08) both;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.choice-card:active {
  transform: scale(.97);
}

.choice-card.is-selected {
  transform: scale(1.02);
}

.step-progress .is-active {
  animation: orangePulse 1.8s ease-in-out infinite;
}

.loading-ring {
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 乐享云康体态管理页面动效：每次换页重新触发，所有题型共用 */
@keyframes cgScreenWash {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.985);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes cgTitleIn {
  from {
    opacity: 0;
    transform: translateY(26px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cgCardIn {
  from {
    opacity: 0;
    transform: translateY(32px) scale(.94);
  }
  72% {
    opacity: 1;
    transform: translateY(-2px) scale(1.012);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cgIconBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  35% { transform: translateY(-5px) rotate(-3deg); }
  70% { transform: translateY(2px) rotate(2deg); }
}

@keyframes cgProgressFlow {
  from { background-position: 0 50%; }
  to { background-position: 160px 50%; }
}

@keyframes cgBreath {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 18px 38px rgba(32, 199, 163, .10);
  }
  50% {
    transform: scale(1.035);
    box-shadow: 0 22px 52px rgba(32, 199, 163, .20);
  }
}

@keyframes cgScan {
  0% { transform: translateX(-110%) skewX(-14deg); }
  100% { transform: translateX(120%) skewX(-14deg); }
}

.screen.is-motion-enter,
.question-stage.is-motion-enter {
  animation: cgScreenWash .42s cubic-bezier(.18, .78, .22, 1) both;
}

.question-stage.is-motion-enter h2,
.analysis-screen.is-motion-enter .analysis-title,
.result-screen.is-motion-enter .result-summary h2 {
  animation: cgTitleIn .46s .04s cubic-bezier(.18, .78, .22, 1) both;
}

.choice-card,
.analysis-item,
.reason-item,
.stage-item,
.package-card {
  animation: cgCardIn .46s cubic-bezier(.2, .85, .2, 1.08) both;
  animation-delay: calc(var(--motion-index, 0) * 64ms + 80ms);
  will-change: transform, opacity;
}

.choice-icon {
  animation: cgIconBob 2.6s ease-in-out infinite;
  animation-delay: calc(var(--motion-index, 0) * 90ms);
}

.choice-card:active,
.package-card:active,
.agreement-row:active {
  transform: scale(.965);
  filter: saturate(1.08);
}

.choice-card.is-selected,
.package-card.is-selected {
  transform: scale(1.018);
}

.step-progress span,
.progress-inner {
  background-image: linear-gradient(90deg, #20c7a3, #aeeadd, #20c7a3);
  background-size: 160px 100%;
  animation: cgProgressFlow 1.8s linear infinite;
}

.analysis-ring-core,
.transition-badge,
.result-tag {
  animation: cgBreath 2.2s ease-in-out infinite;
}

.transition-card,
.ruler-card,
.analysis-card,
.result-card {
  position: relative;
  overflow: hidden;
  animation: cgCardIn .52s cubic-bezier(.2, .85, .2, 1.04) both;
}

.transition-card::after,
.ruler-card::after,
.analysis-card::after,
.result-card::after {
  content: "";
  position: absolute;
  top: -18%;
  bottom: -18%;
  left: 0;
  width: 48%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .54), transparent);
  opacity: .48;
  pointer-events: none;
  animation: cgScan 2.8s .35s ease-in-out both;
}

.ruler-value,
.ruler-center-line {
  animation: cgTitleIn .42s .08s ease both;
}

.ruler-row.is-active .ruler-stick {
  animation: cgBreath 1.8s ease-in-out infinite;
}

.analysis-orbit span {
  animation: orangeFloat 1.25s ease-in-out infinite;
}

.analysis-orbit span:nth-child(2) {
  animation-delay: .16s;
}

.analysis-orbit span:nth-child(3) {
  animation-delay: .32s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* 视频版乐享云康体态管理问卷 */
.welcome-screen {
  place-items: stretch;
  padding: 78px 22px 64px;
  background: #ffffff;
}

.welcome-screen::before {
  background:
    radial-gradient(circle at 50% 20%, rgba(32, 199, 163, .10), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f6fafb 100%);
}

.welcome-card {
  display: flex;
  min-height: calc(100vh - 142px);
  margin-top: 0;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  text-align: center;
}

.welcome-robot {
  width: 72px;
  height: 72px;
  margin: 0 auto 46px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: #e9fff8;
  box-shadow: 0 16px 38px rgba(32, 199, 163, .18);
  animation: orangeFloat 3s ease-in-out infinite;
}

.welcome-robot span {
  width: 45px;
  height: 32px;
  border-radius: 14px;
  background: #1e2d2d;
  position: relative;
}

.welcome-robot span::before,
.welcome-robot span::after {
  content: "";
  position: absolute;
  top: 11px;
  width: 5px;
  height: 8px;
  border-radius: 999px;
  background: #43e3c0;
}

.welcome-robot span::before {
  left: 13px;
}

.welcome-robot span::after {
  right: 13px;
}

.welcome-card h1 {
  max-width: 310px;
  margin: 0 auto;
  color: #111827;
  font-size: 21px;
  line-height: 1.45;
  letter-spacing: 0;
}

.welcome-copy {
  display: none;
}

.welcome-name-card {
  position: relative;
  margin-top: 42px;
}

.welcome-name-card input {
  width: 100%;
  height: 48px;
  padding: 0 48px 0 18px;
  border: 1.5px solid #111827;
  border-radius: 14px;
  color: #111827;
  background: #ffffff;
  font-size: 15px;
  outline: none;
}

.welcome-name-card span {
  position: absolute;
  top: 50%;
  right: 17px;
  width: 16px;
  height: 16px;
  border: 2px solid #111827;
  border-radius: 50%;
  transform: translateY(-50%);
}

.welcome-name-card span::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
  transform: rotate(45deg);
}

.welcome-actions {
  margin-top: 54px;
}

.welcome-actions .btn-primary {
  width: 100%;
  height: 50px;
  border-radius: 15px;
  background: #22c79f;
  box-shadow: 0 12px 26px rgba(34, 199, 159, .22);
}

.question-stage[data-question-code="target_area"] {
  padding-top: 28px;
}

.question-stage[data-question-code="target_area"] h2 {
  margin-bottom: 22px;
}

.question-stage[data-question-code="target_area"] .question-host {
  position: relative;
  min-height: 520px;
  padding-right: 154px;
}

.question-stage[data-question-code="target_area"] .question-host::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 54px;
  width: 190px;
  height: 400px;
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 54% 48%, rgba(255, 132, 41, .55) 0 18%, transparent 19%),
    url('https://xm88.oss-cn-shanghai.aliyuncs.com/public/uploads/20260723/asian-fitness-female.jpg') center top / cover no-repeat;
  box-shadow: 0 20px 48px rgba(17, 24, 39, .08);
}

.question-stage[data-question-code="target_area"] .choice-grid {
  display: flex !important;
  width: 170px;
  max-width: 170px;
  flex-direction: column;
  gap: 12px;
  margin-top: 0;
}

.question-stage[data-question-code="target_area"] .choice-card {
  display: grid !important;
  min-height: 46px;
  grid-template-columns: 28px 1fr;
  grid-template-areas: "icon title";
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(32, 199, 163, .22);
  background: #ffffff;
}

.question-stage[data-question-code="target_area"] .choice-card.is-selected {
  background: #eafff7;
  border-color: #22c79f;
}

.question-stage[data-question-code="target_area"] .choice-icon {
  width: 22px;
  font-size: 17px;
}

.question-stage[data-question-code="target_area"] .choice-title {
  font-size: 13px !important;
  font-weight: 800;
  line-height: 1.2;
}

.question-stage[data-question-code="age"] h2,
.question-stage[data-question-code="height"] h2,
.question-stage[data-question-code="weight"] h2,
.question-stage[data-question-code="weekly_loss"] h2 {
  margin-bottom: 24px;
}

.age-wheel-card {
  display: grid;
  place-items: center;
  min-height: 430px;
}

.age-wheel-window {
  position: relative;
  width: 170px;
  height: var(--age-height);
  overflow: hidden;
}

.age-center-line {
  position: absolute;
  left: 6px;
  right: 6px;
  top: 50%;
  height: var(--age-row);
  border-radius: 16px;
  background: rgba(255,255,255,.76);
  transform: translateY(-50%);
  z-index: 0;
}

.age-viewport {
  position: relative;
  z-index: 1;
  height: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.age-viewport::-webkit-scrollbar {
  display: none;
}

.age-row {
  height: var(--age-row);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #c4c6cc;
  font-size: 20px;
  font-weight: 800;
  scroll-snap-align: center;
  transition: transform .18s ease, color .18s ease;
}

.age-row.is-active {
  color: #111827;
  font-size: 28px;
  transform: scale(1.08);
}

.age-row span {
  color: #111827;
  font-size: 14px;
}

.ruler-card-height {
  min-height: 520px;
  padding-left: 0;
}

.ruler-card-height .ruler-value {
  top: 166px;
  left: 112px;
  right: auto;
  color: #111827;
}

.ruler-card-height .ruler-value strong {
  color: #111827;
  font-size: 46px;
}

.ruler-card-height .ruler-track {
  position: absolute;
  left: 4px;
  top: 80px;
  width: 118px;
}

.ruler-card-height .ruler-tip {
  display: none;
}

.ruler-card-height .ruler-center-line {
  background: #22c79f;
  box-shadow: 0 0 0 4px rgba(34,199,159,.08);
}

.height-person {
  position: absolute;
  left: 122px;
  bottom: 38px;
  width: 160px;
  height: 310px;
  border-radius: 28px;
  background: url('https://xm88.oss-cn-shanghai.aliyuncs.com/public/uploads/20260723/asian-fitness-female.jpg') center top / cover no-repeat;
  pointer-events: none;
}

body[data-gender="male"] .height-person,
body[data-gender="male"] .question-stage[data-question-code="target_area"] .question-host::after {
  background-image: url('https://xm88.oss-cn-shanghai.aliyuncs.com/public/uploads/20260723/asian-fitness-male.jpg');
}

.weight-card {
  padding: 28px 12px;
}

.weight-value {
  text-align: center;
  color: #111827;
}

.weight-value strong {
  font-size: 58px;
  line-height: 1;
}

.weight-value span {
  margin-left: 6px;
  font-weight: 800;
}

.weight-range,
.weekly-range {
  width: 100%;
  margin: 42px 0 12px;
  accent-color: #22c79f;
}

.weight-scale,
.weekly-scale,
.bmi-labels {
  display: flex;
  justify-content: space-between;
  color: #9ca3af;
  font-size: 12px;
}

.bmi-card {
  margin-top: 28px;
  padding: 18px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(17,24,39,.08);
}

.bmi-head {
  display: flex;
  justify-content: space-between;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.bmi-head b {
  color: #22c79f;
}

.bmi-num {
  display: inline-flex;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: #22c79f;
  font-size: 12px;
  font-weight: 900;
}

.bmi-bar {
  position: relative;
  height: 8px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #9be7ff, #22c79f, #ffd15c, #ff7a59);
}

.bmi-bar span {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: #22c79f;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 10px rgba(34,199,159,.3);
}

.weekly-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  justify-content: center;
}

.weekly-value {
  text-align: center;
  color: #111827;
}

.weekly-value strong {
  display: block;
  font-size: 42px;
  line-height: 1.1;
}

.weekly-value span {
  font-size: 14px;
  font-weight: 800;
}

.weekly-note {
  margin: 36px 0 0;
  padding: 18px;
  border-radius: 18px;
  color: #6b7280;
  background: #ffffff;
  text-align: center;
  font-size: 13px;
}

.cg-section-intro {
  display: grid;
  min-height: 560px;
  place-items: center;
  align-content: center;
  text-align: center;
}

.cg-section-intro span {
  color: #c7cbd1;
  font-size: 17px;
  font-weight: 800;
}

.cg-section-intro strong {
  margin-top: 14px;
  color: #111827;
  font-size: 32px;
  font-weight: 900;
}

.cg-success-card,
.cg-social-card {
  min-height: 560px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 22px;
  text-align: center;
}

.cg-check {
  color: #ff7a1a;
  font-size: 42px;
  font-weight: 900;
}

.cg-success-card strong,
.cg-social-card strong {
  color: #111827;
  font-size: 24px;
  line-height: 1.35;
}

.cg-success-card p,
.cg-social-card p {
  max-width: 290px;
  color: #9ca3af;
  font-size: 13px;
  line-height: 1.7;
}

.cg-fireworks {
  position: relative;
  width: 190px;
  height: 120px;
}

.cg-fireworks span {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #ff8a8a;
  border-left-color: #ffd15c;
  animation: spin 2.2s linear infinite;
}

.cg-fireworks span:nth-child(1) { left: 6px; top: 14px; }
.cg-fireworks span:nth-child(2) { right: 10px; top: 26px; animation-delay: .2s; }
.cg-fireworks span:nth-child(3) { left: 70px; top: 68px; border-top-color: #22c79f; animation-delay: .34s; }
.cg-fireworks span:nth-child(4) { left: 74px; top: 0; border-top-color: #8ee7db; animation-delay: .48s; }

.cg-user-faces {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.cg-user-faces span {
  width: 56px;
  height: 56px;
  margin-left: -10px;
  border: 4px solid #ffffff;
  border-radius: 50%;
  background: url('https://xm88.oss-cn-shanghai.aliyuncs.com/public/uploads/20260723/asian-fitness-female.jpg') center top / cover no-repeat;
  box-shadow: 0 8px 18px rgba(17,24,39,.10);
}

.cg-user-faces span:nth-child(2) {
  background-image: url('https://xm88.oss-cn-shanghai.aliyuncs.com/public/uploads/20260723/asian-fitness-male.jpg');
}

.cg-user-faces span:nth-child(3) {
  background-image: url('https://xm88.oss-cn-shanghai.aliyuncs.com/public/uploads/20260723/gender-card-female.jpg');
}

.cg-percent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  max-width: 310px;
  align-items: center;
  text-align: left;
}

.cg-percent b {
  color: #22c79f;
  font-size: 34px;
}

.cg-percent span {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.6;
}

.btn-primary,
.primary-btn,
.fixed-btn,
.pay-btn {
  background: #22c79f !important;
  box-shadow: 0 12px 26px rgba(34, 199, 159, .22) !important;
}

/* 录屏版最终比例修正：问卷页统一贴近乐享云康体态管理 */
html,
body,
.app-shell {
  background: #f4f6fb !important;
}

.app-shell {
  padding: 0 0 calc(88px + var(--safe-bottom));
}

.welcome-screen {
  margin: 0 auto;
  padding: 72px 24px 56px;
  background: #ffffff !important;
}

.quiz-screen,
.analysis-screen,
.result-screen {
  min-height: 100vh;
  padding: 0 24px;
  background: #f4f6fb !important;
}

.quiz-screen::before,
.analysis-screen::before,
.result-screen::before {
  background: #f4f6fb !important;
  opacity: 1;
}

.page-character {
  display: none !important;
}

.page-header {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: start;
  min-height: 126px;
  padding: 18px 0 0;
}

.back-btn {
  width: 38px;
  height: 54px;
  color: #101827;
  font-size: 54px;
  font-weight: 700;
  line-height: 44px;
  background: transparent;
}

.header-center {
  padding-top: 4px;
}

.header-center strong {
  display: block;
  color: #b8bcc3;
  text-align: center;
  font-size: 21px;
  font-weight: 900;
}

.step-progress {
  width: 188px;
  height: 8px;
  margin: 25px auto 0;
  gap: 8px;
}

.step-progress span {
  height: 5px;
  border-radius: 999px;
  background: #bdebe2;
}

.step-progress span::after {
  width: 19px;
  height: 19px;
  font-size: 12px;
  background: #b7ebe2;
}

.question-stage {
  padding: 10px 0 0;
}

.question-stage h2,
.question-stage[data-input-type="single"] h2 {
  max-width: 360px;
  margin: 0 auto 175px;
  color: #101827;
  text-align: center;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.question-stage[data-input-type="multi"] h2,
.question-stage[data-input-type="number"] h2,
.question-stage[data-input-type="slider"] h2 {
  margin-bottom: 28px;
}

.choice-grid:not(.choice-grid-person):not(.choice-grid-body):not(.choice-grid-goal):not(.choice-grid-pill):not(.choice-grid-binary),
.choice-grid:not(.choice-grid-person):not(.choice-grid-body):not(.choice-grid-goal):not(.choice-grid-pills):not(.choice-grid-binary) {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.choice-card:not(.choice-card-person):not(.choice-card-body):not(.choice-card-goal):not(.choice-card-pill):not(.choice-card-binary) {
  min-height: 76px;
  grid-template-columns: 48px 1fr;
  padding: 0 30px;
  border: 0;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: none;
}

.choice-card:not(.choice-card-person):not(.choice-card-body):not(.choice-card-goal):not(.choice-card-pill):not(.choice-card-binary) .choice-icon {
  font-size: 24px;
}

.choice-card:not(.choice-card-person):not(.choice-card-body):not(.choice-card-goal):not(.choice-card-pill):not(.choice-card-binary) .choice-title {
  color: #101827;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.bottom-bar {
  left: 24px;
  right: 24px;
  width: auto;
  bottom: calc(24px + var(--safe-bottom));
  padding: 0;
  transform: none;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.btn-primary,
.primary-btn,
.fixed-btn,
.pay-btn {
  height: 54px;
  border-radius: 14px;
  background: #27c69f !important;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(39, 198, 159, .22) !important;
}

.question-stage[data-question-code="motivation"] h2 {
  margin-bottom: 174px;
  font-size: 25px;
}

.question-stage[data-question-code="gender"] h2 {
  margin-bottom: 210px;
}

.choice-card-person {
  border-color: rgba(226, 232, 240, .95);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .04);
}

.choice-card-person .choice-title {
  color: #585763;
  font-size: 22px;
  font-weight: 900;
}

.question-stage[data-question-code="target_area"] {
  padding-top: 10px;
}

.question-stage[data-question-code="target_area"] h2 {
  margin-bottom: 12px;
}

.question-stage[data-question-code="target_area"] .question-subtitle {
  margin: 0 0 24px;
  color: #a39b91;
  text-align: center;
  font-size: 17px;
  font-weight: 800;
}

.question-stage[data-question-code="target_area"] .question-host {
  min-height: 420px;
  padding-right: 154px;
}

.question-stage[data-question-code="target_area"] .question-host::after {
  right: -16px;
  top: 22px;
  width: 190px;
  height: 400px;
  border-radius: 28px;
}

.question-stage[data-question-code="target_area"] .choice-grid {
  width: 170px;
  max-width: 170px;
  gap: 12px;
}

.question-stage[data-question-code="target_area"] .choice-card {
  min-height: 50px;
  padding: 0 13px;
  border-radius: 17px;
  background: #ffffff;
}

.question-stage[data-question-code="target_area"] .choice-title {
  font-size: 14px !important;
}

.question-stage[data-question-code="target_area"] .choice-icon {
  font-size: 19px;
}

.age-wheel-card {
  min-height: 420px;
}

.ruler-card,
.age-wheel-card,
.weight-card,
.weekly-card {
  background: transparent;
  box-shadow: none;
}

.ruler-card::after,
.age-wheel-card::after,
.weight-card::after,
.weekly-card::after {
  display: none;
}

.ruler-card-height .ruler-track {
  left: 0;
  top: 70px;
}

.ruler-card-height .ruler-value {
  top: 158px;
}

.height-person {
  bottom: 58px;
  height: 300px;
}

.weight-range,
.weekly-range {
  accent-color: #27c69f;
}

.bmi-card,
.weekly-note {
  box-shadow: 0 14px 28px rgba(15, 23, 42, .05);
}

/* 乐享云康体态管理录屏版收口：统一问卷页比例、圆点选项和轻动画 */
.app-shell {
  background: #f3f6fb !important;
}

.quiz-screen {
  color: #111827;
}

.page-header {
  min-height: 118px;
  padding-top: 14px;
}

.back-btn {
  width: 34px;
  height: 48px;
  font-size: 50px;
  line-height: 40px;
}

.header-center strong {
  color: #9fa5ad;
  font-size: 20px;
  letter-spacing: 0;
}

.step-progress {
  width: 184px;
  margin-top: 24px;
}

.step-progress span {
  height: 5px;
  background: #bcece3;
}

.step-progress span.is-done,
.step-progress span.is-active {
  background: #29c69f;
}

.step-progress span::after {
  width: 16px;
  height: 16px;
  color: #ffffff;
  font-size: 11px;
  box-shadow: 0 0 0 2px rgba(255,255,255,.9);
}

.question-stage {
  padding-top: 0;
}

.question-stage h2,
.question-stage[data-input-type="single"] h2,
.question-stage[data-input-type="multi"] h2,
.question-stage[data-input-type="number"] h2,
.question-stage[data-input-type="slider"] h2 {
  max-width: 370px;
  margin: 0 auto 30px;
  color: #111827;
  text-align: center;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: -.03em;
}

.question-stage[data-question-code="motivation"] h2 {
  margin-bottom: clamp(130px, 19vh, 172px);
}

.question-stage[data-question-code="gender"] h2 {
  margin-bottom: 34px;
}

.choice-card:not(.choice-card-person):not(.choice-card-body):not(.choice-card-goal):not(.choice-card-pill):not(.choice-card-binary) {
  min-height: 78px;
  grid-template-columns: 54px 1fr;
  padding: 0 28px;
  border-radius: 25px;
}

.choice-card:not(.choice-card-person):not(.choice-card-body):not(.choice-card-goal):not(.choice-card-pill):not(.choice-card-binary) .choice-icon {
  width: 38px;
  height: 38px;
  background: transparent;
  font-size: 25px;
}

.choice-grid-person {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 0;
}

.choice-card-person {
  min-height: 278px;
  border: 2px solid transparent;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(17, 24, 39, .05);
}

.choice-card-person .choice-figure {
  height: 210px;
  margin-bottom: 12px;
  border-radius: 20px 20px 0 0;
  background-size: cover;
}

.choice-card-person.is-selected {
  border-color: #29c69f;
  box-shadow: 0 16px 34px rgba(41, 198, 159, .18);
}

.question-stage[data-question-code="target_area"] {
  padding-top: 0;
}

.question-stage[data-question-code="target_area"] h2 {
  margin-bottom: 74px;
  font-size: 25px;
}

.question-stage[data-question-code="target_area"] .question-subtitle {
  display: none;
}

.question-stage[data-question-code="target_area"] .question-host {
  min-height: 560px;
  padding-right: 188px;
}

.question-stage[data-question-code="target_area"] .question-host::after {
  display: none;
}

.target-body-figure {
  position: absolute;
  z-index: 1;
  right: -18px;
  top: 44px;
  width: 238px;
  height: 456px;
  pointer-events: none;
  background: url('https://xm88.oss-cn-shanghai.aliyuncs.com/public/uploads/20260723/asian-fitness-female.jpg') center bottom / contain no-repeat;
}

body[data-gender="male"] .target-body-figure {
  background-image: url('https://xm88.oss-cn-shanghai.aliyuncs.com/public/uploads/20260723/asian-fitness-male.jpg');
}

.body-hotspot,
.body-hotspot::before,
.body-hotspot::after {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: rgba(245, 117, 34, .62);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .28) inset,
    0 10px 28px rgba(245, 117, 34, .20);
}

.body-hotspot {
  opacity: 0;
  transform: scale(.94);
  transition: opacity .16s ease, transform .16s ease;
  mix-blend-mode: multiply;
}

.body-hotspot.is-active {
  opacity: 1;
  transform: scale(1);
}

.body-hotspot::before,
.body-hotspot::after {
  content: "";
}

.area-clear_mind {
  left: 98px;
  top: 32px;
  width: 42px;
  height: 42px;
}

.area-smooth_skin {
  left: 96px;
  top: 58px;
  width: 48px;
  height: 58px;
  background: rgba(245, 117, 34, .32);
}

.area-tight_arms {
  inset: auto;
  background: transparent;
  box-shadow: none;
}

.area-tight_arms::before {
  left: 57px;
  top: 149px;
  width: 20px;
  height: 104px;
  transform: rotate(8deg);
}

.area-tight_arms::after {
  left: 169px;
  top: 132px;
  width: 20px;
  height: 100px;
  transform: rotate(-11deg);
}

.area-flat_belly {
  left: 108px;
  top: 177px;
  width: 34px;
  height: 42px;
  background: rgba(245, 117, 34, .58);
}

.area-slim_legs {
  inset: auto;
  background: transparent;
  box-shadow: none;
}

.area-slim_legs::before {
  left: 96px;
  top: 277px;
  width: 18px;
  height: 118px;
  transform: rotate(4deg);
}

.area-slim_legs::after {
  left: 140px;
  top: 277px;
  width: 18px;
  height: 118px;
  transform: rotate(-4deg);
}

.area-full_body {
  left: 88px;
  top: 118px;
  width: 76px;
  height: 240px;
  border-radius: 38px;
  background: rgba(245, 117, 34, .28);
}

body[data-gender="male"] .area-clear_mind {
  left: 96px;
  top: 34px;
}

body[data-gender="male"] .area-smooth_skin {
  left: 94px;
  top: 58px;
}

body[data-gender="male"] .area-tight_arms::before {
  left: 56px;
  top: 132px;
  height: 104px;
  transform: rotate(13deg);
}

body[data-gender="male"] .area-tight_arms::after {
  left: 166px;
  top: 126px;
  height: 104px;
  transform: rotate(-8deg);
}

body[data-gender="male"] .area-flat_belly {
  left: 104px;
  top: 176px;
  width: 42px;
  height: 44px;
}

body[data-gender="male"] .area-slim_legs::before {
  left: 98px;
  top: 278px;
}

body[data-gender="male"] .area-slim_legs::after {
  left: 138px;
  top: 278px;
}

body[data-gender="male"] .area-full_body {
  left: 86px;
  top: 118px;
  width: 82px;
  height: 240px;
}

.question-stage[data-question-code="target_area"] .choice-grid {
  position: relative;
  z-index: 2;
  width: 170px;
  max-width: 170px;
  gap: 14px;
  margin-left: 24px;
}

.question-stage[data-question-code="target_area"] .choice-card {
  min-height: 70px;
  grid-template-columns: 24px 1fr;
  padding: 0 15px;
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
}

.question-stage[data-question-code="target_area"] .choice-icon {
  position: relative;
  width: 16px;
  height: 16px;
  color: transparent;
  font-size: 0;
  background: transparent;
}

.question-stage[data-question-code="target_area"] .choice-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid #d5d8de;
  border-radius: 999px;
  background: #ffffff;
}

.question-stage[data-question-code="target_area"] .choice-card.is-selected {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, .12) !important;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .04), 0 10px 24px rgba(15, 23, 42, .04) !important;
}

.question-stage[data-question-code="target_area"] .choice-card.is-selected::after {
  display: none;
}

.question-stage[data-question-code="target_area"] .choice-card.is-selected .choice-icon::before {
  border-color: #1f2937;
  background: #ffffff;
}

.question-stage[data-question-code="target_area"] .choice-card.is-selected .choice-icon::after {
  content: "";
  position: absolute;
  inset: 0;
}

.question-stage[data-question-code="target_area"] .choice-title {
  overflow: hidden;
  color: #111827;
  font-size: 14px !important;
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.question-stage[data-question-code="target_area"] .choice-card.is-selected .choice-title {
  color: #111827;
}

.question-stage[data-question-code="target_area"] .target-body-figure,
.question-stage[data-question-code="target_area"] .body-hotspot,
.question-stage[data-question-code="target_area"] .body-hotspot::before,
.question-stage[data-question-code="target_area"] .body-hotspot::after {
  background: transparent !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

.question-stage[data-question-code="target_area"] .body-hotspot.is-active {
  opacity: 1;
  transform: none;
  border-color: rgba(15, 23, 42, .10) !important;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .08) !important;
  background: transparent !important;
}

.question-stage[data-question-code="physical_state"] h2,
.question-stage[data-question-code="plan_interest"] h2,
.question-stage[data-question-code="reward"] h2,
.question-stage[data-question-code="fasting_experience"] h2,
.question-stage[data-question-code="difficulty"] h2 {
  margin-bottom: 88px;
}

.question-stage[data-question-code="physical_state"] .question-subtitle,
.question-stage[data-question-code="reward"] .question-subtitle {
  margin-top: -76px;
  margin-bottom: 72px;
  color: #9aa0a9;
  font-size: 13px;
  font-weight: 800;
}

.question-stage[data-question-code="difficulty"] .question-subtitle {
  margin: 18px auto 120px;
  width: 260px;
  min-height: 92px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
  color: #9aa0a9;
  font-size: 15px;
}

.age-wheel-card {
  min-height: 520px;
}

.age-wheel-window {
  margin-top: 36px;
}

.age-row {
  color: #a3a7ad;
  font-size: 21px;
}

.age-row.is-active {
  color: #05070a;
  font-size: 40px;
  transform: none;
}

.ruler-card-height {
  min-height: 550px;
}

.ruler-card-height .ruler-track {
  top: 52px;
}

.ruler-card-height .ruler-value {
  top: 150px;
}

.height-person {
  left: 126px;
  bottom: 38px;
  height: 332px;
  background: url('https://xm88.oss-cn-shanghai.aliyuncs.com/public/uploads/20260723/asian-fitness-female.jpg') center bottom / contain no-repeat;
}

body[data-gender="male"] .height-person {
  background: url('https://xm88.oss-cn-shanghai.aliyuncs.com/public/uploads/20260723/asian-fitness-male.jpg') center bottom / contain no-repeat;
}

body[data-screen="welcome"],
body[data-screen="quiz"],
body[data-screen="welcome"] .app-shell,
body[data-screen="quiz"] .app-shell {
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

body[data-screen="welcome"] .app-shell,
body[data-screen="quiz"] .app-shell {
  padding-bottom: 0 !important;
}

body[data-screen="welcome"] .welcome-screen,
body[data-screen="quiz"] .quiz-screen {
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

body[data-screen="quiz"] .question-host {
  max-height: calc(100dvh - 190px);
  overflow: visible;
}

.weight-card,
.weekly-card {
  min-height: 520px;
  padding-top: 50px;
}

.weekly-value strong,
.weight-value strong {
  color: #111827;
}

.screen.is-motion-enter,
.screen,
.screen.is-active,
.quiz-screen.screen,
.quiz-screen.screen.is-active,
.welcome-screen,
.welcome-screen.is-motion-enter,
.welcome-screen .welcome-card,
.welcome-screen .welcome-card h1,
.welcome-screen .welcome-copy,
.welcome-screen .welcome-badge,
.welcome-screen .welcome-name-card,
.welcome-screen .welcome-actions,
.question-stage.is-motion-enter,
.question-stage.is-motion-enter h2 {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

.question-stage .choice-card {
  animation: none;
  transition:
    background .16s ease,
    border-color .16s ease,
    box-shadow .16s ease,
    transform .16s ease;
}

.question-stage.is-motion-enter .choice-card {
  animation: cgChoicePop .28s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: calc(var(--motion-index, 0) * 34ms);
}

.question-stage[data-input-type="multi"] .choice-card.is-selected {
  border-color: #29c69f !important;
  background: #eafff7 !important;
  box-shadow: 0 0 0 2px rgba(41, 198, 159, .32) inset, 0 12px 28px rgba(41, 198, 159, .10) !important;
}

.question-stage[data-input-type="multi"] .choice-card.is-selected::after {
  content: "✓";
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: #29c69f;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.quiz-screen {
  left: 0 !important;
  transform: none !important;
}

/* 表单页像首页一样稳定：不做任何进入/淡入/下拉动画 */
body[data-screen="quiz"] .quiz-screen,
body[data-screen="quiz"] .question-stage,
body[data-screen="quiz"] .question-stage h2,
body[data-screen="quiz"] .question-host,
body[data-screen="quiz"] .choice-card,
body[data-screen="quiz"] .transition-card,
body[data-screen="quiz"] .ruler-card,
body[data-screen="quiz"] .age-wheel-card,
body[data-screen="quiz"] .weight-card,
body[data-screen="quiz"] .weekly-card,
body[data-screen="quiz"] .cg-section-intro,
body[data-screen="quiz"] .cg-success-card,
body[data-screen="quiz"] .cg-social-card {
  animation: none !important;
  opacity: 1 !important;
  filter: none !important;
}

body[data-screen="quiz"] .question-stage,
body[data-screen="quiz"] .question-stage h2,
body[data-screen="quiz"] .question-host {
  transform: none !important;
}

body[data-screen="quiz"] .choice-icon {
  animation: cgIconBob 2.6s ease-in-out infinite !important;
  animation-delay: calc(var(--motion-index, 0) * 90ms) !important;
}

body[data-screen="quiz"] .step-progress span,
body[data-screen="quiz"] .progress-inner {
  animation: cgProgressFlow 1.8s linear infinite !important;
}

body[data-screen="quiz"] .cg-fireworks span {
  animation: spin 2.2s linear infinite !important;
}

body[data-screen="quiz"] .cg-fireworks span:nth-child(2) {
  animation-delay: .2s !important;
}

body[data-screen="quiz"] .cg-fireworks span:nth-child(3) {
  animation-delay: .34s !important;
}

body[data-screen="quiz"] .cg-fireworks span:nth-child(4) {
  animation-delay: .48s !important;
}

@keyframes cgChoicePop {
  from {
    opacity: 1;
    transform: translateY(8px) scale(.995);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 首页重新美化：更像正式 App 的首屏 */
.welcome-screen {
  background:
    radial-gradient(circle at 18% 10%, rgba(41, 198, 159, .14), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(255, 139, 91, .12), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #f6fafb 100%);
}

.welcome-card {
  width: min(360px, 100%);
  padding: 26px 22px 24px;
  border: 1px solid rgba(41, 198, 159, .08);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(249,255,253,.98));
  box-shadow: 0 22px 64px rgba(17, 24, 39, .08);
}

.welcome-badge {
  align-self: flex-start;
  margin: 0 0 18px;
  padding: 7px 14px;
  color: #18b48f;
  background: rgba(41, 198, 159, .10);
  border: 1px solid rgba(41, 198, 159, .14);
  font-size: 12px;
}

.welcome-robot {
  width: 78px;
  height: 78px;
  margin: 0 auto 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(41, 198, 159, .14), rgba(41, 198, 159, .06));
  box-shadow: 0 16px 38px rgba(41, 198, 159, .16);
}

.welcome-card h1 {
  max-width: 100%;
  margin-top: 0;
  color: #0f172a;
  font-size: 24px;
  line-height: 1.3;
  text-align: left;
}

.welcome-copy {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.welcome-copy p {
  color: #64748b;
  font-size: 13px;
  line-height: 1.7;
  text-align: left;
}

.welcome-list {
  margin: 18px 0 0;
  gap: 10px;
}

.welcome-list li {
  position: relative;
  padding: 13px 14px 13px 40px;
  border: 1px solid rgba(148, 163, 184, .10);
  border-radius: 16px;
  background: rgba(248, 250, 252, .92);
  color: #334155;
  font-size: 13px;
  line-height: 1.5;
}

.welcome-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 50%;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: rgba(41, 198, 159, .14);
  color: #22c79f;
  font-size: 11px;
  font-weight: 900;
  transform: translateY(-50%);
}

.welcome-name-card {
  margin-top: 18px;
}

.welcome-name-card input {
  height: 52px;
  padding: 0 50px 0 18px;
  border: 1.5px solid rgba(15, 23, 42, .14);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, .03);
}

.welcome-actions {
  margin-top: 18px;
}

.welcome-actions .btn-primary {
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, #22c79f, #1fbf95);
  box-shadow: 0 14px 28px rgba(34, 199, 159, .20);
}

.welcome-actions .btn-secondary {
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(34, 199, 159, .18);
  background: rgba(34, 199, 159, .08);
  color: #149a79;
}

.char-welcome {
  right: -52px;
  top: 28px;
  width: 220px;
  height: 420px;
  opacity: .12;
}

/* 首页再加强：品牌栏 + 信息条，让首屏更像正式 App */
.welcome-screen {
  justify-content: flex-start;
  padding: 18px 16px 24px;
  gap: 12px;
}

.welcome-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(380px, 100%);
  margin-top: 6px;
  z-index: 1;
}

.welcome-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
}

.welcome-brand-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #26c89b, #7be3c8);
  box-shadow: 0 0 0 6px rgba(38, 200, 155, .10);
}

.welcome-topchip {
  padding: 8px 12px;
  border: 1px solid rgba(41, 198, 159, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: #149a79;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}

.welcome-card {
  position: relative;
  width: min(380px, 100%);
  margin-top: 2px;
  padding: 24px 22px 22px;
  border: 1px solid rgba(41, 198, 159, .10);
  border-radius: 34px;
  background:
    radial-gradient(circle at 80% 0%, rgba(41, 198, 159, .10), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,.99), rgba(247,255,252,.99));
  box-shadow:
    0 20px 55px rgba(15, 23, 42, .08),
    0 2px 0 rgba(255,255,255,.75) inset;
}

.welcome-card::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 18px;
  height: 96px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(34, 199, 159, .05), rgba(255, 168, 97, .05));
  pointer-events: none;
}

.welcome-badge,
.welcome-robot,
.welcome-card h1,
.welcome-copy,
.welcome-metrics,
.welcome-list,
.welcome-name-card,
.welcome-actions {
  position: relative;
  z-index: 1;
}

.welcome-robot {
  width: 84px;
  height: 84px;
  margin: 2px auto 20px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(41, 198, 159, .14), rgba(41, 198, 159, .05));
  box-shadow: 0 16px 38px rgba(41, 198, 159, .16);
}

.welcome-card h1 {
  margin-bottom: 0;
  font-size: 22px;
}

.welcome-copy {
  margin-top: 12px;
}

.welcome-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.welcome-metrics span {
  display: grid;
  place-items: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(34, 199, 159, .08), rgba(34, 199, 159, .03));
  border: 1px solid rgba(34, 199, 159, .10);
  color: #149a79;
  font-size: 12px;
  font-weight: 700;
}

.welcome-list {
  margin-top: 16px;
}

.welcome-name-card {
  margin-top: 16px;
}

.welcome-actions {
  margin-top: 16px;
}

.welcome-actions .btn-primary {
  background: linear-gradient(135deg, #22c79f, #1fc08f 50%, #19b87f);
}

/* 部位选择页再收紧：小卡片 + 轻量高亮 */
.question-stage[data-question-code="target_area"] {
  padding-top: 6px;
}

.question-stage[data-question-code="target_area"] h2 {
  margin-top: 14px;
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -.03em;
}

.question-stage[data-question-code="target_area"] .question-host {
  align-items: center;
  grid-template-columns: minmax(0, 178px) minmax(0, 1fr);
  column-gap: 12px;
}

.question-stage[data-question-code="target_area"] .question-host::after {
  inset: auto 0 8px;
  height: 18px;
  opacity: .35;
}

.target-body-figure {
  top: 56px;
  right: -4px;
  width: 210px;
  height: 416px;
  background-position: center bottom;
  opacity: .98;
}

.body-hotspot,
.body-hotspot::before,
.body-hotspot::after {
  background: rgba(255, 145, 76, .16);
  box-shadow: none;
  mix-blend-mode: normal;
}

.body-hotspot.is-active {
  opacity: 1;
  transform: scale(1);
}

.body-hotspot.is-active::before,
.body-hotspot.is-active::after {
  background: rgba(255, 145, 76, .18);
}

.area-clear_mind {
  left: 100px;
  top: 38px;
  width: 24px;
  height: 24px;
}

.area-smooth_skin {
  left: 98px;
  top: 62px;
  width: 34px;
  height: 42px;
}

.area-tight_arms::before {
  left: 64px;
  top: 156px;
  width: 12px;
  height: 92px;
}

.area-tight_arms::after {
  left: 165px;
  top: 144px;
  width: 12px;
  height: 92px;
}

.area-flat_belly {
  left: 108px;
  top: 182px;
  width: 28px;
  height: 34px;
}

.area-slim_legs::before {
  left: 99px;
  top: 282px;
  width: 12px;
  height: 108px;
}

.area-slim_legs::after {
  left: 137px;
  top: 282px;
  width: 12px;
  height: 108px;
}

.area-full_body {
  left: 92px;
  top: 124px;
  width: 70px;
  height: 212px;
}

body[data-gender="male"] .target-body-figure {
  width: 214px;
  height: 412px;
}

body[data-gender="male"] .area-clear_mind {
  left: 98px;
  top: 38px;
}

body[data-gender="male"] .area-smooth_skin {
  left: 96px;
  top: 62px;
}

body[data-gender="male"] .area-tight_arms::before {
  left: 63px;
  top: 148px;
  height: 94px;
}

body[data-gender="male"] .area-tight_arms::after {
  left: 164px;
  top: 140px;
  height: 94px;
}

body[data-gender="male"] .area-flat_belly {
  left: 104px;
  top: 180px;
  width: 34px;
  height: 36px;
}

body[data-gender="male"] .area-slim_legs::before {
  left: 98px;
  top: 280px;
}

body[data-gender="male"] .area-slim_legs::after {
  left: 136px;
  top: 280px;
}

body[data-gender="male"] .area-full_body {
  left: 88px;
  top: 122px;
  width: 78px;
  height: 214px;
}

.question-stage[data-question-code="target_area"] .choice-grid {
  position: relative;
  z-index: 2;
  width: 152px;
  max-width: 152px;
  gap: 12px;
  margin-left: 14px;
}

.question-stage[data-question-code="target_area"] .choice-card {
  min-height: 48px;
  grid-template-columns: 22px 1fr;
  padding: 0 11px;
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
}

.question-stage[data-question-code="target_area"] .choice-icon {
  width: 16px;
  height: 16px;
}

.question-stage[data-question-code="target_area"] .choice-icon::before {
  border-color: #d9dde4;
}

.question-stage[data-question-code="target_area"] .choice-card.is-selected {
  background: #f4fffb !important;
  box-shadow: 0 0 0 1.5px rgba(41, 198, 159, .22) inset !important;
}

.question-stage[data-question-code="target_area"] .choice-card.is-selected .choice-icon::before {
  border-color: #29c69f;
  background: #29c69f;
}

.question-stage[data-question-code="target_area"] .choice-card.is-selected .choice-icon::after {
  font-size: 11px;
}

.question-stage[data-question-code="target_area"] .choice-title {
  font-size: 13px !important;
  font-weight: 800;
}

/* 最终覆盖：目标部位页只保留人物图，不显示热点色块 */
.question-stage[data-question-code="target_area"] .question-host::after {
  display: none !important;
}

.question-stage[data-question-code="target_area"] .target-body-figure {
  display: block !important;
  z-index: 1;
  top: 56px;
  right: -8px;
  width: 222px;
  height: 430px;
  background: url('https://xm88.oss-cn-shanghai.aliyuncs.com/public/uploads/20260723/asian-fitness-female.jpg') center bottom / contain no-repeat !important;
}

body[data-gender="male"] .question-stage[data-question-code="target_area"] .target-body-figure {
  background-image: url('https://xm88.oss-cn-shanghai.aliyuncs.com/public/uploads/20260723/asian-fitness-male.jpg') !important;
}

.question-stage[data-question-code="target_area"] .body-hotspot,
.question-stage[data-question-code="target_area"] .body-hotspot::before,
.question-stage[data-question-code="target_area"] .body-hotspot::after {
  display: none !important;
}

.question-stage[data-question-code="target_area"] .choice-grid {
  width: 198px;
  max-width: 198px;
  gap: 14px;
  margin-left: 14px;
}

.question-stage[data-question-code="target_area"] .choice-card {
  min-height: 56px;
  grid-template-columns: 20px 1fr;
  align-items: center;
  column-gap: 12px;
  padding: 0 16px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 20px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .03);
}

.question-stage[data-question-code="target_area"] .choice-icon {
  display: grid !important;
  width: 18px;
  height: 18px;
  color: transparent;
  font-size: 0;
  background: transparent;
}

.question-stage[data-question-code="target_area"] .choice-icon::before {
  inset: 0;
  border: 1.5px solid #d4d8e0;
  background: #ffffff;
}

.question-stage[data-question-code="target_area"] .choice-title {
  font-size: 14px !important;
  text-align: left;
}

.question-stage[data-question-code="target_area"] .choice-card.is-selected {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, .12) !important;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .04), 0 8px 18px rgba(15, 23, 42, .03) !important;
}

.question-stage[data-question-code="target_area"] .choice-card.is-selected .choice-icon::before {
  border-color: #c7ccd6;
  background: #ffffff;
}

/* 目标部位页按参考 App 重新定比例 */
body[data-screen="quiz"] .question-stage[data-question-code="target_area"] {
  padding-top: 10px !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="target_area"] h2 {
  margin: 26px 0 22px !important;
  font-size: 31px !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="target_area"] .question-host {
  position: relative !important;
  display: block !important;
  min-height: 462px !important;
  padding: 0 0 84px !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="target_area"] .target-body-figure {
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  right: -84px !important;
  z-index: 1 !important;
  width: 250px !important;
  height: 462px !important;
  opacity: 1 !important;
  background: url('https://xm88.oss-cn-shanghai.aliyuncs.com/public/uploads/20260723/asian-fitness-female.jpg') center bottom / contain no-repeat !important;
  pointer-events: none !important;
}

body[data-gender="male"][data-screen="quiz"] .question-stage[data-question-code="target_area"] .target-body-figure {
  background-image: url('https://xm88.oss-cn-shanghai.aliyuncs.com/public/uploads/20260723/asian-fitness-male.jpg') !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="target_area"] .body-hotspot,
body[data-screen="quiz"] .question-stage[data-question-code="target_area"] .body-hotspot::before,
body[data-screen="quiz"] .question-stage[data-question-code="target_area"] .body-hotspot::after {
  display: none !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="target_area"] .choice-grid {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  width: 212px !important;
  max-width: 212px !important;
  gap: 12px !important;
  margin: 0 0 0 16px !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="target_area"] .choice-card {
  position: relative !important;
  display: grid !important;
  width: 100% !important;
  height: 54px !important;
  min-height: 54px !important;
  grid-template-columns: 19px 1fr !important;
  grid-template-areas: "icon title" !important;
  align-items: center !important;
  column-gap: 13px !important;
  padding: 0 20px !important;
  border: 1px solid rgba(15, 23, 42, .06) !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="target_area"] .choice-icon {
  position: relative !important;
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  grid-area: icon !important;
  color: transparent !important;
  font-size: 0 !important;
  background: transparent !important;
  animation: none !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="target_area"] .choice-icon::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border: 1.4px solid #d5d9df !important;
  border-radius: 999px !important;
  background: #ffffff !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="target_area"] .choice-icon::after {
  content: "" !important;
  display: none !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="target_area"] .choice-title {
  grid-area: title !important;
  overflow: visible !important;
  color: #101827 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  text-align: left !important;
  white-space: nowrap !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="target_area"] .choice-card.is-selected {
  border-color: rgba(15, 23, 42, .12) !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="target_area"] .choice-card.is-selected::after {
  content: none !important;
  display: none !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="target_area"] .choice-card.is-selected .choice-icon::before {
  border-color: #2bc49c !important;
  background: #2bc49c !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="target_area"] .choice-card.is-selected .choice-icon::after {
  content: "✓" !important;
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

/* 首页欢迎动画：三段文字 + 固定底图 */
body[data-screen="welcome"] .app-shell {
  background: #ffffff !important;
}

body[data-screen="welcome"] .ambient {
  display: none !important;
}

body[data-screen="welcome"] .intro-screen {
  position: relative !important;
  display: block !important;
  min-height: 100vh !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #ffffff !important;
}

body[data-screen="welcome"] .intro-screen::before,
body[data-screen="welcome"] .intro-screen::after {
  display: none !important;
}

.intro-copy {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 96px;
  z-index: 2;
  min-height: 86px;
  display: grid;
  place-items: center;
  color: #25282d;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.38;
  text-align: center;
  letter-spacing: 0;
}

.intro-line {
  animation: introTextIn .48s cubic-bezier(.2,.8,.2,1) both;
}

.intro-line span {
  color: #ec8e45;
}

.intro-hero {
  position: absolute;
  left: 50%;
  top: 232px;
  z-index: 1;
  width: auto;
  height: min(64vh, 522px);
  max-width: 92vw;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}

.intro-screen .resume-plan-btn {
  display: none !important;
}

@keyframes introTextIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-height: 760px) {
  .intro-copy {
    top: 74px;
    font-size: 23px;
  }

  .intro-hero {
    top: 204px;
    width: auto;
    height: min(62vh, 430px);
  }

  body[data-screen="quiz"] .question-stage[data-question-code="motivation"] h2 {
    margin-bottom: 56px !important;
    font-size: 25px !important;
    line-height: 1.22 !important;
  }

  body[data-screen="quiz"] .question-stage[data-question-code="motivation"] .question-host {
    min-height: 0 !important;
    padding-top: 0 !important;
  }

  body[data-screen="quiz"] .question-stage[data-question-code="motivation"] .choice-grid {
    gap: 10px !important;
  }

  body[data-screen="quiz"] .question-stage[data-question-code="motivation"] .choice-card {
    min-height: 58px !important;
    height: 58px !important;
    padding: 0 22px !important;
  }
}

/* 性别选择页：使用亚洲健身男女裁剪图，保持卡片内人物比例稳定 */
body[data-screen="quiz"] .question-stage[data-question-code="gender"] .choice-grid-person {
  gap: 14px;
  align-items: stretch;
}

body[data-screen="quiz"] .question-stage[data-question-code="gender"] .choice-card-person {
  min-height: 312px;
  padding: 14px 10px 20px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 26px;
  background:
    radial-gradient(circle at 74% 12%, rgba(255, 159, 42, .18), transparent 34%),
    linear-gradient(180deg, #fff7ea 0%, #ffffff 72%);
}

body[data-screen="quiz"] .question-stage[data-question-code="gender"] .choice-card-person .choice-figure {
  height: 230px;
  margin: 0 0 12px;
  border-radius: 20px;
  background-color: transparent;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: auto 108%;
}

body[data-screen="quiz"] .question-stage[data-question-code="gender"] .choice-card-person .choice-title {
  width: 100%;
  color: #585763;
  text-align: center;
  font-size: 22px;
  font-weight: 900;
}

body[data-screen="quiz"] .question-stage[data-question-code="gender"] .choice-card-person.is-selected {
  border-color: #29c69f;
  background:
    radial-gradient(circle at 74% 12%, rgba(255, 159, 42, .22), transparent 34%),
    linear-gradient(180deg, #fff1da 0%, #ffffff 72%);
  box-shadow: 0 18px 38px rgba(41, 198, 159, .18);
}

/* 生成方案页：三段 5 秒进度动画，避免进入支付前闪屏 */
body[data-screen="analysis"] .app-shell {
  background: #ffffff !important;
}

body[data-screen="analysis"] .ambient,
body[data-screen="analysis"] .page-character {
  display: none !important;
}

.analysis-screen.is-motion-enter {
  animation: none !important;
}

body[data-screen="analysis"] .analysis-screen {
  min-height: 100svh;
  padding: 0 34px;
  background:
    linear-gradient(90deg, rgba(246, 248, 250, .26) 0 1px, transparent 1px 100%),
    #ffffff;
  background-size: 64px 100%;
}

body[data-screen="analysis"] .analysis-host {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  padding: clamp(104px, 16svh, 164px) 0 48px;
}

.plan-build-card {
  width: 100%;
  color: #1d222b;
}

.plan-build-title {
  text-align: center;
  font-size: clamp(34px, 9vw, 46px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.05em;
}

.plan-build-list {
  display: grid;
  gap: 22px;
  margin-top: clamp(94px, 17svh, 150px);
}

.plan-build-step {
  transition: opacity .24s ease, transform .24s ease;
}

.plan-build-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 34px;
}

.plan-build-head strong {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: #1f242c;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-build-head span {
  font-weight: 800;
}

.plan-build-check {
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(.78);
  background: #34cfa5;
  color: #ffffff;
  font-style: normal;
  font-size: 17px;
  font-weight: 900;
  transition: opacity .22s ease, transform .22s ease;
}

.plan-build-track {
  position: relative;
  height: 9px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef0f0;
  transition: height .24s ease, background-color .24s ease, box-shadow .24s ease;
}

.plan-build-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: #34cfa5;
  transition: width .06s linear;
}

.plan-build-track b {
  position: absolute;
  left: 36px;
  top: 50%;
  display: none;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.plan-build-step.is-active {
  opacity: 1;
  transform: translateY(0);
}

.plan-build-step.is-active .plan-build-track {
  height: 64px;
  margin-top: 12px;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(20, 82, 69, .08);
}

.plan-build-step.is-active .plan-build-track b {
  display: block;
}

.plan-build-step.is-done .plan-build-check {
  opacity: 1;
  transform: scale(1);
}

.plan-build-step.is-done .plan-build-track {
  height: 9px;
  background: #e8faf5;
  box-shadow: none;
}

.plan-build-step.is-done .plan-build-fill {
  width: 100%;
}

.plan-build-step.is-pending {
  opacity: .48;
}

.plan-build-step.is-pending .plan-build-head strong {
  color: #89919b;
}

.plan-build-step.is-pending .plan-build-track {
  background: #ececec;
}

@media (max-width: 390px) {
  body[data-screen="analysis"] .analysis-screen {
    padding: 0 28px;
  }

  .plan-build-head strong {
    font-size: 18px;
  }

  .plan-build-track b {
    left: 30px;
    font-size: 31px;
  }
}

/* 第一题目标页：主标题 + 说明小字 */
body[data-screen="quiz"] .question-stage[data-question-code="motivation"] h2 {
  max-width: 340px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  line-height: 1.24 !important;
  letter-spacing: 0 !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="motivation"] .choice-grid {
  gap: 16px !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="motivation"] .choice-card {
  grid-template-columns: 44px minmax(0, 1fr) !important;
  grid-template-areas:
    "icon title"
    "icon detail" !important;
  column-gap: 12px !important;
  row-gap: 4px !important;
  justify-items: start !important;
  min-height: 82px !important;
  height: auto !important;
  align-content: center !important;
  padding: 12px 26px !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="motivation"] .choice-icon {
  grid-area: icon !important;
  align-self: center !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="motivation"] .choice-title {
  grid-area: title !important;
  align-self: end !important;
  font-size: 20px !important;
  line-height: 1.18 !important;
  white-space: nowrap !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="motivation"] .choice-detail {
  grid-area: detail !important;
  align-self: start !important;
  display: block !important;
  margin-top: 6px !important;
  color: #677084 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

@media (max-height: 760px) {
  body[data-screen="quiz"] .question-stage[data-question-code="motivation"] .choice-grid {
    gap: 10px !important;
  }

  body[data-screen="quiz"] .question-stage[data-question-code="motivation"] .choice-card {
    min-height: 72px !important;
    padding: 10px 22px !important;
  }

  body[data-screen="quiz"] .question-stage[data-question-code="motivation"] .choice-title {
    font-size: 18px !important;
  }

  body[data-screen="quiz"] .question-stage[data-question-code="motivation"] .choice-detail {
    font-size: 12px !important;
  }
}

/* 性别页后新增：主要目标页，按乐享云康体态管理横向图片卡片布局 */
body[data-screen="quiz"] .question-stage[data-question-code="goal"] h2 {
  max-width: 340px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  color: #101827 !important;
  font-size: 30px !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="goal"] .choice-grid-goal {
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: column !important;
  gap: 14px !important;
  width: 100% !important;
  margin-top: 170px !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="goal"] .choice-card-goal {
  position: relative !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-height: 86px !important;
  height: 86px !important;
  padding: 0 24px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 22px !important;
  background: #ffffff !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04) !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="goal"] .choice-card-goal::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 48%, rgba(255, 255, 255, 0.86) 62%, rgba(255, 255, 255, 0) 100%) !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="goal"] .choice-card-goal .choice-title {
  position: relative !important;
  z-index: 2 !important;
  width: auto !important;
  padding: 0 !important;
  color: #101827 !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-align: left !important;
  white-space: nowrap !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="goal"] .choice-card-goal .choice-figure {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 0 !important;
  width: 55% !important;
  height: 100% !important;
  margin: 0 !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center 42% !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="goal"] .choice-card-goal:nth-child(1) .choice-figure {
  background-position: center 53% !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="goal"] .choice-card-goal:nth-child(2) .choice-figure {
  background-position: center 58% !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="goal"] .choice-card-goal:nth-child(3) .choice-figure {
  background-position: center 57% !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="goal"] .choice-card-goal:nth-child(4) .choice-figure {
  background-position: center 66% !important;
  opacity: 0.52 !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="goal"] .choice-card-goal.is-selected {
  border: 2px solid rgba(42, 199, 159, 0.88) !important;
  background: #ffffff !important;
  box-shadow: 0 16px 36px rgba(42, 199, 159, 0.16) !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="goal"] .choice-card-goal.is-selected::after {
  display: none !important;
}

@media (max-height: 760px) {
  body[data-screen="quiz"] .question-stage[data-question-code="goal"] h2 {
    font-size: 26px !important;
  }

  body[data-screen="quiz"] .question-stage[data-question-code="goal"] .choice-grid-goal {
    gap: 12px !important;
    margin-top: 62px !important;
  }

  body[data-screen="quiz"] .question-stage[data-question-code="goal"] .choice-card-goal {
    min-height: 74px !important;
    height: 74px !important;
    border-radius: 20px !important;
  }
}

/* 身体数据页：BMI计算工具 + 代谢提示 */
.bmi-title {
  color: #111827;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.bmi-desc {
  margin: 6px 0 14px;
  color: #7b8494;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

.bmi-target {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(39, 198, 159, 0.10), rgba(255, 255, 255, 0.82));
  color: #536071;
  font-size: 12px;
  font-weight: 700;
}

.bmi-target b,
.bmi-target strong {
  color: #111827;
  font-weight: 900;
}

body[data-screen="quiz"] .question-stage[data-question-code="weight_success"] .question-host {
  max-height: calc(100dvh - 148px) !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="weight_success"] .cg-success-card {
  min-height: auto !important;
  gap: 10px !important;
  align-content: start !important;
  padding-top: 16px !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="weight_success"] .cg-fireworks {
  width: 150px !important;
  height: 82px !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="weight_success"] .cg-fireworks span {
  width: 38px !important;
  height: 38px !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="weight_success"] .cg-check {
  font-size: 36px !important;
  line-height: 1 !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="weight_success"] .cg-success-card > strong {
  max-width: 330px !important;
  font-size: 24px !important;
  line-height: 1.25 !important;
}

body[data-screen="quiz"] .question-stage[data-question-code="weight_success"] .cg-success-card > p {
  margin: 0 !important;
  max-width: 315px !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.metabolism-card,
.bmi-result-card {
  width: min(340px, 88vw);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
}

.metabolism-card {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  text-align: left;
}

.metabolism-card b {
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}

.metabolism-card span {
  color: #6b7587;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

.bmi-result-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: #eaf4f1;
  text-align: center;
}

.bmi-result-card > div {
  display: grid;
  gap: 4px;
  min-height: 78px;
  align-content: center;
  padding: 10px 7px;
  background: #ffffff;
}

.bmi-result-card span {
  color: #8b95a5;
  font-size: 11px;
  font-weight: 800;
}

.bmi-result-card strong {
  color: #111827;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.1;
}

.bmi-result-card em {
  color: #27c69f;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.25;
}

@media (max-height: 760px) {
  body[data-screen="quiz"] .question-stage[data-question-code="weight"] h2 {
    margin-bottom: 14px !important;
  }

  .weight-card {
    min-height: auto !important;
    padding-top: 4px !important;
  }

  body[data-screen="quiz"] .question-stage[data-question-code="weight"] .weight-value strong {
    font-size: 48px !important;
  }

  body[data-screen="quiz"] .question-stage[data-question-code="weight"] .weight-value span {
    font-size: 14px !important;
  }

  .bmi-card {
    margin-top: 14px !important;
    padding: 12px 14px !important;
  }

  .weight-range {
    margin: 22px 0 8px !important;
  }

  body[data-screen="quiz"] .question-stage[data-question-code="weight"] .bmi-desc {
    margin-bottom: 10px !important;
    line-height: 1.35 !important;
  }

  body[data-screen="quiz"] .question-stage[data-question-code="weight"] .bmi-target {
    margin-top: 10px !important;
    padding: 9px 12px !important;
  }

  body[data-screen="quiz"] .question-stage[data-question-code="weight_success"] .cg-fireworks {
    height: 66px !important;
  }

  body[data-screen="quiz"] .question-stage[data-question-code="weight_success"] .cg-success-card > strong {
    font-size: 22px !important;
  }

  .metabolism-card {
    padding: 12px 14px;
  }

  .bmi-result-card > div {
    min-height: 68px;
    padding: 8px 5px;
  }
}

/* 手机宽度最终兜底：防止宽屏浏览器把按钮和生成进度条撑出手机比例 */
body {
  width: 100%;
  overflow-x: hidden !important;
}

.app-shell {
  width: min(430px, 100vw) !important;
  max-width: 430px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.bottom-bar {
  left: 50% !important;
  right: auto !important;
  width: min(382px, calc(100vw - 48px)) !important;
  max-width: 382px !important;
  padding: 0 !important;
  transform: translateX(-50%) !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.bottom-bar.has-secondary {
  grid-template-columns: 104px 1fr !important;
  width: min(382px, calc(100vw - 32px)) !important;
}

.bottom-bar .btn-primary,
.bottom-bar .btn-secondary {
  width: 100% !important;
  min-width: 0 !important;
}

body[data-screen="analysis"] .analysis-screen {
  padding-left: 24px !important;
  padding-right: 24px !important;
  overflow-x: hidden !important;
}

body[data-screen="analysis"] .analysis-host {
  width: 100% !important;
  max-width: 340px !important;
  padding-top: clamp(96px, 15svh, 148px) !important;
}

.plan-build-title {
  font-size: clamp(31px, 8vw, 40px) !important;
}

.plan-build-list {
  gap: 20px !important;
  margin-top: clamp(82px, 15svh, 132px) !important;
}

.plan-build-head strong {
  font-size: 18px !important;
}

.plan-build-track {
  width: 100% !important;
  max-width: 100% !important;
}

.plan-build-step.is-active .plan-build-track {
  height: 56px !important;
  border-radius: 18px !important;
}

.plan-build-track b {
  left: 26px !important;
  font-size: 30px !important;
}

.plan-build-card,
.plan-build-list,
.plan-build-step,
.plan-build-head,
.plan-build-track {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.plan-build-list,
.plan-build-step,
.plan-build-track {
  width: 100% !important;
}

.plan-build-head strong,
.plan-build-head span {
  min-width: 0 !important;
  max-width: 100% !important;
}

@media (max-width: 360px) {
  .bottom-bar {
    width: calc(100vw - 32px) !important;
  }

  body[data-screen="analysis"] .analysis-screen {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  body[data-screen="analysis"] .analysis-host {
    max-width: 318px !important;
  }

  .plan-build-head strong {
    font-size: 16px !important;
  }
}

/* 最终收口：生成方案动画页不能把电脑浏览器撑出右侧空白和滚动条 */
body[data-screen="analysis"] {
  height: 100vh !important;
  height: 100dvh !important;
  overflow: hidden !important;
  background:
    linear-gradient(90deg, rgba(246, 248, 250, .26) 0 1px, transparent 1px 100%),
    #ffffff !important;
  background-size: 64px 100% !important;
}

body[data-screen="analysis"] .app-shell {
  width: min(430px, 100vw) !important;
  max-width: 430px !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
  background:
    linear-gradient(90deg, rgba(246, 248, 250, .26) 0 1px, transparent 1px 100%),
    #ffffff !important;
  background-size: 64px 100% !important;
}

body[data-screen="analysis"] .analysis-screen {
  width: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
}

body[data-screen="analysis"] .analysis-host,
body[data-screen="analysis"] .plan-build-card,
body[data-screen="analysis"] .plan-build-list,
body[data-screen="analysis"] .plan-build-step,
body[data-screen="analysis"] .plan-build-head,
body[data-screen="analysis"] .plan-build-track {
  box-sizing: border-box !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

body[data-screen="result"] {
  overflow-x: hidden !important;
}

body[data-screen="result"] .app-shell,
body[data-screen="result"] .result-screen,
body[data-screen="result"] .result-host,
body[data-screen="result"] .result-card {
  box-sizing: border-box !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}
