:root {
  color-scheme: light;
  --ink: #20201e;
  --soft-ink: #34322f;
  --muted: #7d7971;
  --paper: #f4f4f1;
  --paper-deep: #ebe9e3;
  --panel: #ffffff;
  --line: rgba(255, 255, 255, 0.62);
  --line-dark: rgba(55, 47, 38, 0.2);
  --gold: #9b7c55;
  --gold-soft: rgba(172, 143, 102, 0.13);
  --gold-dark: #65553f;
  --red: #7c302b;
  --coral: #20201e;
  --sky: #e7e5df;
  --shadow: 0 28px 86px rgba(83, 90, 104, 0.12);
  --glass-border: rgba(255, 255, 255, 0.68);
  --glass-fill: rgba(255, 255, 255, 0.52);
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans SC", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Microsoft YaHei", sans-serif;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-variant-east-asian: proportional-width;
  text-rendering: geometricPrecision;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(248, 249, 247, 0.74)),
    var(--paper);
}

body::before {
  content: "";
  position: fixed;
  inset: -18%;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse at 14% 18%, rgba(255, 190, 210, 0.46), transparent 42%),
    radial-gradient(ellipse at 84% 16%, rgba(172, 214, 255, 0.42), transparent 44%),
    radial-gradient(ellipse at 20% 88%, rgba(255, 233, 168, 0.42), transparent 46%),
    radial-gradient(ellipse at 86% 78%, rgba(181, 232, 207, 0.38), transparent 45%),
    radial-gradient(ellipse at 52% 48%, rgba(230, 220, 255, 0.24), transparent 52%);
  filter: blur(48px);
  opacity: 0.78;
  transform: translateZ(0);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(32, 32, 30, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 32, 30, 0.01) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.45), transparent 34%);
  background-size: 28px 28px, 28px 28px, auto;
  opacity: 0.46;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

#app {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 22px 16px 56px;
}

.screen {
  min-height: calc(100vh - 78px);
}

.hidden {
  display: none !important;
}

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

.brand-line,
.label,
.module-kicker,
.issue-mark,
.quiz-title-row,
.report-stamp,
.share-footer {
  font-family: var(--sans);
  letter-spacing: 0;
}

.brand-line,
.label,
.module-kicker {
  display: inline-block;
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.intro-screen {
  display: grid;
  align-content: center;
  gap: 18px;
}

.cover-shell,
.question-card,
.share-report-card,
.prep-card,
.generating-card,
.access-card {
  animation: cardRise 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.intro-bottom {
  animation: softFade 0.65s ease 0.12s both;
}

.cover-shell,
.question-card,
.share-report-card,
.prep-card,
.generating-card,
.access-card {
  position: relative;
  border: 1px solid var(--glass-border);
  border-radius: 40px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.38)),
    rgba(255, 255, 255, 0.48);
  box-shadow: var(--shadow);
  backdrop-filter: blur(28px) saturate(1.1);
}

.cover-shell {
  padding: clamp(26px, 6vw, 52px);
  text-align: center;
  overflow: hidden;
}

.cover-shell::before,
.share-report-card::before,
.question-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  pointer-events: none;
}

.cover-shell::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 46%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(32, 32, 30, 0.16), transparent);
  transform: translateX(-50%);
}

.cover-shell:hover,
.question-card:hover,
.share-report-card:hover,
.prep-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 34px 96px rgba(83, 90, 104, 0.16);
}

.cover-top,
.report-stamp,
.share-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.issue-mark {
  border: 1px solid rgba(32, 32, 30, 0.08);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--soft-ink);
  font-size: 12px;
  font-weight: 750;
}

h1 {
  max-width: 560px;
  margin: clamp(38px, 8vw, 66px) auto 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(48px, 10vw, 82px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-title span {
  display: block;
}

.lead {
  max-width: 620px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(15px, 3.8vw, 19px);
  line-height: 1.74;
  text-wrap: pretty;
}

.lead span {
  display: block;
}

.cover-dossier {
  position: relative;
  margin-top: 34px;
  padding: 12px;
  border: 1px solid rgba(111, 87, 58, 0.13);
  border-radius: 32px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 230, 177, 0.2), transparent 32%),
    radial-gradient(circle at 84% 82%, rgba(185, 216, 245, 0.13), transparent 36%),
    rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 16px 48px rgba(100, 112, 130, 0.07);
  overflow: hidden;
  backdrop-filter: blur(22px);
}

