:root {
  --bg: #faf7f1;
  --bg-soft: #f3eee4;
  --card: #ffffff;
  --ink: #2c2b26;
  --ink-soft: #55534a;
  --muted: #8a877b;
  --jade: #3f6f5f;
  --jade-dark: #2e5447;
  --jade-soft: #e4ede8;
  --amber: #c07b3f;
  --terracotta: #bd6143;
  --line: #e9e2d6;
  --shadow: 0 1px 2px rgba(60, 50, 30, .05), 0 10px 30px -12px rgba(60, 50, 30, .18);
  --cinnabar: #b03a2e;          /* 朱砂红 */
  --cinnabar-dark: #8f2b21;
  --cinnabar-soft: #f6e4df;
  --gold: #b08d57;              /* 金 */
  --gold-soft: #f1e7d3;
  --ink-black: #201d17;         /* 墨黑 */
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --kai: "Ma Shan Zheng", "Noto Serif SC", "STKaiti", "Kaiti SC", serif;   /* 楷体 / 毛笔 */
  --hanzi: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;       /* 宋体 */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg);
  line-height: 1.65; -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.serif { font-family: var(--serif); }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,247,241,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); border-top: 3px solid var(--cinnabar); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand .mark { width: 34px; height: 34px; border-radius: 7px; background: linear-gradient(135deg, #c04a39, var(--cinnabar-dark)); display: grid; place-items: center; color: #f9f1e6; font-family: var(--kai); font-weight: 400; font-size: 20px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.22), 0 3px 8px -3px rgba(176,58,46,.55); }
.brand .name { font-family: var(--serif); font-weight: 700; font-size: 21px; letter-spacing: .3px; }
.brand .tag { display: block; font-size: 11px; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; }
.nav a { margin-left: 20px; color: var(--ink-soft); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav a:hover { color: var(--jade); }
.lang-switch { display: flex; align-items: center; gap: 5px; }
.lang-link { font-size: 12px; font-weight: 600; letter-spacing: .2px; color: var(--muted); text-decoration: none; padding: 5px 10px; border-radius: 999px; border: 1px solid transparent; white-space: nowrap; transition: color .12s ease, background .12s ease, border-color .12s ease; }
.lang-link:hover { color: var(--jade); }
.lang-link.active { color: var(--cinnabar); border-color: var(--cinnabar); background: rgba(176,58,46,.07); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--sans); font-size: 15px; font-weight: 600; padding: 13px 26px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn-primary { background: var(--jade); color: #fff; box-shadow: 0 8px 20px -8px rgba(63,111,95,.6); }
.btn-primary:hover { background: var(--jade-dark); }
.btn-ghost { background: transparent; color: var(--jade-dark); border-color: var(--jade); }
.btn-ghost:hover { background: var(--jade-soft); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.link-btn { background: none; border: none; color: var(--terracotta); cursor: pointer; font-size: 14px; font-weight: 500; padding: 0; }
.link-btn:hover { text-decoration: underline; }

/* Hero */
.hero { padding: 84px 0 64px; text-align: center; }
.hero .kicker { display: inline-block; font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--cinnabar); font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-family: var(--serif); font-size: clamp(40px, 6vw, 64px); font-weight: 600; line-height: 1.06; margin: 0 0 20px; }
.hero h1 .hero-num { font-family: var(--sans); font-weight: 700; letter-spacing: 0; }
.hero .sub { font-size: clamp(17px, 2.4vw, 21px); color: var(--ink-soft); max-width: 620px; margin: 0 auto 32px; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .micro { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-soft); }
.section h2 { font-family: var(--serif); font-size: clamp(30px, 4vw, 42px); font-weight: 600; text-align: center; margin: 0 0 12px; }
.section .lede { text-align: center; color: var(--ink-soft); max-width: 660px; margin: 0 auto 44px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; box-shadow: var(--shadow); }
.step-card .num { font-family: var(--serif); font-size: 40px; font-weight: 700; color: var(--cinnabar); line-height: 1; opacity: .85; }
.step-card h3 { font-family: var(--serif); font-size: 22px; margin: 14px 0 8px; }
.step-card p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.tcm-block { max-width: 760px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--jade); border-radius: 14px; padding: 34px 38px; box-shadow: var(--shadow); }
.tcm-block h3 { font-family: var(--serif); font-size: 24px; margin: 0 0 12px; }
.tcm-block p { color: var(--ink-soft); margin: 0 0 14px; }
.tcm-block p:last-child { margin-bottom: 0; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust-card { text-align: center; padding: 26px 20px; }
.trust-card .ic { font-size: 30px; }
.trust-card h4 { font-family: var(--serif); font-size: 18px; margin: 10px 0 6px; }
.trust-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* Products */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.product-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.product-card .p-name, .product .p-name { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.product-card .p-ing, .product .p-ing { font-size: 13px; color: var(--muted); margin: 4px 0 10px; }
.product-card .p-desc, .product .p-desc { font-size: 14px; color: var(--ink-soft); flex: 1; }
.p-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.price { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--jade-dark); }
.p-note { font-size: 13px; color: var(--amber); font-style: italic; margin: 12px 0; }
.product { border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; background: var(--card); }
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 10px; }

/* Product detail */
.product-detail { display: grid; gap: 20px; }
.pd-name { font-family: var(--serif); font-size: 34px; margin: 8px 0 4px; }
.pd-desc { color: var(--ink-soft); max-width: 640px; }
.back-link { color: var(--muted); text-decoration: none; font-size: 14px; }
.back-link:hover { color: var(--jade); }
.pd-buy { display: flex; align-items: center; gap: 18px; margin-top: 20px; flex-wrap: wrap; }
.buy-form { display: flex; align-items: center; gap: 12px; }
.qty-input { width: 60px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 16px; text-align: center; }
.related-title { font-family: var(--serif); font-size: 26px; margin: 0 0 20px; }

/* Assessment */
.assess-head { padding: 40px 0 24px; }
.assess-head .mod-label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--amber); font-weight: 600; }
.assess-head h2 { font-family: var(--serif); font-size: clamp(28px, 4vw, 40px); font-weight: 600; margin: 8px 0 20px; }
.progress { background: var(--line); height: 6px; border-radius: 999px; overflow: hidden; margin-bottom: 8px; }
.progress .bar { height: 100%; background: linear-gradient(90deg, var(--jade), #5c8b77); width: 0; transition: width .45s ease; }
.progress-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.q-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 38px 40px; box-shadow: var(--shadow); }
.q-card .q-hint { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.options { display: flex; flex-direction: column; gap: 12px; }
.option { text-align: left; width: 100%; background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; padding: 17px 20px; font-size: 16px; color: var(--ink); cursor: pointer; font-family: var(--sans); transition: border-color .15s ease, background .15s ease, transform .1s ease; }
.option:hover { border-color: var(--jade); background: var(--jade-soft); }
.option.sel { border-color: var(--jade); background: var(--jade-soft); }
.why { margin-top: 26px; border-top: 1px dashed var(--line); padding-top: 18px; }
.why summary { cursor: pointer; font-weight: 600; color: var(--jade-dark); font-size: 14px; list-style: none; display: flex; align-items: center; gap: 8px; }
.why summary::-webkit-details-marker { display: none; }
.why summary::before { content: "?"; font-family: var(--serif); font-weight: 700; color: #fff; background: var(--jade); width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 13px; }
.why summary .toggle { margin-left: auto; color: var(--muted); font-weight: 500; }
.why[open] summary .toggle { display: none; }
.why .note { margin-top: 14px; background: var(--jade-soft); border-radius: 12px; padding: 18px 20px; font-size: 15px; color: var(--ink-soft); }
.why .note .note-head { font-weight: 600; color: var(--jade-dark); display: block; margin-bottom: 6px; }
.assess-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; }
.assess-nav .back { background: none; border: none; color: var(--muted); font-size: 14px; cursor: pointer; font-weight: 500; padding: 8px 4px; }
.assess-nav .back:hover { color: var(--ink); }
.upload-zone { border: 2px dashed var(--line); border-radius: 16px; padding: 40px 24px; text-align: center; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.upload-zone:hover { border-color: var(--jade); background: var(--bg-soft); }
.upload-zone .up-ic { font-size: 38px; }
.upload-zone p { margin: 10px 0 0; color: var(--ink-soft); }
.upload-zone .up-sub { font-size: 13px; color: var(--muted); margin-top: 6px; }
.upload-zone img { max-height: 260px; border-radius: 12px; margin-top: 16px; box-shadow: var(--shadow); }
.upload-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.upload-actions .btn { padding: 12px 20px; }
.tongue-photo img { max-width: 100%; max-height: 340px; border-radius: 14px; box-shadow: var(--shadow); margin: 4px 0 14px; display: block; }
.upload-checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.upload-checklist li { font-size: 14px; color: var(--ink-soft); background: var(--bg); border-radius: 10px; padding: 12px 14px; }
.upload-checklist li b { color: var(--jade-dark); }

/* Results / report */
.results { padding: 48px 0 80px; }
.result-hero { text-align: center; margin-bottom: 40px; }
.result-hero .badge { display: inline-block; background: var(--jade-soft); color: var(--jade-dark); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; padding: 7px 16px; border-radius: 999px; margin-bottom: 18px; }
.result-hero h1 { font-family: var(--serif); font-size: clamp(34px, 5vw, 52px); font-weight: 600; margin: 0 auto 8px; max-width: 720px; line-height: 1.12; }
.result-hero .tcm-name { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--amber); }
.report-block { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 36px 40px; box-shadow: var(--shadow); margin-bottom: 24px; }
.report-block h2 { font-family: var(--serif); font-size: 26px; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.report-block h2 .emoji { font-size: 24px; }
.report-block p { color: var(--ink-soft); margin: 0 0 14px; }
.report-block p:last-child { margin-bottom: 0; }
.report-block ul { margin: 0 0 14px; padding-left: 4px; list-style: none; }
.report-block ul li { padding: 8px 0 8px 26px; position: relative; color: var(--ink-soft); }
.report-block ul li::before { content: "✦"; position: absolute; left: 2px; color: var(--amber); font-size: 13px; top: 11px; }
.try-this { background: var(--bg-soft); border-radius: 14px; padding: 20px 24px; margin-top: 18px; }
.try-this h3 { font-family: var(--serif); font-size: 20px; margin: 0 0 8px; color: var(--jade-dark); }
.acupoint { background: var(--bg-soft); border-radius: 14px; padding: 20px 24px; margin-top: 18px; }
.acupoint .pt-name { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--jade-dark); }
.acupoint .pt-label { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--amber); font-weight: 600; }
.tracker .checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 10px; }
.tracker .check { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 13px 16px; font-size: 14px; color: var(--ink-soft); }
.tracker .check input { margin-right: 8px; accent-color: var(--jade); }
.philosophy { text-align: center; background: linear-gradient(180deg, var(--jade-dark), var(--jade)); color: #f4f1e8; border-radius: 20px; padding: 44px 40px; }
.philosophy .hanzi { font-family: var(--serif); font-size: clamp(42px, 7vw, 64px); font-weight: 700; margin-bottom: 6px; }
.philosophy .roman { font-family: var(--serif); font-style: italic; font-size: 20px; opacity: .85; margin-bottom: 18px; }
.philosophy .en { font-size: 17px; color: #e7e2d2; max-width: 620px; margin: 0 auto; }

/* Cart */
.cart-list { display: flex; flex-direction: column; gap: 14px; }
.cart-row { display: grid; grid-template-columns: 28px 1fr 100px 90px 110px 80px; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.cr-info .p-name { font-family: var(--serif); font-size: 19px; font-weight: 600; }
.cr-info .p-ing { font-size: 12px; color: var(--muted); }
.cr-price, .cr-line { color: var(--ink-soft); }
.cart-actions { display: flex; align-items: center; justify-content: space-between; margin: 20px 0; }
.cart-total { font-size: 18px; }
.cart-checkout { text-align: right; }
.cart-selbar { display: flex; align-items: center; margin: 0 0 12px; }
.cr-sel-all { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-soft); cursor: pointer; }
.cr-sel { display: flex; align-items: center; justify-content: center; }
.cr-sel-all input, .cr-sel input { width: 17px; height: 17px; accent-color: var(--jade); cursor: pointer; }

/* Checkout */
.checkout-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.checkout-form, .order-summary { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.checkout-form h3 { font-family: var(--serif); font-size: 22px; margin: 20px 0 12px; }
.checkout-form h3:first-child { margin-top: 0; }
.checkout-form label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-soft); margin-bottom: 12px; }
.checkout-form input, .checkout-form textarea { width: 100%; margin-top: 4px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; font-family: var(--sans); }
.checkout-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pay-option { display: flex !important; align-items: center; gap: 10px; font-size: 15px !important; padding: 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.pay-option input { width: auto; margin: 0; }
.order-summary .os-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.order-summary .os-total { display: flex; justify-content: space-between; margin-top: 14px; font-weight: 600; }

/* Confirmation */
.confirm-card { max-width: 620px; margin: 0 auto; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 40px; box-shadow: var(--shadow); }
.confirm-ic { font-size: 48px; }
.qr-box { display: inline-block; background: #fff; padding: 18px; border-radius: 16px; box-shadow: var(--shadow); margin: 8px 0 16px; }
.qr-box img, .qr-box canvas { display: block; }
.confirm-card h2 { font-family: var(--serif); font-size: 32px; margin: 12px 0 8px; }
.summary-box { text-align: left; background: var(--bg); border-radius: 14px; padding: 20px 24px; margin-top: 20px; }
.summary-box .os-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; color: var(--ink-soft); }
.summary-box .os-total { display: flex; justify-content: space-between; margin-top: 10px; font-weight: 600; }

/* 登录 / 注册（右上角小字号 + 账号卡片） */
.header-right { display: flex; align-items: center; gap: 16px; }
.auth-nav { display: flex; align-items: center; gap: 12px; }
.auth-nav a { font-size: 12px; font-weight: 500; color: var(--ink-soft); text-decoration: none; white-space: nowrap; }
.auth-nav a:hover { color: var(--jade); }
.auth-nav .auth-user { font-size: 12px; font-weight: 500; color: var(--muted); }
.auth-nav .auth-register { color: var(--cinnabar); border: 1px solid var(--cinnabar); padding: 4px 13px; border-radius: 999px; }
.auth-nav .auth-register:hover { background: var(--cinnabar-soft); color: var(--cinnabar-dark); }

.auth-card { max-width: 440px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 40px 38px 30px; box-shadow: var(--shadow); }
.auth-head { text-align: center; margin-bottom: 24px; }
.auth-head .seal { margin-bottom: 16px; }
.auth-head h2 { font-family: var(--serif); font-size: 30px; font-weight: 600; margin: 0 0 6px; }
.auth-head .auth-sub { color: var(--muted); font-size: 14px; margin: 0; }
.auth-form label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-soft); margin-bottom: 14px; }
.auth-form input { width: 100%; margin-top: 6px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 15px; font-family: var(--sans); color: var(--ink); background: var(--bg); transition: border-color .15s ease, background .15s ease; }
.auth-form input:focus { border-color: var(--jade); background: var(--jade-soft); outline: none; }
.auth-form .btn { margin-top: 8px; }
.auth-alt { text-align: center; margin-top: 20px; font-size: 13px; color: var(--muted); }
.auth-alt a { color: var(--cinnabar); text-decoration: none; font-weight: 600; }
.auth-alt a:hover { text-decoration: underline; }

/* 我的报告列表 */
.report-list { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin: 0 auto; }
.report-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: border-color .15s ease, transform .12s ease; }
.report-item:hover { border-color: var(--gold); transform: translateY(-1px); }
.ri-title { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.ri-meta { font-size: 13px; color: var(--muted); margin-top: 3px; }
.ri-arrow { color: var(--cinnabar); font-size: 22px; }

/* Flash */
.flash { border-radius: 12px; padding: 14px 18px; font-size: 14px; margin: 0 0 20px; }
.flash-error { background: #fbe9e5; color: #8a3b2a; border: 1px solid #f0c4b8; }
.flash-ok { background: #e6f2ea; color: #2e5447; border: 1px solid #bfdcc8; }
.flash-warn { background: #f8f0df; color: #8a6a2a; border: 1px solid #e7d6a8; }

/* Toast */
.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 13px 24px; border-radius: 999px; font-size: 14px; opacity: 0; transition: opacity .25s ease, transform .25s ease; z-index: 100; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; background: var(--bg-soft); margin-top: 40px; }
.site-footer .disc { max-width: 860px; margin: 0 auto; text-align: center; font-size: 13px; color: var(--muted); }
.site-footer .disc b { color: var(--ink-soft); }
.site-footer .foot-links { text-align: center; margin-top: 16px; font-size: 13px; }
.site-footer .foot-links a { color: var(--muted); text-decoration: none; margin: 0 12px; }
.site-footer .foot-links a:hover { color: var(--jade); }

@media (max-width: 760px) {
  .steps, .trust, .products, .checkout-grid, .tracker .checks, .upload-checklist { grid-template-columns: 1fr; }
  .q-card, .report-block { padding: 26px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 28px 1fr auto; grid-template-areas: "sel info info" "sel price qty" "sel line remove"; }
  .cr-sel { grid-area: sel; }
  .cr-info { grid-area: info; }
  .cr-price { grid-area: price; }
  .cr-qty { grid-area: qty; }
  .cr-line { grid-area: line; }
  .cr-remove { grid-area: remove; }
  .nav a { margin-left: 12px; font-size: 13px; }
  .site-header .wrap { flex-wrap: wrap; height: auto; padding: 10px 0 8px; row-gap: 8px; }
  .brand { order: 1; margin-right: auto; }
  .header-right { order: 2; }
  .nav { order: 3; width: 100%; }
  .nav a:first-child { margin-left: 0; }
  .auth-card { padding: 30px 24px 26px; }
  .lang-link { font-size: 11px; padding: 4px 8px; }
}

/* ============ TCM 装饰组件 ============ */
/* 印章（朱砂红印章，内嵌白字） */
.seal { display: inline-grid; place-items: center; background: linear-gradient(135deg, #c04a39, var(--cinnabar-dark)); color: #f9f1e6; font-family: var(--kai); border-radius: 9px; position: relative; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.22), 0 6px 16px -6px rgba(176,58,46,.55); }
.seal::after { content: ""; position: absolute; inset: 3px; border: 1px solid rgba(249,241,230,.35); border-radius: 6px; }
.seal span { position: relative; z-index: 1; line-height: 1; }
.seal-lg { width: 64px; height: 64px; font-size: 36px; }
.seal-sm { width: 36px; height: 36px; font-size: 21px; border-radius: 7px; }
.hero-seal { display: block; margin: 0 auto 20px; }

/* 云纹/如意分隔线（金线 + 朱砂菱形结） */
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 6px 0 20px; }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 72px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament::after { background: linear-gradient(90deg, var(--gold), transparent); }
.ornament .knot { width: 9px; height: 9px; background: var(--cinnabar); transform: rotate(45deg); border-radius: 1px; flex: none; }

/* 中文竖排题字 */
.hero-hanzi { position: absolute; right: 1.5vw; top: 70px; writing-mode: vertical-rl; text-orientation: upright; font-family: var(--kai); font-size: 24px; letter-spacing: 10px; color: var(--cinnabar); opacity: .38; user-select: none; pointer-events: none; }
.hero { position: relative; }

/* 段落中文小标题 */
.h2-cn { display: block; text-align: center; font-family: var(--kai); font-size: 19px; letter-spacing: 4px; color: var(--cinnabar); opacity: .9; margin: 0 0 4px; }

/* 页脚：太极图水印 + 印章品牌 */
.site-footer { position: relative; overflow: hidden; }
.foot-yinyang { position: absolute; top: -78px; left: 50%; transform: translateX(-50%); width: 190px; color: var(--cinnabar); opacity: .08; pointer-events: none; }
.foot-yinyang svg { display: block; width: 100%; height: auto; }
.foot-brand { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 20px; }
.foot-brand-txt { text-align: left; line-height: 1.3; }
.foot-name { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--ink); }
.foot-tag { display: block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.foot-cn { text-align: center; font-family: var(--kai); font-size: 16px; letter-spacing: 6px; color: var(--cinnabar); opacity: .72; margin-top: 20px; }

@media (max-width: 920px) { .hero-hanzi { display: none; } }

/* ============ 五行 · 回纹 · 葫芦 · 水墨 · 本草 ============ */
:root { --wood: #4a7c59; --fire: #b03a2e; --earth: #c1903f; --metal: #a89f8c; --water: #38506b; }

/* 回纹边饰（云雷纹） */
.meander { height: 14px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='14' viewBox='0 0 20 14'%3E%3Cpath d='M0 14 L0 0 L20 0 L20 7 L10 7 L10 14 L20 14' fill='none' stroke='%23b03a2e' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: repeat-x; background-size: 20px 14px; opacity: .5; }
.meander-gold { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='14' viewBox='0 0 20 14'%3E%3Cpath d='M0 14 L0 0 L20 0 L20 7 L10 7 L10 14 L20 14' fill='none' stroke='%23b08d57' stroke-width='1.6'/%3E%3C/svg%3E"); }

/* 水墨晕染（hero 背景） */
.hero { background: radial-gradient(ellipse at 85% 12%, rgba(176,58,46,.07), transparent 55%), radial-gradient(ellipse at 8% 85%, rgba(63,111,95,.08), transparent 55%); }

/* 葫芦（悬壶济世） */
.hero-gourd { position: absolute; left: 1.5vw; top: 46px; width: 150px; color: var(--cinnabar); opacity: .09; pointer-events: none; }
.hero-gourd svg { width: 100%; height: auto; }
.foot-gourd { width: 40px; color: var(--cinnabar); opacity: .5; margin: 0 auto 18px; }
.foot-gourd svg { width: 100%; height: auto; }

/* 五行轮盘 + 五行卡 */
.section-wuxing { background: linear-gradient(180deg, var(--bg), var(--bg-soft)); }
.wuxing-wheel { width: 122px; height: 122px; border-radius: 50%; margin: 0 auto 30px; background: conic-gradient(var(--wood) 0 72deg, var(--fire) 72deg 144deg, var(--earth) 144deg 216deg, var(--metal) 216deg 288deg, var(--water) 288deg 360deg); display: grid; place-items: center; box-shadow: 0 12px 30px -14px rgba(60,50,30,.35); }
.wuxing-wheel .wx-center { width: 56px; height: 56px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-family: var(--kai); font-size: 20px; color: var(--cinnabar); }
.wuxing { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.wuxing-item { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--c); border-radius: 14px; padding: 22px 12px; text-align: center; box-shadow: var(--shadow); }
.wx-hanzi { font-family: var(--kai); font-size: 34px; color: var(--c); display: block; line-height: 1; }
.wx-name { font-family: var(--serif); font-size: 17px; font-weight: 700; display: block; margin-top: 10px; color: var(--ink); }
.wx-organ { font-size: 12px; color: var(--muted); display: block; margin-top: 4px; line-height: 1.4; }

/* 本草商品卡（药柜抽屉 + 本草水印） */
.product-card { position: relative; border-top: 3px solid var(--gold); }
.product-card::before { content: "🌿"; position: absolute; right: 16px; top: 10px; font-size: 24px; opacity: .18; pointer-events: none; }

/* 段落标题金红下划线 */
.section h2:not(.pd-name)::after { content: ""; display: block; width: 52px; height: 3px; margin: 16px auto 0; background: linear-gradient(90deg, var(--cinnabar), var(--gold)); border-radius: 2px; }

/* 左对齐中文小标题（问诊页） */
.h2-cn.left { text-align: left; }

@media (max-width: 760px) {
  .wuxing { grid-template-columns: repeat(2, 1fr); }
  .hero-gourd { display: none; }
}

/* 问诊·基本信息（年龄/身高/体重/疾病史） */
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 4px; }
.pf-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 500; }
.pf-field input, .pf-field textarea { width: 100%; margin-top: 2px; padding: 12px 13px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 15px; font-family: var(--sans); color: var(--ink); background: var(--bg); transition: border-color .15s ease, background .15s ease; }
.pf-field textarea { resize: vertical; }
.pf-field input:focus, .pf-field textarea:focus { border-color: var(--jade); background: var(--jade-soft); outline: none; }
.pf-wide { grid-column: 1 / -1; }
@media (max-width: 640px) { .profile-grid { grid-template-columns: 1fr; } }

/* ============ 付费墙 · 三档解锁 ============ */
.paywall-teaser { max-width: 640px; margin: 14px auto 0; font-family: var(--serif); font-size: 21px; font-style: italic; color: var(--ink-soft); }
.paywall { max-width: 720px; margin: 0 auto; text-align: center; }
.paywall-title { font-family: var(--serif); font-size: clamp(28px, 4vw, 38px); font-weight: 600; margin: 0 0 10px; }
.paywall-lede { color: var(--ink-soft); max-width: 560px; margin: 0 auto 32px; }
.paywall-form { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 32px 32px 28px; box-shadow: var(--shadow); text-align: left; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 26px; }
.tier-card { position: relative; display: flex; flex-direction: column; gap: 8px; border: 1.5px solid var(--line); border-radius: 16px; padding: 22px 18px; cursor: pointer; background: var(--bg); transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.tier-card:hover { border-color: var(--gold); }
.tier-card:has(input:checked) { border-color: var(--cinnabar); background: var(--card); box-shadow: 0 10px 26px -14px rgba(176,58,46,.45); }
.tier-card input { position: absolute; top: 16px; right: 16px; width: 18px; height: 18px; accent-color: var(--cinnabar); }
.tier-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-right: 22px; }
.tier-name { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--ink); }
.tier-badge { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #fff; background: var(--jade); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.tier-badge.best { background: linear-gradient(135deg, var(--cinnabar), var(--cinnabar-dark)); }
.tier-price { font-size: 30px; font-weight: 700; color: var(--cinnabar); font-family: var(--serif); line-height: 1; }
.tier-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.tier-expert { border-top: 3px solid var(--gold); }

.paywall-contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; margin-bottom: 22px; }
.paywall-contact label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.paywall-contact input { width: 100%; margin-top: 4px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; font-family: var(--sans); background: var(--bg); }
.paywall-contact input:focus { border-color: var(--jade); background: var(--jade-soft); outline: none; }
.paywall-pay { margin-bottom: 22px; }
.pay-label { font-size: 13px; font-weight: 500; color: var(--ink-soft); margin: 0 0 10px; }
.paywall-pay .pay-option { margin-bottom: 8px; }
.paywall-note { text-align: center; margin-top: 14px; }

/* 报告锁定分区 */
.locked-block { text-align: center; background: var(--bg-soft); border: 1.5px dashed var(--line); box-shadow: none; }
.locked-block .lock-ic { font-size: 30px; margin-bottom: 6px; }
.locked-block p { color: var(--muted); margin-bottom: 16px; }

@media (max-width: 760px) {
  .tiers { grid-template-columns: 1fr; }
  .paywall-contact { grid-template-columns: 1fr; }
}

/* ============ 首页 · 痛点首屏 + 体质自测 + AI 助手 + FAQ ============ */
/* 首屏背书徽章行 */
.hero-proof { list-style: none; margin: 24px auto 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: center; }
.hero-proof li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-soft); }
.hero-proof li span { font-size: 15px; }

/* 热门症状标签 */
.sym-tags { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; }
.sym-tags .sym-label { font-size: 13px; color: var(--muted); margin-right: 2px; }
.sym-tags a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--jade-dark); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.sym-tags a:hover { border-color: var(--cinnabar); background: var(--cinnabar-soft); color: var(--cinnabar-dark); }

