:root {
  color-scheme: dark;
  --font-family-emoji: "Segoe UI Emoji", "Noto Color Emoji", "Apple Color Emoji", "Twemoji Mozilla", "EmojiOne Color";
  --bg: #120d1f;
  --surface: #1e1730;
  --surface-2: #2a2140;
  --line: #44375f;
  --text: #f7f2ff;
  --muted: #c4b8d9;
  --soft: #9686b2;
  --gold: #d8b86d;
  --jade: #8ad8d0;
  --violet: #9b6bff;
  --plum: #6e3fd5;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family:
    Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 0%, rgba(155, 107, 255, 0.24), transparent 30rem),
    radial-gradient(circle at 90% 16%, rgba(138, 216, 208, 0.12), transparent 24rem),
    linear-gradient(180deg, #120d1f 0%, #191129 48%, #100b1b 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.emoji-text,
.archetype-badge,
.report-section-icon,
.full-report-block h4,
.paywall-bullets li,
.loading-stage,
.upsell-badge {
  font-family:
    -apple-system, "PingFang SC", "Microsoft YaHei",
    var(--font-family-emoji),
    sans-serif;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(244, 240, 232, 0.08);
  background: rgba(18, 13, 31, 0.84);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.report-actions,
.consult-tabs,
.modal-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(201, 169, 104, 0.5);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(155, 107, 255, 0.28), rgba(216, 184, 109, 0.14));
  color: var(--gold);
}

.nav {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover,
.topbar-cta:hover {
  color: var(--text);
}

.topbar-cta {
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
}

.hero,
.workflow,
.account-section,
.tool-section,
.consult-section,
.deep-report-section,
.report-detail-section,
.pricing-section,
.legal-section,
.history-section {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 67px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--jade);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.hero-lede {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions,
.report-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
}

.primary {
  background: linear-gradient(135deg, var(--violet), #c59cff);
  color: #100b1b;
}

.secondary {
  border-color: rgba(247, 242, 255, 0.16);
  background: rgba(247, 242, 255, 0.07);
  color: var(--text);
}

.danger {
  border-color: rgba(255, 128, 128, 0.34);
  color: #ffd0d0;
}

.full {
  width: 100%;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin: 38px 0 0;
}

.hero-metrics div {
  padding: 18px;
  border: 1px solid rgba(247, 242, 255, 0.1);
  border-radius: 8px;
  background: rgba(247, 242, 255, 0.05);
}

.hero-metrics dt {
  color: #c59cff;
  font-size: 24px;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-media {
  position: relative;
}

.hero-media img {
  display: block;
  width: 100%;
  min-height: 360px;
  max-height: 68vh;
  object-fit: cover;
  border: 1px solid rgba(197, 156, 255, 0.28);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.steps,
.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.steps article,
.panel,
.plan {
  border: 1px solid rgba(244, 240, 232, 0.1);
  border-radius: 8px;
  background: rgba(30, 23, 48, 0.84);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
}

.steps article {
  padding: 22px;
}

.steps span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--gold);
  font-weight: 800;
}

.steps p,
.plan p,
.prompt-card p,
.revenue-card,
.form-note,
.insight p {
  color: var(--muted);
  line-height: 1.72;
}

.tool-grid,
.consult-layout,
.account-grid {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.panel {
  padding: 24px;
}

.form-panel {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(247, 242, 255, 0.15);
  border-radius: 8px;
  background: #151024;
  color: var(--text);
}

input,
select {
  min-height: 44px;
  padding: 0 12px;
}

textarea {
  min-height: 96px;
  padding: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid rgba(125, 181, 161, 0.75);
  outline-offset: 2px;
}

.form-note {
  margin: 0;
  font-size: 12px;
}

.account-panel,
.account-summary,
.order-panel {
  display: grid;
  gap: 14px;
}

.account-summary {
  align-content: start;
}

.account-summary h3,
.account-summary p {
  margin-bottom: 0;
}

.account-summary p {
  color: var(--muted);
  line-height: 1.7;
}

.auth-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 10px;
}

.auth-actions .button {
  min-width: 0;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.account-stats div {
  min-height: 106px;
  padding: 16px;
  border: 1px solid rgba(197, 156, 255, 0.16);
  border-radius: 8px;
  background: rgba(247, 242, 255, 0.05);
}

.account-stats span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.account-stats strong {
  display: block;
  color: #d7c0ff;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.order-panel {
  grid-column: 1 / -1;
}

.order-header,
.order-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.order-header h3,
.order-header p {
  margin-bottom: 0;
}

.order-list {
  display: grid;
  gap: 12px;
}

.order-item {
  padding: 16px;
  border: 1px solid rgba(247, 242, 255, 0.1);
  border-radius: 8px;
  background: rgba(247, 242, 255, 0.05);
}

.order-item h4 {
  margin-bottom: 8px;
  font-size: 17px;
}

.order-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.order-item small {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 8px;
  border: 1px solid rgba(138, 216, 208, 0.22);
  border-radius: 8px;
  color: var(--jade);
  font-size: 12px;
  font-weight: 800;
}

.order-status {
  display: grid;
  flex: 0 0 auto;
  justify-items: end;
  gap: 8px;
  color: var(--gold);
  font-weight: 800;
}

.report-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.icon-button {
  display: grid;
  flex: 0 0 auto;
  width: 56px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(247, 242, 255, 0.15);
  border-radius: 8px;
  background: rgba(247, 242, 255, 0.07);
  color: var(--text);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.pillar {
  min-height: 124px;
  padding: 16px;
  border: 1px solid rgba(155, 107, 255, 0.28);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(155, 107, 255, 0.15), rgba(247, 242, 255, 0.04));
}

.pillar span {
  color: var(--soft);
  font-size: 12px;
  font-weight: 700;
}

.pillar strong {
  display: block;
  margin-top: 16px;
  color: var(--text);
  font-size: 30px;
}

.analysis-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.analysis-grid div {
  padding: 16px;
  border-radius: 8px;
  background: rgba(138, 216, 208, 0.09);
}

.analysis-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.accuracy-panel {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid rgba(138, 216, 208, 0.18);
  border-radius: 8px;
  background: rgba(138, 216, 208, 0.07);
}

.accuracy-panel[data-level="需复核"] {
  border-color: rgba(216, 184, 109, 0.32);
  background: rgba(216, 184, 109, 0.08);
}

.accuracy-panel div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.accuracy-panel span {
  color: var(--jade);
  font-size: 12px;
  font-weight: 800;
}

.accuracy-panel strong {
  color: var(--gold);
  font-size: 13px;
}

.accuracy-panel p,
.accuracy-panel ul {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.accuracy-panel ul {
  display: grid;
  gap: 6px;
  padding-left: 18px;
  font-size: 13px;
}

.insight {
  padding: 18px;
  border-left: 3px solid var(--jade);
  background: rgba(247, 242, 255, 0.06);
}

.insight h4,
.insight p {
  margin-bottom: 0;
}

.consult-tabs {
  gap: 8px;
  margin-bottom: 18px;
}

.tab {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(247, 242, 255, 0.13);
  border-radius: 999px;
  background: rgba(247, 242, 255, 0.06);
  color: var(--muted);
  cursor: pointer;
}

.tab.active {
  border-color: rgba(197, 156, 255, 0.8);
  color: #d7c0ff;
}

.prompt-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.prompt-card li {
  padding: 0;
}

.prompt-card li button {
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(247, 242, 255, 0.1);
  border-radius: 8px;
  background: rgba(247, 242, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  line-height: 1.6;
}

.prompt-card li button:hover {
  border-color: rgba(197, 156, 255, 0.5);
  background: rgba(155, 107, 255, 0.12);
}

.revenue-card ol {
  padding-left: 20px;
}

.revenue-card li + li {
  margin-top: 10px;
}

.plans {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 24px;
}

.plan span {
  color: var(--jade);
  font-size: 13px;
  font-weight: 800;
}

.plan h3,
.plan p {
  margin-bottom: 0;
}

.price {
  color: var(--text) !important;
  font-size: 38px;
  font-weight: 850;
  line-height: 1;
}

.featured {
  border-color: rgba(197, 156, 255, 0.5);
  background: linear-gradient(180deg, rgba(155, 107, 255, 0.2), rgba(30, 23, 48, 0.9));
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.legal-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(244, 240, 232, 0.1);
  border-radius: 8px;
  background: rgba(30, 23, 48, 0.84);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
}

.legal-card span {
  color: var(--jade);
  font-size: 13px;
  font-weight: 800;
}

.legal-card h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
}

.legal-card p,
.legal-note,
.site-footer p,
.support-box small {
  color: var(--muted);
  line-height: 1.76;
}

.legal-card p {
  margin: 0;
}

.support-box {
  display: grid;
  gap: 10px;
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(247, 242, 255, 0.12);
}

.support-box strong {
  color: var(--text);
}

.support-box .button {
  justify-self: start;
}

.mini-actions,
.compact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.privacy-actions {
  margin-top: 10px;
}

.legal-note {
  max-width: 920px;
  margin: 18px 0 0;
  font-size: 13px;
}

.deep-report-card {
  position: relative;
  overflow: hidden;
}

.deep-report-header,
.detail-header,
.history-header,
.poster-footer,
.checkout-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.report-status {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.status-pill {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid rgba(197, 156, 255, 0.42);
  border-radius: 999px;
  background: rgba(155, 107, 255, 0.12);
  color: #d7c0ff;
  font-size: 12px;
  font-weight: 800;
}

.preview-block {
  margin: 22px 0;
  padding: 20px;
  border: 1px solid rgba(138, 216, 208, 0.18);
  border-radius: 8px;
  background: rgba(138, 216, 208, 0.08);
}

.evidence-section {
  display: grid;
  gap: 14px;
  margin: 22px 0;
}

.evidence-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.evidence-heading span {
  display: block;
  margin-bottom: 8px;
  color: var(--jade);
  font-size: 12px;
  font-weight: 800;
}

.evidence-heading h4,
.evidence-heading p {
  margin-bottom: 0;
}

.evidence-heading p {
  max-width: 520px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.evidence-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.evidence-card {
  display: grid;
  min-height: 210px;
  align-content: start;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(197, 156, 255, 0.18);
  border-radius: 8px;
  background: rgba(247, 242, 255, 0.045);
}

.evidence-card-top,
.evidence-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.evidence-card-top {
  justify-content: space-between;
}

.evidence-card-top span,
.evidence-card-top strong,
.evidence-tags small {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.evidence-card-top span {
  color: var(--gold);
}

.evidence-card-top strong {
  padding: 0 9px;
  background: rgba(216, 184, 109, 0.12);
  color: var(--gold);
}

.evidence-card h4 {
  margin-bottom: 0;
  font-size: 18px;
}

.evidence-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.68;
}

.evidence-value {
  color: var(--text) !important;
  font-weight: 750;
}

.evidence-tags small {
  padding: 0 8px;
  background: rgba(138, 216, 208, 0.1);
  color: var(--jade);
}

.basis-block {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(280px, 1fr);
  gap: 18px;
  margin: 22px 0;
  padding: 20px;
  border: 1px solid rgba(197, 156, 255, 0.2);
  border-radius: 8px;
  background: rgba(247, 242, 255, 0.045);
}

.basis-block span {
  display: block;
  margin-bottom: 8px;
  color: var(--jade);
  font-size: 12px;
  font-weight: 800;
}

.basis-block h4 {
  margin-bottom: 0;
}

.basis-block ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.basis-block li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.basis-block li::before {
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c59cff;
  content: "";
}

.engine-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(300px, 1.2fr);
  gap: 18px;
  align-items: end;
  margin: 22px 0;
  padding: 18px;
  border: 1px solid rgba(197, 156, 255, 0.18);
  border-radius: 8px;
  background: rgba(155, 107, 255, 0.08);
}

.engine-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--jade);
  font-size: 12px;
  font-weight: 800;
}

.engine-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.engine-actions {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto auto;
  gap: 10px;
}

.engine-actions .button {
  min-height: 42px;
  white-space: nowrap;
}

.preview-block span,
.locked-item span,
.history-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--jade);
  font-size: 12px;
  font-weight: 800;
}

.preview-block p,
.locked-item p,
.history-item p,
.history-header p,
.modal-copy {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.72;
}

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

.locked-item {
  min-height: 170px;
  padding: 18px;
  border: 1px solid rgba(247, 242, 255, 0.1);
  border-radius: 8px;
  background: rgba(247, 242, 255, 0.05);
}

.locked-item h4 {
  margin-bottom: 10px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.deep-report-card.locked .locked-item {
  filter: blur(4px);
  user-select: none;
}

.deep-report-card.locked .detail-actions {
  filter: blur(3px);
  pointer-events: none;
  user-select: none;
}

.detail-panel {
  display: grid;
  gap: 22px;
}

.detail-header {
  align-items: flex-start;
}

.detail-header h3,
.detail-header p {
  margin-bottom: 0;
}

.detail-header p,
.detail-body p,
.detail-body li {
  color: var(--muted);
  line-height: 1.72;
}

.detail-header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.share-settings,
.share-gate {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(150px, 0.5fr) minmax(190px, 0.65fr) auto;
  gap: 12px;
  align-items: end;
  padding: 16px;
  border: 1px solid rgba(197, 156, 255, 0.18);
  border-radius: 8px;
  background: rgba(155, 107, 255, 0.08);
}

.share-gate {
  grid-template-columns: minmax(220px, 1fr) minmax(190px, 0.6fr) auto;
  border-color: rgba(216, 184, 109, 0.28);
  background: rgba(216, 184, 109, 0.08);
}

.share-settings span,
.share-gate span {
  display: block;
  margin-bottom: 8px;
  color: var(--jade);
  font-size: 12px;
  font-weight: 800;
}

.share-settings p,
.share-gate p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.engagement-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(87, 209, 181, 0.2);
  border-radius: 8px;
  background: rgba(87, 209, 181, 0.06);
}

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

.engagement-header span,
.engagement-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--jade);
  font-size: 12px;
  font-weight: 800;
}

