/* ── 背景 ─────────────────────────────────────────────────── */
body {
  background:
    radial-gradient(1100px 760px at 50% -8%, rgba(124, 92, 255, .17), transparent 62%),
    radial-gradient(900px 620px at 105% 18%, rgba(69, 214, 195, .07), transparent 62%),
    radial-gradient(900px 700px at -10% 62%, rgba(242, 184, 75, .055), transparent 66%),
    var(--bg);
}

.aurora {
  position: fixed;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(38% 28% at 28% 32%, rgba(124, 92, 255, .12), transparent 70%),
    radial-gradient(32% 24% at 74% 66%, rgba(69, 214, 195, .07), transparent 70%),
    radial-gradient(28% 22% at 52% 86%, rgba(242, 184, 75, .06), transparent 70%);
  animation: auroraDrift 28s ease-in-out infinite alternate;
}

.starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.starfield::before,
.starfield::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: transparent;
  box-shadow: var(--stars-1, none);
  animation: twinkle 7s ease-in-out infinite alternate;
}

.starfield::after {
  width: 1px;
  height: 1px;
  box-shadow: var(--stars-2, none);
  animation-duration: 11s;
  animation-delay: -3s;
}

.app {
  position: relative;
  z-index: 1;
}

.shell {
  width: min(100%, var(--maxw));
  margin: 0 auto;
  padding: 0 var(--pad);
}

.stage {
  position: relative;
  min-height: 100dvh;
  padding: 28px 0 56px;
}

.hidden {
  display: none !important;
}

/* ── 品牌 ─────────────────────────────────────────────────── */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
}

.brand-star {
  width: 26px;
  height: 26px;
  color: var(--accent);
  filter: drop-shadow(0 0 14px rgba(242, 184, 75, .45));
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2em;
}

.brand-text span {
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .28em;
  color: var(--ink-faint);
}

.brand--small {
  transform: scale(.94);
  transform-origin: left center;
}

/* ── 首页 ─────────────────────────────────────────────────── */
.intro-hero {
  padding: clamp(54px, 12vh, 104px) 0 0;
}

.eyebrow {
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--accent);
  text-transform: uppercase;
}

.intro-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 9.4vw, 66px);
  line-height: 1.2;
  letter-spacing: -.015em;
  font-weight: 700;
}

.intro-hero h1 .grad {
  background: linear-gradient(120deg, #F2B84B 0%, #FF8A5B 42%, #A78BFA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin-top: 22px;
  color: var(--ink-dim);
  font-size: clamp(15px, 4vw, 17px);
  line-height: 1.9;
}

/* 程序化聚焦的标题不需要描边；它们不在 Tab 顺序里 */
#sceneText:focus,
.result-archetype:focus {
  outline: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 26px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s, background .2s;
  -webkit-tap-highlight-color: transparent;
}

.btn--primary {
  width: 100%;
  max-width: 360px;
  margin-top: 30px;
  color: #0A0C12;
  background: linear-gradient(120deg, #F2B84B 0%, #FF9A5B 48%, #A78BFA 100%);
  box-shadow:
    0 16px 50px rgba(242, 184, 75, .2),
    0 0 0 1px rgba(255, 255, 255, .18) inset;
}

.btn--primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow:
    0 22px 62px rgba(242, 184, 75, .28),
    0 0 0 1px rgba(255, 255, 255, .22) inset;
}

.btn--primary:active {
  transform: translateY(0) scale(.995);
}

.btn-arrow {
  font-size: 18px;
  line-height: 1;
}

.micro-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
}

.micro-stats i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink-faint);
  opacity: .6;
}

/* ── 轨道视觉 ─────────────────────────────────────────────── */
.orbit {
  position: relative;
  width: min(88vw, 420px);
  aspect-ratio: 1;
  margin: clamp(36px, 8vh, 72px) auto 0;
  --orbit-r: calc(min(88vw, 420px) * .4);
}