.cover-dossier::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(111, 87, 58, 0.18);
  pointer-events: none;
}

.dossier-index {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  color: rgba(52, 50, 47, 0.64);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.dossier-frame {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: clamp(210px, 34vw, 300px);
  padding: 34px 24px;
  border-radius: 22px;
  background:
    linear-gradient(rgba(111, 87, 58, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 87, 58, 0.055) 1px, transparent 1px),
    rgba(255, 255, 255, 0.24);
  background-size: 38px 38px;
  text-align: center;
}

.dossier-kicker {
  color: var(--gold-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dossier-summary {
  width: min(100%, 380px);
  margin-top: 24px;
  border-top: 1px solid rgba(111, 87, 58, 0.16);
  border-bottom: 1px solid rgba(111, 87, 58, 0.16);
  padding: 24px 0 22px;
}

.dossier-summary span {
  color: rgba(52, 50, 47, 0.55);
  font-size: 11px;
  font-weight: 850;
}

.dossier-summary strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(25px, 6vw, 38px);
  font-weight: 900;
  line-height: 1.18;
}

.dossier-summary p {
  max-width: 400px;
  margin: 14px auto 0;
  color: var(--soft-ink);
  font-size: 15px;
  line-height: 1.9;
}

.dossier-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}

.dossier-tags span {
  min-height: 30px;
  border: 1px solid rgba(111, 87, 58, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  padding: 0 12px;
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 850;
  line-height: 30px;
}

.hero-floating-chip {
  position: absolute;
  z-index: 2;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  padding: 0 13px;
  color: var(--soft-ink);
  font-size: 12px;
  font-weight: 760;
  line-height: 34px;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 28px rgba(90, 98, 110, 0.1);
  animation: floatSoft 4.2s ease-in-out infinite;
}

.chip-left {
  left: 18px;
  top: 18px;
}

.chip-right {
  right: 16px;
  top: 56px;
  animation-delay: -1.5s;
}

.access-screen,
.prep-screen,
.generating-screen {
  display: grid;
  align-content: center;
}

.access-card,
.prep-card,
.generating-card {
  padding: clamp(28px, 6vw, 52px);
}

.prep-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.access-card h2,
.prep-card h2,
.generating-card h2 {
  margin-top: 34px;
  color: var(--ink);
  font-size: clamp(30px, 7vw, 48px);
  font-weight: 760;
  line-height: 1.16;
  letter-spacing: 0;
  text-wrap: balance;
}

.access-copy {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  text-wrap: pretty;
}

.access-form {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.access-form label {
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 850;
}

.access-form input {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(32, 32, 30, 0.09);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--ink);
  padding: 0 16px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.access-form input:focus {
  border-color: rgba(101, 85, 63, 0.38);
  box-shadow: 0 14px 34px rgba(101, 85, 63, 0.08);
}

.access-card .code-message {
  min-height: 22px;
  margin-top: 14px;
  font-size: 13px;
}

.prep-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.prep-list div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 13px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--glass-fill);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54), 0 12px 28px rgba(100, 112, 130, 0.07);
  backdrop-filter: blur(18px);
}

.prep-list span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--panel);
  font-size: 12px;
  font-weight: 950;
}

.prep-list p {
  color: var(--soft-ink);
  line-height: 1.55;
}

.cover-divider {
  width: min(100%, 520px);
  height: 1px;
  margin: 30px auto 24px;
  background: linear-gradient(90deg, transparent, rgba(32, 32, 30, 0.22), transparent);
}

.portrait-card {
  display: grid;
  grid-template-columns: 122px 1fr;
  gap: 18px;
  align-items: stretch;
}

.portrait-frame {
  display: grid;
  place-items: center;
  min-height: 148px;
  border: 0;
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.8) 0 22%, transparent 23%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(224, 222, 214, 0.72)),
    var(--paper-deep);
  overflow: hidden;
}

