:root {
  --ink: #181716;
  --ink-soft: rgba(24, 23, 22, 0.68);
  --gold: #9c7b4f;
  --gold-light: #c6a26c;
  --rice: #fff8ec;
  --paper: #f8efe1;
  --line: rgba(24, 23, 22, 0.1);
  --shadow: 0 26px 80px rgba(24, 23, 22, 0.14);
  --verm: #a34635;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: "Noto Serif SC", serif;
  background:
    radial-gradient(circle at 12% 18%, rgba(198, 162, 108, 0.24), transparent 28rem),
    radial-gradient(circle at 90% 6%, rgba(139, 107, 63, 0.18), transparent 24rem),
    linear-gradient(135deg, #fff8ef 0%, #efe0ca 48%, #f9f0df 100%);
}

.report-page { background: #eee5d4; }
.report-page .app-shell { background:linear-gradient(180deg, rgba(255,250,239,.32), rgba(222,207,182,.18)); }
.report-page .container { min-height:auto; }

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.app-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.app-shell::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(156, 123, 79, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(156, 123, 79, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 78%);
}

.orb {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(54px);
  opacity: 0.78;
  pointer-events: none;
}

.orb-left {
  top: 6rem;
  left: -7rem;
  width: 18rem;
  height: 18rem;
  background: rgba(198, 162, 108, 0.32);
}

.orb-right {
  top: -5rem;
  right: -5rem;
  width: 22rem;
  height: 22rem;
  background: rgba(139, 107, 63, 0.24);
}

.orb-bottom {
  right: 20%;
  bottom: 2rem;
  width: 30rem;
  height: 8rem;
  background: rgba(255, 255, 255, 0.52);
}

.container {
  position: relative;
  width: min(100%, 920px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  align-items: center;
}

/* 长结果页采用窄幅档案排版，保证段落和模块有呼吸感。 */
.container:has(#result-card) { width:min(100%, 820px); align-items:flex-start; padding-top:36px; padding-bottom:72px; }
.result-card { max-width:780px; margin:0 auto; padding:34px; }
.result-hero { min-height:250px; padding:8px 8px 34px; }
.result-hero > div:first-child { max-width:570px; }
.result-hero .eyebrow { margin-bottom:18px; }
.result-kicker { margin-top:0; }
.result-line { max-width:520px; }
.result-desc { max-width:620px; }
.verdict { margin-top:26px; padding:20px 24px; }
.score-overview { margin-top:26px; padding:26px; }
.result-card > .result-grid { margin-top:26px; padding:26px; gap:28px; }
.result-card > .spectrum-report { margin-top:30px; margin-bottom:28px; }
.result-card > .spectrum-report .report-panel { min-height:320px; }
.result-card > .spectrum-report .report-panel + .report-panel { border-left:1px solid rgba(156,123,79,.18); padding-left:28px; }
.result-card > .result-grid.secondary-grid { margin-top:20px; }
.result-card > .life-panel { margin-top:20px; padding:26px; }
.result-card > .closing-note { margin-top:20px; padding:28px 24px; }
.archive-section { margin-top:20px; padding:28px; }
.archive-copy { padding:22px 24px; }
.archive-copy p { max-width:680px; }
.spectrum-card { min-height:300px; padding:24px; gap:30px; }
.attribute-grid { margin-top:18px; gap:14px; }
.attribute-grid div { min-height:128px; padding:18px; }
.timeline { gap:14px; }
.timeline div { min-height:116px; padding:16px; }
.actions { margin-top:28px; padding-top:20px; border-top:1px solid rgba(156,123,79,.18); }

.hero-card,
.quiz-card,
.result-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(255, 252, 242, 0.94), rgba(244, 232, 210, 0.96));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.seal { position:absolute; top:42px; right:48px; width:68px; height:78px; display:grid; place-content:center; text-align:center; color:var(--verm); border:2px solid var(--verm); border-radius:8px; font-weight:700; line-height:1.45; transform:rotate(5deg); opacity:.86; }
.mist { position:fixed; z-index:-1; border-radius:50%; filter:blur(45px); pointer-events:none; }
.mist-a { width:420px; height:180px; left:-100px; bottom:12%; background:rgba(255,255,255,.5); }
.mist-b { width:320px; height:320px; right:-100px; top:30%; background:rgba(105,130,119,.13); }

.hero-card {
  padding: clamp(32px, 6vw, 56px);
  border-top: 8px solid #2b2924;
}

.hero-card::before,
.quiz-card::before,
.result-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(156, 123, 79, 0.45), transparent);
}

.eyebrow {
  margin: 0;
  color: rgba(156, 123, 79, 0.92);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.title {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--ink);
  font-family: "Noto Serif SC", serif;
  font-size: clamp(48px, 8vw, 86px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.subtitle {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.8;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid rgba(24, 23, 22, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: rgba(24, 23, 22, 0.72);
  font-size: 14px;
}

.gate-card {
  max-width: 850px;
  margin-top: 32px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 239, 226, 0.96));
  box-shadow: 0 24px 64px rgba(24, 23, 22, 0.12);
}

.gate-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(24, 23, 22, 0.08);
}

.gate-head p {
  margin: 6px 0 0;
  color: rgba(24, 23, 22, 0.58);
  font-size: 14px;
}

.gate-badge {
  align-self: flex-start;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 7px 12px;
  color: rgba(24, 23, 22, 0.56);
  font-size: 12px;
}

.gate-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 18px;
}