.engagement-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.engagement-grid {
  display: grid;
  grid-template-columns: minmax(140px, 0.5fr) minmax(220px, 1fr) auto minmax(140px, 0.5fr) auto;
  gap: 12px;
  align-items: end;
}

.engagement-note textarea {
  min-height: 44px;
  resize: vertical;
}

#favorite-report.active {
  border-color: rgba(216, 184, 109, 0.45);
  background: rgba(216, 184, 109, 0.14);
  color: var(--gold);
}

.detail-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.detail-body section {
  min-height: 180px;
  padding: 18px;
  border: 1px solid rgba(247, 242, 255, 0.1);
  border-radius: 8px;
  background: rgba(247, 242, 255, 0.05);
}

.detail-body section:first-child,
.detail-body section:nth-child(2) {
  grid-column: 1 / -1;
}

.detail-body span {
  display: block;
  margin-bottom: 8px;
  color: var(--jade);
  font-size: 12px;
  font-weight: 800;
}

.detail-body ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.locked-overlay {
  display: none;
}

.deep-report-card.locked .locked-overlay {
  position: absolute;
  inset: auto 24px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(197, 156, 255, 0.36);
  border-radius: 8px;
  background: rgba(24, 16, 42, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.locked-overlay p {
  margin: 6px 0 0;
  color: var(--muted);
}

.history-panel {
  display: grid;
  gap: 18px;
}

.history-header {
  align-items: flex-start;
}

.history-list {
  display: grid;
  gap: 12px;
}

.admin-page {
  min-height: 100vh;
}

.admin-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.admin-main .section-heading h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.08;
}

.admin-main .section-heading p:last-child {
  max-width: 680px;
  color: var(--muted);
}

.admin-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.admin-token-card,
.ops-card {
  align-self: start;
}

.admin-token-card h2,
.ops-card h2 {
  margin: 0;
  font-size: 24px;
}

.admin-token-card label,
.ticket-update {
  display: grid;
  gap: 8px;
}

.admin-token-card label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-status {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.ops-card.wide {
  grid-column: 1 / -1;
}

.ops-heading,
.ticket-tools,
.ticket-card-head,
.ticket-meta {
  display: flex;
  align-items: center;
}

.ops-heading {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.ticket-tools {
  flex-wrap: wrap;
  gap: 10px;
}

.check-list,
.metrics-list,
.self-test-grid,
.test-results,
.ticket-list {
  display: grid;
  gap: 12px;
}

.metrics-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bazi-audit-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bazi-audit-form label {
  display: grid;
  gap: 8px;
}

.bazi-audit-form span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.bazi-detail-result,
.bazi-profile-list {
  display: grid;
  gap: 14px;
}

.bazi-detail-head,
.bazi-audit-grid {
  display: grid;
  gap: 10px;
}

.bazi-detail-head {
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  padding: 12px;
  border: 1px solid rgba(247, 242, 255, 0.08);
  border-radius: 10px;
  background: rgba(247, 242, 255, 0.04);
}

.bazi-detail-head span {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.bazi-profile-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bazi-profile-card {
  padding: 16px;
  border: 1px solid rgba(247, 242, 255, 0.1);
  border-radius: 10px;
  background: rgba(247, 242, 255, 0.035);
}

.bazi-profile-card h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 16px;
}

.bazi-audit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.bazi-audit-grid div {
  padding: 10px;
  border-radius: 8px;
  background: rgba(12, 8, 22, 0.24);
}

.bazi-audit-grid dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.bazi-audit-grid dd {
  margin: 4px 0 0;
  color: var(--text);
  overflow-wrap: anywhere;
}

.bazi-element-bars {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.bazi-element-bars div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 242, 168, 0.06);
}

.bazi-profile-card pre {
  max-height: 280px;
  margin: 14px 0 0;
  padding: 12px;
  overflow: auto;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  color: rgba(247, 242, 255, 0.82);
  font-size: 12px;
  line-height: 1.55;
}

.self-test-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.check-item,
.metric-card,
.self-test-card,
.test-result,
.ticket-card {
  border: 1px solid rgba(247, 242, 255, 0.12);
  border-radius: 8px;
  background: rgba(247, 242, 255, 0.05);
}

.check-item,
.metric-card,
.self-test-card,
.test-result {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.test-results {
  margin-top: 14px;
}

.check-item span,
.metric-card span,
.self-test-card span,
.test-result span,
.status-pill {
  justify-self: start;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(247, 242, 255, 0.08);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.check-item.ok span,
.test-result.ok span {
  background: rgba(138, 216, 208, 0.14);
  color: var(--jade);
}

.check-item.missing span,
.test-result.missing span {
  background: rgba(216, 184, 109, 0.14);
  color: var(--gold);
}

.check-item strong,
.metric-card strong,
.self-test-card strong,
.test-result strong,
.ticket-card strong {
  color: var(--text);
}

.metric-card strong {
  font-size: 28px;
}

.check-item small,
.metric-card small,
.self-test-card p,
.test-result p,
.test-result small,
.ticket-card p,
.ticket-meta dd {
  color: var(--muted);
  line-height: 1.65;
}

.self-test-card p,
.test-result p {
  margin: 0;
}

.ticket-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.ticket-card-head {
  justify-content: space-between;
  gap: 16px;
}

.ticket-card p {
  margin: 8px 0 0;
}

.ticket-meta {
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.ticket-meta div {
  min-width: 160px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(18, 13, 31, 0.35);
}

.ticket-meta dt {
  color: var(--soft);
  font-size: 12px;
}

.ticket-meta dd {
  margin: 2px 0 0;
  word-break: break-all;
}

.ticket-update {
  grid-template-columns: 160px 140px minmax(220px, 1fr) auto;
  align-items: start;
}

.history-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(247, 242, 255, 0.1);
  border-radius: 8px;
  background: rgba(247, 242, 255, 0.05);
}

.history-item h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.history-item strong {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 13px;
}

.history-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.history-tags em {
  padding: 4px 8px;
  border: 1px solid rgba(197, 156, 255, 0.18);
  border-radius: 999px;
  color: var(--jade);
  font-size: 12px;
  font-style: normal;
  background: rgba(197, 156, 255, 0.08);
}

.history-actions {
  display: grid;
  flex: 0 0 auto;
  justify-items: end;
  gap: 10px;
}

.history-actions .button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.empty-history {
  margin: 0;
  color: var(--muted);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 20px;
}

.modal.open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 4, 13, 0.72);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  width: min(520px, 100%);
  padding: 26px;
  border: 1px solid rgba(197, 156, 255, 0.3);
  border-radius: 8px;
  background: #1e1730;
  box-shadow: var(--shadow);
}

.poster-modal-panel {
  width: min(620px, 100%);
}

.support-modal-panel {
  width: min(720px, 100%);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(247, 242, 255, 0.14);
  border-radius: 8px;
  background: rgba(247, 242, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.modal-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.compact-actions {
  margin-top: 0;
}

.checkout-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(247, 242, 255, 0.1);
  border-radius: 8px;
  background: rgba(247, 242, 255, 0.05);
}

.checkout-summary strong {
  color: #d7c0ff;
  font-size: 28px;
}

.checkout-summary small {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 12px;
}

.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.62;
}

.terms-check input {
  flex: 0 0 auto;
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--violet);
}

.terms-check a {
  color: #d7c0ff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.support-quick button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(197, 156, 255, 0.3);
  border-radius: 8px;
  background: rgba(155, 107, 255, 0.12);
  color: #d7c0ff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.support-log {
  display: grid;
  max-height: 320px;
  gap: 10px;
  margin-top: 16px;
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(247, 242, 255, 0.1);
  border-radius: 8px;
  background: rgba(247, 242, 255, 0.04);
}

.support-message {
  display: grid;
  max-width: 86%;
  gap: 6px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(247, 242, 255, 0.07);
}

.support-message.user {
  justify-self: end;
  background: rgba(155, 107, 255, 0.2);
}

.support-message span {
  color: var(--jade);
  font-size: 12px;
  font-weight: 800;
}

.support-message p {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
  white-space: pre-line;
}

.support-message small {
  color: var(--gold);
  font-size: 12px;
}

.support-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.poster-card {
  min-height: 390px;
  padding: 34px;
  border: 1px solid rgba(197, 156, 255, 0.34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0%, rgba(197, 156, 255, 0.34), transparent 16rem),
    radial-gradient(circle at 100% 20%, rgba(138, 216, 208, 0.14), transparent 16rem),
    linear-gradient(145deg, #211438, #120d1f 66%, #2a2140);
}

.poster-kicker {
  color: var(--jade);
  font-size: 13px;
  font-weight: 800;
}

.poster-card h3 {
  margin-top: 70px;
  font-size: clamp(26px, 4vw, 40px);
}

.poster-card strong {
  display: block;
  margin-bottom: 18px;
  color: #d7c0ff;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1;
}

.poster-card p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.75;
}

.poster-footer {
  margin-top: 48px;
  color: var(--soft);
  font-size: 13px;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(244, 240, 232, 0.08);
  background: rgba(18, 13, 31, 0.9);
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
}

.site-footer p {
  max-width: 520px;
  margin: 0 0 6px;
  font-size: 13px;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

.site-footer a {
  color: #d7c0ff;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.legal-doc-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(155, 107, 255, 0.18), transparent 30rem),
    linear-gradient(180deg, #120d1f 0%, #191129 54%, #100b1b 100%);
}

.legal-doc-main {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 88px;
}

.legal-doc-hero {
  margin-bottom: 24px;
}

.legal-doc-hero h1 {
  margin: 8px 0 10px;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.05;
}

.legal-doc-hero p,
.legal-doc-hero small {
  color: var(--muted);
}

.legal-doc-content {
  padding: clamp(22px, 5vw, 40px);
  border: 1px solid rgba(247, 242, 255, 0.12);
  border-radius: 8px;
  background: rgba(247, 242, 255, 0.05);
}

.legal-doc-content h1,
.legal-doc-content h2,
.legal-doc-content h3,
.legal-doc-content h4 {
  color: var(--text);
  line-height: 1.25;
}

.legal-doc-content h1 {
  margin-top: 0;
  font-size: 30px;
}

.legal-doc-content h2 {
  margin-top: 34px;
  font-size: 24px;
}

.legal-doc-content h3 {
  margin-top: 26px;
  font-size: 19px;
}

.legal-doc-content p,
.legal-doc-content li,
.legal-doc-content td,
.legal-doc-content th {
  color: rgba(247, 242, 255, 0.86);
  line-height: 1.82;
}

.legal-doc-content code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(247, 242, 255, 0.08);
  color: #d7c0ff;
}

.legal-doc-content hr {
  margin: 28px 0;
  border: 0;
  border-top: 1px solid rgba(247, 242, 255, 0.12);
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 18px 0;
}

.legal-doc-content table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.legal-doc-content th,
.legal-doc-content td {
  padding: 10px 12px;
  border: 1px solid rgba(247, 242, 255, 0.12);
  text-align: left;
  vertical-align: top;
}

.legal-doc-content th {
  background: rgba(155, 107, 255, 0.13);
  color: #fff;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  max-width: min(360px, calc(100vw - 36px));
  padding: 14px 16px;
  border: 1px solid rgba(247, 242, 255, 0.16);
  border-radius: 8px;
  background: #2a2140;
  color: var(--text);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .tool-grid,
  .consult-layout,
  .account-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .locked-grid,
  .plans,
  .legal-grid,
  .engine-panel,
  .basis-block,
  .evidence-cards,
  .share-settings,
  .share-gate,
  .engagement-grid,
  .admin-layout,
  .metrics-list,
  .self-test-grid,
  .bazi-audit-form,
  .bazi-detail-head,
  .bazi-profile-list,
  .bazi-audit-grid,
  .detail-body,
  .engine-actions {
    grid-template-columns: 1fr;
  }

  .ticket-update {
    grid-template-columns: 1fr;
  }

  .deep-report-card.locked .locked-overlay {
    position: relative;
    inset: auto;
    margin-top: 16px;
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .hero,
  .workflow,
  .account-section,
  .tool-section,
  .consult-section,
  .deep-report-section,
  .report-detail-section,
  .pricing-section,
  .legal-section,
  .history-section {
    padding-inline: 16px;
  }

  .admin-main {
    width: min(100% - 24px, 1180px);
    padding-top: 32px;
  }

  .ops-heading,
  .ticket-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-metrics,
  .pillars,
  .analysis-grid,
  .auth-actions,
  .account-stats,
  .steps,
  .plans {
    grid-template-columns: 1fr;
  }

  .hero-media img {
    min-height: 240px;
  }

  .deep-report-header,
  .detail-header,
  .engagement-header,
  .evidence-heading,
  .history-header,
  .history-item,
  .poster-footer,
  .checkout-summary,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .modal {
    padding: 12px;
  }

  .poster-card {
    min-height: 340px;
    padding: 24px;
  }

  .support-message {
    max-width: 100%;
  }
}

/* ============================================================
   失恋复合落地页专属样式 (Phase C 新增)
   遵循情感咨询师调性：温暖、克制、不渲染焦虑
   ============================================================ */

/* 按钮大尺寸变体 */
.button.big {
  min-height: 56px;
  padding: 0 28px;
  font-size: 16px;
  border-radius: 12px;
}

/* Hero 区——情感落地页变体 */
.hero-fuhe {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, 740px);
  min-height: min(720px, calc(100vh - 110px));
  overflow: hidden;
  background: linear-gradient(150deg, #171025 0%, #120d1f 56%, #2a1f3d 100%);
}

.hero-fuhe::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("./assets/hero-melancholic-poet.webp");
  background-repeat: no-repeat;
  background-position: right clamp(12px, 6vw, 92px) center;
  background-size: min(56vw, 660px);
  opacity: 0.46;
  filter: saturate(0.92) contrast(1.08);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.2) 36%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.2) 36%, #000 100%);
}

