:root {
  --ink: #05050a;
  --ink-soft: #0b0710;
  --paper: #ffffff;
  --muted: #aaa6b2;
  --line: rgba(255, 255, 255, 0.12);
  --pink: #ff0b6b;
  --rose: #f92e66;
  --orchid: #e520b0;
  --coral: #f85845;
}

* { box-sizing: border-box; }

html {
  background: var(--ink);
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button { font: inherit; }

.app-shell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% -10%, rgba(229, 32, 176, .14), transparent 33%),
    linear-gradient(160deg, #090713 0%, #08050b 48%, #030305 100%);
}

.app-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

.intro-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 38px 20px 84px;
}

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

.ambient-one {
  width: 360px;
  height: 360px;
  top: -150px;
  right: -160px;
  background: rgba(255, 11, 107, .26);
}

.ambient-two {
  width: 300px;
  height: 300px;
  left: -180px;
  bottom: 6%;
  background: rgba(117, 46, 229, .17);
}

.intro-card {
  position: relative;
  z-index: 2;
  width: min(100%, 520px);
  padding: 42px 28px 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  box-shadow: 0 34px 90px rgba(0,0,0,.48), inset 0 1px rgba(255,255,255,.08);
  backdrop-filter: blur(22px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.68);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--coral), var(--pink), var(--orchid));
}

.intro-symbol {
  width: 88px;
  height: 88px;
  margin: 52px auto 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: #ff5b91;
  font-size: 70px;
  font-weight: 200;
  line-height: 1;
  box-shadow: 0 0 54px rgba(255,11,107,.2), inset 0 0 30px rgba(229,32,176,.08);
}

.intro-card h1 {
  margin: 0;
  font-size: clamp(35px, 8vw, 52px);
  line-height: 1.13;
  letter-spacing: -.045em;
  font-weight: 720;
}

.intro-card h1 em {
  color: transparent;
  background: linear-gradient(90deg, #ff795f, #ff2d78 52%, #e84cc8);
  background-clip: text;
  font-style: normal;
}

.lead {
  margin: 22px 0 25px;
  max-width: 410px;
  color: rgba(255,255,255,.72);
  font-size: 16px;
  line-height: 1.7;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.5);
  font-size: 12px;
}

.feature-row i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
}

.primary-button {
  width: 100%;
  min-height: 56px;
  margin-top: 30px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border: 0;
  border-radius: 16px;
  color: white;
  background: linear-gradient(270deg, var(--orchid) 3%, var(--pink) 46%, var(--coral));
  box-shadow: 0 16px 36px rgba(255,11,107,.22), inset 0 1px rgba(255,255,255,.26);
  font-size: 16px;
  font-weight: 720;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.primary-button:active { transform: scale(.98); }
.primary-button:hover { box-shadow: 0 18px 44px rgba(255,11,107,.32), inset 0 1px rgba(255,255,255,.3); }
.primary-button b { font-size: 20px; font-weight: 400; }

.fine-print {
  margin: 17px auto 0;
  color: rgba(255,255,255,.38);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

.bottom-whisper {
  position: absolute;
  bottom: 28px;
  left: 20px;
  right: 20px;
  color: rgba(255,255,255,.28);
  font-size: 11px;
  letter-spacing: .08em;
  text-align: center;
}

.quiz-shell { padding: 0 20px 60px; }
.quiz-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(249,46,102,.07);
  filter: blur(90px);
}

.quiz-header {
  position: relative;
  z-index: 2;
  width: min(100%, 600px);
  margin: 0 auto;
  padding: 28px 0 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-button {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.78);
  font-size: 18px;
  cursor: pointer;
}

.progress-wrap { flex: 1; }
.progress-copy { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 9px; }
.progress-copy span { color: rgba(255,255,255,.44); font-size: 11px; letter-spacing: .08em; }
.progress-copy strong { font-size: 16px; font-weight: 650; }
.progress-copy small { color: rgba(255,255,255,.32); font-size: 11px; font-weight: 450; }
.progress-track { height: 3px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.08); }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--coral), var(--pink), var(--orchid)); transition: width .35s ease; }

.question-card {
  position: relative;
  z-index: 2;
  width: min(100%, 600px);
  min-height: 630px;
  margin: 0 auto;
  padding: 42px 30px 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(150deg, rgba(255,255,255,.07), rgba(255,255,255,.018));
  box-shadow: 0 30px 80px rgba(0,0,0,.46), inset 0 1px rgba(255,255,255,.06);
  backdrop-filter: blur(22px);
}

