:root {
  --ink: #172033;
  --text: #3f4658;
  --muted: #7a8190;
  --line: rgba(115, 91, 210, 0.13);
  --paper: rgba(255, 255, 255, 0.92);
  --paper-strong: #ffffff;
  --bg: #f7f4ff;
  --violet: #8358f5;
  --violet-dark: #5b32d6;
  --cyan: #48c8df;
  --rose: #ee5a94;
  --amber: #ffad27;
  --mint: #19c59f;
  --blue: #3f8df7;
  --shadow: 0 22px 70px rgba(57, 35, 122, 0.14);
  --font: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

/* v3 adjustments: tighter home page and mobile capture mode */
body.capture-mode {
  background: #f7f4ff;
}

body.capture-mode .report-nav,
body.capture-mode .report-actions {
  display: none;
}

body.capture-mode .report {
  padding-top: 0;
}

body.capture-mode .report-hero {
  padding-top: 28px;
}

body.capture-mode .section,
body.capture-mode .summary-card {
  box-shadow: none;
}

body.capture-mode .report::after {
  content: "长图截图模式";
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 50;
  padding: 8px 12px;
  border-radius: 999px;
  color: white;
  background: rgba(23, 32, 51, 0.72);
  font-size: 12px;
  font-weight: 900;
  pointer-events: none;
}

.home-card-v2 {
  padding-top: 18px;
}

.home-v2-main {
  padding-top: 18px;
}

.home-v2-main h1 {
  margin-top: 13px;
  font-size: clamp(40px, 11.2vw, 56px);
  line-height: 1;
}

.home-v2-main h1 span {
  margin-top: 6px;
  padding: 2px 10px 7px;
  border-radius: 18px;
}

.home-v2-main p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.6;
}

.home-v2-panel {
  grid-template-columns: 96px 1fr;
  gap: 10px;
  margin: 16px 0 12px;
  padding: 12px;
  border-radius: 24px;
}

.gift-core {
  min-height: 112px;
  border-radius: 20px;
}

.gift-core strong {
  font-size: 41px;
}

.gift-list {
  gap: 7px;
}

.gift-list span {
  min-height: 28px;
  padding: 0 8px;
  font-size: 11px;
}

.home-v2-stats {
  gap: 8px;
  margin-bottom: 12px;
}

.home-v2-stats div {
  min-height: 64px;
  border-radius: 18px;
}

.home-v2-stats b {
  font-size: 20px;
}

.home-card-v2 .primary-btn {
  min-height: 50px;
}

.home-card-v2 .notice {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 380px) {
  .home-card-v2 {
    padding: 14px 14px 12px;
  }

  .home-v2-main {
    padding-top: 14px;
  }

  .home-v2-main h1 {
    font-size: clamp(36px, 11.2vw, 46px);
  }

  .home-v2-main p {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.54;
  }

  .home-v2-panel {
    grid-template-columns: 84px 1fr;
    gap: 8px;
    padding: 9px;
    margin-top: 13px;
    margin-bottom: 10px;
  }

  .gift-core {
    min-height: 96px;
  }

  .gift-core strong {
    font-size: 35px;
  }

  .gift-list span {
    min-height: 24px;
    font-size: 10px;
    padding: 0 6px;
  }

  .home-v2-stats div {
    min-height: 56px;
  }

  .home-v2-stats b {
    font-size: 18px;
  }

  .home-card-v2 .primary-btn {
    min-height: 46px;
  }
}

body.capture-mode .report::after {
  content: none;
  display: none;
}

.export-mask {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 24px;
  color: white;
  background: rgba(23, 32, 51, 0.58);
  backdrop-filter: blur(12px);
}

.export-mask > div {
  width: min(86vw, 320px);
  padding: 24px 18px;
  border-radius: 24px;
  text-align: center;
  background: linear-gradient(135deg, rgba(132, 88, 245, 0.96), rgba(72, 200, 223, 0.92));
  box-shadow: 0 22px 70px rgba(23, 32, 51, 0.24);
}