.hero-fuhe::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 13, 31, 0.96) 0%, rgba(18, 13, 31, 0.82) 48%, rgba(18, 13, 31, 0.34) 100%),
    linear-gradient(180deg, rgba(255, 193, 212, 0.08), rgba(111, 61, 255, 0.1));
}

.hero-fuhe .hero-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-fuhe h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-fuhe .hero-lede {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(247, 242, 255, 0.88);
}

.hero-meta {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
  padding: 20px;
  border: 1px solid rgba(255, 156, 198, 0.18);
  border-radius: 12px;
  background: rgba(255, 156, 198, 0.05);
}

.hero-trust > div {
  display: grid;
  gap: 4px;
}

.hero-trust strong {
  color: #ffc1d4;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  line-height: 1;
}

.hero-trust span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 720px) {
  .hero-fuhe {
    min-height: auto;
    padding-top: 46px;
    padding-bottom: 48px;
  }

  .hero-fuhe::before {
    background-position: center 12px;
    background-size: min(132vw, 540px);
    opacity: 0.2;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.52) 46%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.52) 46%, transparent 100%);
  }

  .hero-fuhe::after {
    background:
      linear-gradient(180deg, rgba(18, 13, 31, 0.76) 0%, rgba(18, 13, 31, 0.98) 48%, #120d1f 100%),
      linear-gradient(180deg, rgba(255, 193, 212, 0.08), rgba(111, 61, 255, 0.08));
  }

  .hero-fuhe .hero-lede {
    font-size: 16px;
  }

  .hero-meta {
    line-height: 1.7;
  }
}