.persona-orb {
  display: grid;
  place-items: center;
  width: 98px;
  height: 98px;
  border: 10px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: var(--ink);
  color: var(--ink);
  font-family: var(--sans);
  box-shadow: 0 16px 30px rgba(41, 39, 34, 0.13);
}

.persona-orb span {
  color: var(--panel);
  font-size: 34px;
  font-weight: 850;
  line-height: 1;
}

.persona-orb small {
  color: rgba(248, 247, 242, 0.72);
  font-size: 11px;
  font-weight: 800;
}

.portrait-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  text-align: left;
}

.portrait-copy p {
  margin-top: 12px;
  color: var(--soft-ink);
  font-size: 18px;
  line-height: 1.68;
  text-wrap: pretty;
}

.intro-bottom {
  display: grid;
  gap: 14px;
}

.hero-panel,
.price-strip {
  display: grid;
  gap: 12px;
}

.profile-grid {
  display: grid;
  gap: 0;
}

.hero-panel {
  grid-template-columns: repeat(3, 1fr);
  border: 0;
  background: transparent;
  overflow: visible;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-panel > div,
.price-strip div {
  position: relative;
  padding: 18px;
}

.hero-panel > div {
  min-height: 118px;
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 255, 255, 0.48), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.16)),
    rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 44px rgba(100, 112, 130, 0.06);
  backdrop-filter: blur(26px) saturate(1.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.hero-panel > div:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(100, 112, 130, 0.11);
}

.hero-panel strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.42;
}

.mini-3d-icon {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 12px;
  filter: drop-shadow(0 12px 16px rgba(100, 112, 130, 0.12));
  animation: floatSoft 4.8s ease-in-out infinite;
}

.icon-stack {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(177, 213, 245, 0.55)),
    #dcecf8;
  transform: rotate(-7deg);
}

.icon-stack::before,
.icon-orb::before,
.icon-diamond::before {
  content: "";
  display: block;
}

.icon-stack::before {
  width: 18px;
  height: 6px;
  margin: 9px auto 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 0 rgba(255, 255, 255, 0.46);
}

.icon-orb {
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.95), transparent 26%),
    linear-gradient(145deg, rgba(193, 231, 214, 0.78), rgba(244, 225, 161, 0.5));
  animation-delay: -1.4s;
}

.icon-diamond {
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(248, 209, 222, 0.72), rgba(199, 211, 250, 0.68));
  transform: rotate(45deg);
  animation-delay: -2.2s;
}

.price-strip {
  grid-template-columns: 1fr;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.14)),
    rgba(255, 255, 255, 0.18);
  overflow: hidden;
  backdrop-filter: blur(24px);
}

.price-strip span {
  display: block;
  color: var(--ink);
  font-size: 17px;
  font-weight: 760;
}

.price-strip small,
.notice,
.code-message {
  color: var(--muted);
  font-family: var(--sans);
  line-height: 1.62;
}

.price-strip small {
  display: block;
  margin-top: 5px;
}

.notice {
  font-size: 13px;
}

.primary-button,
.ghost-button {
  min-height: 50px;
  border: 0;
  font-family: var(--sans);
  font-weight: 760;
  line-height: 1;
}

.primary-button {
  width: 100%;
  border-radius: 999px;
  background: var(--ink);
  color: var(--panel);
  box-shadow: 0 16px 42px rgba(32, 32, 30, 0.18);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.primary-button:active,
.ghost-button:active,
.option-button:active {
  transform: scale(0.985);
}

.primary-button:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 18px 48px rgba(32, 32, 30, 0.22);
}

.ghost-button {
  min-width: 48px;
  padding: 0 16px;
  border: 1px solid rgba(32, 32, 30, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--ink);
}

.ghost-button:disabled {
  cursor: default;
  opacity: 0.36;
}

.quiz-screen {
  padding-top: 18px;
}

.quiz-title-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.quiz-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.progress-wrap {
  flex: 1;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
}

.progress-track {
  height: 3px;
  background: rgba(17, 16, 14, 0.12);
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--ink), var(--gold));
  transition: width 0.25s ease;
}

