/* 健康宝 · 经典 H5 视觉层
   设计目标：专业、克制、数据感。权威感来自可解释的算法与严谨排版，
   不使用任何虚构的医疗机构、资质、认证或专家背书。 */
:root {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --ink: #101c2c;
  --ink-2: #5a6779;
  --ink-3: #93a0b2;
  --navy: #0b1f3a;
  --navy-2: #14375c;
  --brand: #0e8f86;
  --brand-deep: #0a6b65;
  --brand-2: #22b8a6;
  --brand-soft: #e6f5f2;
  --gold: #c6a15b;
  --gold-soft: #faf3e4;
  --accent: #d9822b;
  --accent-soft: #fff2e2;
  --line: #e3e9f0;
  --danger: #b8544a;
  --shadow: 0 6px 22px rgba(16, 39, 68, .06);
  --shadow-lg: 0 18px 46px rgba(11, 31, 58, .16);
  --radius: 18px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  background: #e9eef5;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px; line-height: 1.62; -webkit-font-smoothing: antialiased;
}
button, input { font-family: inherit; }
button { cursor: pointer; border: none; background: none; color: inherit; }
a { color: var(--brand); text-decoration: none; }
img { display: block; max-width: 100%; }
.hidden { display: none !important; }
.center { text-align: center; }
.mt10 { margin-top: 10px; }
.mt16 { margin-top: 16px; }
.muted { color: var(--ink-3); font-size: 11.5px; }
.mono { font-variant-numeric: tabular-nums; font-family: "SF Mono", "DIN Alternate", Menlo, Consolas, monospace; }