/* 三步流程区 */
.workflow-fuhe .steps article {
  background: rgba(255, 156, 198, 0.04);
  border-color: rgba(255, 156, 198, 0.18);
}

.workflow-fuhe .steps article span {
  color: #ffc1d4;
}

.section-sub {
  margin-top: 10px;
  max-width: 640px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* 测算表单区 */
.test-section {
  padding: 64px clamp(20px, 5vw, 72px);
}

.test-form {
  display: grid;
  gap: 28px;
  padding: 32px;
}

.test-form legend {
  display: block;
  margin-bottom: 16px;
  padding: 0;
  color: #ffc1d4;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.form-block {
  padding: 24px;
  border: 1px solid rgba(247, 242, 255, 0.08);
  border-radius: 12px;
  background: rgba(247, 242, 255, 0.03);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}

.form-grid label {
  display: grid;
  gap: 6px;
}

.form-grid label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(247, 242, 255, 0.12);
  border-radius: 10px;
  background: rgba(247, 242, 255, 0.05);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}

.form-grid textarea {
  min-height: 112px;
  padding: 12px 14px;
  resize: vertical;
}

.form-grid .form-wide {
  grid-column: 1 / -1;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: rgba(255, 156, 198, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 156, 198, 0.15);
}

/* 模式切换 */
.mode-toggle {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 156, 198, 0.2);
  border-radius: 12px;
  background: rgba(255, 156, 198, 0.04);
}

.mode-toggle legend {
  margin: 0 0 4px;
}

.mode-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(247, 242, 255, 0.1);
  border-radius: 10px;
  background: rgba(247, 242, 255, 0.04);
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}

.mode-option:has(input:checked) {
  border-color: rgba(255, 156, 198, 0.6);
  background: rgba(255, 156, 198, 0.08);
}

.mode-option input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: #ffc1d4;
}

.mode-option span {
  display: grid;
  gap: 4px;
}

.mode-option strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.mode-option small {
  color: var(--muted);
  font-size: 13px;
}

/* Partner block hidden in self mode (set by JS in Phase D) */
.test-form.mode-self #partner-block {
  display: none;
}

/* 结果展示区 */
.result-section {
  padding: 64px clamp(20px, 5vw, 72px);
  background: rgba(255, 156, 198, 0.03);
}

.result-card {
  padding: 36px;
}

.result-score {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(247, 242, 255, 0.08);
  text-align: center;
}

.score-stars {
  color: #ffc1d4;
  font-size: clamp(36px, 6vw, 56px);
  letter-spacing: 6px;
  line-height: 1;
}

.score-number {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.score-number strong {
  color: var(--text);
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 800;
  line-height: 1;
}

.score-number span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
}

.score-label {
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 156, 198, 0.12);
  color: #ffc1d4;
  font-size: 14px;
  font-weight: 700;
}

.result-preview {
  margin-top: 28px;
}

.result-preview h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 18px;
}

.result-preview ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  color: rgba(247, 242, 255, 0.88);
  line-height: 1.8;
}

/* 付费墙 */
.result-paywall {
  margin-top: 32px;
  padding: 28px;
  border: 1px solid rgba(255, 156, 198, 0.3);
  border-radius: 14px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 156, 198, 0.12), transparent 18rem),
    rgba(247, 242, 255, 0.04);
}

.result-paywall h3 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 19px;
}

.paywall-bullets {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  color: rgba(247, 242, 255, 0.92);
  line-height: 1.6;
}

.paywall-bullets li {
  padding: 12px 14px;
  border: 1px solid rgba(247, 242, 255, 0.08);
  border-radius: 10px;
  background: rgba(247, 242, 255, 0.04);
  font-size: 14px;
}

.paywall-bullets strong {
  color: var(--text);
}

.preview-open-loop {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 242, 168, 0.18);
  border-radius: 10px;
  background: rgba(255, 242, 168, 0.07);
  color: rgba(255, 242, 168, 0.92);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.65;
}

.paywall-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.result-cta-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) minmax(220px, 1.15fr);
  gap: 12px;
  align-items: stretch;
}

.unlock-cta,
.result-cta-row .button {
  min-height: 58px;
}

.unlock-cta {
  display: grid;
  gap: 4px;
  place-items: center;
}

.unlock-cta small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
}

.paywall-trust-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.paywall-trust-badges span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid rgba(138, 216, 208, 0.24);
  border-radius: 10px;
  background: rgba(138, 216, 208, 0.07);
  color: rgba(247, 242, 255, 0.9);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
}

.unlock-cta.not-ready,
.unlock-cta[aria-disabled="true"] {
  opacity: 0.58;
  cursor: not-allowed;
  filter: grayscale(0.18);
}

.checkout-includes,
.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.checkout-includes span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(138, 216, 208, 0.1);
  color: var(--jade);
  font-size: 12px;
  font-weight: 800;
}