.export-mask .spin {
  display: block;
  margin: 0 auto 14px;
}

.export-mask strong {
  display: block;
  font-size: 18px;
  font-weight: 950;
}

.export-mask p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 750;
}

.image-save-screen {
  min-height: 100svh;
  padding: 14px;
  background: linear-gradient(180deg, #f7f4ff, #fff7fb);
}

.image-save-card {
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  text-align: center;
}

.image-save-card h1 {
  margin: 4px 0 8px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 950;
}

.image-save-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 800;
}

.image-save-card img {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  border-radius: 18px;
  border: 1px solid rgba(23, 32, 51, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(92, 198, 255, 0.26), transparent 26%),
    radial-gradient(circle at 88% 8%, rgba(255, 177, 70, 0.2), transparent 24%),
    radial-gradient(circle at 82% 84%, rgba(234, 91, 148, 0.15), transparent 28%),
    linear-gradient(180deg, #f7f4ff 0%, #fbfbff 42%, #fff6fb 100%);
  font-family: var(--font);
  letter-spacing: 0;
}

button {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

#app {
  width: min(100%, 480px);
  min-height: 100svh;
  margin: 0 auto;
  overflow-x: hidden;
}

.screen {
  min-height: 100svh;
  padding: 14px;
}

.home {
  display: flex;
  align-items: stretch;
}

.home-card {
  position: relative;
  width: 100%;
  min-height: calc(100svh - 28px);
  padding: 26px 22px 20px;
  border-radius: 34px;
  background:
    linear-gradient(rgba(132, 88, 245, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132, 88, 245, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.98), transparent 30%),
    radial-gradient(circle at 84% 12%, rgba(255, 230, 180, 0.9), transparent 28%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(248, 244, 255, 0.92));
  background-size: 38px 38px, 38px 38px, auto, auto, auto;
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.home-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(132, 88, 245, 0.18), rgba(72, 200, 223, 0.16));
  pointer-events: none;
}

.nav-mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: rgba(23, 32, 51, 0.55);
  font-size: 12px;
  font-weight: 900;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: white;
  background: linear-gradient(135deg, var(--violet), #a66cff);
  box-shadow: 0 10px 26px rgba(132, 88, 245, 0.3);
  font-size: 17px;
}

.hero-main {
  position: relative;
  z-index: 2;
  padding-top: 42px;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 15px;
  border-radius: 999px;
  color: var(--violet-dark);
  background: rgba(132, 88, 245, 0.12);
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
}

.hero-main h1 {
  margin: 22px auto 0;
  color: var(--ink);
  font-size: clamp(42px, 12vw, 62px);
  line-height: 1.08;
  font-weight: 950;
}

.hero-main h1 span {
  display: inline-block;
  padding: 0 8px 4px;
  border-radius: 16px;
  color: white;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  box-shadow: 0 16px 38px rgba(92, 77, 214, 0.28);
}

.hero-main p {
  margin: 18px auto 0;
  max-width: 372px;
  color: rgba(63, 70, 88, 0.86);
  font-size: 17px;
  line-height: 1.72;
  font-weight: 750;
}

.talent-orbit {
  position: relative;
  width: min(84vw, 350px);
  height: 174px;
  margin: 26px auto 18px;
}

.orbit-center {
  position: absolute;
  inset: 36px 95px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, #6a42ec, #8c62ff 45%, #48c8df);
  box-shadow: 0 18px 42px rgba(91, 50, 214, 0.28);
  font-size: 28px;
  font-weight: 950;
}

.talent-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(132, 88, 245, 0.15);
  box-shadow: 0 12px 28px rgba(57, 35, 122, 0.1);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
}