.dimension-chip {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid rgba(249,46,102,.24);
  border-radius: 999px;
  color: #ff6d91;
  background: rgba(249,46,102,.08);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .08em;
}

.dimension-chip.quiet {
  border-color: rgba(255,255,255,.1);
  color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.04);
  letter-spacing: .04em;
  font-weight: 550;
}

.intro-actions {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.intro-actions .primary-button { margin-top: 0; }
.intro-actions .ghost-button { margin-top: 0; }

.last-submit {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
}

.last-submit p {
  margin: 0 0 12px;
  color: rgba(255,255,255,.45);
  font-size: 12px;
  line-height: 1.6;
}

.last-submit .primary-button { margin-top: 0; }

.secondary-pill.dual {
  border-color: color-mix(in srgb, var(--persona) 40%, transparent);
  color: rgba(255,255,255,.82);
  background: color-mix(in srgb, var(--persona) 12%, transparent);
}

.dual-note {
  max-width: 480px;
  margin: 16px auto 0;
  color: rgba(255,255,255,.48);
  font-size: 13px;
  line-height: 1.7;
}

.secondary-blurb {
  margin-top: 18px !important;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.secondary-blurb strong { color: var(--persona); }

.keyword-alt {
  position: relative;
  margin: 10px 0 0 !important;
  color: rgba(255,255,255,.55) !important;
  font-size: 13px !important;
}

.feedback-card .feedback-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.feedback-card .feedback-row button {
  min-height: 44px;
  padding: 8px 4px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.035);
  font-size: 11px;
  cursor: pointer;
}

.feedback-card .feedback-row button.selected,
.feedback-card .feedback-row button:hover {
  border-color: color-mix(in srgb, var(--persona) 55%, transparent);
  color: white;
  background: color-mix(in srgb, var(--persona) 18%, transparent);
}

.feedback-thanks {
  margin-top: 14px !important;
  color: var(--persona) !important;
  font-size: 13px !important;
}

.hero-nail {
  max-width: 540px;
  margin: 22px auto 0;
  color: rgba(255,255,255,.72);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 500;
}

.fit-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.fit-row h2 { margin-top: 10px; flex: 1; }

.fit-score {
  flex: 0 0 auto;
  min-width: 52px;
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--persona) 40%, transparent);
  color: var(--persona);
  background: color-mix(in srgb, var(--persona) 12%, transparent);
  font-size: 22px;
  font-weight: 750;
  text-align: center;
}

.fit-blurb {
  margin: 0 0 14px !important;
  color: rgba(255,255,255,.48) !important;
  font-size: 13px !important;
}

.prose {
  margin: 0 0 14px !important;
  color: rgba(255,255,255,.72) !important;
  font-size: 15px !important;
  line-height: 1.9 !important;
}

.prose:last-child { margin-bottom: 0 !important; }

.prose.muted {
  margin-top: 16px !important;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.52) !important;
  font-size: 14px !important;
}

.scene-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.scene-list li {
  position: relative;
  padding: 14px 16px 14px 18px;
  border-left: 2px solid var(--persona);
  border-radius: 0 12px 12px 0;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.03);
  font-size: 14px;
  line-height: 1.75;
}

.dim-story {
  display: grid;
  gap: 4px;
  margin: 8px 0 22px;
}

.shadow-card {
  border-color: color-mix(in srgb, var(--persona) 22%, transparent);
}

.eval-card .prose { margin-top: 4px !important; }

.question-card h2 {
  min-height: 108px;
  margin: 27px 0 12px;
  font-size: clamp(25px, 6vw, 34px);
  line-height: 1.45;
  letter-spacing: -.03em;
  font-weight: 680;
}