.payment-method {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(197, 156, 255, 0.22);
  border-radius: 8px;
  background: rgba(247, 242, 255, 0.05);
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.payment-method.active {
  border-color: rgba(197, 156, 255, 0.54);
  background: rgba(155, 107, 255, 0.18);
  color: #d7c0ff;
}

/* FAQ */
.faq-section {
  padding: 64px clamp(20px, 5vw, 72px);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-list details {
  padding: 18px 20px;
  border: 1px solid rgba(247, 242, 255, 0.1);
  border-radius: 12px;
  background: rgba(247, 242, 255, 0.04);
  transition: background 150ms ease;
}

.faq-list details[open] {
  background: rgba(255, 156, 198, 0.06);
  border-color: rgba(255, 156, 198, 0.2);
}

.faq-list summary {
  cursor: pointer;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  list-style: none;
  padding-right: 24px;
  position: relative;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: #ffc1d4;
  font-size: 20px;
  font-weight: 700;
  transition: transform 150ms ease;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 12px 0 0;
  color: rgba(247, 242, 255, 0.82);
  font-size: 14px;
  line-height: 1.8;
}

/* 账号区 mini 版 */
.account-section-mini {
  padding: 48px clamp(20px, 5vw, 72px);
  background: rgba(247, 242, 255, 0.03);
}

.account-mini {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}

.account-mini-head,
.account-report-item {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.account-mini-head strong,
.account-report-item strong {
  display: block;
  color: var(--text);
  font-size: 16px;
}

.account-mini-head span,
.account-report-item span,
.muted {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.account-report-list {
  display: grid;
  gap: 10px;
}

.account-report-item {
  padding: 14px;
  border: 1px solid rgba(247, 242, 255, 0.1);
  border-radius: 14px;
  background: rgba(247, 242, 255, 0.04);
}

/* 合规底部 mini 版 */
.legal-mini {
  padding: 48px clamp(20px, 5vw, 72px) 32px;
}

.legal-mini .legal-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.legal-mini .legal-card {
  padding: 20px;
}

.legal-mini .legal-card h3 {
  font-size: 15px;
}

.legal-mini .legal-card p {
  font-size: 13px;
  line-height: 1.7;
}

/* 移动端优化 */
@media (max-width: 720px) {
  .test-section,
  .result-section,
  .faq-section,
  .account-section-mini,
  .legal-mini {
    padding-inline: 16px;
  }

  .test-form {
    padding: 20px;
  }

  .form-block {
    padding: 16px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .account-mini-head,
  .account-report-item {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-trust {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-trust strong {
    font-size: 22px;
  }

  .result-card {
    padding: 24px;
  }

  .result-paywall {
    padding: 20px;
  }

  .paywall-trust-badges {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Phase D 新增：完整报告（解锁后显示）
   ============================================================ */

.full-report {
  display: grid;
  gap: 28px;
}

.full-report h3 {
  margin: 0;
  color: #ffc1d4;
  font-size: 20px;
}

.full-report-block {
  padding: 20px;
  border: 1px solid rgba(247, 242, 255, 0.1);
  border-radius: 12px;
  background: rgba(247, 242, 255, 0.04);
}

.full-report-block h4 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 16px;
}

.full-report-block ol,
.full-report-block ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
  color: rgba(247, 242, 255, 0.88);
  line-height: 1.7;
  font-size: 14px;
}

.full-report-block p {
  margin: 0;
  color: rgba(247, 242, 255, 0.88);
  line-height: 1.8;
  font-size: 14px;
}

.full-report-block strong {
  color: var(--text);
}

.personality-profile-card {
  border-color: rgba(255, 242, 168, 0.24);
  background:
    linear-gradient(135deg, rgba(255, 242, 168, 0.08), rgba(255, 156, 198, 0.06)),
    rgba(247, 242, 255, 0.04);
}

.personality-profile-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.personality-profile-head h4 {
  margin-bottom: 0;
}

.personality-precision-badge {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid rgba(255, 242, 168, 0.28);
  border-radius: 999px;
  background: rgba(255, 242, 168, 0.08);
  color: #fff2a8;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.personality-source-line {
  margin-bottom: 8px !important;
  color: rgba(247, 242, 255, 0.94) !important;
  font-size: 15px !important;
  font-weight: 800;
}

.personality-precision-desc {
  margin-bottom: 14px !important;
  color: rgba(247, 242, 255, 0.66) !important;
  font-size: 13px !important;
}

.personality-map {
  display: grid;
  gap: 10px;
  margin: 16px 0 18px;
  padding: 14px;
  border: 1px solid rgba(247, 242, 255, 0.1);
  border-radius: 12px;
  background: rgba(12, 8, 22, 0.28);
}

.personality-map-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
}

.personality-map-row span,
.personality-map-row strong {
  color: rgba(247, 242, 255, 0.76);
  font-size: 12px;
  font-weight: 900;
}

.personality-map-row strong {
  text-align: right;
}

.personality-map-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(247, 242, 255, 0.08);
}

.personality-map-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffc1d4, #fff2a8);
  box-shadow: 0 0 16px rgba(255, 193, 212, 0.22);
}

.personality-headline {
  color: #fff2a8;
  font-size: 15px;
  font-weight: 800;
}

.personality-traits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.personality-traits article {
  padding: 14px;
  border: 1px solid rgba(247, 242, 255, 0.1);
  border-radius: 10px;
  background: rgba(12, 8, 22, 0.28);
}

.personality-traits span,
.action-plan-part span {
  display: inline-block;
  margin-bottom: 8px;
  color: #ffc1d4;
  font-size: 12px;
  font-weight: 900;
}

.personality-relationship {
  padding-top: 12px;
  border-top: 1px dashed rgba(247, 242, 255, 0.14);
}

.personality-save-hint {
  margin-top: 12px !important;
  color: var(--muted) !important;
  font-size: 13px !important;
}

.cycle-anchor-card {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 242, 168, 0.26);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 242, 168, 0.12), rgba(255, 193, 212, 0.08)),
    rgba(12, 8, 22, 0.3);
}

.cycle-anchor-card span {
  color: #fff2a8;
  font-size: 12px;
  font-weight: 900;
}

.cycle-anchor-card p {
  color: rgba(247, 242, 255, 0.94);
  font-weight: 700;
}

.comm-script {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.comm-script > div {
  padding: 14px;
  border: 1px solid rgba(247, 242, 255, 0.08);
  border-radius: 10px;
  background: rgba(247, 242, 255, 0.03);
}

.comm-script ul {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.comm-script li {
  padding: 8px 0;
  border-bottom: 1px dashed rgba(247, 242, 255, 0.08);
  font-size: 13px;
  line-height: 1.6;
}

.comm-script li:last-child {
  border-bottom: none;
}

.comm-yes {
  color: #95d6a3;
  font-size: 14px;
}

.comm-no {
  color: #ff8a8a;
  font-size: 14px;
}

.pitfalls {
  display: grid;
  gap: 14px;
}

.pitfalls article {
  padding: 14px;
  border: 1px solid rgba(255, 138, 138, 0.18);
  border-radius: 10px;
  background: rgba(255, 138, 138, 0.04);
}

.pitfalls strong {
  display: block;
  margin-bottom: 8px;
  color: #ffb3b3;
  font-size: 14px;
  font-weight: 800;
}

.pitfalls p {
  margin: 0;
  font-size: 13px;
}

.future-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.future-route-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 100%;
  padding: 16px;
  border: 1px solid rgba(197, 156, 255, 0.18);
  border-radius: 12px;
  background: rgba(247, 242, 255, 0.04);
}

.future-route-card span {
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(197, 156, 255, 0.12);
  color: #c59cff;
  font-size: 12px;
  font-weight: 900;
}

.future-route-card h5 {
  margin: 0;
  color: var(--text);
  font-size: 15px;
}

.future-route-card p {
  margin: 0;
  color: rgba(247, 242, 255, 0.88);
  line-height: 1.75;
  font-size: 13px;
}

.full-report-note {
  margin-top: 8px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(247, 242, 255, 0.04);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.email-collect-card,
.upsell-section,
.refund-panel {
  padding: 20px;
  border: 1px solid rgba(197, 156, 255, 0.18);
  border-radius: 12px;
  background: rgba(155, 107, 255, 0.08);
}

.email-collect-card,
.refund-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.8fr);
  gap: 16px;
  align-items: center;
}

.email-collect-card strong,
.refund-panel strong {
  color: var(--text);
}

.email-collect-card p,
.refund-panel p,
.upsell-heading p,
.upsell-card p,
.upsell-result p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.email-collect-form {
  display: flex;
  gap: 8px;
}

.email-collect-form input {
  min-width: 0;
}

.upsell-heading h4 {
  margin: 4px 0 0;
  font-size: 18px;
}

.upsell-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.upsell-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(247, 242, 255, 0.12);
  border-radius: 12px;
  background: rgba(247, 242, 255, 0.05);
}

.upsell-card.unlocked {
  border-color: rgba(138, 216, 208, 0.28);
  background: rgba(138, 216, 208, 0.055);
}

.upsell-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(138, 216, 208, 0.1);
  color: var(--jade);
  font-size: 12px;
  font-weight: 800;
}

.upsell-card h5,
.upsell-result h5 {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 16px;
}

.upsell-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.upsell-price {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 18px;
}

.upsell-card-footer .button {
  min-width: 128px;
}

.upsell-unlocked {
  padding: 6px 10px;
  border: 1px solid rgba(138, 216, 208, 0.28);
  border-radius: 999px;
  color: var(--jade);
  font-size: 12px;
  font-weight: 900;
}

.upsell-bundle-bar {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.55fr);
  gap: 16px;
  align-items: center;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(255, 193, 212, 0.16);
  border-radius: 12px;
  background: rgba(255, 193, 212, 0.045);
}

.upsell-bundle-bar strong {
  color: var(--text);
}

.upsell-bundle-bar p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.upsell-bundle-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.upsell-bundle-actions .button {
  min-height: 38px;
  padding: 0 12px;
  font-size: 12px;
}

.upsell-output {
  display: grid;
  gap: 12px;
}

.upsell-result {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 10px;
  background: rgba(24, 16, 42, 0.42);
}

.upsell-result section {
  padding-top: 10px;
  border-top: 1px dashed rgba(247, 242, 255, 0.12);
}

.upsell-result strong {
  color: #d7c0ff;
}

.deep-insight-result {
  border: 1px solid rgba(197, 156, 255, 0.2);
}

.upsell-brand-mark {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.upsell-brand-mark span {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  background: rgba(197, 156, 255, 0.14);
  color: #d7c0ff;
  font-size: 18px;
  line-height: 1;
}

.upsell-brand-mark strong {
  color: var(--text);
}

.upsell-brand-mark em {
  font-style: normal;
}

.portrait-tags,
.care-card-grid,
.cycle-grid {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.portrait-tags {
  display: flex;
  flex-wrap: wrap;
}

.portrait-tags span {
  padding: 5px 9px;
  border: 1px solid rgba(197, 156, 255, 0.2);
  border-radius: 999px;
  color: #d7c0ff;
  font-size: 12px;
}

.care-card-grid,
.cycle-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.care-card-grid article,
.cycle-grid article {
  padding: 12px;
  border: 1px solid rgba(247, 242, 255, 0.1);
  border-radius: 10px;
  background: rgba(247, 242, 255, 0.04);
}

.care-card-grid h6,
.cycle-grid h6 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 13px;
}

.care-card-grid blockquote {
  margin: 0 0 8px;
  color: #ffc1d4;
  font-size: 13px;
  line-height: 1.6;
}

.care-card-grid small,
.cycle-grid small,
.cycle-current {
  color: var(--gold);
}

.cycle-grid ul {
  display: grid;
  gap: 6px;
  margin: 8px 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.upsell-loading,
.upsell-error {
  margin: 0;
  color: var(--gold);
  line-height: 1.7;
}

.upsell-loading-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 193, 212, 0.22);
  border-radius: 14px;
  background:
    radial-gradient(circle at 0% 50%, rgba(255, 193, 212, 0.11), transparent 11rem),
    rgba(247, 242, 255, 0.045);
}

.upsell-loading-card strong {
  color: var(--text);
}

.upsell-loading-card p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.upsell-loading-orbit {
  position: relative;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 193, 212, 0.3);
  border-radius: 999px;
  animation: spin 1.5s linear infinite;
}