.talent-chip:nth-child(1) { left: 0; top: 18px; }
.talent-chip:nth-child(2) { left: 27%; top: 0; }
.talent-chip:nth-child(3) { right: 2px; top: 22px; }
.talent-chip:nth-child(4) { left: 12px; bottom: 25px; }
.talent-chip:nth-child(5) { right: 28px; bottom: 8px; }

.stat-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 18px 0;
}

.stat-card {
  min-height: 82px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 5px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 32px rgba(57, 35, 122, 0.08);
}

.stat-card strong {
  color: var(--ink);
  font-size: 23px;
  line-height: 1;
  font-weight: 950;
}

.stat-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.primary-btn {
  width: 100%;
  color: white;
  background: linear-gradient(135deg, var(--violet), #a56eff);
  box-shadow: 0 16px 34px rgba(132, 88, 245, 0.32);
  font-size: 17px;
  font-weight: 950;
}

.secondary-btn {
  padding: 0 24px;
  color: var(--violet-dark);
  background: rgba(132, 88, 245, 0.12);
  font-weight: 900;
}

.ghost-btn {
  padding: 0 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 900;
}

.primary-btn:active,
.secondary-btn:active,
.ghost-btn:active,
.answer:active,
.square:active {
  transform: scale(0.985);
}

.notice {
  margin: 15px 0 0;
  color: rgba(63, 70, 88, 0.66);
  text-align: center;
  font-size: 12px;
  line-height: 1.7;
}

.quiz {
  padding: 12px;
}

.quiz-shell {
  min-height: calc(100svh - 24px);
  display: flex;
  flex-direction: column;
  border-radius: 32px;
  background:
    radial-gradient(circle at 95% 0%, rgba(255, 173, 39, 0.12), transparent 24%),
    radial-gradient(circle at 4% 100%, rgba(72, 200, 223, 0.12), transparent 28%),
    rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.quiz-head {
  padding: 24px 18px 16px;
}

.quiz-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.close-btn {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  color: rgba(23, 32, 51, 0.6);
  background: rgba(255, 255, 255, 0.84);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.question-count {
  color: rgba(23, 32, 51, 0.58);
  font-weight: 950;
}

.progress-grid {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: 5px;
}

.square {
  aspect-ratio: 1;
  min-width: 0;
  border: 0;
  border-radius: 7px;
  background: rgba(115, 91, 120, 0.12);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.square.done {
  background: linear-gradient(135deg, #7d5df4, #d95b9f);
}

.square.current {
  box-shadow: inset 0 0 0 3px #342044, 0 8px 18px rgba(52, 32, 68, 0.16);
}

.question-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 28px 22px 22px;
}

.section-label {
  margin: 0 0 18px;
  color: var(--rose);
  font-size: 13px;
  letter-spacing: 0.18em;
  font-weight: 950;
}

.question-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 8vw, 39px);
  line-height: 1.22;
  font-weight: 950;
}

.question-hint {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.answers {
  display: grid;
  gap: 12px;
  margin: 28px 0 18px;
}

.answer {
  width: 100%;
  min-height: 78px;
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 24px;
  border: 1px solid rgba(23, 32, 51, 0.09);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 26px rgba(57, 35, 122, 0.06);
  text-align: left;
  cursor: pointer;
}

.answer b {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: var(--violet-dark);
  background: rgba(132, 88, 245, 0.12);
  font-size: 19px;
  font-weight: 950;
}

.answer span {
  font-size: 16px;
  line-height: 1.45;
  font-weight: 850;
}

.answer.selected {
  color: white;
  background: linear-gradient(135deg, var(--violet-dark), var(--rose));
  box-shadow: 0 18px 38px rgba(132, 88, 245, 0.24);
}

.answer.selected b {
  color: white;
  background: rgba(255, 255, 255, 0.18);
}

.quiz-actions {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10px;
  margin-top: auto;
}

.toast {
  min-height: 34px;
  margin-top: 10px;
  color: var(--rose);
  text-align: center;
  font-size: 13px;
  font-weight: 900;
}

.loading {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #8a62ff, #a56eff 52%, #6bcde7);
  color: white;
}

.loading-card {
  width: min(100%, 360px);
  text-align: center;
}

.heart {
  width: 92px;
  height: 92px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.17);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  font-size: 42px;
}

.loading h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.2;
}

.loading p {
  margin: 13px 0 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.7;
}

.analysis-box {
  padding: 18px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  text-align: left;
}

.loading-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 850;
}