.question-hint { margin: 0 0 27px; color: rgba(255,255,255,.42); font-size: 12px; line-height: 1.6; }
.answers { display: grid; gap: 10px; }
.answers button {
  width: 100%;
  min-height: 58px;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: 32px 1fr 20px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 15px;
  color: rgba(255,255,255,.76);
  background: rgba(255,255,255,.035);
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.answers button.selected {
  border-color: rgba(255,64,127,.55);
  background: rgba(249,46,102,.1);
  transform: translateX(3px);
}
.answers button:active {
  border-color: rgba(255,64,127,.4);
  background: rgba(249,46,102,.08);
}
/* 仅真鼠标设备保留 hover，避免微信/iOS 点选后 :hover 粘住 */
@media (hover: hover) and (pointer: fine) {
  .answers button:hover {
    border-color: rgba(255,64,127,.55);
    background: rgba(249,46,102,.1);
    transform: translateX(3px);
  }
}
.answer-dot { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: rgba(255,255,255,.48); background: rgba(255,255,255,.06); font-size: 11px; }
.answers button.selected .answer-dot { color: white; background: linear-gradient(135deg, var(--coral), var(--pink)); }
.answers button b { color: rgba(255,255,255,.28); font-size: 20px; font-weight: 300; }

.is-calculating { display: grid; place-items: center; }
.calculating { max-width: 420px; text-align: center; }
.calculating .eyebrow { justify-content: center; }
.calculating h2 { min-height: 0; margin: 30px 0 15px; }
.calculating p { color: rgba(255,255,255,.5); line-height: 1.8; }
.orb { position: relative; width: 130px; height: 130px; margin: 0 auto 45px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; animation: breathe 1.8s ease-in-out infinite; }
.orb::before { content: ""; position: absolute; inset: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff8e6d, #ff166e 48%, #7d2be6); filter: blur(2px); box-shadow: 0 0 48px rgba(255,11,107,.42); }
.orb span { position: absolute; inset: -1px; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; animation: orbit 2.8s linear infinite; }
.orb span:nth-child(2) { inset: -14px 14px; animation-duration: 3.5s; }
.orb span:nth-child(3) { inset: 14px -14px; animation-direction: reverse; }

@keyframes breathe { 50% { transform: scale(1.06); } }
@keyframes orbit { to { transform: rotate(360deg); } }

.result-shell { --persona: #f92e66; --persona-2: #f85845; padding-bottom: 80px; }
.result-glow { position: absolute; top: -80px; left: 50%; width: 420px; height: 420px; transform: translateX(-50%); border-radius: 50%; background: color-mix(in srgb, var(--persona) 14%, transparent); filter: blur(90px); opacity: .85; }
/* 结果头图：去 AI 光球符号，改成人话排版 */
.result-hero { position: relative; z-index: 2; width: min(100%, 720px); min-height: auto; margin: 0 auto; padding: 36px 22px 28px; display: flex; flex-direction: column; align-items: stretch; text-align: left; }
.result-hero-plain { max-width: 520px; margin-left: auto; margin-right: auto; }
.result-done { margin: 0 0 18px; color: rgba(255,255,255,.45); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.result-plain-label { margin: 0 0 8px; color: rgba(255,255,255,.55); font-size: 15px; }
.result-hero h1 { margin: 0; color: #fff; background: none; font-size: clamp(40px, 11vw, 56px); line-height: 1.15; letter-spacing: -.03em; font-weight: 780; }
.result-also { margin: 12px 0 0; color: rgba(255,255,255,.55); font-size: 15px; line-height: 1.5; }
.result-say { margin-top: 22px; padding: 16px 16px 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); background: rgba(0,0,0,.28); }
.result-say-soft { background: rgba(255,255,255,.03); }
.result-say-k { margin: 0 0 8px !important; color: var(--persona) !important; font-size: 12px !important; font-weight: 700; letter-spacing: .06em; }
.result-say p { margin: 0; color: rgba(255,255,255,.88); font-size: 16px; line-height: 1.7; font-weight: 500; }
.result-hint { margin: 18px 0 0; color: rgba(255,255,255,.35); font-size: 12px; line-height: 1.5; }
.pair-note { margin: 12px 0 0 !important; color: rgba(255,255,255,.38) !important; font-size: 12px !important; line-height: 1.55 !important; }
.result-hero .eyebrow { justify-content: flex-start; }
.result-symbol { display: none; } /* 旧光球符号下线 */
.result-label { display: none; }
.tagline { max-width: 570px; margin: 25px auto 0; color: rgba(255,255,255,.82); font-size: 18px; line-height: 1.75; }
.secondary-pill { display: none; }

.result-content { position: relative; z-index: 2; width: min(calc(100% - 32px), 720px); margin: 0 auto; display: grid; gap: 16px; }
.glass-card { position: relative; overflow: hidden; padding: 28px 24px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.022)); box-shadow: inset 0 1px rgba(255,255,255,.05); }
.glass-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -110px; top: -100px; border-radius: 50%; background: color-mix(in srgb, var(--persona) 13%, transparent); filter: blur(35px); }
.section-number { color: var(--persona); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.glass-card h2, .follow-card h2 { margin: 10px 0 15px; font-size: 23px; line-height: 1.35; letter-spacing: -.025em; }
.glass-card p { margin: 0; color: rgba(255,255,255,.65); font-size: 15px; line-height: 1.85; }
.quote-line { margin-top: 24px; padding: 18px; border-left: 2px solid var(--persona); color: rgba(255,255,255,.86); background: rgba(255,255,255,.025); font-size: 14px; line-height: 1.75; }
.quote-line span { color: var(--persona); font-size: 18px; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.section-heading > span { color: rgba(255,255,255,.32); font-size: 10px; }
.dimension-list { display: grid; gap: 21px; margin-top: 25px; }
.dimension-copy { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 10px; margin-bottom: 9px; }
.dimension-copy strong { font-size: 13px; }
.dimension-copy span { overflow: hidden; color: rgba(255,255,255,.4); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.dimension-copy b { color: var(--persona); font-size: 13px; }
.dimension-track { height: 6px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.07); }
.dimension-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--persona-2), var(--persona)); box-shadow: 0 0 18px color-mix(in srgb, var(--persona) 45%, transparent); }
.practice { margin-top: 22px; padding: 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; color: rgba(255,255,255,.7); background: rgba(255,255,255,.025); font-size: 13px; line-height: 1.75; }
.practice span { display: block; margin-bottom: 4px; color: var(--persona); font-size: 10px; font-weight: 700; letter-spacing: .12em; }