.upsell-loading-orbit span {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fff2a8;
  box-shadow: 0 0 14px rgba(255, 242, 168, 0.7);
}

.upsell-loading-dots {
  display: flex;
  gap: 5px;
  margin-top: 9px;
}

.upsell-loading-dots i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 193, 212, 0.55);
  animation: dotPulse 1.2s ease-in-out infinite;
}

.upsell-loading-dots i:nth-child(2) {
  animation-delay: 0.18s;
}

.upsell-loading-dots i:nth-child(3) {
  animation-delay: 0.36s;
}

@keyframes dotPulse {
  0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

.story-share-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(197, 156, 255, 0.2);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(197, 156, 255, 0.13), transparent 12rem),
    rgba(247, 242, 255, 0.045);
}

.story-share-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.story-share-head h4 {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 17px;
}

.story-share-mark {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(197, 156, 255, 0.14);
  color: #d7c0ff;
  font-size: 23px;
}

.story-style-row,
.story-share-actions,
.story-hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.story-style {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(247, 242, 255, 0.14);
  border-radius: 999px;
  background: rgba(247, 242, 255, 0.05);
  color: rgba(247, 242, 255, 0.76);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.story-style.active {
  border-color: rgba(255, 193, 212, 0.42);
  background: rgba(255, 156, 198, 0.12);
  color: #ffc1d4;
}

.story-style:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.story-share-output .rate-limited {
  color: #ff7d7d;
  font-size: 13px;
  line-height: 1.85;
  white-space: pre-line;
}

.story-share-output {
  min-height: 118px;
  padding: 16px;
  border: 1px solid rgba(247, 242, 255, 0.1);
  border-radius: 12px;
  background: rgba(24, 16, 42, 0.34);
}

.story-share-output p {
  margin: 0;
  color: rgba(247, 242, 255, 0.9);
  line-height: 1.85;
  white-space: pre-line;
}

.story-share-output .muted {
  color: var(--muted);
}

.story-auto-tags {
  margin-top: 12px !important;
  color: rgba(255, 193, 212, 0.82) !important;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7 !important;
}

.story-usage-note {
  margin: -2px 0 0;
  color: rgba(247, 242, 255, 0.62);
  font-size: 12px;
  font-weight: 800;
}

.story-usage-note.is-limited {
  color: #ff9a9a;
}

.story-hashtags label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(247, 242, 255, 0.12);
  border-radius: 999px;
  color: rgba(247, 242, 255, 0.74);
  font-size: 12px;
}

.story-hashtags input {
  accent-color: #ffc1d4;
}

.story-loading {
  display: flex;
  gap: 12px;
  align-items: center;
}

.story-loading span {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255, 193, 212, 0.22);
  border-top-color: #ffc1d4;
  border-radius: 999px;
  animation: spin 0.9s linear infinite;
}

.visual-hook-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.visual-hook-grid article {
  min-height: 168px;
  padding: 16px;
  border: 1px solid rgba(255, 242, 168, 0.14);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 242, 168, 0.08), rgba(197, 156, 255, 0.07)),
    rgba(24, 16, 42, 0.36);
}

.visual-hook-grid span,
.visual-hook-grid strong,
.visual-hook-grid p {
  display: block;
}

.visual-hook-grid span {
  color: rgba(255, 242, 168, 0.72);
  font-size: 12px;
  font-weight: 900;
}

.visual-hook-grid strong {
  margin-top: 16px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.32;
}

.visual-hook-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 720px) {
  .comm-script {
    grid-template-columns: 1fr;
  }

  .result-cta-row {
    grid-template-columns: 1fr;
  }

  .email-collect-card,
  .refund-panel,
  .upsell-row,
  .upsell-bundle-bar,
  .care-card-grid,
  .report-meta-grid,
  .visual-hook-grid,
  .cycle-grid {
    grid-template-columns: 1fr;
  }

  .upsell-card-footer {
    align-items: stretch;
  }

  .upsell-bundle-actions {
    justify-content: stretch;
  }

  .upsell-bundle-actions .button {
    flex: 1 1 100%;
  }

  .email-collect-form {
    display: grid;
  }
}

/* ============================================================
   Bundle 1：表单优化（#1 不知道时辰 / #2 select 配色 / #3 年份限制）
   ============================================================ */

/* 下拉选项配色——匹配暗色主题 */
.form-grid select option,
.mode-toggle select option,
.test-form select option {
  background: #2a1f3d;
  color: #f7f2ff;
  padding: 8px 12px;
}

.form-grid select,
.test-form select {
  /* 提高 select 自身的可读性 */
  color: var(--text);
  background-color: rgba(247, 242, 255, 0.05);
}

/* "不知道时辰"复选框行——占满整行 */
.hour-unknown-row {
  grid-column: 1 / -1;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding: 10px 14px;
  border: 1px dashed rgba(255, 156, 198, 0.3);
  border-radius: 10px;
  background: rgba(255, 156, 198, 0.04);
  cursor: pointer;
}

.hour-unknown-row input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  accent-color: #ffc1d4;
  cursor: pointer;
}

.hour-unknown-row span {
  flex: 1;
  color: rgba(247, 242, 255, 0.82);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

/* 时辰输入框在勾选"不知道"后的灰显 */
input[name="selfBirthTime"]:disabled,
input[name="partnerBirthTime"]:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* 表单字段下方的小提示文字 */
.field-hint {
  margin-top: 4px;
  display: block;
  color: rgba(247, 242, 255, 0.55);
  font-size: 12px;
  line-height: 1.5;
}

/* ============================================================
   Phase E+：分手人格原型卡片 + AI 报告呈现
   ============================================================ */

.archetype-share-area {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin: 0 auto 28px;
}

.archetype-card {
  --archetype-accent: #c59cff;
  --archetype-glow: rgba(197, 156, 255, 0.3);
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
  width: 420px;
  max-width: min(100%, 88vw);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  padding: 16px 16px 18px;
  border: 1px solid rgba(197, 156, 255, 0.24);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 28%, var(--archetype-glow), transparent 14rem),
    linear-gradient(145deg, #2d1b4e 0%, #1a0f2e 72%, #12091f 100%);
  box-shadow: 0 20px 60px rgba(155, 100, 255, 0.18);
  color: #fff;
  isolation: isolate;
}

.archetype-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.12), transparent 32%),
    radial-gradient(circle at 15% 92%, rgba(255,255,255,0.08), transparent 9rem);
}

.archetype-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  font-size: 9px;
}

.archetype-rarity {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.52);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.archetype-type {
  padding: 4px 8px;
  border: 1px solid var(--archetype-accent);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--archetype-accent);
  font-size: 10px;
  font-weight: 800;
}

.archetype-card-main {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto auto auto;
  justify-items: center;
  gap: 7px;
  min-height: 0;
  text-align: center;
}

.archetype-badge {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  line-height: 1;
}

.archetype-eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 800;
}

.archetype-card h3 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.05;
}

.archetype-accent-line {
  width: min(170px, 46%);
  height: 3px;
  border-radius: 999px;
  background: var(--archetype-accent);
}

.archetype-tagline {
  max-width: 340px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.28;
}

.archetype-figure {
  width: 100%;
  height: 100%;
  min-height: 290px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.archetype-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archetype-viral {
  margin: 0;
  color: var(--archetype-accent);
  font-size: 12px;
  font-weight: 800;
}

.archetype-watermark {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  line-height: 1.35;
  text-align: left;
}

.archetype-watermark strong,
.archetype-watermark span {
  display: block;
}

.archetype-watermark strong {
  color: rgba(255, 250, 242, 0.88);
  font-size: 14px;
}

.archetype-watermark span {
  color: rgba(255, 255, 255, 0.48);
}

.card-qrcode {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  overflow: hidden;
  border-radius: 12px;
  background: #f7f0ff;
}

.card-qrcode canvas,
.card-qrcode img {
  width: 100% !important;
  height: 100% !important;
}

.archetype-save-button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(197, 156, 255, 0.32);
  border-radius: 999px;
  background: rgba(197, 156, 255, 0.12);
  color: #fffaf2;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.archetype-card.export-mode {
  position: fixed;
  left: -99999px;
  top: 0;
  z-index: -1;
  width: 1080px;
  max-width: none;
  height: 1440px;
  padding: 46px 56px 52px;
  border-radius: 72px;
  gap: 28px;
}

.archetype-card.export-mode .archetype-card-head {
  min-height: 62px;
  gap: 22px;
  font-size: 28px;
}

.archetype-card.export-mode .archetype-type {
  padding: 13px 24px;
  font-size: 29px;
}

.archetype-card.export-mode .archetype-badge {
  width: 58px;
  height: 58px;
  font-size: 32px;
}

.archetype-card.export-mode .archetype-card-main {
  gap: 18px;
}

.archetype-card.export-mode .archetype-eyebrow {
  font-size: 28px;
}

.archetype-card.export-mode h3 {
  font-size: 74px;
}

.archetype-card.export-mode .archetype-accent-line {
  width: 380px;
  height: 10px;
}

.archetype-card.export-mode .archetype-tagline {
  max-width: 860px;
  font-size: 34px;
  line-height: 1.24;
}

.archetype-card.export-mode .archetype-figure {
  min-height: 760px;
  border-radius: 48px;
}

.archetype-card.export-mode .archetype-viral {
  font-size: 34px;
}