.spin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.36);
  border-top-color: white;
  animation: spin 0.8s linear infinite;
}

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

.report {
  padding: 0 0 22px;
  background:
    linear-gradient(rgba(132, 88, 245, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132, 88, 245, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #f4efff, #f9fbff 48%, #fff7fb);
  background-size: 34px 34px, 34px 34px, auto;
}

.report-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 54px;
  display: grid;
  grid-template-columns: 54px 1fr 54px;
  align-items: center;
  padding: 0 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(23, 32, 51, 0.06);
}

.icon-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.report-nav h1 {
  margin: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 850;
}

.report-hero {
  padding: 22px 18px 18px;
  background: linear-gradient(135deg, #7a4df2, #9c6dff 55%, #55cce3);
  color: white;
  text-align: center;
}

.report-hero h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.2;
  font-weight: 950;
}

.report-hero p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.summary-card {
  position: relative;
  margin: -18px 16px 16px;
  padding: 22px 18px;
  display: grid;
  grid-template-columns: 132px 1fr;
  align-items: center;
  gap: 17px;
  border-radius: 28px;
  background: var(--paper-strong);
  box-shadow: 0 18px 48px rgba(57, 35, 122, 0.12);
}

.score-ring {
  --p: 70%;
  width: 126px;
  height: 126px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--violet) var(--p), #eee9ff 0);
}

.score-ring::before {
  content: "";
  position: absolute;
}

.score-inner {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: var(--violet);
  box-shadow: inset 0 0 0 1px rgba(132, 88, 245, 0.1);
}

.score-inner strong {
  display: block;
  font-size: 36px;
  line-height: 1;
  font-weight: 950;
}

.score-inner span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.summary-text .type-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--violet-dark);
  background: rgba(132, 88, 245, 0.12);
  font-size: 14px;
  font-weight: 950;
}

.summary-text h3 {
  margin: 14px 0 8px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.15;
  font-weight: 950;
}

.summary-text p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.75;
  font-weight: 700;
}

.section {
  margin: 14px 16px 0;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 38px rgba(57, 35, 122, 0.08);
  overflow: hidden;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 17px 18px;
  border-bottom: 1px solid rgba(23, 32, 51, 0.06);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 950;
}

.section-title i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 13px;
  color: white;
  background: linear-gradient(135deg, var(--violet), #a66cff);
  font-style: normal;
  font-size: 17px;
}

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

.chart-wrap {
  padding: 22px 8px 18px;
  text-align: center;
}

.radar {
  width: min(100%, 356px);
  height: auto;
  overflow: visible;
}

.legend {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.legend i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 5px;
}

.dim-list {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.dim-row {
  display: grid;
  grid-template-columns: 34px 88px 1fr 70px;
  align-items: center;
  gap: 9px;
}

.letter {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 11px;
  color: white;
  font-size: 14px;
  font-weight: 950;
}

.dim-row b {
  font-size: 14px;
  font-weight: 900;
}

.bar {
  height: 10px;
  border-radius: 999px;
  background: #edf0f7;
  overflow: hidden;
}

.bar i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--rose));
}

.level {
  justify-self: end;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(132, 88, 245, 0.12);
  color: var(--violet-dark);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.type-card,
.deep-card,
.career-card,
.plan-card,
.combo-card {
  padding: 18px;
}

.type-card h3,
.deep-card h3,
.career-card h3,
.plan-card h3,
.combo-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.22;
  font-weight: 950;
}