.orbit::before {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 184, 75, .12), transparent 66%);
  filter: blur(10px);
}

.orbit::after {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px dashed rgba(255, 255, 255, .08);
  border-radius: 50%;
}

.orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 25%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 30%, rgba(255, 255, 255, .95), rgba(242, 184, 75, .6) 14%, rgba(124, 92, 255, .2) 44%, transparent 70%);
  box-shadow:
    0 0 60px rgba(242, 184, 75, .32),
    0 0 130px rgba(124, 92, 255, .16);
}

.orbit-node {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  margin: -22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--node-color);
  background: rgba(10, 14, 24, .72);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, .4),
    0 0 18px rgba(255, 255, 255, .04);
  backdrop-filter: blur(8px);
  transform: rotate(calc(var(--i) * 36deg)) translateY(calc(-1 * var(--orbit-r))) rotate(calc(var(--i) * -36deg));
  animation: nodeGlow 5s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -.5s);
}

.orbit-node svg {
  width: 22px;
  height: 22px;
}

/* ── 维度网格 ─────────────────────────────────────────────── */
.dimension-section {
  margin-top: clamp(64px, 12vh, 112px);
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .26em;
  color: var(--ink-faint);
}

.section-title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(26px, 6.5vw, 38px);
  line-height: 1.35;
  letter-spacing: -.01em;
  font-weight: 700;
}

.dimension-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.dimension-card {
  position: relative;
  flex: 0 0 calc(50% - 6px);
  min-height: 138px;
  padding: 18px 16px 16px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--panel);
  transition: transform .25s var(--ease), border-color .25s, background .25s;
}

.dimension-card::before {
  content: "";
  position: absolute;
  top: -34%;
  right: -24%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .07), transparent 68%);
  opacity: .75;
  pointer-events: none;
}

.dimension-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, .17);
  background: var(--panel-2);
}

.dimension-icon {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--dim-color);
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .07);
}

.dimension-icon svg {
  width: 21px;
  height: 21px;
}

.dimension-card h3 {
  position: relative;
  margin-top: 14px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .1em;
}

.dimension-card p {
  position: relative;
  margin-top: 6px;
  color: var(--ink-faint);
  font-size: 12px;
  line-height: 1.65;
}

.intro-footer {
  margin-top: clamp(56px, 10vh, 92px);
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-faint);
  font-size: 12px;
  line-height: 1.8;
}

.intro-footer .muted {
  margin-top: 4px;
  opacity: .65;
}

/* ── 答题页 ───────────────────────────────────────────────── */
.stage--quiz {
  padding-top: 24px;
}

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

.link-btn {
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--ink-dim);
  font-size: 13px;
  letter-spacing: .04em;
  cursor: pointer;
  transition: color .2s;
  -webkit-tap-highlight-color: transparent;
}

.link-btn:hover {
  color: var(--ink);
}

.link-btn:disabled {
  opacity: .26;
  cursor: default;
}

.progress-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  max-width: 430px;
}

.progress {
  flex: 1;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #FF8A5B 55%, var(--accent-2));
  transition: width .38s var(--ease);
}

.progress-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--ink-faint);
  white-space: nowrap;
}

.quiz-card {
  margin-top: clamp(48px, 10vh, 96px);
}

.question-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .24em;
  color: var(--accent);
}

.question-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.quiz-card h2 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(24px, 6.4vw, 36px);
  line-height: 1.5;
  letter-spacing: -.01em;
  font-weight: 700;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: clamp(28px, 6vh, 48px);
}

.option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 16px 16px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--panel);
  color: var(--ink);
  text-align: left;
  font-size: clamp(14px, 3.8vw, 16px);
  line-height: 1.55;
  cursor: pointer;
  transition: transform .18s var(--ease), border-color .18s, background .18s, box-shadow .18s;
  -webkit-tap-highlight-color: transparent;
}

.option:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .2);
  background: var(--panel-2);
}

.option:active {
  transform: translateY(0) scale(.995);
}