.archetype-card.export-mode .archetype-watermark {
  min-height: 190px;
  gap: 30px;
  padding-top: 28px;
  font-size: 28px;
}

.archetype-card.export-mode .archetype-watermark strong {
  font-size: 42px;
}

.archetype-card.export-mode .card-qrcode {
  width: 200px;
  height: 200px;
  border-radius: 24px;
}

.payment-success-section {
  max-width: 900px;
  margin: 42px auto 0;
  padding: 30px;
  border: 1px solid rgba(197, 156, 255, 0.24);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(45, 27, 78, 0.92), rgba(26, 15, 46, 0.96));
  box-shadow: 0 24px 70px rgba(155, 100, 255, 0.2);
  color: #fff;
}

.success-header {
  display: flex;
  gap: 16px;
  align-items: center;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c59cff, #7b6fc9);
  color: #170d29;
  font-size: 34px;
  font-weight: 900;
}

.separator-strong,
.separator-soft {
  width: 100%;
  height: 1px;
  margin: 24px 0;
  background: rgba(255, 255, 255, 0.18);
}

.separator-strong {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(197, 156, 255, 0.8), transparent);
}

.report-link-card {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 193, 212, 0.36);
  border-radius: 18px;
  background: rgba(255, 193, 212, 0.08);
}

.link-label {
  color: #ffc1d4;
  font-size: 13px;
  font-weight: 800;
}

.link-url-box {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(18, 9, 31, 0.72);
  color: #f7f0ff;
  font-size: clamp(15px, 2vw, 22px);
  font-weight: 800;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.link-warning {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 132, 132, 0.34);
  border-radius: 12px;
  background: rgba(255, 132, 132, 0.1);
  color: #ffe1e1;
  line-height: 1.6;
}

.save-actions,
.email-input-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.save-btn,
.email-input-row button,
.view-report-btn {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.save-btn {
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.qrcode-area {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
}

#payment-success-qrcode {
  display: grid;
  place-items: center;
  width: 240px;
  height: 240px;
  padding: 12px;
  border-radius: 18px;
  background: #f7f0ff;
}

.confirm-checkbox {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(197, 156, 255, 0.12);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.confirm-checkbox input {
  width: 22px;
  height: 22px;
  accent-color: #c59cff;
}

.view-report-btn {
  width: 100%;
  margin-top: 14px;
  padding: 0 20px;
  background: linear-gradient(135deg, #c59cff, #ffc1d4);
  color: #160b27;
  font-size: 16px;
}

.view-report-btn:disabled {
  cursor: not-allowed;
  filter: grayscale(1);
  opacity: 0.52;
}

.email-backup-section {
  display: grid;
  gap: 10px;
}

.email-backup-section h3,
.email-backup-hint {
  margin: 0;
}

.email-backup-hint {
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.7;
}

.email-input-row input {
  flex: 1 1 240px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(197, 156, 255, 0.28);
  border-radius: 999px;
  background: rgba(18, 9, 31, 0.55);
  color: #fff;
}

.email-input-row button {
  padding: 0 18px;
  background: rgba(197, 156, 255, 0.18);
  color: #fff;
}

.age-warning-modal .hotline,
.crisis-modal .hotline {
  margin: 12px 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 193, 212, 0.12);
  color: #ffc1d4;
  line-height: 1.7;
}

.age-warning-modal .footer {
  color: var(--muted);
}

.contact-box {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding: 16px;
  border: 1px solid rgba(197, 156, 255, 0.24);
  border-radius: 16px;
  background: rgba(197, 156, 255, 0.08);
}

.contact-box span {
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
}

.faq-redirect {
  margin-bottom: 0;
  color: var(--muted);
}

.verdict {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-left: 3px solid #ffc1d4;
  background: rgba(255, 156, 198, 0.06);
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

.ai-loading {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
}

.ai-loading::before {
  content: "⏳ ";
}

/* 深度报告加载状态卡片 */
.ai-loading-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 156, 198, 0.32);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 193, 212, 0.12), rgba(197, 156, 255, 0.08)),
    rgba(24, 16, 42, 0.88);
  box-shadow: 0 18px 54px rgba(32, 18, 59, 0.22);
}

.loading-spinner {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(255, 156, 198, 0.25);
  border-top-color: #ffc1d4;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  box-shadow: 0 0 22px rgba(255, 193, 212, 0.18);
}

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

.loading-stage {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.loading-hint {
  margin: 4px 0 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.loading-progress {
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: rgba(247, 242, 255, 0.08);
  overflow: hidden;
}

.loading-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 156, 198, 0.6), #ffc1d4);
  transition: width 0.6s ease;
}

.loading-theatre {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.theatre-step {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 8px 10px;
  border: 1px solid rgba(247, 242, 255, 0.08);
  border-radius: 10px;
  background: rgba(247, 242, 255, 0.035);
  color: rgba(247, 242, 255, 0.54);
  font-size: 12px;
  line-height: 1.55;
  transform: translateY(2px);
  opacity: 0.72;
  transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.theatre-step > span {
  display: grid;
  gap: 2px;
}

.theatre-step strong {
  color: inherit;
  font-size: 12px;
  line-height: 1.35;
}

.theatre-step small {
  color: rgba(247, 242, 255, 0.48);
  font-size: 11px;
  line-height: 1.55;
}

.theatre-step i {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(197, 156, 255, 0.13);
  color: #d7c0ff;
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}

.theatre-step.active {
  border-color: rgba(255, 193, 212, 0.22);
  background: rgba(255, 156, 198, 0.07);
  color: rgba(247, 242, 255, 0.9);
  transform: translateY(0);
  opacity: 1;
}

.theatre-step.active i {
  background: linear-gradient(135deg, #ffc1d4, #d7c0ff);
  color: #1a0f2e;
  box-shadow: 0 0 18px rgba(255, 193, 212, 0.22);
}

.theatre-step.active small {
  color: rgba(247, 242, 255, 0.72);
}

.theatre-step.done {
  border-color: rgba(247, 242, 255, 0.1);
  background: rgba(247, 242, 255, 0.045);
  color: rgba(247, 242, 255, 0.7);
  opacity: 0.9;
}

.theatre-step.done i {
  background: rgba(255, 242, 168, 0.14);
  color: #fff2a8;
}

.ai-loading-card.reveal-mode {
  border-color: rgba(255, 193, 212, 0.5);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 193, 212, 0.2), transparent 16rem),
    rgba(255, 156, 198, 0.06);
  box-shadow: 0 18px 60px rgba(155, 107, 255, 0.16);
}

.ai-loading-card.reveal-mode .loading-spinner {
  border-color: rgba(255, 193, 212, 0.22);
  border-top-color: #fff2a8;
  box-shadow: 0 0 26px rgba(255, 193, 212, 0.22);
}

.initial-reveal-active .result-card {
  border-color: rgba(255, 193, 212, 0.34);
  box-shadow: 0 20px 80px rgba(155, 107, 255, 0.18);
}

.initial-reveal-prelude .archetype-card,
.initial-reveal-prelude .archetype-save-button {
  visibility: hidden;
}

.initial-reveal-active .result-score {
  transform: scale(0.98);
  opacity: 0.76;
  filter: none;
}

.initial-reveal-showtime .archetype-card {
  animation: archetypeGrandReveal 3.6s cubic-bezier(.16,.78,.18,1) both;
}

.initial-reveal-showtime .archetype-card::after {
  content: "";
  position: absolute;
  inset: 18% 10% 20%;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 242, 168, 0.28), transparent 34%),
    radial-gradient(circle at 50% 50%, var(--archetype-glow), transparent 62%);
  opacity: 0;
  filter: blur(28px);
  transform: scale(0.64);
  animation: archetypeRevealAura 3.6s cubic-bezier(.16,.78,.18,1) both;
}

.initial-reveal-showtime .result-score {
  animation: scoreGrandReveal 1.45s 1.7s cubic-bezier(.16,.78,.18,1) both;
}

.initial-reveal-showtime #result-verdict,
.initial-reveal-showtime #result-key-points {
  animation: previewRiseIn 1.2s 2.45s ease both;
}

.initial-reveal-done .result-score,
.initial-reveal-done .archetype-card {
  animation: scoreRevealPop 0.85s cubic-bezier(.18,.9,.24,1) both;
}

.initial-reveal-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 242, 168, 0.26);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 242, 168, 0.16), transparent 16rem),
    linear-gradient(135deg, rgba(255, 193, 212, 0.08), rgba(197, 156, 255, 0.12)),
    rgba(24, 16, 42, 0.48);
  text-align: center;
  overflow: hidden;
}

.initial-reveal-card span {
  color: rgba(247, 242, 255, 0.64);
  font-size: 12px;
  font-weight: 900;
}

.initial-reveal-card strong {
  color: #fff2a8;
  font-family: var(--font-serif);
  font-size: clamp(22px, 5vw, 38px);
}

.initial-reveal-card p {
  margin: 0;
  color: rgba(247, 242, 255, 0.86);
}

.initial-reveal-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.initial-reveal-steps i {
  padding: 6px 10px;
  border: 1px solid rgba(247, 242, 255, 0.12);
  border-radius: 999px;
  background: rgba(247, 242, 255, 0.06);
  color: rgba(247, 242, 255, 0.78);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  animation: revealStepGlow 1.8s ease-in-out infinite;
}

.initial-reveal-steps i:nth-child(2) {
  animation-delay: 0.24s;
}