.type-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.type-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--violet-dark);
  background: rgba(132, 88, 245, 0.11);
  font-size: 13px;
  font-weight: 900;
}

.copy {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.9;
  font-weight: 700;
}

.quote {
  margin: 16px 0;
  padding: 14px 16px;
  border-radius: 18px;
  color: #9c5a07;
  background: linear-gradient(90deg, rgba(255, 173, 39, 0.16), rgba(255, 255, 255, 0.75));
  border-left: 4px solid var(--amber);
  font-size: 16px;
  font-weight: 950;
}

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

.bullet-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 750;
}

.bullet-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--mint);
  font-weight: 950;
}

.career-list,
.plan-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.career-item,
.plan-item {
  padding: 14px;
  border-radius: 18px;
  background: rgba(248, 246, 255, 0.86);
  border: 1px solid rgba(132, 88, 245, 0.1);
}

.career-item strong,
.plan-item strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
}

.career-item p,
.plan-item p {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.65;
  font-weight: 700;
}

.mini-bar {
  width: 92px;
  height: 8px;
  border-radius: 999px;
  background: rgba(63, 141, 247, 0.12);
  overflow: hidden;
}

.mini-bar i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.warning {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 173, 39, 0.1);
  border: 1px solid rgba(255, 173, 39, 0.22);
}

.report-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px;
}

@media (max-width: 380px) {
  .screen {
    padding: 10px;
  }

  .home-card {
    min-height: calc(100svh - 20px);
    padding: 20px 16px 16px;
    border-radius: 28px;
  }

  .hero-main {
    padding-top: 26px;
  }

  .stat-grid {
    gap: 6px;
  }

  .stat-card {
    min-height: 72px;
  }

  .stat-card strong {
    font-size: 19px;
  }

  .talent-orbit {
    height: 154px;
    margin-top: 18px;
  }

  .orbit-center {
    inset: 34px 92px;
    font-size: 24px;
  }

  .talent-chip {
    font-size: 11px;
    padding: 0 9px;
  }

  .summary-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .dim-row {
    grid-template-columns: 30px 74px 1fr 58px;
    gap: 7px;
  }
}

/* v2 mobile-first layout */
.home-card-v2 {
  min-height: calc(100svh - 28px);
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 255, 255, 0.98), transparent 26%),
    radial-gradient(circle at 88% 12%, rgba(255, 207, 117, 0.52), transparent 28%),
    radial-gradient(circle at 0% 100%, rgba(72, 200, 223, 0.22), transparent 30%),
    linear-gradient(rgba(132, 88, 245, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132, 88, 245, 0.052) 1px, transparent 1px),
    linear-gradient(160deg, #ffffff, #f7f2ff 52%, #fff9ed);
  background-size: auto, auto, auto, 36px 36px, 36px 36px, auto;
}

.home-card-v2::before {
  content: "";
  position: absolute;
  inset: auto -42px -78px auto;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(132, 88, 245, 0.2), rgba(72, 200, 223, 0.18));
}

.home-card-v2 .nav-mini {
  position: relative;
  z-index: 2;
  color: rgba(23, 32, 51, 0.62);
  font-size: 13px;
}

.home-v2-main {
  position: relative;
  z-index: 2;
  padding: 26px 0 0;
  text-align: left;
}

.home-v2-main .pill {
  min-height: 32px;
  padding: 0 13px;
  color: #5833dd;
  background: rgba(132, 88, 245, 0.13);
  font-size: 12px;
}

.home-v2-main h1 {
  margin: 16px 0 0;
  color: var(--ink);
  font-size: clamp(48px, 14vw, 72px);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: 0;
}