.question-card {
  min-height: min(590px, calc(100svh - 116px));
  padding: clamp(26px, 6vw, 46px);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.question-card.is-entering {
  animation: questionSlideIn 0.42s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.question-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.question-meta span {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 32px;
  font-weight: 760;
  line-height: 1.1;
}

.question-card h2 {
  margin: 30px 0 24px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(25px, 5.8vw, 36px);
  font-weight: 820;
  line-height: 1.34;
  text-wrap: pretty;
}

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

.options-list.is-locked {
  pointer-events: none;
}

.option-button {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 74px;
  padding: 14px 16px;
  border: 1px solid rgba(32, 32, 30, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.36)),
    rgba(255, 255, 255, 0.42);
  color: var(--soft-ink);
  text-align: left;
  font-size: 16px;
  line-height: 1.62;
  opacity: 0;
  transform: translateY(10px);
  animation: optionFloatIn 0.34s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(var(--option-index, 0) * 46ms + 80ms);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(16px);
}

.option-button:hover {
  border-color: rgba(32, 32, 30, 0.22);
  background: rgba(255, 255, 255, 0.74);
  transform: translateX(2px);
}

.options-list.is-locked .option-button:not(.is-selected) {
  opacity: 0.38;
  transform: scale(0.985);
}

.option-button.is-selected {
  border-color: rgba(101, 85, 63, 0.42);
  background:
    radial-gradient(circle at 96% 16%, rgba(238, 224, 196, 0.38), transparent 34%),
    linear-gradient(145deg, rgba(252, 248, 239, 0.74), rgba(255, 255, 255, 0.58)),
    rgba(255, 255, 255, 0.88);
  color: var(--ink);
  box-shadow: 0 16px 36px rgba(101, 85, 63, 0.1);
  opacity: 1;
  transform: scale(0.99);
  animation: selectedPress 0.26s ease both;
}

.option-letter {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(32, 32, 30, 0.12);
  border-radius: 999px;
  color: var(--gold-dark);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 900;
}

.option-button.is-selected .option-letter {
  border-color: var(--gold-dark);
  background: var(--gold-dark);
  color: var(--panel);
}

.result-screen {
  padding-top: 16px;
}

.share-report-card {
  max-width: 620px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 44px);
  overflow: hidden;
  animation: resultReveal 0.72s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.share-report-card {
  background:
    radial-gradient(circle at 84% 10%, rgba(255, 224, 160, 0.35), transparent 26%),
    radial-gradient(circle at 8% 22%, rgba(198, 225, 255, 0.34), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.44)),
    rgba(255, 255, 255, 0.5);
}

.share-report-card::after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -96px;
  width: 210px;
  height: 210px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.68), transparent 22%),
    linear-gradient(145deg, rgba(255, 224, 164, 0.2), rgba(196, 222, 248, 0.18));
  filter: blur(2px);
  opacity: 0.72;
  pointer-events: none;
}

.result-emblem {
  position: absolute;
  right: clamp(22px, 5vw, 44px);
  top: 112px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(84px, 20vw, 140px);
  aspect-ratio: 1;
  border: 1px solid rgba(111, 87, 58, 0.22);
  border-radius: 26px;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.74), transparent 24%),
    radial-gradient(circle at 76% 80%, rgba(172, 143, 102, 0.2), transparent 34%),
    rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62), 0 22px 48px rgba(100, 112, 130, 0.1);
  backdrop-filter: blur(18px);
  animation: floatSoft 5.8s ease-in-out infinite;
}

.result-emblem span {
  position: absolute;
  top: -32px;
  border: 1px solid rgba(111, 87, 58, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  padding: 6px 11px;
  color: var(--gold-dark);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
  backdrop-filter: blur(14px);
}

.result-emblem i {
  display: block;
  position: relative;
  width: 52px;
  height: 58px;
  border: 1px solid rgba(101, 85, 63, 0.22);
  border-radius: 24px 24px 16px 16px;
  background:
    radial-gradient(circle at 50% 30%, rgba(101, 85, 63, 0.22) 0 12px, transparent 13px),
    radial-gradient(ellipse at 50% 82%, rgba(101, 85, 63, 0.2) 0 18px, transparent 19px),
    rgba(255, 255, 255, 0.24);
}

.result-emblem i::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(101, 85, 63, 0.12);
  border-radius: 18px 18px 12px 12px;
}