.app {
  max-width: 480px; margin: 0 auto; min-height: 100vh;
  background: var(--bg); position: relative; overflow-x: hidden;
  box-shadow: 0 0 60px rgba(11, 31, 58, .12);
}

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40; height: 56px; padding: 0 18px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: .5px; }
.brand-mark {
  width: 29px; height: 29px; border-radius: 9px;
  background: linear-gradient(135deg, var(--navy-2), var(--navy));
  display: grid; place-items: center; color: #fff; position: relative;
}
.brand-mark::after { content:''; position:absolute; inset:5px; border:1px solid rgba(198,161,91,.75); border-radius:5px; }
.brand-mark svg { width: 16px; height: 16px; }
.brand-name { font-size: 17px; }
.brand-en { font-size: 9px; letter-spacing: 2px; color: var(--ink-3); font-weight: 700; margin-left: 2px; }
.topbar-right { display: flex; align-items: center; gap: 13px; }
.top-link { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.chip-vip { font-size: 11px; font-weight: 800; color: #8a6520; background: var(--gold-soft); border: 1px solid #eddcb8; padding: 4px 9px; border-radius: 20px; }
.demo-banner { padding: 9px 16px; font-size: 12px; line-height: 1.5; background: #fff8e8; color: #8a6220; border-bottom: 1px solid #f2e2bd; text-align: center; }
.demo-banner b { color: #7a4d10; }

/* ---------- 视图 ---------- */
.view { display: none; padding: 0 0 112px; animation: fade .32s ease; }
.view.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.section { padding: 24px 18px 0; }
.section-title { font-size: 20px; font-weight: 800; letter-spacing: -.4px; margin: 0 0 6px; }
.section-sub { font-size: 12.5px; color: var(--ink-2); margin: 0 0 18px; }
.eyebrow { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: 1.8px; color: var(--brand); text-transform: uppercase; margin-bottom: 10px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.section-head .link-mini { font-size: 12px; color: var(--brand); font-weight: 700; white-space: nowrap; }
.divider { height: 1px; background: var(--line); margin: 22px 18px 0; }
.tag { display: inline-block; font-size: 10.5px; font-weight: 700; color: var(--navy-2); background: #eaf0f7; border: 1px solid #dce5f0; padding: 2px 9px; border-radius: 20px; }
.tag.gold { color: #8a6520; background: var(--gold-soft); border-color: #eddcb8; }

/* ---------- 首屏 ---------- */
.hero {
  margin: 14px 14px 0; padding: 28px 22px 24px; border-radius: 22px; color: #fff;
  position: relative; overflow: hidden;
  background: radial-gradient(130% 110% at 100% 0%, var(--navy-2) 0%, var(--navy) 52%, #071629 100%);
  box-shadow: 0 16px 38px rgba(11, 31, 58, .25);
}
.hero::after {
  content: ''; position: absolute; width: 230px; height: 230px; border-radius: 50%;
  right: -95px; top: -95px; border: 1px solid rgba(198,161,91,.22);
  box-shadow: 0 0 0 28px rgba(255,255,255,.035), 0 0 0 60px rgba(255,255,255,.025);
}
.hero .hero-kicker { font-size: 10.5px; letter-spacing: 2.2px; color: var(--gold); font-weight: 800; position: relative; margin-bottom: 10px; }
.hero h1 { font-size: 27px; line-height: 1.34; margin: 0 0 10px; font-weight: 800; letter-spacing: -.6px; position: relative; }
.hero h1 em { font-style: normal; color: #8fe3d4; }
.hero p { font-size: 13px; color: rgba(255,255,255,.78); margin: 0 0 20px; position: relative; line-height: 1.7; }
.hero-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 47px; padding: 0 24px; border-radius: 12px; background: #fff;
  color: var(--navy); font-weight: 800; font-size: 15px; box-shadow: 0 8px 20px rgba(0,0,0,.18); position: relative;
}
.hero-btn svg { width: 16px; height: 16px; }
.hero-meta { display: flex; gap: 14px; margin-top: 20px; position: relative; flex-wrap: wrap; }
.hero-meta span { font-size: 11px; color: rgba(255,255,255,.76); display: flex; align-items: center; gap: 5px; }
.hero-meta i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); display: inline-block; }

.trust-grid { margin: 14px 14px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.trust-item { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 12px 5px; text-align: center; }
.trust-item svg { width: 17px; height: 17px; color: var(--brand); margin: 0 auto 6px; display: block; }
.trust-item b { display: block; font-size: 11px; font-weight: 700; }
.trust-item span { font-size: 9.5px; color: var(--ink-3); }
.disclaimer-strip {
  margin: 14px 18px 0; padding: 11px 13px; border-radius: 12px; background: #fff;
  border: 1px solid var(--line); font-size: 11.5px; color: var(--ink-2);
  line-height: 1.6; display: flex; gap: 8px; align-items: flex-start;
}
.disclaimer-strip svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--brand); }

/* ---------- 三种版本 ---------- */
.mode-grid { display: grid; gap: 11px; }
.mode-card {
  width: 100%; text-align: left; display: block; position: relative;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 16px 16px 15px; transition: border-color .2s, box-shadow .2s, transform .15s;
}
.mode-card:active { transform: scale(.995); }
.mode-card.selected { border-color: var(--brand); box-shadow: 0 8px 22px rgba(14,143,134,.12); background: linear-gradient(180deg, #f4fbf9, #fff 62%); }
.mode-top { display: flex; align-items: flex-start; gap: 12px; }
.mode-num { font-size: 12px; font-weight: 800; color: var(--gold); letter-spacing: 1px; flex: none; padding-top: 2px; }
.mode-card b { display: block; font-size: 15px; font-weight: 800; }
.mode-card .mode-rec { font-size: 10px; font-weight: 800; color: #8a6520; background: var(--gold-soft); border: 1px solid #eddcb8; padding: 1px 7px; border-radius: 20px; margin-left: 7px; vertical-align: 2px; }
.mode-card .mode-desc { font-size: 12px; color: var(--ink-2); margin: 7px 0 0; line-height: 1.65; }
.mode-meta { font-size: 11px; color: var(--brand-deep); font-weight: 700; margin-top: 9px; }
.mode-outs { display: flex; flex-wrap: wrap; gap: 5px 8px; margin-top: 10px; }
.mode-outs span { font-size: 10.5px; color: var(--ink-2); background: #f2f5f9; border-radius: 6px; padding: 3px 7px; }
.mode-check { position: absolute; right: 14px; top: 15px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #cbd6e2; }
.mode-card.selected .mode-check { border: 5px solid var(--brand); }

/* ---------- 算法 / 目录 ---------- */
.algo-grid { display: grid; gap: 10px; }
.algo-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 15px 16px; box-shadow: var(--shadow); }
.algo-head { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
.algo-idx { width: 26px; height: 26px; flex: none; border-radius: 8px; background: var(--navy); color: var(--gold); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.algo-name { font-size: 14px; font-weight: 800; }
.algo-en { font-size: 9px; letter-spacing: 1.2px; color: var(--ink-3); font-weight: 700; display: block; }
.algo-card p { margin: 0; font-size: 12px; color: var(--ink-2); line-height: 1.7; }
.algo-out { display: inline-block; margin-top: 9px; font-size: 10.5px; font-weight: 700; color: var(--brand-deep); background: var(--brand-soft); padding: 3px 9px; border-radius: 6px; }
.outline-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.outline-item { display: flex; align-items: center; gap: 10px; padding: 10px 15px; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.outline-item:last-child { border-bottom: none; }
.outline-item i { width: 20px; height: 20px; flex: none; border-radius: 6px; background: #eef3f8; color: var(--navy-2); font-size: 10px; font-weight: 800; font-style: normal; display: grid; place-items: center; }
.outline-item b { font-weight: 600; }
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.kpi { background: var(--navy); color: #fff; border-radius: 14px; padding: 14px 10px; text-align: center; }
.kpi b { display: block; font-size: 22px; font-weight: 800; line-height: 1.1; color: #fff; }
.kpi span { font-size: 10.5px; color: rgba(255,255,255,.7); }

/* ---------- 报告预览 / 对比 / 定价 ---------- */
.preview-wrap { display: flex; gap: 12px; align-items: stretch; }
.preview-card { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.preview-label { font-size: 10.5px; color: var(--ink-3); font-weight: 800; letter-spacing: 1.2px; }
.preview-score { display: flex; align-items: baseline; gap: 5px; margin: 6px 0 12px; }
.preview-score b { font-size: 34px; line-height: 1; font-weight: 800; color: var(--navy); letter-spacing: -1px; }
.preview-score span { font-size: 12px; color: var(--ink-2); }
.mini-bars { display: grid; gap: 9px; }
.mini-bar-row { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--ink-2); }
.mini-bar-row span:first-child { width: 62px; flex: none; }
.mini-track { flex: 1; height: 6px; border-radius: 6px; background: #edf2f7; overflow: hidden; }
.mini-track i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--brand-2), var(--brand-deep)); }
.mini-bar-row b { width: 24px; text-align: right; color: var(--ink); font-size: 11px; }
.compare { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare-row { display: grid; grid-template-columns: 1fr 78px 90px; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.compare-row:last-child { border-bottom: none; }
.compare-row.head { background: #f6f9fc; font-weight: 700; font-size: 11.5px; color: var(--ink-2); }
.compare-row.head span:last-child { color: var(--brand); }
.compare-row .yes { color: var(--brand); font-weight: 800; text-align: center; }
.compare-row .no { color: var(--ink-3); text-align: center; }
.compare-row span:not(:first-child) { text-align: center; }
.price-list { display: grid; gap: 12px; }
.price-card { position: relative; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px; text-align: left; width: 100%; display: block; transition: border-color .2s, transform .2s; }
.price-card.featured { border-color: var(--gold); background: linear-gradient(180deg, #fdf8ed, #fff 60%); box-shadow: 0 10px 26px rgba(198,161,91,.16); }
.price-card:active { transform: scale(.99); }
.price-badge { position: absolute; right: -1px; top: -1px; padding: 4px 12px; font-size: 10.5px; font-weight: 800; color: #fff; background: var(--gold); border-radius: 0 18px 0 12px; }
.price-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.price-name { font-size: 16px; font-weight: 800; }
.price-desc { font-size: 12px; color: var(--ink-3); }
.price-amount { color: var(--navy); font-weight: 800; letter-spacing: -1px; }
.price-amount small { font-size: 14px; font-weight: 700; margin-right: 1px; }
.price-amount b { font-size: 28px; }
.price-amount span { font-size: 12px; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
.price-perks { display: flex; flex-wrap: wrap; gap: 5px 10px; margin-top: 10px; }
.price-perks span { font-size: 11.5px; color: var(--ink-2); display: flex; align-items: center; gap: 4px; }
.price-perks i { width: 4px; height: 4px; border-radius: 50%; background: var(--brand-2); }
.price-note { font-size: 11.5px; color: var(--ink-3); margin-top: 11px; line-height: 1.5; }

/* ---------- FAQ / 页脚 ---------- */
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: none; }
.faq summary { padding: 14px 16px; font-size: 13.5px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 18px; color: var(--brand); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: '-'; }
.faq p { margin: 0; padding: 0 16px 15px; font-size: 12.5px; color: var(--ink-2); line-height: 1.75; }
.footer { padding: 26px 20px 10px; font-size: 11px; color: var(--ink-3); line-height: 1.8; text-align: center; }
.footer a { color: var(--ink-2); }
.footer-links { display: flex; justify-content: center; gap: 16px; margin-bottom: 10px; flex-wrap: wrap; }

/* ---------- 底部 CTA / 按钮 ---------- */
.bottom-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 35; max-width: 480px; margin: 0 auto;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 50px; border-radius: 13px; font-size: 15px; font-weight: 800; transition: transform .15s, opacity .2s; }
.btn:active { transform: scale(.985); }
.btn-primary { background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; box-shadow: 0 8px 20px rgba(11,31,58,.24); }
.btn-warm { background: linear-gradient(135deg, #e8b063, #cf8a2c); color: #fff; box-shadow: 0 8px 20px rgba(207,138,44,.26); }
.btn-ghost { background: var(--brand-soft); color: var(--brand-deep); }
.btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn:disabled { opacity: .45; box-shadow: none; }
.btn svg { width: 17px; height: 17px; }

/* ---------- 采集 ---------- */
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.tip { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 8px; text-align: center; }
.tip .tip-icon { width: 32px; height: 32px; margin: 0 auto 8px; border-radius: 10px; background: var(--brand-soft); display: grid; place-items: center; color: var(--brand-deep); }
.tip .tip-icon svg { width: 18px; height: 18px; }
.tip b { display: block; font-size: 12px; }
.tip span { font-size: 10.5px; color: var(--ink-3); }
.capture-box { margin-top: 16px; border-radius: 20px; overflow: hidden; position: relative; aspect-ratio: 3/4; background: #e9f0f6; border: 1.5px dashed #b9cadb; display: grid; place-items: center; }
.capture-box.has-image { border-style: solid; border-color: var(--line); background: #08192b; }
.capture-box img { width: 100%; height: 100%; object-fit: cover; }
.capture-box video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.capture-placeholder { text-align: center; padding: 20px; color: var(--ink-2); }
.capture-placeholder .cam-circle { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--navy-2); box-shadow: var(--shadow); }
.capture-placeholder .cam-circle svg { width: 30px; height: 30px; }
.capture-placeholder b { display: block; font-size: 15px; color: var(--ink); }
.capture-placeholder span { font-size: 12px; }
.face-guide { position: absolute; width: 58%; aspect-ratio: 3/4; left: 21%; top: 16%; border: 2px solid rgba(255,255,255,.9); border-radius: 48% 48% 44% 44%; box-shadow: 0 0 0 9999px rgba(8, 25, 43, .3); pointer-events: none; transition: border-color .2s ease; }
.face-guide::before, .face-guide::after { content: ''; position: absolute; width: 16px; height: 16px; border: 2px solid #fff; }
.face-guide::before { left: -2px; top: -2px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.face-guide::after { right: -2px; bottom: -2px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.face-guide.ready { border-color: #8ff0d0; }
.face-guide.tongue { width: 62%; aspect-ratio: 1/1; left: 19%; top: 26%; border-radius: 46% 46% 50% 50%; }
.scan-status { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 6; padding: 9px 12px; border-radius: 11px; background: rgba(8, 25, 43, .8); color: #fff; font-size: 12px; line-height: 1.45; text-align: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.scan-status.ready { background: rgba(14, 143, 134, .94); }
.capture-box:not(.has-image) .scan-status { background: rgba(90, 107, 123, .92); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 16px 2px 0; font-size: 12px; color: var(--ink-2); line-height: 1.65; }
.consent input { appearance: none; width: 19px; height: 19px; flex: none; margin: 1px 0 0; border: 1.5px solid #b8c9db; border-radius: 6px; background: #fff; }
.consent input:checked { background: var(--brand); border-color: var(--brand); }
.consent input:checked::after { content: ''; display: block; width: 5px; height: 9px; margin: 2px 0 0 5px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.consent a { font-weight: 700; }

/* ---------- 问卷 ---------- */
.survey-intro { margin: 16px 16px 0; padding: 18px; border-radius: var(--radius); background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; }
.survey-intro .si-label { font-size: 10.5px; letter-spacing: 1.6px; color: var(--gold); font-weight: 800; }
.survey-intro .si-score { font-size: 38px; font-weight: 800; line-height: 1.15; }
.survey-intro p { margin: 4px 0 0; font-size: 12px; color: rgba(255,255,255,.78); }
.survey-q { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin: 12px 16px 0; box-shadow: var(--shadow); }
.survey-q .q-head { display: flex; gap: 8px; align-items: baseline; margin-bottom: 11px; }
.survey-q .q-idx { font-size: 11px; font-weight: 800; color: var(--gold); }
.survey-q .q-title { font-size: 14px; font-weight: 700; }
.q-options { display: grid; gap: 8px; }
.q-opt { width: 100%; text-align: left; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 11px; font-size: 12.5px; color: var(--ink-2); display: flex; align-items: center; gap: 9px; }
.q-opt .radio { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 1.5px solid #c9d5e2; }
.q-opt.selected { border-color: var(--brand); background: #f4fbf9; color: var(--ink); font-weight: 700; }
.q-opt.selected .radio { border: 4.5px solid var(--brand); }

/* ---------- 分析中 ---------- */
.analyzing { padding: 48px 22px; text-align: center; }
.analyzing .ring { width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 50%; border: 5px solid var(--brand-soft); border-top-color: var(--navy-2); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.analyzing h2 { font-size: 19px; margin: 0 0 6px; }
.analyzing p { font-size: 12.5px; color: var(--ink-2); margin: 0 0 26px; }
.analyze-steps { display: grid; gap: 11px; text-align: left; max-width: 310px; margin: 0 auto; }
.analyze-step { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--ink-3); }
.analyze-step .dot { width: 9px; height: 9px; border-radius: 50%; background: #d7e2ec; flex: none; }
.analyze-step.done { color: var(--ink); }
.analyze-step.done .dot { background: var(--brand-2); box-shadow: 0 0 0 4px var(--brand-soft); }
.pulse-live { max-width: 310px; margin: 22px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.pulse-live .pl-label { font-size: 10.5px; color: var(--ink-3); font-weight: 700; letter-spacing: 1px; margin-bottom: 8px; }
.pulse-live svg { width: 100%; height: 54px; }
.pulse-live .pl-val { font-size: 11px; color: var(--ink-2); margin-top: 6px; }

/* ---------- 报告 ---------- */
.report-header { padding: 20px 18px 0; display: flex; align-items: center; justify-content: space-between; }
.report-header .r-id { font-size: 11px; color: var(--ink-3); }
.report-header .r-date { font-size: 12px; color: var(--ink-2); font-weight: 700; }
.score-card { margin: 12px 16px 0; padding: 22px 18px; border-radius: 20px; background: linear-gradient(135deg, #fff, #f2f8f7); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; align-items: center; gap: 18px; }
.score-ring { position: relative; width: 110px; height: 110px; flex: none; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring .track { fill: none; stroke: #e6eef2; stroke-width: 9; }
.score-ring .value { fill: none; stroke: url(#scoreGrad); stroke-width: 9; stroke-linecap: round; transition: stroke-dashoffset 1s ease; }
.score-ring-text { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.score-ring-text b { font-size: 32px; font-weight: 800; letter-spacing: -1.5px; line-height: 1; }
.score-ring-text span { font-size: 10px; color: var(--ink-3); display: block; margin-top: 3px; }
.score-info h3 { margin: 0 0 5px; font-size: 17px; }
.score-info p { margin: 0; font-size: 12px; color: var(--ink-2); line-height: 1.6; }
.score-tag { display: inline-block; margin-top: 9px; font-size: 10.5px; font-weight: 800; color: var(--brand-deep); background: var(--brand-soft); padding: 3px 10px; border-radius: 20px; }
.card { margin: 14px 16px 0; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card h3 { margin: 0 0 4px; font-size: 16px; font-weight: 800; }
.card .card-sub { margin: 0 0 16px; font-size: 11.5px; color: var(--ink-3); }
.dim-row { margin-bottom: 13px; }
.dim-row:last-child { margin-bottom: 0; }
.dim-top { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 6px; gap: 8px; }
.dim-top b { font-weight: 700; }
.dim-top span { color: var(--ink-2); white-space: nowrap; }
.dim-track { height: 8px; border-radius: 8px; background: #edf2f7; overflow: hidden; }
.dim-track i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, #4cc9b6, var(--brand-deep)); transition: width .9s ease; }
.dim-track i.mid { background: linear-gradient(90deg, #f0c987, #e0a24f); }
.dim-track i.low { background: linear-gradient(90deg, #e9a79c, #d4786b); }
.advice { display: flex; gap: 11px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.advice:last-child { border-bottom: none; padding-bottom: 0; }
.advice-ic { width: 30px; height: 30px; border-radius: 9px; background: var(--brand-soft); color: var(--brand-deep); display: grid; place-items: center; flex: none; }
.advice-ic svg { width: 16px; height: 16px; }
.advice b { font-size: 13px; display: block; margin-bottom: 2px; }
.advice p { font-size: 12px; color: var(--ink-2); margin: 0; }
.meta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.meta-cell { background: #f6f9fc; border: 1px solid var(--line); border-radius: 11px; padding: 10px 11px; }
.meta-cell span { display: block; font-size: 10.5px; color: var(--ink-3); }
.meta-cell b { font-size: 13px; font-weight: 800; }

/* 付费墙 */
.locked-zone { position: relative; margin: 14px 16px 0; }
.locked-content { filter: blur(6px); opacity: .66; pointer-events: none; user-select: none; }
.locked-content .card { margin: 0 0 12px; }
.paywall { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 26px 22px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.55), #fff 38%); }
.paywall .lock { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #e8b063, #cf8a2c); color: #fff; margin-bottom: 14px; box-shadow: 0 10px 22px rgba(207,138,44,.3); }
.paywall .lock svg { width: 24px; height: 24px; }
.paywall h3 { margin: 0 0 6px; font-size: 18px; }
.paywall p { margin: 0 0 14px; font-size: 12px; color: var(--ink-2); }
.paywall .unlock-list { display: grid; gap: 5px; margin: 0 0 16px; font-size: 12px; color: var(--ink-2); text-align: left; }
.paywall .unlock-list span { display: flex; gap: 6px; align-items: center; }
.paywall .unlock-list i { width: 5px; height: 5px; border-radius: 50%; background: var(--brand-2); }
.paywall .btn { max-width: 250px; }
.paywall .price-hint { font-size: 11px; color: var(--ink-3); margin-top: 9px; }

/* 完整版模块 */
.radar-wrap { display: flex; justify-content: center; padding: 4px 0 10px; }
.radar-wrap svg { width: 100%; max-width: 290px; }
.insight { padding: 13px 0; border-bottom: 1px dashed var(--line); }
.insight:last-child { border-bottom: none; padding-bottom: 0; }
.insight-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 5px; }
.insight-head b { font-size: 13.5px; }
.insight-head span { font-size: 11px; color: var(--brand-deep); font-weight: 800; white-space: nowrap; }
.insight p { margin: 0; font-size: 12px; color: var(--ink-2); line-height: 1.72; }
.plan-day { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.plan-day:last-child { border-bottom: none; }
.plan-day .day { width: 38px; flex: none; font-size: 11px; font-weight: 800; color: var(--brand-deep); background: var(--brand-soft); border-radius: 8px; height: 24px; display: grid; place-items: center; }
.plan-day p { margin: 0; font-size: 12px; color: var(--ink-2); }
.trend-wrap { position: relative; }
.trend-wrap svg { width: 100%; height: 130px; }
.empty-trend { font-size: 12px; color: var(--ink-3); text-align: center; padding: 24px 0; }
.region-map { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.region-cell { border-radius: 11px; padding: 12px 6px; text-align: center; border: 1px solid var(--line); }
.region-cell b { display: block; font-size: 18px; font-weight: 800; }
.region-cell span { font-size: 10px; color: var(--ink-3); }
.wave-box { background: #f7fafc; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.wave-box svg { width: 100%; height: 88px; }
.wave-meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-2); margin-top: 8px; }
.cons-row { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.cons-row:last-child { margin-bottom: 0; }
.cons-name { width: 62px; flex: none; font-size: 12px; }
.cons-track { flex: 1; height: 8px; border-radius: 8px; background: #edf2f7; overflow: hidden; }
.cons-track i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, #e2c58b, var(--gold)); }
.cons-row.top .cons-track i { background: linear-gradient(90deg, #4cc9b6, var(--brand-deep)); }
.cons-val { width: 26px; text-align: right; font-size: 11px; color: var(--ink-2); font-weight: 700; }
.cons-desc { background: var(--gold-soft); border: 1px solid #eddcb8; border-radius: 12px; padding: 12px 14px; font-size: 12px; color: #6d5527; line-height: 1.7; margin-top: 12px; }

/* ---------- 收银台 ---------- */
.checkout-head { padding: 22px 20px 4px; }
.checkout-head h2 { font-size: 22px; margin: 0 0 4px; }
.checkout-head p { font-size: 12.5px; color: var(--ink-2); margin: 0; }
.plan-option { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 15px 16px; margin-bottom: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 15px; }
.plan-option.selected { border-color: var(--brand); background: #f6fbf9; box-shadow: 0 6px 18px rgba(14,143,134,.10); }
.radio { width: 19px; height: 19px; flex: none; border-radius: 50%; border: 1.5px solid #c4d4e2; }
.plan-option.selected .radio { border: 5px solid var(--brand); }
.plan-option .po-main { flex: 1; }
.plan-option .po-main b { font-size: 14.5px; display: block; }
.plan-option .po-main span { font-size: 11.5px; color: var(--ink-3); }
.plan-option .po-price { font-size: 17px; font-weight: 800; color: var(--navy); white-space: nowrap; }
.plan-option .po-price small { font-size: 11px; color: var(--ink-3); font-weight: 600; }
.pay-channel { display: flex; align-items: center; gap: 11px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 15px; }
.pay-channel .wx { width: 32px; height: 32px; border-radius: 9px; background: #e8f7ec; color: #1aad19; display: grid; place-items: center; }
.pay-channel .wx svg { width: 19px; height: 19px; }
.pay-channel b { font-size: 13.5px; display: block; }
.pay-channel span { font-size: 11px; color: var(--ink-3); }
.pay-channel .checked { margin-left: auto; color: var(--brand); font-size: 13px; font-weight: 800; }
.pay-notice { font-size: 11.5px; color: var(--ink-2); line-height: 1.7; padding: 12px 2px 0; }
.pay-status { margin-top: 12px; padding: 13px 15px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.pay-status.is-paid { border-color: #b8e2c4; background: #f2fbf5; }
.pay-status.is-fail { border-color: #f0d5a8; background: #fffaf0; }
.ps-row { display: flex; align-items: center; gap: 9px; }
.ps-row b { font-size: 13px; }
.ps-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(0,120,180,.12); animation: psPulse 1.4s infinite; }
.is-paid .ps-dot { background: #17a34a; box-shadow: 0 0 0 4px rgba(23,163,74,.14); animation: none; }
.is-fail .ps-dot { background: #d08b18; box-shadow: none; animation: none; }
@keyframes psPulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.pay-status .muted { display: block; margin: 6px 0 10px 18px; line-height: 1.55; }
.pay-status .btn { height: 38px; font-size: 12.5px; }
@media print { .pay-status { display: none !important; } }
.code-entry { text-align: center; margin-top: 18px; font-size: 12.5px; color: var(--ink-2); }
.code-entry button { color: var(--brand); font-weight: 700; font-size: 12.5px; }

/* ---------- 我的 ---------- */
.vip-card { margin: 16px; padding: 20px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, var(--navy-2), var(--navy)); box-shadow: 0 14px 30px rgba(11,31,58,.22); }
.vip-card .vip-label { font-size: 10.5px; letter-spacing: 1.8px; color: var(--gold); font-weight: 800; }
.vip-card h2 { margin: 8px 0 4px; font-size: 21px; }
.vip-card p { margin: 0; font-size: 12px; opacity: .82; }
.vip-card.free { background: linear-gradient(135deg, #8a9aae, #5b6d84); }
.vip-card.free .vip-label { color: #e8eef6; }
.history-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.history-item:last-child { border-bottom: none; }
.history-item b { font-size: 13px; display: block; }
.history-item span { font-size: 11.5px; color: var(--ink-3); }
.history-item .h-score { font-size: 19px; font-weight: 800; color: var(--brand-deep); }

/* ---------- 门店一体机 ---------- */
.kiosk-hero { margin: 14px 14px 0; padding: 34px 22px; border-radius: 22px; background: radial-gradient(130% 110% at 100% 0%, var(--navy-2), var(--navy) 58%, #061426); color: #fff; text-align: center; }
.kiosk-hero .kh-mark { width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 18px; border: 1px solid rgba(198,161,91,.6); display: grid; place-items: center; }
.kiosk-hero .kh-mark svg { width: 32px; height: 32px; color: var(--gold); }
.kiosk-hero h1 { font-size: 25px; margin: 0 0 8px; }
.kiosk-hero p { font-size: 12.5px; color: rgba(255,255,255,.76); margin: 0 0 22px; line-height: 1.7; }
.kiosk-btn { display: inline-flex; align-items: center; gap: 9px; height: 54px; padding: 0 34px; border-radius: 14px; background: var(--gold); color: #2a2109; font-size: 16px; font-weight: 800; }
.kiosk-btn svg { width: 18px; height: 18px; }
.kiosk-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.kiosk-step { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 13px 9px; text-align: center; }
.kiosk-step b { display: block; font-size: 12px; }
.kiosk-step span { font-size: 10.5px; color: var(--ink-3); }

/* ---------- 弹层 / toast ---------- */
.backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(8, 22, 40, .55); display: none; align-items: flex-end; justify-content: center; }
.backdrop.show { display: flex; }
.sheet { width: 100%; max-width: 480px; background: #fff; border-radius: 22px 22px 0 0; padding: 22px 20px calc(24px + env(safe-area-inset-bottom)); max-height: 88vh; overflow-y: auto; animation: slideUp .28s ease; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: none; } }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.sheet-head h3 { margin: 0; font-size: 18px; }
.sheet-close { font-size: 22px; color: var(--ink-3); line-height: 1; width: 30px; height: 30px; }
.sheet p { font-size: 12.5px; color: var(--ink-2); line-height: 1.78; margin: 0 0 12px; }
.sheet h4 { font-size: 13px; margin: 16px 0 6px; }
.sheet ol, .sheet ul { padding-left: 20px; font-size: 12.5px; color: var(--ink-2); line-height: 1.8; }
.field { width: 100%; height: 48px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; font-size: 14px; outline: none; background: #fbfcfd; }
.field:focus { border-color: var(--brand); }
.toast { position: fixed; left: 50%; bottom: 92px; transform: translate(-50%, 14px); z-index: 80; max-width: 84%; padding: 11px 18px; border-radius: 12px; background: rgba(11, 31, 58, .95); color: #fff; font-size: 13px; opacity: 0; pointer-events: none; transition: .25s; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.poster-img { width: 100%; border-radius: 14px; border: 1px solid var(--line); }

/* ---------- 每日体征（自测数值录入 / 趋势） ---------- */
.vitals-lead { background: var(--brand-soft); border-radius: 12px; padding: 11px 13px; font-size: 12px !important; }
.vf-row { margin-bottom: 12px; }
.vf-row label { display: block; font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.vf-row label small { font-weight: 400; color: var(--ink-3); font-size: 10.5px; margin-left: 3px; }
.vf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vf-grid .field { padding: 0 9px; font-size: 15px; text-align: center; }
.vf-grid .vf-row label { font-size: 11.5px; }
.vf-grid .vf-row label small { display: block; margin: 2px 0 0; font-size: 9.5px; }
.vf-row select.field { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.vitals-msg { font-size: 12px; min-height: 18px; color: var(--danger); line-height: 1.6; }
.vitals-msg.ok { color: var(--brand-deep); }
.vitals-recent-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 800; margin: 20px 0 8px; }
.vitals-recent-head span { font-size: 11.5px; font-weight: 700; color: var(--brand-deep); cursor: pointer; }
.vitals-note { margin-top: 14px; font-size: 11px; line-height: 1.7; color: var(--ink-3); }

.vitals-card { margin-top: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.vc-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.vc-head b { font-size: 14px; }
.vc-badge { font-size: 10.5px; font-weight: 800; color: var(--brand-deep); background: var(--brand-soft); padding: 4px 9px; border-radius: 20px; white-space: nowrap; }
.vc-badge.todo { color: #8a6520; background: var(--gold-soft); }
.vc-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.vc-val { background: #f6f9fc; border: 1px solid var(--line); border-radius: 12px; padding: 10px 6px; text-align: center; }
.vc-val b { display: block; font-size: 21px; font-weight: 800; line-height: 1.15; color: var(--navy); }
.vc-val b i { font-style: normal; font-size: 10px; font-weight: 600; color: var(--ink-3); margin-left: 2px; }
.vc-val span { display: block; font-size: 10.5px; color: var(--ink-3); margin-top: 2px; }
.vc-meta { margin-top: 11px; font-size: 11.5px; line-height: 1.7; color: var(--ink-2); }
.vc-actions { display: flex; gap: 8px; margin-top: 13px; }
.vc-actions .btn { height: 40px; font-size: 12.5px; border-radius: 11px; }
.vc-empty { padding: 14px 0 4px; font-size: 12px; color: var(--ink-2); line-height: 1.7; }

.vitals-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vs-cell { background: #f6f9fc; border: 1px solid var(--line); border-radius: 12px; padding: 10px 8px; }
.vs-cell span { display: block; font-size: 10.5px; color: var(--ink-3); }
.vs-cell b { display: block; font-size: 17px; font-weight: 800; color: var(--navy); margin-top: 3px; }
.vs-cell small { font-size: 10px; color: var(--ink-3); font-weight: 500; }
.vitals-chart { margin-top: 16px; }
.vitals-chart-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.vitals-chart-head b { font-size: 12.5px; }
.vitals-chart-head span { font-size: 10.5px; color: var(--ink-3); }
.vitals-chart svg { width: 100%; height: 118px; display: block; }
.vitals-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 10.5px; color: var(--ink-2); margin-top: 6px; }
.vitals-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }
.vitals-flag { font-size: 11px; line-height: 1.7; color: var(--ink-3); margin-top: 10px; }
.vitals-table-wrap { overflow-x: auto; margin-top: 12px; }
.vitals-table { width: 100%; border-collapse: collapse; font-size: 11.5px; min-width: 330px; }
.vitals-table th, .vitals-table td { padding: 8px 6px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.vitals-table th { color: var(--ink-3); font-weight: 700; font-size: 10.5px; background: #f6f9fc; }
.vitals-table td b { color: var(--navy); }
.vitals-del { color: var(--danger); font-size: 11px; cursor: pointer; }
.vitals-src { font-size: 11px; line-height: 1.75; color: var(--ink-2); padding-left: 16px; margin: 8px 0 0; }
.vitals-src li { margin-bottom: 7px; }
.vitals-ref-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 12px; }
.vitals-ref-row:last-child { border-bottom: 0; }
.vitals-ref-row b { color: var(--navy); white-space: nowrap; }
.vitals-ref-row span { color: var(--ink-2); text-align: right; }
.vitals-recent-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 12px; }
.vitals-recent-item:last-child { border-bottom: 0; }
.vitals-recent-item b { font-size: 12.5px; }
.vitals-recent-item span { display: block; font-size: 10.5px; color: var(--ink-3); margin-top: 2px; }
.vitals-recent-item .vr-val { font-weight: 800; color: var(--navy); white-space: nowrap; }
@media (min-width: 700px) { .vc-values { max-width: 420px; } }

/* ---------- A4 纸质报告（门店打印） ---------- */
.print-sheet { display: none; }
@media print {
  @page { size: A4; margin: 14mm; }
  body { background: #fff !important; }
  .app, .bottom-cta, .topbar, .demo-banner, .backdrop, .toast { display: none !important; }
  .print-sheet { display: block !important; color: #111; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }
  .print-sheet h1 { font-size: 21pt; margin: 0 0 4pt; }
  .print-sheet .p-sub { font-size: 9pt; color: #555; margin-bottom: 12pt; }
  .print-sheet .p-rule { border-top: 2px solid #111; margin-bottom: 12pt; }
  .print-sheet .p-score { font-size: 38pt; font-weight: 800; line-height: 1; }
  .print-sheet .p-score small { font-size: 10pt; font-weight: 400; color: #555; }
  .print-sheet h2 { font-size: 12pt; border-left: 3px solid #0b1f3a; padding-left: 7pt; margin: 14pt 0 6pt; }
  .print-sheet table { width: 100%; border-collapse: collapse; font-size: 9pt; }
  .print-sheet td, .print-sheet th { border: 1px solid #cbd3dc; padding: 5pt 7pt; text-align: left; }
  .print-sheet th { background: #f0f3f7; }
  .print-sheet .p-item { font-size: 9pt; line-height: 1.7; margin-bottom: 4pt; }
  .print-sheet .p-foot { margin-top: 16pt; padding-top: 8pt; border-top: 1px solid #bbb; font-size: 8pt; color: #555; line-height: 1.7; }
  .print-sheet .p-brand { text-align: right; font-size: 9pt; color: #555; }
}

/* ---------- 微信内置浏览器降级 ---------- */
.wx-fallback { margin-top: 14px; padding: 14px; border-radius: 14px; background: var(--brand-soft); border: 1px solid var(--line); }
.wfb-title { display: flex; align-items: center; gap: 8px; color: var(--brand-deep); font-size: 13px; }
.wfb-title svg { width: 16px; height: 16px; flex: none; }
.wx-fallback p { margin: 8px 0 12px; font-size: 12px; line-height: 1.7; color: var(--ink-2); }
.wfb-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wfb-btns button, .wfb-btns label, .wfb-btns .wfb-main { height: 42px; border-radius: 11px; font-size: 12.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 6px; line-height: 1.3; cursor: pointer; }
.wfb-main { background: var(--navy); color: #fff; border: 0; }
.wfb-sub { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.wfb-note { margin-top: 10px; font-size: 11px; line-height: 1.6; color: var(--ink-3); }
.wfb-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.wfb-links button { background: none; border: 0; padding: 2px 0; color: var(--brand-deep); font-size: 11.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
/* file input 不用 display:none：微信 / iOS WebView 对隐藏输入框常静默失败 */
.native-hit { position: relative; overflow: hidden; }
.file-native-hit { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; z-index: 3; cursor: pointer; font-size: 100px; }
.diag-pre { background: #f4f7fa; border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: 11px; line-height: 1.7; white-space: pre-wrap; word-break: break-all; color: var(--ink-2); max-height: 230px; overflow-y: auto; margin: 0 0 4px; font-family: ui-monospace, Menlo, Consolas, monospace; }
.browser-guide { position: fixed; inset: 0; z-index: 80; background: rgba(8,25,43,.8); padding: 20px; display: flex; align-items: center; justify-content: center; }
.bg-arrow { position: absolute; top: 12px; right: 26px; color: #fff; font-size: 40px; line-height: 1; }
.bg-card { width: 100%; max-width: 400px; background: #fff; border-radius: 18px; padding: 22px 18px; }
.bg-card h3 { font-size: 16px; margin-bottom: 10px; }
.bg-card p { font-size: 12.5px; line-height: 1.75; color: var(--ink-2); margin-bottom: 16px; }

/* ---------- 大屏 / 平板适配 ---------- */
@media (min-width: 700px) {
  .app { max-width: 560px; }
  .bottom-cta { max-width: 560px; }
  .sheet { max-width: 560px; }
}