.home-v2-main h1 span {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 12px 9px;
  border-radius: 20px;
  color: white;
  background: linear-gradient(135deg, #7358f7, #4fc5e0);
  box-shadow: 0 20px 46px rgba(87, 79, 226, 0.26);
}

.home-v2-main p {
  margin: 18px 0 0;
  color: rgba(63, 70, 88, 0.9);
  font-size: 16px;
  line-height: 1.72;
  font-weight: 850;
}

.home-v2-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  margin: 22px 0 14px;
  padding: 14px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(57, 35, 122, 0.1);
}

.gift-core {
  min-height: 116px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 22px;
  color: white;
  background: linear-gradient(135deg, #6b47ed, #58c3e8);
}

.gift-core strong {
  font-size: 46px;
  line-height: 1;
  font-weight: 950;
}

.gift-core span {
  margin-top: 5px;
  font-size: 13px;
  font-weight: 900;
}

.gift-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.gift-list span {
  display: flex;
  align-items: center;
  min-height: 31px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 0 0 1px rgba(132, 88, 245, 0.09);
  font-size: 12px;
  font-weight: 900;
}

.gift-list span::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 999px;
  background: var(--c);
}

.home-v2-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: auto 0 14px;
}

.home-v2-stats div {
  min-height: 72px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.home-v2-stats b {
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  font-weight: 950;
}

.home-v2-stats span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.home-card-v2 .primary-btn {
  position: relative;
  z-index: 2;
}

.quiz-shell-v2 {
  min-height: calc(100svh - 24px);
  background:
    radial-gradient(circle at 0% 0%, rgba(72, 200, 223, 0.18), transparent 30%),
    radial-gradient(circle at 98% 0%, rgba(255, 211, 119, 0.28), transparent 30%),
    rgba(255, 255, 255, 0.92);
}

.quiz-shell-v2 .quiz-head {
  padding: 16px 15px 12px;
}

.quiz-shell-v2 .quiz-top {
  margin-bottom: 13px;
}

.quiz-shell-v2 .close-btn {
  width: 42px;
  height: 42px;
  font-size: 28px;
}

.quiz-shell-v2 .question-count {
  font-size: 16px;
}

.quiz-shell-v2 .progress-grid {
  gap: 4px;
}

.quiz-shell-v2 .square {
  border-radius: 999px;
}

.quiz-shell-v2 .square.current {
  box-shadow: inset 0 0 0 3px #2d1637, 0 6px 14px rgba(45, 22, 55, 0.14);
}

.quiz-shell-v2 .question-area {
  padding: 18px 22px 14px;
}

.quiz-shell-v2 .section-label {
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
}

.quiz-shell-v2 .question-title {
  font-size: clamp(25px, 7vw, 32px);
  line-height: 1.18;
}

.quiz-shell-v2 .question-hint {
  display: none;
}

.quiz-shell-v2 .answers {
  gap: 9px;
  margin: 18px 0 12px;
}

.quiz-shell-v2 .answer {
  min-height: 58px;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  padding: 8px 13px;
  border-radius: 19px;
}

.quiz-shell-v2 .answer b {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  font-size: 18px;
}

.quiz-shell-v2 .answer span {
  font-size: 15px;
}

.quiz-shell-v2 .quiz-actions {
  gap: 9px;
}

.quiz-shell-v2 .primary-btn,
.quiz-shell-v2 .ghost-btn {
  min-height: 48px;
}

.quiz-shell-v2 .toast {
  min-height: 22px;
  margin-top: 6px;
  font-size: 12px;
}

.insight-section {
  padding-bottom: 16px;
}

.insight-grid {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.insight-card {
  padding: 15px;
  border-radius: 19px;
  background: linear-gradient(135deg, rgba(248, 246, 255, 0.96), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(132, 88, 245, 0.1);
}

.insight-card h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 950;
}

.insight-card h3 span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(132, 88, 245, 0.12);
}

.insight-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.insight-card li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 750;
}

.insight-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--mint);
  font-weight: 950;
}

.insight-section .warning {
  margin: 0 16px;
}

