:root {
  --bg: #f3f6f1;
  --surface: #fffef9;
  --ink: #293b36;
  --muted: #73817a;
  --line: #dce6dd;
  --primary: #5f8f7e;
  --primary-dark: #416f60;
  --primary-soft: #e3efe8;
  --accent: #d58a78;
  --shadow: 0 20px 60px rgba(55, 83, 71, .10);
}
body { background: #f3f6f1; }
.paper-grain { position: fixed; inset: 0; pointer-events: none; opacity: .25; z-index: -1; background-image: radial-gradient(#8da696 0.55px, transparent .7px); background-size: 8px 8px; }
.ancient-topbar { background: rgba(243,246,241,.88); border-bottom-color: rgba(95,143,126,.14); }
.ancient-brand { font-family: "STKaiti", "KaiTi", serif; letter-spacing: 2px; }
.ancient-brand .brand-mark { border-radius: 50% 46% 52% 44%; background: #5f8f7e; box-shadow: 0 6px 18px rgba(95,143,126,.23); font-family: "STKaiti", "KaiTi", serif; }
.btn { border-radius: 12px; }
.btn-primary { background: #5f8f7e; box-shadow: 0 8px 22px rgba(95,143,126,.2); }
.btn-primary:hover { background: #416f60; }
.hero { min-height: 500px; margin-top: 32px; padding: 58px 52px; border: 1px solid rgba(95,143,126,.16); border-radius: 28px 28px 70px 28px; color: var(--ink); background: linear-gradient(135deg, #fffef8 0%, #eaf3ed 58%, #dceae5 100%); box-shadow: var(--shadow); }
.hero::before { width: 320px; height: 320px; right: -70px; top: -150px; background: rgba(255,255,255,.5); border: 1px solid rgba(95,143,126,.1); }
.hero::after { width: 240px; height: 90px; right: 40px; bottom: 25px; background: rgba(255,255,255,.42); border-radius: 50%; filter: blur(1px); }
.hero-content { position: relative; z-index: 2; max-width: 58%; }
.hero-kicker { color: #527666; border-color: rgba(95,143,126,.25); background: rgba(255,255,255,.55); }
.hero h1 { margin-top: 26px; font-family: "STKaiti", "KaiTi", serif; font-size: clamp(42px, 5.6vw, 64px); font-weight: 700; letter-spacing: 3px; line-height: 1.2; }
.hero h1 em { color: #b76d5d; font-style: normal; }
.hero p { color: #667a70; font-size: 16px; }
.hero-highlights { color: #587165; }
.hero-highlights span { padding: 7px 12px; border-radius: 20px; background: rgba(255,255,255,.52); }
.hero-character { position: absolute; z-index: 1; right: 18px; bottom: -8px; width: 350px; max-width: 42%; opacity: .96; }
.chibi-svg { display: block; width: 100%; height: auto; overflow: visible; }
.cloud-line { fill: none; stroke: #91b2a4; stroke-width: 2; stroke-linecap: round; opacity: .55; }
.test-grid { grid-template-columns: 1fr; }
.test-card { overflow: hidden; min-height: 0; padding: 26px 30px; border-color: #dce6dd; background: rgba(255,254,249,.9); }
.test-card::after { content: "娱\A 乐\A 档\A 案"; white-space: pre; position: absolute; right: 26px; top: 24px; padding: 8px 6px; border: 1px solid #c98877; border-radius: 4px; color: #b76d5d; font: 13px/1.35 "STKaiti", "KaiTi", serif; transform: rotate(5deg); }
.test-card h3 { font-family: "STKaiti", "KaiTi", serif; font-size: 28px; }
.test-emoji { color: #fff; background: #789c8d; font-family: "STKaiti", "KaiTi", serif; }
.card-meta { padding-right: 50px; }
.section-heading h2 { font-family: "STKaiti", "KaiTi", serif; letter-spacing: 2px; }
.identity-preview-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.identity-preview-row span { padding: 7px 11px; border: 1px solid #e0e7df; border-radius: 9px; color: #6f7e75; background: #fff; font-size: 12px; }
.test-intro { position: relative; overflow: hidden; max-width: 800px; border-color: #dce6dd; background: rgba(255,254,249,.94); }
.test-intro::before { content: ""; position: absolute; inset: 12px; pointer-events: none; border: 1px solid #e4eae2; border-radius: 22px; }
.intro-character { width: 180px; margin: -12px auto -18px; }
.intro-emoji { display: none; }
.test-intro h1 { position: relative; font-family: "STKaiti", "KaiTi", serif; font-size: clamp(36px, 6vw, 52px); letter-spacing: 3px; }
.test-intro .subtitle { position: relative; color: #6b7d73; }
.intro-facts { position: relative; }
.intro-facts span { background: #edf3ed; color: #60766a; }
.intro-price { position: relative; }
.quiz-shell { max-width: 760px; }
.progress-track { background: #dfe8df; }
.progress-fill { background: linear-gradient(90deg, #6f9b89, #d39a84); }
.question-card { position: relative; border-color: #dce6dd; background: rgba(255,254,249,.95); }
.question-card::after { content: "档案线索"; position: absolute; right: 24px; top: 22px; color: #b6c3b9; font: 13px "STKaiti", "KaiTi", serif; letter-spacing: 3px; writing-mode: vertical-rl; }
.question-label { color: #7c9c8c; letter-spacing: 3px; }
.question-card h1 { max-width: 600px; font-family: "STKaiti", "KaiTi", serif; letter-spacing: 1px; }
.option { border-color: #e0e7df; background: #fffef9; }
.option:hover { border-color: #8faf9f; background: #f4f8f3; }
.option.selected { border-color: #6f9b89; background: #e7f0e9; }
.option-letter { border-radius: 50%; color: #537666; background: #e5efe8; font-family: "STKaiti", "KaiTi", serif; }
.option.selected .option-letter { background: #6f9b89; }
.result-shell { max-width: 840px; }
.result-hero { border: 1px solid rgba(95,143,126,.17); color: var(--ink); background: linear-gradient(140deg, #fffdf6, #e5efe7); }
.result-hero::after { content: "卷"; color: rgba(95,143,126,.08); font-family: "STKaiti", "KaiTi", serif; }
.result-eyebrow { color: #74867b; }
.result-badge { color: #63776b; background: rgba(255,255,255,.55); }
.result-summary { color: #60756a; }
.result-actions .btn-primary { color: #fff; background: #5f8f7e; }
.result-actions .btn-secondary { color: #4e6d5e; background: rgba(255,255,255,.65); }
.panel, .report-section { border-color: #dce6dd; background: rgba(255,254,249,.94); }
.report-section h2 { font-family: "STKaiti", "KaiTi", serif; letter-spacing: 1px; }
.report-section h2::before { background: #7a9d8b; }
.report-section ol { list-style: none; padding-left: 0; }
.report-section li { position: relative; padding-left: 20px; }
.report-section li::before { content: "❖"; position: absolute; left: 0; color: #b68471; }
.sealed-archive { position: relative; overflow: hidden; padding: 38px 28px; text-align: center; border: 1px solid #dce6dd; border-radius: 24px; background: #fffdf6; }
.sealed-archive::before { content: ""; position: absolute; inset: 12px; border: 1px dashed #d8ded4; border-radius: 16px; pointer-events: none; }
.sealed-scroll { position: relative; width: 120px; height: 148px; margin: 0 auto 20px; display: grid; place-items: center; border: 1px solid #c8d4c8; border-radius: 8px; background: #edf2e9; box-shadow: 8px 8px 0 #e2e9df; }
.sealed-scroll::before, .sealed-scroll::after { content: ""; position: absolute; left: -10px; right: -10px; height: 16px; border-radius: 10px; background: #799786; }
.sealed-scroll::before { top: -8px; } .sealed-scroll::after { bottom: -8px; }
.sealed-scroll span { font: 54px "STKaiti", "KaiTi", serif; color: #809486; }
.wax-seal { position: absolute; right: 1px; bottom: 14px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 48% 52% 45% 55%; color: #fff5e9; background: #bb7463; font: 18px "STKaiti", "KaiTi", serif; transform: rotate(-10deg); }
.teaser-clues { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; margin: 20px 0 26px; }
.teaser-clues span { padding: 8px 12px; border-radius: 8px; color: #64776b; background: #edf3eb; font-size: 13px; }
.sealed-archive h2 { position: relative; margin: 10px 0; font-family: "STKaiti", "KaiTi", serif; font-size: 28px; }
.sealed-archive p { position: relative; color: #6e7e74; line-height: 1.8; }
.identity-card { position: relative; overflow: hidden; min-height: 660px; padding: 32px 38px; border: 1px solid #d4dfd3; border-radius: 18px 18px 46px 18px; background: linear-gradient(150deg, #fffdf5 0%, #eff4e9 70%, #e3eee7 100%); box-shadow: var(--shadow); }
.identity-card::before { content: ""; position: absolute; inset: 13px; border: 1px solid rgba(100,132,111,.25); border-radius: 10px 10px 34px 10px; pointer-events: none; }
.identity-card-head { position: relative; z-index: 2; text-align: center; color: #67786b; font: 15px "STKaiti", "KaiTi", serif; letter-spacing: 6px; }
.identity-card-body { position: relative; z-index: 2; display: grid; grid-template-columns: 230px 1fr; align-items: center; gap: 26px; margin-top: 24px; }
.identity-character { width: 230px; }
.identity-copy { text-align: left; }
.identity-category { display: inline-block; padding: 5px 9px; border: 1px solid currentColor; border-radius: 5px; color: #6e8878; font-size: 12px; }
.identity-copy h1 { margin: 14px 0 12px; font: 700 clamp(30px,5vw,46px)/1.3 "STKaiti", "KaiTi", serif; letter-spacing: 2px; color: #2f453b; }
.identity-summary { color: #5f7166; line-height: 1.85; }
.identity-match { margin-top: 14px; color: #87958b; font-size: 12px; }
.identity-motto { position: relative; z-index: 2; margin: 22px 0 0; padding: 18px 24px; border-top: 1px solid #d6e0d4; color: #53695b; text-align: center; font: 18px/1.7 "STKaiti", "KaiTi", serif; }
.entertainment-stamp { position: absolute; right: 28px; bottom: 28px; z-index: 3; padding: 6px; border: 2px solid rgba(183,109,93,.6); border-radius: 5px; color: rgba(183,109,93,.75); font: 16px/1.15 "STKaiti", "KaiTi", serif; transform: rotate(-8deg); }
.result-actions.ancient-actions { justify-content: center; margin: 22px 0; }
.result-actions.ancient-actions .btn-secondary { background: #e5ece4; }
.share-hint { margin: 12px 0 24px; color: #708176; text-align: center; font-size: 13px; line-height: 1.7; }
.dimension-fill { background: linear-gradient(90deg, #7ca38f, #d19a83); }
.dimension-track { background: #e5ebe2; }
.modal { border: 1px solid #dce6dd; background: #fffdf7; }
.demo-notice { color: #795d33; background: #f7efda; }
@media (max-width: 760px) {
  .hero { min-height: 0; padding: 34px 24px 190px; border-radius: 24px 24px 54px 24px; }
  .hero-content { max-width: 100%; }
  .hero h1 { max-width: 300px; font-size: 42px; }
  .hero p { max-width: 330px; }
  .hero-character { right: 8px; width: 160px; max-width: 50%; opacity: .9; }
  .hero-highlights { max-width: 270px; gap: 8px; }
  .test-card { padding: 24px 20px; }
  .card-meta { align-items: flex-start; flex-direction: column; padding-right: 40px; }
  .test-intro { padding: 28px 20px; }
  .question-card::after { display: none; }
  .identity-card { min-height: 0; padding: 26px 24px 70px; }
  .identity-card-head { letter-spacing: 3px; }
  .identity-card-body { grid-template-columns: 1fr; gap: 0; margin-top: 10px; text-align: center; }
  .identity-character { width: 180px; margin: 0 auto -8px; }
  .identity-copy { text-align: center; }
  .identity-copy h1 { font-size: 34px; }
  .identity-motto { padding: 16px 4px; font-size: 16px; }
  .result-actions.ancient-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .result-actions.ancient-actions .btn { padding: 0 12px; }
  .result-actions.ancient-actions .btn:last-child { grid-column: 1 / -1; }
}