.option.is-selected {
  border-color: var(--accent);
  background: rgba(242, 184, 75, .09);
  box-shadow:
    0 0 0 1px var(--accent) inset,
    0 12px 40px rgba(242, 184, 75, .07);
}

.option-key {
  flex: none;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-faint);
  transition: border-color .18s, color .18s;
}

.option.is-selected .option-key {
  border-color: var(--accent);
  color: var(--accent);
}

.option-text {
  flex: 1;
}

.option-icon {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--opt-color);
  opacity: .42;
  transition: opacity .18s, transform .18s;
}

.option-icon svg {
  width: 24px;
  height: 24px;
}

.option:hover .option-icon {
  opacity: .7;
}

.option.is-selected .option-icon {
  opacity: 1;
  transform: scale(1.05);
}

.quiz-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}

.key-hint {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .1em;
  color: var(--ink-faint);
}

/* ── 结果页 ───────────────────────────────────────────────── */
.stage--result {
  padding-top: 24px;
}

.result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.result-top-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .24em;
  color: var(--ink-faint);
}

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

.result-hero {
  position: relative;
  padding: clamp(36px, 8vh, 64px) 20px 34px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .018));
  text-align: center;
}

.result-hero::before {
  content: "";
  position: absolute;
  inset: -42% -20% auto;
  height: 90%;
  background: radial-gradient(ellipse at center, rgba(242, 184, 75, .13), transparent 68%);
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--talent-from) 18%, transparent), transparent 68%);
  pointer-events: none;
}

.result-icon {
  position: relative;
  width: 84px;
  height: 84px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border: 1px solid color-mix(in srgb, var(--talent-from) 35%, transparent);
  border-radius: 50%;
  color: var(--talent-from);
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02) 50%, transparent 74%);
  box-shadow: 0 0 60px rgba(255, 255, 255, .05);
  box-shadow: 0 0 60px color-mix(in srgb, var(--talent-from) 22%, transparent);
}

.result-icon::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px dashed rgba(255, 255, 255, .12);
  border-color: color-mix(in srgb, var(--talent-from) 28%, transparent);
  border-radius: 50%;
  animation: spin 26s linear infinite;
}

.result-icon svg {
  width: 42px;
  height: 42px;
}

.result-eyebrow {
  position: relative;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .26em;
  color: var(--talent-from);
}

.result-archetype {
  position: relative;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(44px, 12vw, 72px);
  line-height: 1.15;
  letter-spacing: .06em;
  font-weight: 700;
}

.result-en {
  position: relative;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .3em;
  color: var(--ink-faint);
}

.result-dim {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border: 1px solid color-mix(in srgb, var(--talent-from) 35%, transparent);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  font-size: 12px;
  letter-spacing: .08em;
}

.result-dim b {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--talent-from);
}

.result-tagline {
  position: relative;
  max-width: 22em;
  margin: 18px auto 0;
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.85;
}

.result-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
  border-top: 1px solid var(--line-soft);
}

.stat {
  padding: 18px 8px 0;
}

.stat + .stat {
  border-left: 1px solid var(--line-soft);
}

.stat b {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(22px, 6vw, 30px);
  line-height: 1;
  color: var(--ink);
}

.stat span {
  display: block;
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--ink-faint);
}

/* ── 结果区块 ─────────────────────────────────────────────── */
.result-section {
  margin-top: clamp(42px, 8vh, 72px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.section-head .section-kicker {
  margin-bottom: 6px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 6vw, 32px);
  line-height: 1.35;
  letter-spacing: -.01em;
  font-weight: 700;
}

.section-note {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--ink-faint);
  white-space: nowrap;
}

.radar-panel {
  position: relative;
  overflow: hidden;
  padding: 6px 2px 2px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .045), transparent 64%),
    var(--panel);
}

.radar-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.radar-ring {
  fill: none;
  stroke: rgba(255, 255, 255, .085);
  stroke-width: 1;
}