.result-emblem b {
  position: absolute;
  bottom: 10px;
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: clamp(15px, 4vw, 24px);
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.64);
}

.report-stamp {
  position: relative;
  z-index: 1;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(42, 37, 32, 0.18);
  color: var(--soft-ink);
  font-size: 12px;
  font-weight: 900;
}

.result-hero {
  position: relative;
  z-index: 1;
  padding: 30px 0 26px;
  padding-right: clamp(90px, 23vw, 170px);
}

.result-hero h2 {
  margin-top: 12px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(40px, 9.4vw, 68px);
  font-weight: 880;
  line-height: 1.08;
  text-wrap: balance;
}

.result-hero p {
  max-width: 560px;
  margin-top: 16px;
  color: var(--soft-ink);
  font-size: clamp(16px, 4.1vw, 20px);
  line-height: 1.7;
  text-wrap: pretty;
}

.keyword-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.keyword-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border: 1px solid rgba(168, 121, 72, 0.28);
  border-radius: 999px;
  background: rgba(255, 246, 224, 0.42);
  color: var(--gold-dark);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 900;
}

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

.report-metrics div {
  min-width: 0;
  border: 1px solid rgba(111, 87, 58, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.28);
  padding: 13px 12px;
  backdrop-filter: blur(14px);
}

.report-metrics strong {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 7px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(15px, 3.4vw, 20px);
  font-weight: 880;
  line-height: 1.22;
}

.ability-section {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  border: 1px solid rgba(111, 87, 58, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.2)),
    rgba(255, 255, 255, 0.22);
  padding: 16px;
  backdrop-filter: blur(14px);
}

.ability-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(111, 87, 58, 0.12);
}

.ability-heading p {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.ability-bars {
  display: grid;
  gap: 8px;
}

.ability-bar {
  display: grid;
  gap: 7px;
}

.ability-bar div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--soft-ink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 900;
}

.ability-bar strong {
  color: var(--gold-dark);
  font-size: 11px;
}

.ability-bar i {
  display: block;
  width: 100%;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(72, 67, 60, 0.08);
}

.ability-bar i::before {
  content: "";
  display: block;
  width: var(--bar-value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(104, 85, 62, 0.82), rgba(190, 143, 81, 0.72));
}

.profile-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.result-block {
  border: 1px solid rgba(111, 87, 58, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.2)),
    rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(14px);
}

.result-block {
  padding: 20px;
}

.result-block.wide {
  grid-column: 1 / -1;
}

.result-block p,
.prep-list p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.78;
}

.result-block p {
  color: var(--soft-ink);
  font-family: var(--serif);
  font-size: clamp(15px, 3.7vw, 17px);
  line-height: 1.82;
}

.result-block .figure-note {
  margin-top: 12px;
  border-top: 1px solid rgba(111, 87, 58, 0.12);
  padding-top: 12px;
  color: var(--soft-ink);
}

.generate-orbit {
  position: relative;
  width: 168px;
  height: 168px;
  margin: 0 auto 28px;
}

.generate-orbit::before {
  content: "";
  position: absolute;
  inset: 34px;
  border-radius: 999px;
  background: linear-gradient(145deg, #65635c, #2a2926 62%, #11100e);
  box-shadow: 0 22px 42px rgba(32, 32, 30, 0.18);
  animation: pulseBadge 1.4s ease-in-out infinite;
}

.generate-orbit::after {
  content: "12";
  position: absolute;
  inset: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--ink);
  font-size: 28px;
  font-weight: 950;
}

.generate-orbit span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px;
  border-radius: 999px;
  background: var(--ink);
  transform: rotate(calc(var(--dot-index) * 30deg)) translateX(78px);
  animation: dotGather 2.1s ease-in-out infinite;
}