.follow-card { position: relative; overflow: hidden; padding: 32px 24px; border: 1px solid color-mix(in srgb, var(--persona) 36%, transparent); border-radius: 22px; background: linear-gradient(145deg, color-mix(in srgb, var(--persona) 16%, #08070c), rgba(255,255,255,.025)); text-align: center; }
.follow-card::before { content: ""; position: absolute; inset: auto -80px -150px; height: 280px; background: radial-gradient(circle, color-mix(in srgb, var(--persona) 30%, transparent), transparent 65%); }
.follow-kicker { color: var(--persona); font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.follow-card p { margin: 19px 0 8px; color: rgba(255,255,255,.5); font-size: 12px; }
.keyword { position: relative; display: inline-flex; padding: 10px 24px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: white; background: rgba(0,0,0,.24); font-size: 22px; font-weight: 720; letter-spacing: .18em; }
.follow-card small { position: relative; display: block; margin-top: 18px; color: rgba(255,255,255,.4); line-height: 1.6; }
.result-actions { padding-top: 10px; }
.result-actions .primary-button { margin-top: 0; background: linear-gradient(270deg, var(--persona), var(--persona-2)); }
.ghost-button { width: 100%; min-height: 50px; margin-top: 10px; border: 1px solid rgba(255,255,255,.09); border-radius: 15px; color: rgba(255,255,255,.55); background: rgba(255,255,255,.025); cursor: pointer; }
.result-disclaimer { margin: 12px 10px 0; color: rgba(255,255,255,.28); font-size: 10px; line-height: 1.6; text-align: center; }





.modal-close { position: fixed; top: 18px; right: 18px; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; color: white; background: rgba(255,255,255,.06); font-size: 24px; cursor: pointer; }

@media (min-width: 720px) {
  .intro-card { padding: 52px 52px 38px; }
  .question-card { padding: 54px 56px 40px; }
  .glass-card, .follow-card { padding: 34px 36px; }
}

@media (max-width: 430px) {
  .intro-shell { padding-left: 14px; padding-right: 14px; }
  .intro-card { padding: 34px 22px 26px; border-radius: 24px; }
  .intro-symbol { width: 76px; height: 76px; margin-top: 43px; font-size: 60px; }
  .lead { font-size: 14px; }
  .feature-row { gap: 7px; font-size: 10px; }
  .quiz-shell { padding: 0 12px 36px; }
  .quiz-header { padding-top: 18px; }
  .question-card { min-height: calc(100svh - 106px); padding: 32px 20px 24px; border-radius: 24px; }
  .question-card h2 { min-height: 98px; margin-top: 22px; font-size: 24px; }
  .answers button { min-height: 55px; }
  .result-hero { min-height: auto; padding-top: 28px; padding-bottom: 20px; }
  .result-hero h1 { font-size: clamp(36px, 12vw, 48px); }
  .result-say p { font-size: 15px; }
}

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

.script-steps {
  margin: 8px 0 0 1.1em;
  padding: 0;
  color: rgba(255,255,255,.75);
  font-size: 14px;
  line-height: 1.75;
}
.script-steps li { margin: 6px 0; }
.script-card .practice { text-align: left; }

/* Share card modal — WeChat long-press friendly */
.share-modal {
  position: fixed;
  z-index: 40;
  inset: 0;
  padding: 16px 16px 28px;
  display: grid;
  place-items: center;
  overflow-y: auto;
  background: rgba(0,0,0,.92);
  -webkit-overflow-scrolling: touch;
}
.share-modal-inner {
  width: min(100%, 400px);
  text-align: center;
  padding: 12px 0 24px;
}
.share-modal img,
#share-img {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  max-height: none;
  margin: 10px auto;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
  background: #111;
  /* 关键：允许微信长按保存图片 */
  -webkit-touch-callout: default !important;
  -webkit-user-select: auto !important;
  user-select: auto !important;
  pointer-events: auto !important;
}
.share-tip-top {
  margin: 0 0 8px;
  color: #ff6d91;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}
.share-tip-bottom {
  margin: 10px 8px 0;
  color: rgba(255,255,255,.5);
  font-size: 12px;
  line-height: 1.55;
}
.share-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 0 8px;
}
.share-actions .primary-button,
.share-actions .ghost-button {
  margin-top: 0;
}
.share-loading {
  color: #fff;
  font-size: 16px;
  padding: 40px 20px;
}

.question-card .answers { animation: answerIn .18s ease; }
@keyframes answerIn {
  from { opacity: .35; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* WeChat share guide (cannot open contact list from H5) */
.share-guide-mask {
  position: fixed;
  z-index: 60;
  inset: 0;
  background: rgba(0,0,0,.82);
  display: grid;
  place-items: start center;
  padding: 72px 18px 24px;
  -webkit-overflow-scrolling: touch;
}
.share-guide-card {
  position: relative;
  width: min(100%, 360px);
  padding: 22px 20px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(160deg, #1a0f18, #0b0a10 70%);
  text-align: left;
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
}
.share-guide-arrow {
  position: absolute;
  top: -52px;
  right: 8px;
  color: #ff6d91;
  font-size: 42px;
  font-weight: 700;
  animation: guidePulse 1.2s ease-in-out infinite;
}
@keyframes guidePulse {
  50% { transform: translate(4px, -4px); opacity: .7; }
}
.share-guide-card h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 720;
}
.share-guide-ok {
  margin: 0 0 12px;
  color: #7dffa8;
  font-size: 13px;
  font-weight: 600;
}
.share-guide-steps {
  margin: 0 0 16px;
  padding-left: 20px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.7;
}
.share-guide-steps li { margin-bottom: 6px; }
.share-guide-card .primary-button { margin-top: 4px; }

/* Gender + persona wear gallery */
.gender-grid {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.gender-card {
  width: 100%;
  min-height: 76px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 4px;
  align-items: center;
  text-align: left;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.04);
  cursor: pointer;
}
.gender-card .gender-badge {
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  color: #ff6d91;
  font-size: 20px;
  background: rgba(255,11,107,.08);
}
.gender-card strong { font-size: 17px; font-weight: 700; }
.gender-card span:last-child { color: rgba(255,255,255,.45); font-size: 12px; grid-column: 2; }
.gender-card.selected, .gender-card:active {
  border-color: rgba(255,64,127,.55);
  background: rgba(249,46,102,.1);
}

.gallery-shell { padding-bottom: 48px; }
.gallery-card { width: min(100%, 560px); }
.persona-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 22px;
}
@media (min-width: 520px) {
  .persona-grid { grid-template-columns: 1fr 1fr; }
}
.persona-pick-card {
  width: 100%;
  min-height: 128px;
  padding: 18px 16px;
  display: grid;
  gap: 6px;
  text-align: left;
  border: 1px solid color-mix(in srgb, var(--persona) 40%, transparent);
  border-radius: 18px;
  color: rgba(255,255,255,.88);
  background:
    radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--persona) 28%, transparent), transparent 55%),
    rgba(255,255,255,.035);
  cursor: pointer;
}
.persona-pick-card .pp-symbol {
  font-size: 28px;
  color: var(--persona);
  line-height: 1;
}
.persona-pick-card .pp-type {
  color: var(--persona);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}
.persona-pick-card strong {
  font-size: 20px;
  font-weight: 780;
  letter-spacing: -.02em;
}
.persona-pick-card .pp-tag {
  color: rgba(255,255,255,.48);
  font-size: 12px;
  line-height: 1.45;
}
.persona-pick-card:active {
  transform: translateY(1px);
  border-color: var(--persona);
}

.wear-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  justify-content: center;
}
.wear-chips span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.7);
  font-size: 12px;
}
.script-steps {
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.65;
}
.script-steps li { margin-bottom: 8px; }
.prose.nail {
  font-size: 17px;
  font-weight: 600;
  color: rgba(255,255,255,.92);
  line-height: 1.55;
}
.prose.muted { color: rgba(255,255,255,.42); font-size: 13px; }