.radar-ring--outer {
  stroke: rgba(255, 255, 255, .15);
}

.radar-axis {
  stroke: rgba(255, 255, 255, .065);
  stroke-width: 1;
}

.radar-label {
  font-family: var(--font-ui);
  font-size: 15px;
  letter-spacing: .08em;
}

.radar-label--top {
  font-weight: 700;
}

.radar-score {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
}

.radar-score--top {
  font-weight: 700;
}

.talent-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.talent-row {
  display: grid;
  grid-template-columns: 24px 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--panel);
}

.talent-rank {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-faint);
}

.talent-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  color: var(--row-color);
  background: rgba(255, 255, 255, .035);
}

.talent-icon svg {
  width: 21px;
  height: 21px;
}

.talent-main {
  min-width: 0;
}

.talent-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.talent-line strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
}

.talent-line span {
  font-size: 12px;
  color: var(--ink-faint);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.talent-bar {
  height: 3px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
}

.talent-bar i {
  display: block;
  width: var(--score);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--row-color), rgba(255, 255, 255, .7));
  transform-origin: left;
  animation: barGrow .9s var(--ease) both;
}

.talent-desc {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--ink-faint);
}

.talent-score {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--row-color);
}

/* ── 组合 ─────────────────────────────────────────────────── */
.combo-card {
  position: relative;
  overflow: hidden;
  padding: 26px 22px;
  border: 1px solid var(--line-soft);
  border: 1px solid color-mix(in srgb, var(--talent-from) 26%, var(--line-soft));
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--talent-from) 8%, transparent), color-mix(in srgb, var(--talent-to) 6%, transparent));
}

.combo-card::before {
  content: "×";
  position: absolute;
  right: -4px;
  bottom: -30px;
  font-family: var(--font-display);
  font-size: 150px;
  line-height: 1;
  color: rgba(255, 255, 255, .035);
  color: color-mix(in srgb, var(--talent-from) 9%, transparent);
  pointer-events: none;
}

.combo-title {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(24px, 6vw, 32px);
  letter-spacing: .06em;
  line-height: 1.35;
}

.combo-title em {
  font-style: normal;
  color: var(--talent-from);
}

.combo-text {
  position: relative;
  max-width: 30em;
  margin-top: 12px;
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.9;
}

/* ── 深度解读 ─────────────────────────────────────────────── */
.portrait {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.portrait-block {
  padding-left: 18px;
  border-left: 2px solid rgba(255, 255, 255, .12);
  border-left-color: color-mix(in srgb, var(--talent-from) 35%, transparent);
}

.portrait-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .18em;
  color: var(--talent-from);
}

.portrait-block p {
  margin-top: 6px;
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.95;
}

.motto {
  position: relative;
  margin-top: 6px;
  padding: 24px 22px 22px 26px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--panel);
}

.motto::before {
  content: "“";
  position: absolute;
  left: 14px;
  top: 4px;
  font-family: var(--font-display);
  font-size: 50px;
  line-height: 1;
  color: rgba(255, 255, 255, .1);
  color: color-mix(in srgb, var(--talent-from) 28%, transparent);
}

.motto p {
  padding-left: 18px;
  font-family: var(--font-display);
  font-size: clamp(17px, 4.5vw, 21px);
  line-height: 1.7;
}

.motto cite {
  display: block;
  margin-top: 10px;
  padding-left: 18px;
  font-style: normal;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--ink-faint);
}

/* ── 名人 / 职业 / 目标 ───────────────────────────────────── */
.famous-grid,
.career-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.famous-card {
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--panel);
}

.famous-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.famous-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .06em;
}

.famous-field {
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--talent-from);
  white-space: nowrap;
}

.famous-note {
  margin-top: 10px;
  color: var(--ink-faint);
  font-size: 13px;
  line-height: 1.75;
}

.career-card {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--panel);
}

.career-index {
  padding-top: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--talent-from);
}

.career-card strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
}