/* 体质自测卡片 */
.quiz { max-width: 640px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--cinnabar); border-radius: 20px; padding: 36px 38px 32px; box-shadow: var(--shadow); }
.quiz-head { text-align: center; margin-bottom: 26px; }
.quiz-head .quiz-seal { margin: 0 auto 14px; }
.quiz-head h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; margin: 0 0 6px; }
.quiz-head p { color: var(--muted); font-size: 14px; margin: 0; }
.quiz-q { text-align: left; }
.quiz-qnum { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--amber); font-weight: 600; margin-bottom: 12px; }
.quiz-q h4 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin: 0 0 20px; }
.quiz-opts { display: flex; flex-direction: column; gap: 11px; }
.quiz-opt { text-align: left; width: 100%; background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; padding: 15px 18px; font-size: 15px; color: var(--ink); cursor: pointer; font-family: var(--sans); transition: border-color .15s ease, background .15s ease, transform .1s ease; }
.quiz-opt:hover { border-color: var(--cinnabar); background: var(--cinnabar-soft); }
.quiz-result { text-align: center; animation: qrFade .35s ease; }
.quiz-result .qr-hanzi { font-family: var(--kai); font-size: 40px; line-height: 1; color: var(--cinnabar); margin-bottom: 8px; }
.quiz-result .qr-name { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.quiz-result .qr-blurb { color: var(--ink-soft); max-width: 460px; margin: 0 auto 22px; }
.quiz-result .btn { margin-bottom: 12px; }
.quiz-result .qr-note { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
@keyframes qrFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* AI 中医助手（岐黄） */
.persona { max-width: 860px; margin: 0 auto; }
.persona-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.persona-step { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 16px; padding: 28px 24px; box-shadow: var(--shadow); }
.persona-step .ps-num { font-family: var(--kai); font-size: 30px; color: var(--cinnabar); line-height: 1; }
.persona-step h3 { font-family: var(--serif); font-size: 19px; margin: 12px 0 8px; }
.persona-step p { color: var(--ink-soft); font-size: 14px; margin: 0; }

/* FAQ + 隐私 */
.privacy-note { max-width: 640px; margin: 0 auto 26px; text-align: center; background: var(--jade-soft); border: 1px solid #bfdcc8; color: var(--jade-dark); border-radius: 12px; padding: 14px 20px; font-size: 14px; font-weight: 500; }
.faq { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 600; color: var(--ink); font-family: var(--sans); font-size: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .fi-toggle { color: var(--cinnabar); font-size: 20px; line-height: 1; transition: transform .2s ease; flex: none; }
.faq-item[open] .fi-toggle { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--ink-soft); font-size: 15px; }

@media (max-width: 760px) {
  .persona-steps { grid-template-columns: 1fr; }
  .quiz { padding: 28px 20px 24px; }
}

/* 国医大师（名家） */
.masters-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.master-card { display: flex; gap: 20px; align-items: flex-start; background: linear-gradient(160deg, #fbf6ea, #f4ead6); border: 1px solid #e7d9bf; border-radius: 14px; padding: 22px; box-shadow: 0 12px 28px -18px rgba(96, 74, 38, .45); transition: transform .15s ease, box-shadow .15s ease; }
.master-card:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -18px rgba(96, 74, 38, .50); }
.master-photo { flex: none; width: 86px; height: 104px; border-radius: 10px; overflow: hidden; border: 2px solid var(--gold); background: var(--gold-soft); }
.master-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.master-info { flex: 1; min-width: 0; }
.master-name { font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--ink); line-height: 1.15; }
.master-pinyin { display: block; font-family: var(--sans); font-size: 11.5px; font-weight: 500; color: var(--muted); letter-spacing: .5px; margin-top: 2px; }
.master-badge { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 600; letter-spacing: 1px; color: #8a6a3b; background: var(--gold-soft); border: 1px solid var(--gold); border-radius: 999px; padding: 2px 10px; }
.master-bio { margin-top: 10px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; }
.masters-note { max-width: 720px; margin: 28px auto 0; text-align: center; font-size: 12.5px; color: var(--muted); line-height: 1.65; }
@media (max-width: 760px) {
  .masters-grid { grid-template-columns: 1fr; }
}