.initial-reveal-steps i:nth-child(3) {
  animation-delay: 0.48s;
}

.initial-reveal-pulse {
  display: flex;
  gap: 9px;
  margin-top: 4px;
}

.initial-reveal-pulse i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #ffc1d4;
  box-shadow: 0 0 18px rgba(255, 193, 212, 0.55);
  animation: revealPulse 1.15s ease-in-out infinite;
}

.initial-reveal-pulse i:nth-child(2) {
  animation-delay: 0.16s;
}

.initial-reveal-pulse i:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes revealStepGlow {
  0%, 100% {
    border-color: rgba(247, 242, 255, 0.12);
    color: rgba(247, 242, 255, 0.64);
    transform: translateY(0);
  }
  50% {
    border-color: rgba(255, 242, 168, 0.34);
    color: #fff2a8;
    transform: translateY(-2px);
  }
}

@keyframes revealPulse {
  0%, 100% {
    transform: translateY(0) scale(0.9);
    opacity: 0.45;
  }
  50% {
    transform: translateY(-5px) scale(1.2);
    opacity: 1;
  }
}

@keyframes archetypeGrandReveal {
  0% {
    transform: translateY(34px) scale(0.9) rotateX(5deg);
    opacity: 0;
    filter: blur(18px) saturate(0.72) brightness(0.82);
  }
  28% {
    transform: translateY(18px) scale(0.94) rotateX(3deg);
    opacity: 0.34;
    filter: blur(14px) saturate(0.82) brightness(0.9);
  }
  56% {
    transform: translateY(5px) scale(0.985) rotateX(1deg);
    opacity: 0.78;
    filter: blur(6px) saturate(1) brightness(1);
    box-shadow: 0 24px 84px var(--archetype-glow);
  }
  82% {
    transform: translateY(0) scale(1.006) rotateX(0deg);
    opacity: 1;
    filter: blur(1.4px) saturate(1.06);
    box-shadow: 0 30px 104px var(--archetype-glow);
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: blur(0) saturate(1);
    box-shadow: 0 24px 76px rgba(155, 100, 255, 0.2);
  }
}

@keyframes archetypeRevealAura {
  0% {
    opacity: 0;
    transform: scale(0.58);
    filter: blur(38px);
  }
  34% {
    opacity: 0.28;
    transform: scale(0.78);
    filter: blur(34px);
  }
  68% {
    opacity: 0.72;
    transform: scale(1.05);
    filter: blur(26px);
  }
  100% {
    opacity: 0.36;
    transform: scale(1);
    filter: blur(30px);
  }
}

@keyframes scoreGrandReveal {
  0% {
    transform: translateY(18px) scale(0.9);
    opacity: 0;
    filter: blur(6px);
  }
  60% {
    transform: translateY(-5px) scale(1.06);
    opacity: 1;
    filter: blur(0);
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: blur(0);
  }
}

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

@keyframes scoreRevealPop {
  from {
    transform: translateY(10px) scale(0.96);
    opacity: 0;
    filter: blur(3px);
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: blur(0);
  }
}

.reveal-final {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 242, 168, 0.28);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 242, 168, 0.13), rgba(197, 156, 255, 0.1)),
    rgba(24, 16, 42, 0.42);
  text-align: center;
  animation: revealGlow 0.8s ease both;
}

.reveal-final span {
  color: rgba(247, 242, 255, 0.62);
  font-size: 12px;
  font-weight: 800;
}

.reveal-final strong {
  color: #fff2a8;
  font-family: var(--font-serif);
  font-size: 48px;
  line-height: 0.95;
}

.reveal-final small {
  margin-left: 4px;
  color: rgba(255, 242, 168, 0.68);
  font-size: 18px;
}

.reveal-final p {
  max-width: 560px;
  margin: 0;
  color: rgba(247, 242, 255, 0.9);
  line-height: 1.7;
}

@keyframes revealGlow {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* 深度报告错误卡片（失败/超时） */
.ai-error-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px 18px;
  align-items: center;
  margin-bottom: 24px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 138, 138, 0.32);
  border-radius: 14px;
  background: rgba(255, 138, 138, 0.06);
}

.error-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: 26px;
}

.error-title {
  margin: 0;
  color: #ffb3b3;
  font-size: 15px;
  font-weight: 800;
}

.error-detail {
  margin: 4px 0 0;
  color: rgba(247, 242, 255, 0.78);
  font-size: 12px;
  line-height: 1.6;
}

#retry-ai-button {
  white-space: nowrap;
}

@media (max-width: 720px) {
  .ai-error-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .error-icon {
    justify-self: center;
  }
}

/* 完整报告样式（覆盖 Phase D 的简版） */
.full-report-block h4 {
  margin: 0 0 14px;
  color: #ffc1d4;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.story-block,
.deep-analysis-block,
.timing-block,
.outlook-block {
  white-space: pre-line;
  line-height: 1.85;
  color: rgba(247, 242, 255, 0.92);
}

.report-meta-card {
  display: grid;
  gap: 18px;
  border-color: rgba(255, 242, 168, 0.2);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 242, 168, 0.12), transparent 12rem),
    rgba(247, 242, 255, 0.045);
}

.report-meta-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.report-meta-brand span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 242, 168, 0.28);
  border-radius: 999px;
  color: #fff2a8;
  font-size: 24px;
}

.report-meta-brand strong,
.report-meta-brand em {
  display: block;
}

.report-meta-brand strong {
  color: var(--text);
  font-size: 17px;
}

.report-meta-brand em {
  margin-top: 3px;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

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

.report-meta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.report-meta-grid div {
  padding: 12px;
  border: 1px solid rgba(247, 242, 255, 0.1);
  border-radius: 10px;
  background: rgba(24, 16, 42, 0.28);
}

.report-meta-grid small,
.report-meta-grid strong {
  display: block;
}

.report-meta-grid small {
  color: rgba(247, 242, 255, 0.52);
  font-size: 11px;
}

.report-meta-grid strong {
  margin-top: 4px;
  color: var(--text);
  font-size: 14px;
}

.report-meta-verdict {
  margin: 0;
  color: rgba(247, 242, 255, 0.86);
  line-height: 1.75;
}

.report-basis-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.editor-note {
  margin: 2px 0;
  padding: 14px 16px;
  border-left: 3px solid rgba(255, 242, 168, 0.5);
  border-radius: 0 10px 10px 0;
  background: rgba(255, 242, 168, 0.06);
  color: rgba(247, 242, 255, 0.78);
  font-size: 13px;
  line-height: 1.8;
}

.action-plan {
  display: grid;
  gap: 14px;
}

.action-plan article {
  padding: 16px;
  border: 1px solid rgba(255, 156, 198, 0.16);
  border-radius: 10px;
  background: rgba(255, 156, 198, 0.04);
}

.action-plan strong.phase-label {
  display: inline-block;
  margin-bottom: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 156, 198, 0.16);
  color: #ffc1d4;
  font-size: 12px;
  font-weight: 800;
}

.action-plan h5 {
  margin: 4px 0 8px;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.action-plan p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
}

.rich-action-plan article {
  display: grid;
  gap: 12px;
}

.action-plan-part {
  padding: 12px;
  border: 1px solid rgba(247, 242, 255, 0.08);
  border-radius: 10px;
  background: rgba(247, 242, 255, 0.03);
}

.action-plan-part.muted-part {
  border-color: rgba(255, 242, 168, 0.14);
  background: rgba(255, 242, 168, 0.05);
}

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

.action-todo-list li {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(247, 242, 255, 0.1);
}

.action-todo-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.action-todo-list strong {
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 720px) {
  .archetype-card {
    width: min(92vw, 420px);
    text-align: center;
  }
  .archetype-badge {
    justify-self: center;
  }
  .personality-profile-head,
  .ops-heading {
    display: grid;
  }
  .personality-precision-badge {
    justify-self: start;
  }
  .personality-map-row {
    grid-template-columns: 64px minmax(0, 1fr) 30px;
  }
  .personality-traits {
    grid-template-columns: 1fr;
  }
  .future-route-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .archetype-card {
    width: 92vw;
    padding: 14px 14px 16px;
    gap: 10px;
  }

  .archetype-card-main {
    gap: 6px;
  }

  .archetype-card-head {
    min-height: 30px;
    font-size: 10px;
  }

  .archetype-type {
    padding: 4px 8px;
    font-size: 11px;
  }

  .archetype-badge {
    width: 30px;
    height: 30px;
    font-size: 17px;
  }

  .archetype-eyebrow {
    font-size: 10px;
  }

  .archetype-card h3 {
    font-size: 26px;
  }

  .archetype-accent-line {
    height: 3px;
  }

  .archetype-tagline {
    max-width: 260px;
    font-size: 12px;
    line-height: 1.28;
  }

  .archetype-figure {
    min-height: min(76vw, 300px);
    border-radius: 18px;
  }

  .archetype-viral {
    font-size: 12px;
  }

  .archetype-watermark {
    font-size: 10px;
  }

  .archetype-watermark strong {
    font-size: 12px;
  }

  .archetype-save-button {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .archetype-watermark {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 68px;
  }

  .card-qrcode {
    width: 66px;
    height: 66px;
  }

  .payment-success-section {
    padding: 22px 16px;
    border-radius: 18px;
  }

  .save-actions,
  .email-input-row {
    display: grid;
  }

  .save-btn,
  .email-input-row button {
    width: 100%;
  }
}