.input {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(24, 23, 22, 0.15);
  border-radius: 18px;
  outline: none;
  background: rgba(255, 255, 255, 0.94);
  padding: 0 16px;
  color: var(--ink);
  font-size: 16px;
  transition: 0.2s ease;
}

.input:focus {
  border-color: rgba(156, 123, 79, 0.5);
  box-shadow: 0 0 0 4px rgba(192, 154, 94, 0.13);
}

.primary-btn,
.ghost-btn {
  min-height: 52px;
  border-radius: 18px;
  padding: 0 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: 0.22s ease;
}

.primary-btn {
  background: linear-gradient(180deg, #312c27, #151311);
  color: var(--rice);
  box-shadow: 0 14px 28px rgba(24, 23, 22, 0.16);
}

.ghost-btn {
  border: 1px solid rgba(24, 23, 22, 0.12);
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
}

.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px);
}

.tip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.tip {
  border: 1px solid rgba(24, 23, 22, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  padding: 12px 14px;
  color: rgba(24, 23, 22, 0.58);
  font-size: 13px;
}

.author {
  margin: 22px 0 0;
  color: rgba(24, 23, 22, 0.56);
  font-size: 14px;
}

.error {
  min-height: 22px;
  margin: 12px 0 0;
  color: #9a3f31;
  font-size: 14px;
}

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

.quiz-card,
.result-card {
  padding: clamp(24px, 5vw, 44px);
}

.progress-wrap {
  flex: 1;
  min-width: 180px;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: rgba(24, 23, 22, 0.58);
  font-size: 13px;
}

.progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(24, 23, 22, 0.08);
}

.progress-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 0.3s ease;
}