@media (max-width: 380px) {
  .home-card-v2 {
    padding: 17px 15px 14px;
  }

  .home-v2-main {
    padding-top: 20px;
  }

  .home-v2-main h1 {
    font-size: clamp(42px, 13vw, 56px);
  }

  .home-v2-main p {
    font-size: 14px;
    line-height: 1.62;
  }

  .home-v2-panel {
    grid-template-columns: 92px 1fr;
    gap: 9px;
    padding: 11px;
    margin-top: 16px;
  }

  .gift-core {
    min-height: 104px;
  }

  .gift-core strong {
    font-size: 39px;
  }

  .gift-list {
    gap: 6px;
  }

  .gift-list span {
    min-height: 27px;
    font-size: 11px;
    padding: 0 7px;
  }

  .home-v2-stats div {
    min-height: 62px;
  }

  .quiz-shell-v2 .question-area {
    padding: 14px 16px 12px;
  }

  .quiz-shell-v2 .question-title {
    font-size: 24px;
  }

  .quiz-shell-v2 .answer {
    min-height: 54px;
  }
}

/* final mobile homepage tune + report long-shot mode */
body.capture-mode {
  background: #f7f4ff;
}

body.capture-mode .report-nav,
body.capture-mode .report-actions {
  display: none;
}

body.capture-mode .report {
  padding-top: 0;
}

body.capture-mode .report-hero {
  padding-top: 28px;
}

body.capture-mode .section,
body.capture-mode .summary-card {
  box-shadow: none;
}

body.capture-mode .report::after {
  content: "长图截图模式";
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 50;
  padding: 8px 12px;
  border-radius: 999px;
  color: white;
  background: rgba(23, 32, 51, 0.72);
  font-size: 12px;
  font-weight: 900;
  pointer-events: none;
}

.home-card-v2 {
  padding-top: 18px;
}

.home-v2-main {
  padding-top: 18px;
}

.home-v2-main h1 {
  margin-top: 13px;
  font-size: clamp(40px, 11.2vw, 56px);
  line-height: 1;
}

.home-v2-main h1 span {
  margin-top: 6px;
  padding: 2px 10px 7px;
  border-radius: 18px;
}

.home-v2-main p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.6;
}

.home-v2-panel {
  grid-template-columns: 96px 1fr;
  gap: 10px;
  margin: 16px 0 12px;
  padding: 12px;
  border-radius: 24px;
}

.gift-core {
  min-height: 112px;
  border-radius: 20px;
}

.gift-core strong {
  font-size: 41px;
}

.gift-list {
  gap: 7px;
}

.gift-list span {
  min-height: 28px;
  padding: 0 8px;
  font-size: 11px;
}

.home-v2-stats {
  gap: 8px;
  margin-bottom: 12px;
}

.home-v2-stats div {
  min-height: 64px;
  border-radius: 18px;
}

.home-v2-stats b {
  font-size: 20px;
}

.home-card-v2 .primary-btn {
  min-height: 50px;
}

.home-card-v2 .notice {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 380px) {
  .home-card-v2 {
    padding: 14px 14px 12px;
  }

  .home-v2-main {
    padding-top: 14px;
  }

  .home-v2-main h1 {
    font-size: clamp(36px, 11.2vw, 46px);
  }

  .home-v2-main p {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.54;
  }

  .home-v2-panel {
    grid-template-columns: 84px 1fr;
    gap: 8px;
    padding: 9px;
    margin-top: 13px;
    margin-bottom: 10px;
  }

  .gift-core {
    min-height: 96px;
  }

  .gift-core strong {
    font-size: 35px;
  }

  .gift-list span {
    min-height: 24px;
    font-size: 10px;
    padding: 0 6px;
  }

  .home-v2-stats div {
    min-height: 56px;
  }

  .home-v2-stats b {
    font-size: 18px;
  }

  .home-card-v2 .primary-btn {
    min-height: 46px;
  }
}