/* creviatech 剧本匹配卡 */
.scene-card .scene-pick {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.25);
}
.scene-pick-main {
  border-color: color-mix(in srgb, var(--persona) 45%, transparent) !important;
  background: color-mix(in srgb, var(--persona) 10%, rgba(0,0,0,.2)) !important;
}
.scene-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--persona) 22%, transparent);
  color: var(--persona);
  font-size: 11px;
  font-weight: 700;
}
.scene-badge.muted {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.45);
}
.scene-pick strong {
  display: block;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -.02em;
}
.scene-line {
  margin: 10px 0 6px !important;
  color: rgba(255,255,255,.88) !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}
.scene-fit {
  margin: 0 !important;
  color: rgba(255,255,255,.45) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}
a.scene-link.primary-button,
a.scene-link.ghost-button {
  display: grid;
  place-items: center;
  text-decoration: none;
  box-sizing: border-box;
}
a.scene-link.ghost-button { margin-top: 10px; }

.scene-cat-row { margin: 0 0 6px !important; color: rgba(255,255,255,.5) !important; font-size: 13px !important; }
.scene-cat-row b { color: rgba(255,255,255,.88); font-weight: 700; }
.scene-sample {
  margin-top: 14px;
  padding: 14px 14px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.22);
}
.scene-sample-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 8px; }
.scene-sample-top strong { font-size: 16px; font-weight: 750; color: #fff; }
.scene-prompt { margin: 0 0 10px !important; color: rgba(255,255,255,.72) !important; font-size: 14px !important; line-height: 1.7 !important; }
.scene-lines { margin: 0; padding-left: 1.1em; color: rgba(255,255,255,.88); font-size: 14px; line-height: 1.65; }
.scene-lines li { margin-bottom: 4px; }

/* 双人合盘 */
.chart-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 14px 0 16px;
}
.chart-pill {
  padding: 10px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.22);
  text-align: center;
}
.chart-pill span {
  display: block;
  color: rgba(255,255,255,.4);
  font-size: 11px;
  margin-bottom: 4px;
}
.chart-pill b {
  color: #fff;
  font-size: 20px;
  font-weight: 750;
}
.chart-roles {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--persona) 10%, rgba(0,0,0,.2));
  border: 1px solid color-mix(in srgb, var(--persona) 28%, transparent);
}
.chart-roles p {
  margin: 0 0 6px !important;
  color: rgba(255,255,255,.78) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}