.question-index {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.question-title {
  max-width: 840px;
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.option {
  min-height: 96px;
  border: 1px solid rgba(24, 23, 22, 0.1);
  border-radius: 3px;
  background: rgba(255, 252, 242, 0.72);
  padding: 18px;
  color: rgba(24, 23, 22, 0.76);
  text-align: left;
  box-shadow: 0 12px 34px rgba(24, 23, 22, 0.07);
}

.option:hover,
.option.active {
  border-color: var(--verm);
  background: rgba(255, 247, 226, 0.98);
  transform: translateY(-2px);
}

.option-mark {
  display: inline-grid;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 50%;
  background: rgba(156, 123, 79, 0.12);
  color: var(--gold);
  font-weight: 800;
}

.quiz-actions,
.result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.result-hero { display:flex; justify-content:space-between; gap:28px; padding-bottom:30px; border-bottom:1px solid var(--line); }
.result-kicker { margin:28px 0 0; color:var(--gold); letter-spacing:.2em; font-size:14px; }
.result-role { margin:14px 0 0; color:var(--gold); font-weight:700; letter-spacing:.12em; }
.result-line { margin:22px 0 0; font-size:20px; line-height:1.8; color:#594d3e; }
.stamp { flex:0 0 96px; height:110px; display:grid; place-content:center; border:3px double var(--verm); color:var(--verm); font-size:34px; font-weight:900; line-height:1.1; writing-mode:vertical-rl; text-align:center; transform:rotate(4deg); }
.score-overview { display:flex; align-items:center; gap:24px; margin-top:28px; padding:22px; border:1px solid var(--line); border-radius:22px; background:rgba(255,255,255,.48); }
.score-overview > div { flex:0 0 180px; text-align:center; color:var(--gold); }
.score-overview strong { display:inline-block; margin:0 4px; color:var(--ink); font-size:64px; line-height:1; }
.score-overview small { color:var(--ink-soft); }
.score-overview p { margin:0; color:var(--ink-soft); line-height:1.8; }
.verdict { margin-top:20px; padding:18px 22px; border-left:4px solid var(--verm); background:rgba(163,70,53,.07); }
.verdict span, .closing-note span { color:var(--verm); font-size:13px; letter-spacing:.2em; }
.verdict p { margin:8px 0 0; color:#594d3e; line-height:1.8; }
.verdict b { color:var(--verm); }
.result-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:20px; }
.report-panel, .life-panel { border:1px solid var(--line); border-radius:24px; background:rgba(255,255,255,.45); padding:22px; }
.report-panel h3, .life-panel h3 { margin:0 0 18px; font-size:23px; }
.habitat-item { display:grid; grid-template-columns:48px 38px 1fr; align-items:center; gap:10px; margin:15px 0; font-size:14px; color:var(--ink-soft); }
.habitat-item strong { color:var(--gold); text-align:right; }
.mini-line { height:7px; overflow:hidden; border-radius:10px; background:rgba(24,23,22,.08); }
.mini-line i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--verm),var(--gold-light)); }
.life-panel { margin-top:20px; }
.secondary-grid { margin-top:20px; }
.facts p { display:flex; justify-content:space-between; gap:16px; margin:0; padding:13px 0; border-bottom:1px dashed rgba(24,23,22,.14); color:var(--ink-soft); }
.facts p:last-child { border-bottom:0; }
.facts b { max-width:70%; text-align:right; color:var(--ink); font-weight:500; line-height:1.6; }
.keep-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.keep-grid div { min-height:100px; padding:14px; background:rgba(255,255,255,.42); border:1px solid var(--line); }
.keep-grid small { display:block; color:var(--gold); margin-bottom:12px; }
.keep-grid strong { font-size:15px; line-height:1.6; font-weight:600; }
.closing-note { margin-top:20px; padding:26px 24px; text-align:center; background:rgba(156,123,79,.08); border-top:1px solid rgba(156,123,79,.24); border-bottom:1px solid rgba(156,123,79,.24); }
.closing-note p { margin:12px auto 0; max-width:680px; color:#594d3e; line-height:2; font-size:16px; }
.archive-section { margin-top:20px; padding:24px; border:1px solid var(--line); border-radius:3px; background:rgba(255,255,255,.34); }
.section-title { display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.section-title span { display:grid; width:22px; height:22px; place-items:center; border:1px solid var(--gold); border-radius:50%; color:var(--gold); font-size:12px; }
.section-title h3 { margin:0; font-size:22px; }
.section-title em { margin-left:auto; color:var(--gold); font:10px Inter,sans-serif; letter-spacing:.18em; }
.archive-copy { padding:18px; border:1px solid var(--line); background:rgba(255,252,242,.55); color:var(--ink-soft); line-height:2; font-size:14px; }
.archive-copy p { margin:0 0 12px; }.archive-copy p:last-child { margin-bottom:0; }
.spectrum-card { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:18px; padding:16px; border:1px solid var(--line); background:rgba(255,252,242,.55); }
.radar { width:100%; max-height:220px; overflow:visible; }.radar-grid { fill:none; stroke:rgba(156,123,79,.22); stroke-width:1; }.radar-value { fill:rgba(163,70,53,.2); stroke:var(--verm); stroke-width:2; }.radar text { fill:var(--gold); font-size:11px; text-anchor:middle; }
.spectrum-summary p { color:var(--ink-soft); font-size:13px; line-height:1.7; }.spectrum-tags { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0; }.spectrum-tags b { padding:7px 11px; border:1px solid rgba(163,70,53,.25); color:var(--verm); background:rgba(163,70,53,.06); font-size:13px; }.muted { opacity:.72; }
.attribute-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:12px; }.attribute-grid div { min-height:112px; padding:14px; border:1px solid var(--line); background:rgba(255,252,242,.55); }.attribute-grid span { font-size:13px; color:var(--ink-soft); }.attribute-grid strong { float:right; color:var(--gold); }.attribute-grid small { display:block; margin-top:20px; color:var(--ink-soft); line-height:1.6; font-size:12px; }
.state-card { padding:22px; background:rgba(255,252,242,.58); border-left:4px solid var(--verm); }.state-card strong { color:var(--verm); }.state-card p { margin:10px 0 0; color:var(--ink-soft); line-height:1.9; }.warning-section { background:rgba(255,252,242,.58); }.advice-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }.advice-grid div { padding:16px; background:rgba(255,252,242,.58); border:1px solid var(--line); }.advice-grid i { display:block; color:var(--verm); font-style:normal; font-size:12px; }.advice-grid strong { display:block; margin:10px 0; }.advice-grid p { margin:0; color:var(--ink-soft); font-size:13px; line-height:1.7; }