.generate-orbit span:nth-child(1) { --dot-index: 0; }
.generate-orbit span:nth-child(2) { --dot-index: 1; }
.generate-orbit span:nth-child(3) { --dot-index: 2; }
.generate-orbit span:nth-child(4) { --dot-index: 3; }
.generate-orbit span:nth-child(5) { --dot-index: 4; }
.generate-orbit span:nth-child(6) { --dot-index: 5; }
.generate-orbit span:nth-child(7) { --dot-index: 6; }
.generate-orbit span:nth-child(8) { --dot-index: 7; }
.generate-orbit span:nth-child(9) { --dot-index: 8; }
.generate-orbit span:nth-child(10) { --dot-index: 9; }
.generate-orbit span:nth-child(11) { --dot-index: 10; }
.generate-orbit span:nth-child(12) { --dot-index: 11; }

.generating-card {
  text-align: center;
}

.generate-steps {
  display: grid;
  gap: 9px;
  margin-top: 24px;
}

.generate-steps p {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 38px;
  animation: stepGlow 2.1s ease-in-out infinite;
}

.generate-steps p:nth-child(2) {
  animation-delay: 0.28s;
}

.generate-steps p:nth-child(3) {
  animation-delay: 0.56s;
}

.share-footer {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(42, 37, 32, 0.18);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.result-actions {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

@keyframes cardRise {
  from {
    opacity: 0.82;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes softFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes questionSlideIn {
  from {
    opacity: 0;
    transform: translateX(18px) translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
  }
}

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

@keyframes selectedPress {
  0% {
    transform: scale(1);
  }
  55% {
    transform: scale(0.975);
  }
  100% {
    transform: scale(0.99);
  }
}

@keyframes floatSoft {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -7px;
  }
}

@keyframes resultReveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulseBadge {
  0%, 100% {
    transform: scale(0.96);
  }
  50% {
    transform: scale(1.04);
  }
}

@keyframes dotGather {
  0%, 100% {
    opacity: 0.55;
    transform: rotate(calc(var(--dot-index) * 30deg)) translateX(78px) scale(0.9);
  }
  50% {
    opacity: 1;
    transform: rotate(calc(var(--dot-index) * 30deg)) translateX(58px) scale(1.2);
  }
}

@keyframes stepGlow {
  0%, 100% {
    border-color: var(--line);
    color: var(--muted);
  }
  45%, 60% {
    border-color: rgba(32, 32, 30, 0.3);
    color: var(--ink);
  }
}

@media (max-width: 680px) {
  #app {
    width: 100%;
    padding: 12px 10px max(34px, env(safe-area-inset-bottom));
  }

  .screen {
    min-height: auto;
  }

  .intro-screen {
    align-content: start;
    gap: 12px;
    padding-bottom: 20px;
  }

  .cover-shell,
  .question-card,
  .share-report-card,
  .access-card,
  .prep-card,
  .generating-card {
    border-radius: 34px;
    padding: 22px 18px;
  }

  .cover-shell::before,
  .share-report-card::before,
  .question-card::before {
    inset: 6px;
    border-radius: 28px;
  }

  .cover-top,
  .prep-top,
  .quiz-title-row,
  .report-stamp,
  .share-footer {
    align-items: flex-start;
  }

  h1 {
    margin-top: 30px;
    font-size: clamp(39px, 10.8vw, 50px);
    font-weight: 860;
    line-height: 1.1;
  }

  .lead {
    margin-top: 16px;
    font-size: 15.5px;
    line-height: 1.78;
  }

  .access-screen,
  .prep-screen,
  .generating-screen {
    align-content: start;
  }

  .access-card h2,
  .prep-card h2,
  .generating-card h2 {
    margin-top: 28px;
    font-size: clamp(28px, 7.8vw, 36px);
    line-height: 1.22;
  }

  .prep-list {
    margin: 22px 0;
  }

  .prep-list div {
    padding: 14px;
  }

  .generate-orbit {
    width: 146px;
    height: 146px;
    margin-bottom: 22px;
  }

  .generate-orbit span {
    transform: rotate(calc(var(--dot-index) * 30deg)) translateX(68px);
  }

  .cover-divider {
    margin: 20px 0 16px;
  }

  .portrait-card,
  .cover-dossier,
  .hero-panel,
  .price-strip,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .cover-dossier {
    margin-top: 28px;
    border-radius: 28px;
    padding: 10px;
  }

  .cover-dossier::before {
    inset: 22px;
  }

  .dossier-index {
    padding: 11px 13px;
    font-size: 9px;
  }

  .dossier-frame {
    min-height: 220px;
    padding: 28px 20px;
    border-radius: 20px;
  }

  .dossier-summary {
    margin-top: 20px;
    padding: 20px 0 18px;
  }

  .dossier-summary strong {
    font-size: clamp(24px, 6.4vw, 30px);
  }

  .dossier-summary p {
    font-size: 14.5px;
    line-height: 1.86;
  }

  .hero-floating-chip {
    min-height: 30px;
    padding: 0 11px;
    font-size: 11px;
    line-height: 30px;
  }

  .portrait-frame {
    min-height: 112px;
    border-radius: 28px;
  }

  .persona-orb {
    width: 84px;
    height: 84px;
    border-width: 8px;
  }

  .persona-orb span {
    font-size: 29px;
  }

  .portrait-copy {
    padding: 14px 0;
  }

  .portrait-copy p {
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.72;
  }

  .hero-panel strong,
  .price-strip span {
    font-size: 16px;
  }

  .price-strip {
    display: none;
  }

  .hero-panel > div,
  .price-strip div {
    padding: 16px;
  }

  .hero-panel > div {
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: 12px;
    align-items: center;
    min-height: 86px;
    border-radius: 24px;
  }

  .hero-panel .mini-3d-icon {
    grid-row: 1 / span 2;
  }

  .hero-panel .label,
  .hero-panel strong {
    grid-column: 2;
  }

  .mini-3d-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 12px;
  }

  .question-card {
    min-height: 0;
    padding-bottom: 18px;
  }

  .quiz-screen {
    padding-top: 8px;
  }

  .quiz-title-row {
    margin-bottom: 12px;
  }

  .quiz-topbar {
    margin-bottom: 12px;
  }

  .question-meta {
    padding-bottom: 13px;
  }

  .question-meta span {
    font-size: 28px;
  }

  .question-card h2 {
    margin: 24px 0 20px;
    font-size: clamp(22px, 6vw, 28px);
    line-height: 1.44;
  }

  .options-list {
    gap: 8px;
  }

  .option-button {
    grid-template-columns: 34px 1fr;
    min-height: 64px;
    border-radius: 20px;
    padding: 11px 13px;
    font-size: 15px;
    line-height: 1.66;
  }

  .option-letter {
    width: 34px;
    height: 34px;
  }

  .share-report-card::after {
    content: "";
  }

  .result-emblem {
    right: 20px;
    top: 104px;
    width: 68px;
    border-width: 1px;
    border-radius: 19px;
  }

  .result-hero {
    padding: 22px 0 18px;
    padding-right: 92px;
  }

  .result-hero h2 {
    font-size: clamp(31px, 8.7vw, 40px);
    line-height: 1.14;
  }

  .result-hero p {
    margin-top: 14px;
    font-size: 15.5px;
    line-height: 1.78;
  }

  .keyword-row {
    gap: 7px;
    margin-top: 14px;
  }

  .keyword-row span {
    min-height: 29px;
    padding: 0 10px;
  }

  .report-metrics {
    gap: 6px;
    margin-bottom: 10px;
  }

  .report-metrics div {
    border-radius: 14px;
    padding: 10px 8px;
  }

  .report-metrics strong {
    margin-top: 5px;
    font-size: 13px;
    line-height: 1.22;
  }

  .ability-section {
    gap: 7px;
    margin-bottom: 11px;
    border-radius: 16px;
    padding: 13px;
  }

  .ability-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
    padding-bottom: 9px;
  }

  .ability-bar div {
    font-size: 11px;
  }

  .ability-bar i {
    height: 6px;
  }

  .result-block {
    padding: 16px;
  }

  .result-block p {
    margin-top: 8px;
    line-height: 1.76;
  }

  .share-footer {
    flex-direction: column;
    gap: 6px;
    margin-top: 13px;
    padding-top: 12px;
    font-size: 11px;
  }

  .intro-bottom > .primary-button {
    order: -1;
    min-height: 54px;
    margin: 2px 8px 4px;
    box-shadow: 0 16px 42px rgba(32, 32, 30, 0.18);
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: clamp(38px, 11vw, 48px);
  }

  .result-hero h2 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .result-hero p {
    font-size: 15.5px;
  }
}

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