.chart-roles p:last-child { margin-bottom: 0 !important; }
.pair-table { margin-top: 12px; display: grid; gap: 16px; }
.pair-row {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.pair-row:last-child { border-bottom: 0; padding-bottom: 0; }
.pair-row-h {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.pair-row-h strong { font-size: 15px; }
.pair-row-h span { color: rgba(255,255,255,.45); font-size: 12px; }
.pair-bar-line {
  display: grid;
  grid-template-columns: 28px 1fr 36px;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}
.pair-bar-line i {
  color: rgba(255,255,255,.4);
  font-style: normal;
  font-size: 11px;
}
.pair-bar {
  height: 8px;
  border-radius: 99px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.pair-bar em {
  display: block;
  height: 100%;
  border-radius: inherit;
}
.pair-bar-line b {
  color: rgba(255,255,255,.7);
  font-size: 12px;
  text-align: right;
}
.pair-tip {
  margin: 8px 0 0 !important;
  color: rgba(255,255,255,.5) !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}
@media (max-width: 430px) {
  .chart-summary { grid-template-columns: repeat(2, 1fr); }
}

.howto-ol {
  margin: 12px 0 0;
  padding-left: 1.2em;
  color: rgba(255,255,255,.75);
  font-size: 14px;
  line-height: 1.7;
}
.howto-ol li { margin-bottom: 8px; }
.howto-card .pair-note {
  word-break: break-all;
  margin-top: 12px !important;
}
.saved-pair-item {
  margin-top: 10px;
  width: 100%;
}