/* 结果页统一编号与容器，数字只保留在圆形编号中。 */
.result-card > .archive-section, .result-card > .result-grid, .result-card > .life-panel { border:1px solid rgba(156,123,79,.22); background:rgba(255,252,242,.58); box-shadow:0 8px 24px rgba(74,56,35,.05); }
.result-card > .result-grid { padding:24px; }
.result-card > .result-grid .report-panel { border:0; background:transparent; box-shadow:none; padding:0; }
.result-card > .result-grid:first-of-type .report-panel h3::before { display:inline-grid; width:22px; height:22px; margin-right:9px; place-items:center; border:1px solid var(--gold); border-radius:50%; color:var(--gold); font-size:12px; font-weight:500; vertical-align:2px; }
.result-card > .result-grid:first-of-type .report-panel:first-child h3::before { content:"二"; }
.result-card > .result-grid:first-of-type .report-panel:nth-child(2) h3::before { content:"三"; }
.result-card > .life-panel { padding:24px; }
.result-card > .life-panel h3::before { content:"四"; display:inline-grid; width:22px; height:22px; margin-right:9px; place-items:center; border:1px solid var(--gold); border-radius:50%; color:var(--gold); font-size:12px; font-weight:500; vertical-align:2px; }
.report-panel, .life-panel, .score-overview, .verdict, .closing-note { background:rgba(255,252,242,.58); }
.place-breakdown { margin-top:28px; padding:26px; border:1px solid rgba(156,123,79,.22); border-radius:3px; background:rgba(255,252,242,.58); box-shadow:0 8px 24px rgba(74,56,35,.05); }
.place-heading { display:flex; align-items:flex-start; gap:11px; margin-bottom:20px; }.place-heading > span { display:grid; width:22px; height:22px; flex:none; place-items:center; border:1px solid var(--gold); border-radius:50%; color:var(--gold); font-size:12px; }.place-heading h3 { margin:0; font-size:23px; }.place-heading p { margin:5px 0 0; color:var(--ink-soft); font-size:13px; }
.place-facts { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }.place-facts > div { min-height:126px; padding:16px; border:1px solid rgba(156,123,79,.16); background:rgba(255,252,242,.72); }.place-facts small { color:var(--gold); }.place-facts b { float:right; color:var(--verm); font-size:14px; }.place-facts p { clear:both; margin:22px 0 0; color:var(--ink-soft); font-size:13px; line-height:1.7; }
.place-verdict { display:grid; grid-template-columns:auto 1fr; gap:10px 14px; margin-top:16px; padding:16px; border-left:3px solid var(--verm); background:rgba(163,70,53,.05); font-size:14px; }.place-verdict strong { color:var(--verm); }.place-verdict span { color:var(--ink-soft); }
.spectrum-standalone { margin-top:28px; padding:26px; border:1px solid rgba(156,123,79,.22); border-radius:3px; background:rgba(255,252,242,.58); box-shadow:0 8px 24px rgba(74,56,35,.05); }.spectrum-heading small { display:block; color:var(--gold); letter-spacing:.22em; font:12px Inter,sans-serif; }.spectrum-heading strong { display:block; margin-top:8px; font-size:24px; }.spectrum-standalone .spectrum-card { display:block; margin-top:16px; min-height:0; }.spectrum-standalone .radar { display:block; width:min(100%,440px); height:360px; margin:0 auto; }.spectrum-standalone .radar text { font-size:10px; }.spectrum-standalone .radar text tspan { font-size:11px; font-weight:700; }.radar-dot { fill:var(--verm); stroke:#fff; stroke-width:2; }.spectrum-insights { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:18px; padding-top:18px; border-top:1px solid rgba(156,123,79,.18); }.spectrum-insights div { padding:16px 18px; background:rgba(255,255,255,.5); }.spectrum-insights small { display:block; color:var(--gold); }.spectrum-insights b { display:block; margin-top:8px; color:var(--verm); font-size:20px; }.spectrum-reading { margin:18px 0 0; color:var(--ink-soft); font-size:15px; line-height:1.9; }
.timeline { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.timeline div { padding:14px; border-left:2px solid var(--gold); background:rgba(255,255,255,.42); }
.timeline b { display:block; color:var(--gold); margin-bottom:8px; }
.timeline span { color:var(--ink-soft); font-size:14px; line-height:1.7; }
.actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:26px; }
.export-note { margin:12px 0 0; color:var(--ink-soft); font-size:13px; }

.result-name {
  margin: 14px 0 0;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(46px, 8vw, 86px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.result-title {
  margin: 16px 0 0;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.14em;
}

.result-desc {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.9;
}

.trait-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trait {
  border: 1px solid rgba(24, 23, 22, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  padding: 9px 14px;
  color: rgba(24, 23, 22, 0.68);
  font-size: 14px;
}

.score-panel {
  border: 1px solid rgba(24, 23, 22, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.58);
  padding: 22px;
  box-shadow: 0 18px 46px rgba(24, 23, 22, 0.1);
}

.quiz-card { border-left: 8px solid var(--verm); }
.result-card { border-top: 8px solid #2b2924; }
.result-card::after, .hero-card::after, .quiz-card::after { position:absolute; inset:14px; border:1px solid rgba(156,123,79,.18); content:""; pointer-events:none; }
.result-card > *, .hero-card > *, .quiz-card > * { position:relative; z-index:1; }
.score-overview, .report-panel, .life-panel { border-radius: 3px; }
.primary-btn { border-radius: 3px; background:var(--verm); }
.ghost-btn { border-radius:3px; }

.score-panel h3 {
  margin: 0 0 18px;
  font-family: "Noto Serif SC", serif;
  font-size: 24px;
}

.score-item {
  margin-top: 16px;
}

.score-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: rgba(24, 23, 22, 0.66);
  font-size: 14px;
}

.score-line {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(24, 23, 22, 0.08);
}

.score-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #312c27, var(--gold-light));
}

.fade-in {
  animation: fadeIn 0.38s ease both;
}

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

@media (max-width: 760px) {
  .container {
    padding: 28px 16px;
  }

  .gate-form,
  .tip-grid,
  .options,
  .result-layout {
    grid-template-columns: 1fr;
  }

  .gate-head,
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .primary-btn,
  .ghost-btn {
    width: 100%;
  }

  .seal { top:24px; right:24px; transform:scale(.8) rotate(5deg); }
  .result-hero, .score-overview { flex-direction:column; align-items:flex-start; }
  .result-grid, .timeline { grid-template-columns:1fr; }
  .keep-grid { grid-template-columns:1fr; }
  .spectrum-card, .attribute-grid, .advice-grid { grid-template-columns:1fr; }
  .section-title em { display:none; }
  .score-overview > div { width:100%; }
  .result-card { padding: 16px 12px 22px; border-top-width:5px; }
  .result-card::after, .hero-card::after, .quiz-card::after { inset:8px; }
  .result-hero { gap:12px; padding:8px 6px 22px; }
  .result-name { font-size:clamp(42px, 15vw, 64px); margin-top:10px; }
  .result-role { font-size:12px; letter-spacing:.06em; line-height:1.7; }
  .result-line { font-size:16px; line-height:1.7; }
  .result-desc { margin-top:14px; font-size:14px; line-height:1.85; }
  .stamp { position:absolute; top:2px; right:4px; flex-basis:auto; width:54px; height:62px; font-size:22px; }
  .verdict, .score-overview, .archive-section, .life-panel, .closing-note { margin-top:14px; padding:16px 14px; }
  .verdict p, .score-overview p, .archive-copy, .state-card, .closing-note p { font-size:13px; line-height:1.85; }
  .score-overview { gap:10px; }
  .score-overview > div { flex:0 0 auto; }
  .score-overview strong { font-size:54px; }
  .result-grid { gap:14px; margin-top:14px; }
  .report-panel { padding:16px 14px; }
  .report-panel h3, .life-panel h3 { font-size:20px; margin-bottom:12px; }
  .score-item { margin-top:12px; }.score-row { font-size:13px; }.score-line { height:7px; }
  .facts p { align-items:flex-start; font-size:13px; }.facts b { max-width:62%; font-size:13px; }
  .keep-grid { gap:8px; }.keep-grid div { min-height:0; padding:12px; }.keep-grid small { margin-bottom:7px; }
  .timeline { gap:8px; }.timeline div { padding:12px; }.timeline span { font-size:13px; }
  .section-title h3 { font-size:19px; }.section-title { margin-bottom:12px; }
  .radar { max-height:190px; }.spectrum-card { padding:10px; gap:4px; }.spectrum-summary { padding:0 6px; }
  .attribute-grid { gap:8px; }.attribute-grid div { min-height:0; padding:12px; }.attribute-grid small { margin-top:12px; font-size:11px; }
  .advice-grid { gap:8px; }.advice-grid div { padding:13px; }.advice-grid p { font-size:12px; }
  .actions { gap:8px; margin-top:18px; }.actions .primary-btn { order:-1; }
  .export-note { font-size:11px; text-align:center; }
  .container:has(#result-card) { width:100%; padding:16px 10px 44px; }
  .result-card { max-width:none; margin:0; padding:20px 14px 26px; }
  .result-hero { min-height:0; padding:4px 2px 24px; }
  .verdict { margin-top:16px; padding:15px; }
  .score-overview { margin-top:16px; padding:18px 14px; }
  .result-card > .result-grid { margin-top:16px; padding:18px 14px; gap:18px; }
  .result-card > .spectrum-report { margin-top:20px; margin-bottom:18px; }
  .result-card > .spectrum-report .report-panel { min-height:0; }
  .result-card > .spectrum-report .report-panel + .report-panel { border-left:0; border-top:1px solid rgba(156,123,79,.18); padding-left:0; padding-top:18px; }
  .result-card > .result-grid.secondary-grid { margin-top:14px; }
  .result-card > .life-panel { margin-top:14px; padding:18px 14px; }
  .result-card > .closing-note { margin-top:14px; padding:20px 15px; }
  .archive-section { margin-top:14px; padding:18px 14px; }
  .archive-copy { padding:15px; }
  .spectrum-card { min-height:0; padding:12px 8px; }
  .place-breakdown { margin-top:18px; padding:18px 14px; }.place-heading h3 { font-size:20px; }.place-facts { grid-template-columns:1fr; gap:8px; }.place-facts > div { min-height:0; padding:13px; }.place-facts p { margin-top:16px; }.place-verdict { grid-template-columns:1fr; gap:4px; padding:14px; }.place-verdict span { margin-bottom:8px; }
  .spectrum-standalone { margin-top:18px; padding:18px 14px; }.spectrum-heading strong { font-size:20px; }.spectrum-standalone .spectrum-card { padding:10px 4px; }.spectrum-standalone .radar { height:270px; }.spectrum-insights { gap:8px; }.spectrum-insights div { padding:12px; }.spectrum-insights b { font-size:16px; }.spectrum-reading { font-size:13px; }
  .attribute-grid { margin-top:12px; }
  .timeline div { min-height:0; }
}

@media (max-width: 390px) {
  .container { padding:18px 10px; }
  .result-name { font-size:42px; }
  .eyebrow { font-size:10px; letter-spacing:.2em; }
  .result-role { max-width:220px; }
  .option { min-height:76px; padding:13px; font-size:14px; }
}

.radar-spoke { stroke:rgba(156,123,79,.18); stroke-width:1; }
.spectrum-standalone .dynamic-radar { height:400px; }
.dimension-details { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin-top:22px; padding-top:20px; border-top:1px solid rgba(156,123,79,.18); }.dimension-detail { padding:15px; border:1px solid rgba(156,123,79,.16); background:rgba(255,255,255,.5); }.dimension-head { display:flex; justify-content:space-between; color:var(--ink); }.dimension-head b { color:var(--verm); }.dimension-bar { height:6px; margin-top:9px; overflow:hidden; border-radius:10px; background:rgba(156,123,79,.14); }.dimension-bar i { display:block; height:100%; border-radius:inherit; background:var(--verm); }.dimension-detail p { margin:10px 0 0; color:var(--ink-soft); font-size:12px; line-height:1.6; }
@media (max-width:760px) { .spectrum-standalone .dynamic-radar { height:290px; } }

.dimension-details { grid-template-columns:repeat(4,1fr); }
.place-introduction { display:grid; grid-template-columns:220px 1fr; gap:22px; margin:0 0 20px; padding:20px; border:1px solid rgba(156,123,79,.18); background:rgba(255,255,255,.5); }
.place-portrait { display:flex; min-height:145px; flex-direction:column; justify-content:center; padding:18px; border:1px solid rgba(163,70,53,.24); background:linear-gradient(145deg,rgba(163,70,53,.1),rgba(255,252,242,.65)); }
.place-portrait span { color:var(--gold); font-size:12px; letter-spacing:.18em; }.place-portrait strong { margin:10px 0 8px; font-family:"Noto Serif SC",serif; font-size:30px; }.place-portrait small { color:var(--ink-soft); line-height:1.7; }.place-description { align-self:center; color:var(--ink-soft); font-size:14px; line-height:2; }.place-description p { margin:0 0 12px; }.place-description p:last-child { margin-bottom:0; }
@media (max-width:760px) { .dimension-details { grid-template-columns:repeat(2,1fr); }.place-introduction { grid-template-columns:1fr; gap:12px; margin-bottom:14px; padding:13px; }.place-portrait { min-height:110px; }.place-portrait strong { font-size:26px; }.place-description { font-size:13px; line-height:1.85; } }

/* 独立结果报告 */
.report { width:min(100%,860px); margin:0 auto; padding:28px 22px 60px; color:#2e2a25; }.report-top { display:flex; justify-content:space-between; align-items:center; padding:10px 2px 22px; border-bottom:1px solid #d9cdbb; }.report-top span { display:block; color:#8f644d; font:700 22px Inter,sans-serif; letter-spacing:.18em; }.report-top small { display:block; margin-top:8px; color:#9a8d7c; letter-spacing:.12em; }.report-top button,.report-actions button { border:1px solid #cba990; border-radius:999px; padding:10px 16px; background:#fffaf1; color:#8f4f35; cursor:pointer; }.report-cover { display:grid; grid-template-columns:1.25fr .75fr; gap:24px; margin-top:28px; padding:36px; border:1px solid #d8ccbb; border-radius:22px; background:#fffdfa; box-shadow:0 12px 36px rgba(91,69,43,.08); }.report-cover small,.report-cover .cover-side small { color:#a38f78; letter-spacing:.14em; }.report-cover h1 { margin:20px 0 8px; font:900 clamp(58px,9vw,90px)/1 "Noto Serif SC",serif; letter-spacing:-.08em; }.report-cover strong { color:#9d5139; font-size:18px; }.report-cover p { max-width:520px; margin:24px 0 0; color:#655b50; line-height:2; }.chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:24px; }.chips i { padding:7px 12px; border:1px solid #ded2c2; border-radius:999px; color:#806f5e; font-style:normal; font-size:13px; }.cover-side { align-self:center; padding:24px; border-left:1px solid #e3d9cb; }.cover-side b { display:block; margin:15px 0; color:#9d5139; font:700 30px "Noto Serif SC",serif; }.cover-side span { color:#817567; line-height:1.8; font-size:14px; }.report-section { margin-top:22px; padding:28px; border:1px solid #d8ccbb; border-radius:18px; background:#fffdfa; }.report-title { display:flex; align-items:center; gap:12px; margin-bottom:20px; }.report-title em { display:grid; width:32px; height:32px; place-items:center; border-radius:50%; background:#a45a3e; color:#fff; font:600 12px Inter,sans-serif; font-style:normal; }.report-title h2 { margin:0; font-size:25px; }.story { padding:20px 22px; border-left:3px solid #b78160; background:#fbf4e9; color:#665c52; line-height:2; }.story p { margin:0 0 13px; }.story p:last-child { margin:0; }.spectrum-report { padding:24px; border:1px solid #e1d8cb; border-radius:16px; background:#fbf8f1; }.spectrum-copy small { color:#a07f5c; letter-spacing:.2em; font:12px Inter,sans-serif; }.spectrum-copy h3 { margin:9px 0; font-size:24px; }.spectrum-copy p { max-width:620px; margin:0; color:#786d61; line-height:1.8; }.dimension-list { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin-top:24px; }.dimension-list > div { padding:15px; border:1px solid #e7ded2; border-radius:12px; background:#fffdfa; }.dimension-list div>div { display:flex; justify-content:space-between; }.dimension-list b { color:#a45a3e; }.dimension-list i { display:block; height:6px; margin-top:9px; border-radius:9px; background:#eee5d9; }.dimension-list u { display:block; height:100%; border-radius:inherit; background:#a45a3e; text-decoration:none; }.dimension-list p { margin:9px 0 0; color:#8b7c6d; font-size:12px; line-height:1.6; }.place-intro { display:grid; grid-template-columns:230px 1fr; gap:22px; padding:20px; border:1px solid #e1d8cb; border-radius:14px; background:#fbf4e9; }.place-intro div { padding:18px; background:#fffdfa; border:1px solid #eadfd2; }.place-intro small { color:#a07f5c; }.place-intro h3 { margin:12px 0 7px; font:700 30px "Noto Serif SC",serif; }.place-intro b { color:#a45a3e; }.place-intro p { align-self:center; margin:0; color:#6b6055; line-height:2; }.habitat-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:14px; }.habitat-grid>div { padding:16px; border:1px solid #e7ded2; border-radius:12px; }.habitat-grid small { color:#9b846d; }.habitat-grid b { display:block; margin-top:10px; color:#a45a3e; font-size:24px; }.habitat-grid b i { margin-left:3px; color:#9b8b7b; font-size:12px; font-style:normal; }.habitat-grid p { margin:9px 0 0; color:#837568; font-size:12px; line-height:1.6; }.fit-line,.cost { display:flex; gap:14px; margin-top:16px; padding:15px 18px; border-left:3px solid #a45a3e; background:#fbf4e9; color:#716457; line-height:1.8; }.fit-line b,.cost b { flex:none; color:#a45a3e; }.life-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }.life-grid>div { min-height:120px; padding:18px; border:1px solid #e7ded2; border-radius:12px; background:#fbf8f1; }.life-grid small { color:#a07f5c; }.life-grid p { margin:17px 0 0; color:#665c52; line-height:1.8; }.report-actions { display:flex; align-items:center; gap:12px; margin-top:26px; }.report-actions a { color:#8f4f35; text-decoration:none; }.report-actions small { margin-left:auto; color:#9a8d7c; }
.empty-report { padding:20vh 20px; text-align:center; color:#665c52; }.empty-report a { color:#8f4f35; }
.report-actions .restart-report { display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:0 18px; border:1px solid #cba990; border-radius:999px; background:#fffaf1; color:#8f4f35; font-weight:600; text-decoration:none; }
@media (max-width:700px) { .report { padding:16px 10px 36px; }.report-top { align-items:flex-start; gap:12px; }.report-top span { font-size:16px; }.report-top small { font-size:10px; }.report-top button { padding:8px 10px; font-size:12px; }.report-cover { grid-template-columns:1fr; margin-top:16px; padding:23px 18px; border-radius:16px; }.report-cover h1 { font-size:58px; }.cover-side { padding:18px 0 0; border-top:1px solid #e3d9cb; border-left:0; }.report-section { margin-top:14px; padding:18px 14px; border-radius:14px; }.report-title h2 { font-size:21px; }.story { padding:15px; font-size:13px; }.dimension-list,.habitat-grid,.life-grid { grid-template-columns:repeat(2,1fr); gap:8px; }.dimension-list>div,.habitat-grid>div,.life-grid>div { padding:12px; }.dimension-list p,.habitat-grid p { font-size:11px; }.place-intro { grid-template-columns:1fr; gap:10px; padding:12px; }.place-intro h3 { font-size:26px; }.place-intro p { font-size:13px; }.life-grid>div { min-height:0; }.life-grid p { margin-top:10px; font-size:13px; }.fit-line,.cost { display:block; font-size:13px; }.fit-line span,.cost span { display:block; margin-top:4px; }.report-actions { flex-wrap:wrap; }.report-actions small { width:100%; margin-left:0; } }

/* 结果封面右侧生活速览：改为紧凑信息表，避免撑高封面造成左侧大面积空白。 */
.report-cover { grid-template-columns:minmax(0,1fr) 300px; align-items:start; }
.report-cover > div:first-child { min-width:0; }
.cover-side { align-self:stretch; padding:8px 0 8px 26px; }
.cover-side > small { display:block; margin-bottom:16px; font-size:13px; }
.cover-side > div { display:grid; grid-template-columns:58px minmax(0,1fr); gap:10px; align-items:baseline; padding:10px 0; border-bottom:1px solid #eee4d7; }
.cover-side > div:last-child { border-bottom:0; }
.cover-side b { display:block; margin:0; color:#a45a3e; font:600 15px/1.4 "Noto Serif SC",serif; }
.cover-side span { color:#75695d; font-size:13px; line-height:1.55; }
@media (max-width:700px) {
  .report-cover { grid-template-columns:1fr; gap:18px; }
  .cover-side { padding:16px 0 0; border-top:1px solid #e3d9cb; border-left:0; }
  .cover-side > small { margin-bottom:8px; }
  .cover-side > div { grid-template-columns:52px minmax(0,1fr); padding:7px 0; }
  .cover-side b { font-size:13px; }
  .cover-side span { font-size:12px; }
}

.report-radar { display:block; width:min(100%,440px); height:390px; margin:8px auto 0; overflow:visible; }.report-radar-grid { fill:none; stroke:#dfd2c1; stroke-width:1; }.report-radar-spoke { stroke:#e6dccf; stroke-width:1; }.report-radar-value { fill:rgba(164,90,62,.24); stroke:#a45a3e; stroke-width:2.5; }.report-radar-dot { fill:#a45a3e; stroke:#fffdfa; stroke-width:2; }.report-radar text { fill:#75685b; font-size:9px; }.report-radar text tspan { font-size:10px; font-weight:700; }
@media (max-width:700px) { .report-radar { height:300px; } }
@media (max-width:760px) { .dimension-details { grid-template-columns:1fr; gap:8px; margin-top:16px; padding-top:15px; }.dimension-detail { padding:12px; } }

@media (min-width:701px) {
  .cover-side { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:18px; }
  .cover-side > small { grid-column:1/-1; }
  .cover-side > div { display:block; padding:8px 0; }
  .cover-side > div b { margin-bottom:3px; }
}

@media (max-width:700px) {
  .cover-side { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:16px; }
  .cover-side > small { grid-column:1/-1; }
  .cover-side > div { display:block; padding:8px 0; }
  .cover-side > div b { margin-bottom:3px; }
}