.career-card p {
  margin-top: 4px;
  color: var(--ink-faint);
  font-size: 12px;
  line-height: 1.6;
}

.goals {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.goal-card {
  padding: 20px 20px 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--panel);
}

.goal-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}

.goal-head strong {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: .08em;
}

.goal-head span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--ink-faint);
}

.goal-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.goal-card li {
  position: relative;
  padding-left: 16px;
  color: var(--ink-dim);
  font-size: 13px;
  line-height: 1.75;
}

.goal-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--talent-from);
  box-shadow: 0 0 10px rgba(255, 255, 255, .12);
  box-shadow: 0 0 10px color-mix(in srgb, var(--talent-from) 48%, transparent);
}

/* ── 操作区 / 页脚 / 提示 ─────────────────────────────────── */
.result-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 36px;
}

.btn--save {
  color: #0A0C12;
  background: linear-gradient(120deg, var(--talent-from), var(--talent-to));
  box-shadow: 0 14px 42px rgba(0, 0, 0, .35);
}

.btn--save:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.btn--ghost {
  border: 1px solid var(--line-soft);
  background: var(--panel);
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--panel-2);
  transform: translateY(-1px);
}

.btn--text {
  border: 0;
  background: none;
  color: var(--ink-faint);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .04em;
}

.btn--text:hover {
  color: var(--ink-dim);
}

.result-actions .btn--text {
  align-self: center;
}

.action-note {
  color: var(--ink-faint);
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
}

.result-footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-faint);
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}

.result-footer .muted {
  margin-top: 4px;
  opacity: .65;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 50;
  max-width: calc(100vw - 40px);
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 20, 32, .95);
  color: var(--ink);
  font-size: 13px;
  text-align: center;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.noscript {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--bg);
  color: var(--ink);
  text-align: center;
}

/* ── 动效 ─────────────────────────────────────────────────── */
.reveal {
  animation: rise .7s var(--ease) both;
  animation-delay: var(--delay, 0ms);
}

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

@keyframes barGrow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

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

@keyframes twinkle {
  from {
    opacity: .5;
  }
  to {
    opacity: 1;
  }
}

@keyframes auroraDrift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(2%, 1.5%, 0) scale(1.06);
  }
}

@keyframes nodeGlow {
  from {
    box-shadow:
      0 8px 24px rgba(0, 0, 0, .4),
      0 0 12px rgba(255, 255, 255, .03);
  }
  to {
    box-shadow:
      0 8px 24px rgba(0, 0, 0, .4),
      0 0 22px rgba(255, 255, 255, .08);
  }
}

/* ── 响应式 ───────────────────────────────────────────────── */
@media (min-width: 560px) {
  .dimension-card {
    flex-basis: calc(33.333% - 8px);
  }

  .famous-grid,
  .career-grid {
    grid-template-columns: 1fr 1fr;
  }

  .result-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .result-actions .btn {
    width: auto;
  }

  .action-note {
    flex-basis: 100%;
    text-align: left;
  }
}

@media (min-width: 720px) {
  .dimension-card {
    flex-basis: calc(25% - 9px);
  }
}

@media (max-width: 520px) {
  .intro-hero h1 {
    font-size: clamp(26px, 8.4vw, 40px);
  }

  .intro-hero h1 .h1-line {
    display: inline-block;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .key-hint {
    display: none;
  }

  .result-top-label {
    display: none;
  }

  .stat {
    padding-left: 4px;
    padding-right: 4px;
  }

  .stat span {
    font-size: 9px;
  }
}

@media (max-width: 380px) {
  .micro-stats {
    gap: 8px;
    font-size: 9px;
  }

  .option {
    gap: 10px;
    padding: 14px 14px 14px 16px;
  }

  .option-icon {
    width: 28px;
    height: 28px;
  }

  .option-icon svg {
    width: 20px;
    height: 20px;
  }

  .result-tagline {
    font-size: 14px;
  }
}

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