/* Mystic Insight · Still Mountain Studio 站点样式
   纯 CSS，无框架、无外部字体、无远端资源。装饰位图来自用户提供裁切（见 SOURCE-MANIFEST.md）。 */
:root {
  color-scheme: dark;
  --bg: #0b0718;
  --bg-2: #150c2b;
  --panel: linear-gradient(160deg, rgba(66, 42, 118, 0.58), rgba(24, 14, 48, 0.78));
  --panel-soft: linear-gradient(160deg, rgba(176, 146, 236, 0.20), rgba(86, 54, 148, 0.26));
  --line: rgba(190, 165, 245, 0.18);
  --line-strong: rgba(214, 190, 255, 0.34);
  --violet: #c9b0f6;
  --violet-soft: #a98fd6;
  --gold: #e8c872;
  --gold-bright: #f6e7a8;
  --ink: #f5f0ff;
  --muted: #bcafd8;
  --muted-2: #9689b5;
  --white-card: #fbf9ff;
  --ink-dark: #302546;
  --sidebar-w: 224px;
  --topbar-h: 64px;
  --footer-h: 72px;
  --shadow: 0 22px 52px rgba(6, 2, 18, 0.48);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 62% 42% at 50% 0%, rgba(150, 120, 210, 0.16), transparent 62%),
    radial-gradient(ellipse 44% 38% at 12% 22%, rgba(88, 46, 158, 0.24), transparent 72%),
    radial-gradient(ellipse 40% 34% at 88% 18%, rgba(72, 34, 132, 0.22), transparent 70%),
    radial-gradient(ellipse 52% 32% at 72% 86%, rgba(58, 26, 108, 0.22), transparent 72%),
    linear-gradient(180deg, #110920 0%, #0c0618 46%, #090414 100%);
  overflow-x: hidden;
}
h1, h2, h3, .brand-name, .report-title, .hero h1 {
  font-family: "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", Georgia, serif;
  font-weight: 700;
}
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 90;
  background: var(--gold-bright); color: #1a0b3d;
  padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- 背景：低饱和星云 + 本地星点 + 极少量裁切装饰 ---------- */
.sky { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.sky-nebula, .sky-mist, .sky-stars-svg { position: absolute; inset: 0; }
.sky-nebula {
  background:
    radial-gradient(ellipse 34% 24% at 46% 10%, rgba(206, 186, 255, 0.10), transparent 72%),
    radial-gradient(ellipse 28% 22% at 30% 44%, rgba(126, 74, 196, 0.14), transparent 74%),
    radial-gradient(ellipse 26% 20% at 78% 48%, rgba(96, 48, 160, 0.14), transparent 72%);
}
.sky-stars-svg { width: 100%; height: 100%; opacity: 0.42; }
.sky-mist {
  background:
    radial-gradient(46% 26% at 10% 100%, rgba(78, 36, 140, 0.20), transparent 72%),
    radial-gradient(40% 24% at 94% 100%, rgba(58, 24, 100, 0.20), transparent 72%);
}
.decor { position: absolute; pointer-events: none; user-select: none; }
.decor-leaves { top: 40px; right: 8%; width: min(210px, 17vw); height: auto; opacity: 0.32; }
.decor-compass { top: 18%; right: -4%; width: min(330px, 25vw); height: auto; opacity: 0.20; }
.decor-floral-bl { left: 0; bottom: 48px; width: min(230px, 19vw); height: auto; opacity: 0.28; }
.decor-floral-br { right: 0; bottom: 40px; width: min(300px, 24vw); height: auto; opacity: 0.32; }

/* ---------- 顶栏 ---------- */
.layout { position: relative; z-index: 3; min-height: 100vh; min-height: 100dvh; }
.topbar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--topbar-h);
  z-index: 50; display: flex; align-items: center; gap: 24px;
  padding: 0 28px;
  background: rgba(10, 6, 22, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.topbar-brand {
  display: flex; align-items: center; gap: 9px;
  font-family: "Noto Serif CJK SC", Georgia, serif;
  font-size: 0.95rem; letter-spacing: 0.1em; color: var(--gold-bright);
  white-space: nowrap;
}
.mini-mark { color: var(--gold); font-size: 1.1rem; }
.topbar-nav { display: flex; gap: 6px; margin-left: auto; }
.topbar-nav button {
  appearance: none; background: transparent; border: 0; cursor: pointer;
  font: inherit; font-size: 0.88rem; color: var(--muted);
  padding: 8px 14px; border-radius: 999px;
}
.topbar-nav button:hover, .topbar-nav button:focus-visible {
  color: var(--gold-bright); background: rgba(232, 200, 114, 0.10); outline: none;
}
.topbar-tools { display: flex; align-items: center; gap: 10px; }
.lang-toggle, .menu-toggle {
  appearance: none; cursor: pointer; font: inherit; font-size: 0.8rem;
  color: var(--gold-bright); background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 7px 14px;
}
.lang-toggle:hover, .menu-toggle:hover { background: rgba(232, 200, 114, 0.12); }
.menu-toggle { display: none; }

/* ---------- 左侧菜单 ---------- */
.sidebar {
  position: fixed; top: var(--topbar-h); left: 0; bottom: 0;
  width: var(--sidebar-w); z-index: 40;
  padding: 28px 14px calc(var(--footer-h) + 24px);
  background: linear-gradient(180deg, rgba(12, 7, 26, 0.72), rgba(14, 8, 32, 0.52));
  border-right: 1px solid var(--line);
  backdrop-filter: blur(16px);
  overflow-y: auto;
}
.brand { display: flex; align-items: center; gap: 10px; margin: 0 8px 30px; color: var(--gold-bright); }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; flex-shrink: 0; filter: drop-shadow(0 0 10px rgba(232, 200, 114, 0.35)); }
.brand-mark svg { width: 34px; height: 34px; }
.brand-name { font-size: 0.88rem; letter-spacing: 0.1em; line-height: 1.35; }
html[lang="en"] .brand-name { font-size: 0.74rem; letter-spacing: 0.05em; white-space: nowrap; }
.nav-list { display: flex; flex-direction: column; gap: 3px; }
.nav-link {
  appearance: none; background: transparent; border: 0; cursor: pointer;
  width: 100%; text-align: left; font: inherit; font-size: 0.9rem;
  color: var(--muted); padding: 11px 14px; border-radius: 12px;
}
.nav-link:hover, .nav-link:focus-visible { color: var(--gold-bright); background: rgba(232, 200, 114, 0.09); outline: none; }
.nav-link[aria-current="page"] {
  color: var(--gold-bright); background: rgba(196, 160, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(214, 190, 255, 0.28);
}
.side-note {
  margin: 30px 8px 0; padding: 12px 13px; border-radius: 12px;
  background: rgba(196, 160, 255, 0.08); border: 1px solid var(--line);
  font-size: 0.72rem; line-height: 1.6; color: var(--muted-2);
  display: flex; flex-direction: column; gap: 5px;
}
.side-note strong { color: var(--violet); letter-spacing: 0.08em; font-size: 0.7rem; }
.backdrop { display: none; }

.main {
  margin-left: var(--sidebar-w);
  padding: calc(var(--topbar-h) + 34px) 48px calc(var(--footer-h) + 110px);
  min-width: 0; position: relative;
}

/* ---------- 通用组件 ---------- */
.page { display: none; }
.page.active { display: block; animation: fade .32s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.page h1:focus, .page h2:focus, .page h3:focus { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 6px; }

.crumb { font-size: 0.76rem; color: var(--muted-2); letter-spacing: 0.04em; margin: 0 0 16px; }
.page-head { margin-bottom: 26px; }
.page-head h2 { margin: 0 0 10px; font-size: clamp(1.7rem, 3.2vw, 2.3rem); color: var(--gold-bright); text-shadow: 0 0 20px rgba(232, 200, 114, 0.22); }
.page-desc { margin: 0; color: var(--muted); font-size: 0.94rem; line-height: 1.7; max-width: 44rem; }
.page-alias { margin: 10px 0 0; color: var(--muted-2); font-size: 0.82rem; line-height: 1.65; max-width: 44rem; }
.report-title { margin: 0 0 8px; font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--gold-bright); text-shadow: 0 0 22px rgba(232, 200, 114, 0.24); }
.report-meta { margin: 0 0 24px; font-size: 0.8rem; color: var(--muted-2); }

.panel {
  position: relative; background: var(--panel);
  border: 1px solid var(--line); border-radius: 24px;
  padding: 28px 30px; box-shadow: var(--shadow);
  backdrop-filter: blur(16px); max-width: 56rem;
}
.panel h3 { color: var(--gold-bright); margin: 0 0 16px; font-size: 1.15rem; }
.panel h3:not(:first-child) { margin-top: 28px; }
.stack { display: grid; gap: 20px; }
.stack .panel { max-width: none; }

.field { margin-bottom: 20px; }
.field-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 12px; margin-bottom: 8px; }
.field-head > label { margin-bottom: 0; }
.inline-guide { position: relative; }
.inline-guide summary { cursor: pointer; color: var(--violet-soft); font-size: 0.74rem; list-style: none; user-select: none; }
.inline-guide summary::-webkit-details-marker { display: none; }
.inline-guide summary::after { content: " ＋"; }
.inline-guide[open] summary::after { content: " －"; }
.inline-guide .guide-body { position: absolute; right: 0; z-index: 8; width: min(340px, 86vw); margin-top: 9px; padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: 14px; background: #1b0f33; box-shadow: 0 20px 48px rgba(0, 0, 0, 0.48); }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 10px 0; border: 1px solid rgba(201, 176, 246, 0.3); border-radius: 8px; overflow: hidden; background: rgba(201, 176, 246, 0.3); }
.mini-grid span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 44px; background: #211342; color: var(--gold); font-size: 0.82rem; }
.mini-grid small { font-size: 0.58rem; color: var(--muted-2); }
.mini-grid .center { background: #2a1a50; color: var(--violet); }
.link-btn { appearance: none; border: 0; background: none; color: var(--violet-soft); font: inherit; font-size: 0.74rem; cursor: pointer; padding: 0; }
.link-btn:hover { color: var(--gold); }
label { display: block; font-size: 0.88rem; color: var(--gold-bright); margin-bottom: 8px; }
input[type="text"], input[type="date"], input[type="time"], select, textarea {
  width: 100%; background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line-strong); color: var(--ink);
  border-radius: 12px; padding: 11px 14px; font: inherit; font-size: 0.92rem;
}
input[type="date"], input[type="time"] { color-scheme: dark; min-height: 44px; }
option { background: #221340; color: var(--ink); }
textarea { resize: vertical; line-height: 1.65; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(201, 176, 246, 0.18); }
.grid-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.help { font-size: 0.76rem; color: var(--muted-2); line-height: 1.6; margin: 8px 0 0; }
.summary-box {
  padding: 15px 18px; border-radius: 14px; margin: 6px 0 22px;
  background: rgba(168, 130, 240, 0.10); border: 1px solid var(--line);
}
.row-between { display: flex; justify-content: space-between; gap: 14px; font-size: 0.88rem; color: var(--muted); }
.row-between + .row-between { margin-top: 9px; }
.row-between strong { color: var(--ink); font-weight: 600; }

.btn {
  appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 650;
  border-radius: 12px; padding: 11px 20px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn-primary, .btn-gold {
  background: linear-gradient(180deg, #f3e0a6 0%, #e0c36a 48%, #c4a35a 100%);
  color: #291505; box-shadow: 0 6px 18px rgba(212, 176, 90, 0.28);
}
.btn-gold { border-radius: 999px; padding: 10px 30px; }
.btn-gold .btn-chevron { margin-left: 6px; font-weight: 400; }
.btn-primary:hover, .btn-gold:hover { transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-strong); color: var(--ink); }
.btn-ghost:hover { background: rgba(201, 176, 246, 0.14); }
.btn-block { width: 100%; padding: 13px 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- 首页 ---------- */
.hero { text-align: center; padding: 22px 0 30px; max-width: 54rem; margin: 0 auto; }
.eyebrow { margin: 0 0 14px; font-size: 0.74rem; letter-spacing: 0.26em; color: var(--violet-soft); }
.hero h1 { margin: 0 0 14px; font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.2; letter-spacing: 0.06em; color: var(--gold-bright); text-shadow: 0 0 28px rgba(232, 200, 114, 0.28); }
.hero-sub { margin: 0; font-size: 1rem; color: var(--violet); letter-spacing: 0.05em; }
.hero-note { margin: 10px auto 0; max-width: 36rem; font-size: 0.82rem; line-height: 1.7; color: var(--muted-2); }

.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 56rem; margin: 0 auto; }
.service-card {
  position: relative; text-align: center; border-radius: 26px;
  padding: 18px 26px 26px; overflow: hidden;
  background: var(--panel-soft), var(--panel);
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 34px rgba(122, 72, 208, 0.16), 0 18px 40px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
}
.service-card.featured { border-color: rgba(232, 200, 114, 0.34); }
.card-art { height: 116px; display: grid; place-items: center; margin-bottom: 6px; }
.card-art img { max-height: 112px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.32)); }
/* 首页塔罗卡：三张真实牌面错落叠放（星星 / 月亮 / 太阳） */
.card-art-tri { display: flex; align-items: center; justify-content: center; gap: 6px; }
.card-art-tri img { height: 104px; border-radius: 3.2% / 2.13%; box-shadow: 0 8px 18px rgba(4, 1, 14, 0.5); filter: none; }
.card-art-tri img:nth-child(1) { transform: rotate(-7deg) translateX(5px); }
.card-art-tri img:nth-child(3) { transform: rotate(7deg) translateX(-5px); }
.card-art-tri img:nth-child(2) { transform: translateY(-6px); position: relative; z-index: 2; }
/* 首页四柱八字卡：五行五字，占满一行 */
.service-card--wide { grid-column: 1 / -1; max-width: 34rem; width: 100%; margin: 0 auto; }
.bazi-art { display: flex; align-items: center; justify-content: center; gap: 14px; }
.bazi-art span {
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid rgba(232, 200, 114, 0.42); border-radius: 50%;
  color: var(--gold-bright); font-size: 1.05rem; letter-spacing: 0.02em;
  background: rgba(232, 200, 114, 0.08);
}
@media (max-width: 860px) { .service-card--wide { max-width: none; } }
.badge {
  display: inline-block; font-size: 0.7rem; letter-spacing: 0.08em;
  color: var(--gold-bright); border: 1px solid rgba(232, 200, 114, 0.42);
  border-radius: 999px; padding: 4px 13px; background: rgba(232, 200, 114, 0.10);
}
.badge-primary { color: var(--violet); border-color: rgba(201, 176, 246, 0.44); background: rgba(201, 176, 246, 0.10); }
.service-card h2 { margin: 12px 0 8px; font-size: 1.5rem; color: var(--gold-bright); letter-spacing: 0.05em; }
.card-desc { margin: 0; font-size: 0.86rem; line-height: 1.7; color: var(--muted); min-height: 3.4em; }
.price { margin: 14px 0 4px; color: var(--gold-bright); }
.price strong { font-size: 1.5rem; }
.price-unit { font-size: 0.8rem; color: var(--muted); margin-left: 8px; }
.card-en { margin: 0 0 18px; font-size: 0.74rem; color: var(--muted-2); letter-spacing: 0.03em; }
.value-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; max-width: 56rem; margin: 30px auto 0; }
.value-item {
  display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
  background: rgba(255, 255, 255, 0.03);
}
.value-ico { color: var(--gold); }
/* 人工预约弹窗（手动收款阶段，本页不接任何支付接口） */
.booking-summary { margin: 2px 0 16px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.035); font-size: 0.84rem; line-height: 1.7; color: var(--ink); }
.booking-summary:empty { display: none; }
.booking-summary .booking-row { margin: 0 0 6px; display: flex; gap: 6px; align-items: baseline; }
.booking-summary .booking-row:last-child { margin-bottom: 0; }
.booking-summary .booking-key { flex: 0 0 auto; color: var(--muted-2); }
.booking-attach { margin: 0 0 14px; padding: 10px 13px; border-radius: 10px; border: 1px solid rgba(196, 160, 255, 0.28); background: rgba(196, 160, 255, 0.1); color: var(--gold); font-size: 0.8rem; line-height: 1.65; }
.booking-attach[hidden] { display: none; }
.photo-warn { color: var(--gold); font-weight: 600; }
.photo-warn[hidden] { display: none; }
.privacy-note { margin: 0 0 20px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(232, 200, 114, 0.34); background: rgba(232, 200, 114, 0.08); color: var(--gold); font-size: 0.8rem; line-height: 1.7; }
.privacy-note strong { color: var(--gold-bright); font-weight: 650; }
.card-fine { margin: 0 0 6px; font-size: 0.7rem; line-height: 1.6; color: var(--muted-2); }
.card-terms-link { display: inline-block; margin: 0 0 16px; font-size: 0.72rem; color: var(--violet-soft); text-decoration: underline; text-underline-offset: 3px; }
.card-terms-link:hover { color: var(--gold); }
.booking-refund { margin: 0 0 14px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.035); font-size: 0.76rem; line-height: 1.7; color: var(--muted); }
.booking-refund b { color: var(--gold-bright); font-weight: 650; }
.booking-refund ul { margin: 6px 0 8px; padding-left: 18px; }
.booking-refund li { margin-bottom: 3px; }
.booking-refund a { color: var(--violet-soft); text-decoration: underline; text-underline-offset: 3px; }
.booking-refund a:hover { color: var(--gold); }
.terms-list { margin: 8px 0 12px; padding-left: 20px; }
.terms-list li { margin-bottom: 6px; }
.legal-small { font-size: 0.8rem; line-height: 1.85; color: var(--muted); }
.legal-small h3 { font-size: 0.94rem; margin: 24px 0 8px; color: var(--gold-bright); }
.legal-small h3:first-of-type { margin-top: 6px; }
.legal-small p { margin: 0 0 10px; }
.legal-small .terms-list li { margin-bottom: 8px; }
.legal-version { font-size: 0.72rem; color: var(--muted-2); border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 18px !important; }
.consent-box { margin-top: 26px; padding: 16px; border: 1px solid rgba(232, 200, 114, 0.32); border-radius: 14px; background: rgba(232, 200, 114, 0.07); }
.consent-check { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 14px; font-size: 0.8rem; line-height: 1.7; color: var(--ink); font-weight: 400; cursor: pointer; }
.consent-check input { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 3px; accent-color: var(--gold); cursor: pointer; }
.consent-gate { margin: 0 0 12px; padding: 9px 12px; border-radius: 8px; background: rgba(232, 200, 114, 0.16); color: var(--gold-bright); font-size: 0.78rem; }
.consent-gate[hidden] { display: none; }
.pay-card .btn + .btn { margin-top: 10px; }
.site-flag { max-width: 56rem; margin: 22px auto 0; text-align: center; font-size: 0.74rem; color: var(--muted-2); line-height: 1.6; }

/* ---------- 上传区 ---------- */
.upload-zone {
  position: relative; border: 1.5px dashed var(--line-strong); border-radius: 16px;
  background: rgba(196, 160, 255, 0.06); padding: 26px 18px; text-align: center;
  transition: border-color .2s ease, background .2s ease; cursor: pointer;
}
.upload-zone:hover, .upload-zone.dragover { border-color: var(--violet); background: rgba(196, 160, 255, 0.14); }
.upload-zone input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload-hint { display: flex; flex-direction: column; align-items: center; gap: 7px; color: var(--muted); pointer-events: none; }
.upload-hint svg { width: 26px; height: 26px; color: var(--violet); }
.upload-hint strong { font-size: 0.9rem; color: var(--ink); font-weight: 600; }
.upload-hint small { font-size: 0.74rem; color: var(--muted-2); line-height: 1.6; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; margin-top: 12px; }
.thumb { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1 / 1; background: rgba(255, 255, 255, 0.04); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb button {
  position: absolute; top: 4px; right: 4px; width: 22px; height: 22px;
  border: 0; border-radius: 50%; cursor: pointer; line-height: 1;
  background: rgba(12, 6, 26, 0.82); color: #fff; font-size: 0.8rem;
}
.thumb-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 3px 5px; font-size: 0.62rem; background: rgba(10, 5, 24, 0.72); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.field-error { color: #fecaca; font-size: 0.78rem; margin-top: 8px; }
.plan-zone { padding: 20px 18px; }
.floor-plan-preview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; max-width: 560px; }
.floor-plan-preview[hidden] { display: none; }
.floor-plan-item { position: relative; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: rgba(255, 255, 255, 0.04); }
.floor-plan-item img { display: block; width: 100%; height: auto; max-height: 240px; object-fit: contain; background: #fff; }
.floor-plan-preview .floor-plan-meta { display: flex; align-items: center; gap: 8px; padding: 7px 10px; font-size: 0.68rem; color: var(--muted); }
.floor-plan-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.floor-plan-remove { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(12, 6, 26, 0.82); color: #fff; cursor: pointer; line-height: 1; }
.grid-orientation { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.grid-orientation label { flex: 0 0 auto; margin: 0; font-size: 0.78rem; }
.grid-orientation select { width: auto; min-width: 190px; padding: 8px 12px; font-size: 0.82rem; }
.bagua-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 440px; margin: 0 auto; }
.bagua-cell { position: relative; aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.035); overflow: hidden; transition: border-color 0.2s ease, background 0.2s ease; }
.bagua-cell:hover, .bagua-cell.dragover { border-color: var(--violet); background: rgba(196, 160, 255, 0.12); }
.bagua-cell.has-photo { border-color: rgba(232, 200, 114, 0.42); }
.bagua-cell.is-center { background: rgba(168, 130, 240, 0.08); }
.bagua-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.bagua-hit { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 8px; text-align: center; cursor: pointer; }
.bagua-hit img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.46; }
.bagua-cell.has-photo .bagua-hit::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 5, 24, 0.18), rgba(10, 5, 24, 0.74)); }
.bagua-name, .bagua-dir, .bagua-add { position: relative; z-index: 2; }
.bagua-name { color: var(--gold-bright); font-size: 1.05rem; font-weight: 600; line-height: 1.1; }
.bagua-dir { color: var(--muted); font-size: 0.64rem; }
.bagua-add { color: var(--violet); font-size: 0.6rem; }
.bagua-remove { position: absolute; top: 5px; right: 5px; z-index: 3; width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(12, 6, 26, 0.82); color: #fff; cursor: pointer; line-height: 1; }
@media (max-width: 560px) {
  .bagua-grid { gap: 6px; }
  .bagua-cell { border-radius: 10px; }
  .bagua-name { font-size: 0.92rem; }
  .grid-orientation { flex-direction: column; align-items: flex-start; gap: 6px; }
  .grid-orientation select { width: 100%; }
  .inline-guide .guide-body { left: 0; right: auto; }
}

/* ---------- 报告页：白色圆角文本卡片 ---------- */
.report-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 22px; align-items: start; max-width: 62rem; }
.report-card {
  background: var(--white-card); color: var(--ink-dark);
  border-radius: 24px; padding: 34px 36px; box-shadow: var(--shadow);
}
.report-card h3 { color: #5b3f8c; font-size: 1.08rem; margin: 0 0 10px; letter-spacing: 0.02em; }
.report-card p { color: #4a3d61; font-size: 0.94rem; line-height: 1.95; margin: 0 0 14px; }
.report-section + .report-section { border-top: 1px solid rgba(90, 63, 140, 0.14); padding-top: 22px; margin-top: 22px; }
.report-section-num { display: inline-block; font-size: 0.72rem; letter-spacing: 0.12em; color: #8a6fc0; margin-bottom: 4px; }
/* 逐段淡入，模拟流式输出；不加 reveal 时内容始终可见 */
.report-section.reveal, .report-closing.reveal { opacity: 0; transform: translateY(8px); }
.report-section.reveal.visible, .report-closing.reveal.visible {
  opacity: 1; transform: none;
  transition: opacity .38s ease, transform .38s ease;
}
.report-closing { background: linear-gradient(160deg, #f2eaff, #f8f4ff); border-radius: 16px; padding: 18px 20px; margin-top: 22px; }
.report-closing p { margin: 8px 0 0; color: #5a4677; }
.report-foot { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(90, 63, 140, 0.14); font-size: 0.78rem !important; color: #8a7ba3 !important; }
/* 塔罗自由文本：连贯几段话，不编号、不加小标题，结尾停在最后一句 */
#tarotReading .freeform-p { margin: 0 0 20px; }
#tarotReading .freeform-p:last-child { margin-bottom: 0; }
#tarotReading .freeform-p.reveal { opacity: 0; transform: translateY(8px); }
#tarotReading .freeform-p.reveal.visible {
  opacity: 1; transform: none;
  transition: opacity .38s ease, transform .38s ease;
}
.report-side { display: grid; gap: 16px; }
.side-card {
  background: var(--panel-soft), var(--panel); border: 1px solid var(--line-strong);
  border-radius: 20px; padding: 20px; backdrop-filter: blur(14px);
}
.side-card h3 { margin: 6px 0 8px; color: var(--gold-bright); font-size: 1.02rem; }
.side-card p { margin: 0 0 12px; font-size: 0.82rem; line-height: 1.7; color: var(--muted); }
.side-eyebrow { font-size: 0.68rem; letter-spacing: 0.16em; color: var(--violet-soft) !important; }
.side-en { font-size: 0.72rem !important; color: var(--muted-2) !important; }
.side-soft { background: rgba(255, 255, 255, 0.035); }
/* 牌面图（用户设计稿）：素材自带圆角，圆角外有黑 / 灰填充，
   用与牌面同比例的圆角裁掉，避免在暗紫底上露出方角。
   逆位 = 整张图 rotate(180deg)，由 .is-reversed 驱动。 */
.tarot-img {
  width: 100%; height: 100%; display: block; object-fit: cover;
  border-radius: 3.2% / 2.13%;
  background: #150b26;
}
.drawn-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 26px; }
.drawn-card {
  border-radius: 16px; padding: 12px 10px 14px; text-align: center;
  background: rgba(196, 160, 255, 0.07); border: 1px solid var(--line);
}
.drawn-card-art { width: 100%; max-width: 128px; margin: 0 auto 10px; aspect-ratio: 2 / 3; }
.drawn-card-art .tarot-img { filter: drop-shadow(0 10px 20px rgba(4, 1, 14, 0.55)); }
.drawn-card-art.is-reversed .tarot-img { transform: rotate(180deg); }
.drawn-card .pos { display: block; font-size: 0.64rem; color: var(--violet-soft); letter-spacing: 0.12em; }
.drawn-card strong { display: block; margin: 5px 0 5px; color: var(--gold-bright); font-size: 0.9rem; line-height: 1.3; }
.drawn-card .orient { display: inline-block; font-size: 0.66rem; color: var(--muted-2); border: 1px solid var(--line); border-radius: 999px; padding: 1px 9px; }
.drawn-card .orient.is-rev { color: #efc79a; border-color: rgba(239, 199, 154, 0.42); }

/* ---------- 抽牌台：客户亲手抽三张 ---------- */
.draw-board {
  position: relative; overflow: hidden; margin-top: 22px;
  padding: 26px 28px 24px; border-radius: 26px;
  background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.draw-board::before {
  content: ""; position: absolute; left: -10%; right: -10%; top: -30%; height: 62%;
  background: radial-gradient(ellipse at 50% 0%, rgba(154, 120, 230, 0.26), transparent 68%);
  pointer-events: none;
}
.draw-question { position: relative; margin: 0 0 18px; font-size: 0.84rem; line-height: 1.65; color: var(--muted); }
.draw-question strong { color: var(--gold-bright); font-weight: 600; }

.draw-slots {
  position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px; max-width: 540px; margin: 0 auto 16px;
}
.draw-slot {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  min-height: 196px; padding: 12px 8px; text-align: center;
  border-radius: 14px; border: 1px dashed var(--line-strong); background: rgba(255, 255, 255, 0.022);
}
.draw-slot.is-filled { border-style: solid; border-color: rgba(232, 200, 114, 0.46); background: rgba(232, 200, 114, 0.05); }
.draw-slot-pos { font-size: 0.62rem; letter-spacing: 0.12em; color: var(--violet-soft); }
.draw-slot-idle { font-size: 0.7rem; color: var(--muted-2); }
.draw-slot-art { width: 100%; max-width: 100px; aspect-ratio: 2 / 3; }
.draw-slot-art .tarot-img { filter: drop-shadow(0 8px 16px rgba(4, 1, 14, 0.52)); }
.draw-slot-art.is-reversed .tarot-img { transform: rotate(180deg); }
.draw-slot.is-new .draw-slot-art { animation: slotIn 0.48s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes slotIn {
  from { opacity: 0; transform: translateY(16px) scale(0.9); }
  to { opacity: 1; transform: none; }
}
.draw-slot-name { display: block; font-size: 0.78rem; color: var(--gold-bright); line-height: 1.3; }
.draw-slot-orient { display: block; font-size: 0.64rem; color: var(--muted-2); }

.draw-status { position: relative; margin: 0 0 16px; min-height: 1.5em; text-align: center; font-size: 0.8rem; color: var(--muted); }

.draw-deck {
  position: relative; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px; max-width: 780px; margin: 0 auto 22px;
}
.draw-pick {
  position: relative; padding: 0; border: 0; background: none; cursor: pointer;
  aspect-ratio: 2 / 3; border-radius: 8px; perspective: 720px;
  transition: transform 0.24s ease, opacity 0.3s ease;
}
.draw-pick-inner {
  position: relative; display: block; width: 100%; height: 100%;
  transform-style: preserve-3d; transition: transform 0.62s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.draw-pick.is-flipped .draw-pick-inner { transform: rotateY(180deg); }
.draw-pick-back, .draw-pick-face {
  position: absolute; inset: 0; display: block;
  backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 8px;
}
.draw-pick-back .tarot-img { filter: drop-shadow(0 5px 11px rgba(4, 1, 14, 0.55)); }
.draw-pick-face { transform: rotateY(180deg); }
.draw-pick-face.is-reversed .tarot-img { transform: rotate(180deg); }
.draw-pick:hover:not(.is-picked), .draw-pick:focus-visible:not(.is-picked) { transform: translateY(-7px); }
.draw-pick:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.draw-pick.is-picked { opacity: 0.46; transform: scale(0.9); cursor: default; }
.draw-deck.is-full .draw-pick:not(.is-picked) { opacity: 0.42; pointer-events: none; }

.draw-actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.draw-actions .btn { min-width: 150px; }
.draw-help { text-align: center; margin-top: 14px; }

/* 知识库里的牌面缩略图 */
.kb-item.has-art { position: relative; padding-left: 78px; }
.kb-item-art { position: absolute; left: 16px; top: 15px; width: 48px; aspect-ratio: 2 / 3; }
.kb-item-art .tarot-img { filter: drop-shadow(0 4px 9px rgba(4, 1, 14, 0.5)); }
.typing-caret::after { content: "▍"; color: #8a6fc0; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- 知识库 / 声明 / 会员 ---------- */
.kb-item { margin-bottom: 12px; padding: 15px 17px; border-radius: 14px; background: rgba(196, 160, 255, 0.07); border: 1px solid var(--line); }
.kb-item h4 { margin: 0 0 8px; color: var(--gold-bright); font-size: 0.98rem; }
.kb-item p { margin: 0 0 8px; font-size: 0.86rem; line-height: 1.75; color: var(--muted); }
.terms h3 { font-size: 0.98rem; }
.terms p { font-size: 0.9rem; line-height: 1.8; color: var(--muted); margin: 0 0 18px; }
.member-empty { text-align: center; padding: 48px 28px; }
.member-ico { font-size: 2.4rem; color: var(--violet); }
.member-empty h3 { margin: 12px 0; font-size: 1.3rem; }
.member-empty p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; margin: 0 auto 22px; max-width: 30rem; }

/* ---------- 付款档位弹窗（价格由服务端下发） ---------- */
.pay-modal {
  position: fixed; inset: 0; z-index: 120; display: grid; place-items: center;
  background: rgba(6, 3, 16, 0.78); backdrop-filter: blur(10px); padding: 20px;
}
.pay-modal[hidden], .pay-return[hidden] { display: none; }
body.modal-open { overflow: hidden; }
.pay-card {
  position: relative; width: min(520px, 100%); max-height: min(90dvh, 760px); overflow-y: auto;
  padding: 30px 28px 26px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(66, 42, 118, 0.72), rgba(20, 11, 42, 0.94));
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
}
.pay-close {
  position: absolute; top: 14px; right: 16px; width: 34px; height: 34px;
  border: 1px solid var(--line); border-radius: 50%; background: rgba(255, 255, 255, 0.05);
  color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer;
}
.pay-eyebrow { margin: 0 0 8px; font-size: 0.72rem; letter-spacing: 0.22em; color: var(--gold); }
.pay-card h2 { margin: 0 0 8px; font-size: 1.5rem; color: var(--ink); }
.pay-hint { margin: 0 0 18px; font-size: 0.85rem; line-height: 1.7; color: var(--muted); }
.pay-plans { display: grid; gap: 10px; margin-bottom: 20px; }
.pay-plan {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center;
  width: 100%; text-align: left; padding: 14px 16px; border-radius: 12px; cursor: pointer;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); color: var(--ink);
  font-family: inherit;
}
.pay-plan:hover { background: rgba(201, 176, 246, 0.12); }
.pay-plan.is-selected { border-color: var(--gold); background: rgba(232, 200, 114, 0.12); }
.pay-plan strong { font-size: 0.98rem; font-weight: 600; }
.pay-plan-price { font-size: 1.05rem; color: var(--gold-bright); font-weight: 600; }
.pay-plan small { grid-column: 1 / -1; font-size: 0.78rem; color: var(--muted); }
.pay-label { display: block; margin-bottom: 8px; font-size: 0.84rem; color: var(--muted); }
.pay-input {
  width: 100%; padding: 12px 14px; border-radius: 10px; font-family: inherit; font-size: 0.92rem;
  background: rgba(8, 4, 20, 0.72); border: 1px solid var(--line-strong); color: var(--ink);
}
.pay-input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.pay-error { min-height: 1.2em; margin: 8px 0 10px; font-size: 0.8rem; color: #ffb4b4; }
.pay-fine { margin: 14px 0 0; font-size: 0.74rem; line-height: 1.65; color: var(--muted-2); }
.pay-return { margin: 12px 0 0; font-size: 0.84rem; color: var(--gold-bright); text-align: center; }
.member-count { font-size: 1rem; }
.member-count strong { font-size: 2rem; color: var(--gold-bright); }
@media (max-width: 480px) {
  .pay-card { padding: 26px 18px 20px; }
  .pay-card h2 { font-size: 1.28rem; }
}

/* ---------- 3 秒加载弹窗 ---------- */
.loading-overlay {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center;
  background: rgba(6, 3, 16, 0.72); backdrop-filter: blur(10px); padding: 20px;
}
.loading-overlay[hidden] { display: none; }

/* ---------- 欢迎页（15s 品牌视频 intro） ---------- */
.intro-overlay {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(60% 42% at 50% 30%, rgba(122, 82, 190, 0.22), transparent 70%),
    radial-gradient(120% 90% at 30% 8%, #2a1746 0%, #180c2c 48%, #0b0518 100%);
  opacity: 1; transition: opacity 0.8s ease;
}
.intro-overlay[hidden] { display: none; }
.intro-overlay.leaving { opacity: 0; pointer-events: none; }
.intro-overlay::before,
.intro-overlay::after {
  content: ""; position: absolute; left: 0; right: 0; z-index: 2; pointer-events: none;
}
.intro-overlay::before { top: 0; height: 18%; background: linear-gradient(to bottom, rgba(6, 2, 18, 0.7), transparent); }
.intro-overlay::after { bottom: 0; height: 26%; background: linear-gradient(to top, rgba(6, 2, 18, 0.78), transparent); }
.intro-video {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 0 60px rgba(150, 110, 230, 0.25));
}
.intro-brand {
  position: absolute; top: max(20px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%);
  z-index: 3;
  display: flex; align-items: center; gap: 10px;
  color: var(--ink-dim, #cbb9ee); opacity: 0.9; font-size: 0.85rem; letter-spacing: 0.16em;
  text-shadow: 0 2px 12px rgba(4, 1, 14, 0.8);
  pointer-events: none;
}
.intro-brand img { filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4)); }
.intro-actions {
  position: absolute; bottom: max(28px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  width: min(92vw, 560px); text-align: center;
}
.intro-hint {
  margin: 0; padding: 7px 16px; border-radius: 999px;
  background: rgba(12, 6, 28, 0.66); border: 1px solid rgba(203, 185, 238, 0.24);
  color: #e2d5ff; font-size: 0.76rem; letter-spacing: 0.05em; line-height: 1.5;
}
.intro-hint[hidden] { display: none; }
.intro-btn-row { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.intro-skip {
  padding: 13px 38px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(232, 200, 114, 0.75);
  background: linear-gradient(160deg, rgba(232, 200, 114, 0.18), rgba(232, 200, 114, 0.05));
  color: #f0d68f; font-size: 0.95rem; letter-spacing: 0.24em; text-indent: 0.24em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.intro-skip:hover, .intro-skip:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(232, 200, 114, 0.24);
  background: linear-gradient(160deg, rgba(232, 200, 114, 0.28), rgba(232, 200, 114, 0.08));
  outline: none;
}
.intro-sound {
  padding: 12px 26px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(232, 200, 114, 0.85);
  background: linear-gradient(160deg, rgba(232, 200, 114, 0.22), rgba(232, 200, 114, 0.07));
  color: #f6e7a8; font-size: 0.9rem; letter-spacing: 0.12em;
  animation: soundPulse 2.4s ease-in-out infinite;
}
@keyframes soundPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 200, 114, 0.34); }
  50% { box-shadow: 0 0 0 10px rgba(232, 200, 114, 0); }
}
.intro-sound:hover, .intro-sound:focus-visible {
  background: linear-gradient(160deg, rgba(232, 200, 114, 0.34), rgba(232, 200, 114, 0.1));
  outline: none;
}
.intro-sound[hidden] { display: none; }
body.intro-lock { overflow: hidden; }

/* 竖屏设备（比 9:16 更瘦长）：满屏裁切，避免上下黑边 */
@media (max-aspect-ratio: 5 / 8) {
  .intro-video { object-fit: cover; }
}

.loading-card {
  position: relative; width: min(420px, 92vw); text-align: center;
  border-radius: 26px; padding: 48px 30px 74px;
  background: var(--panel-soft), var(--panel);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  overflow: hidden;
}
.orbit-loader { position: relative; width: 66px; height: 66px; margin: 0 auto 22px; }
.orbit-loader::before {
  content: ""; position: absolute; inset: 6px; border-radius: 50%;
  border: 1.5px solid rgba(201, 176, 246, 0.28); border-top-color: var(--violet);
  animation: spin 1.2s linear infinite;
}
.orbit-loader span { position: absolute; top: 29px; left: 30px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-bright); }
.orbit-loader span:nth-child(1) { transform: rotate(0deg) translateY(-27px); opacity: 0.9; }
.orbit-loader span:nth-child(2) { transform: rotate(120deg) translateY(-27px); opacity: 0.55; }
.orbit-loader span:nth-child(3) { transform: rotate(240deg) translateY(-27px); opacity: 0.3; }
@keyframes spin { to { transform: rotate(360deg); } }
#loadingText { margin: 0 0 8px; color: var(--gold-bright); font-size: 1rem; line-height: 1.6; }
.loading-sub { margin: 0; font-size: 0.76rem; color: var(--muted-2); }
.loading-avatar {
  position: absolute; right: 8px; bottom: 0; width: 72px; height: auto;
  opacity: 0.95; pointer-events: none;
}

/* ---------- 右下角数字人浮层已移除（样式一并摘掉） ---------- */


/* ---------- 页脚免责 ---------- */
.disclaimer-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 48;
  min-height: var(--footer-h); padding: 9px 24px 10px;
  background: rgba(5, 2, 13, 0.90); border-top: 1px solid var(--line);
  backdrop-filter: blur(10px); text-align: center;
  color: var(--muted); font-size: 0.74rem; line-height: 1.6;
}
.disclaimer-bar p { margin: 0; }
.disclaimer-bar strong { color: var(--gold); }
.disclaimer-bar .en { color: var(--muted-2); font-size: 0.7rem; margin-top: 2px; }
.disclaimer-bar .site-contact { color: var(--gold); text-decoration: none; white-space: nowrap; }
.disclaimer-bar .site-contact:hover, .contact-line a:hover { text-decoration: underline; }
.footer-terms-link { color: var(--violet-soft); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.footer-terms-link:hover { color: var(--gold); }
.contact-line { margin-top: 8px; }
.contact-line a { color: var(--gold); text-decoration: none; font-weight: 600; }
.contact-line span { color: var(--muted-2); font-size: 0.86em; }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .main { padding-left: 30px; padding-right: 30px; }
  .decor-compass { opacity: 0.12; }
}
@media (max-width: 960px) {
  .topbar { padding: 0 16px; gap: 12px; }
  .topbar-nav { display: none; }
  .topbar-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .sidebar {
    top: 0; bottom: 0; z-index: 60; width: min(82vw, 280px);
    padding-top: 24px; transform: translateX(-110%); transition: transform .25s ease;
    background: linear-gradient(180deg, rgba(12, 7, 26, 0.96), rgba(16, 9, 36, 0.94));
  }
  body.nav-open .sidebar { transform: none; }
  .backdrop {
    display: block; position: fixed; inset: 0; z-index: 55;
    background: rgba(0, 0, 0, 0.55); border: 0; opacity: 0; pointer-events: none;
    transition: opacity .25s ease;
  }
  body.nav-open .backdrop { opacity: 1; pointer-events: auto; }
  .main { margin-left: 0; padding: calc(var(--topbar-h) + 22px) 18px calc(var(--footer-h) + 120px); }
  .service-grid, .grid-form, .report-layout { grid-template-columns: 1fr; }
  .report-side { grid-template-columns: 1fr 1fr; }
  .panel { padding: 22px 20px; }
  .report-card { padding: 26px 22px; }
  .draw-deck { grid-template-columns: repeat(7, minmax(0, 1fr)); max-width: 620px; }
  .decor-leaves, .decor-compass { display: none; }
  .decor-floral-bl { width: 34vw; opacity: 0.20; }
  .decor-floral-br { width: 40vw; opacity: 0.22; }
  .value-row { gap: 8px; }
}
@media (max-width: 560px) {
  /* 窄屏免责文案会折成 4 行左右，footer 实际高于 62px；同步抬高变量，避免浮层被盖住 */
  :root { --footer-h: 116px; }
  .topbar-brand { font-size: 0.82rem; }
  .hero { padding: 10px 0 24px; }
  .hero h1 { font-size: 1.75rem; }
  .hero-sub { font-size: 0.86rem; }
  .service-card { padding: 16px 18px 22px; }
  .report-side { grid-template-columns: 1fr; }
  .drawn-cards { gap: 8px; }
  .drawn-card { padding: 9px 6px 11px; }
  .drawn-card strong { font-size: 0.8rem; }
  .drawn-card .pos { font-size: 0.58rem; letter-spacing: 0.06em; }
  .draw-board { padding: 18px 15px 20px; border-radius: 20px; }
  .draw-deck { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .draw-slots { gap: 9px; }
  .draw-slot { min-height: 170px; padding: 9px 5px; }
  .draw-slot-art { max-width: 82px; }
  .draw-actions .btn { flex: 1 1 auto; min-width: 0; }
  .kb-item.has-art { padding-left: 70px; }
  .kb-item-art { width: 44px; left: 13px; top: 13px; }
  .disclaimer-bar { font-size: 0.66rem; padding: 8px 12px; }
  .disclaimer-bar .en { font-size: 0.64rem; }
  .actions .btn { flex: 1 1 auto; }
}

/* ---------- 窄屏稳健性：防止英文长句把 grid 列撑出视口 ---------- */
.service-grid, .grid-form, .report-layout, .report-side, .drawn-cards, .thumbs { min-width: 0; }
.service-grid > *, .grid-form > *, .report-layout > *, .report-side > *, .drawn-cards > *, .panel, .service-card, .report-card { min-width: 0; }
.eyebrow, .hero-sub, .hero-note, .card-desc, .card-en, .value-item, .page-desc,
.help, .row-between, .disclaimer-bar p, .side-card p, .report-card p, .terms p {
  overflow-wrap: break-word;
}
.topbar-brand { min-width: 0; flex: 0 1 auto; overflow: hidden; }
.topbar-brand > span:last-child { overflow: hidden; text-overflow: ellipsis; }

/* ---------- 首页新增区块：说明段落 / 三档定价 / FAQ / 交叉推荐 ---------- */
.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

.prose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 56rem; margin: 34px auto 0; }
.prose-card { padding: 24px 24px 26px; }
.prose-card h3 { margin: 0 0 12px; font-size: 1.08rem; color: var(--gold-bright); }
.prose-card p { margin: 0 0 12px; font-size: 0.9rem; line-height: 1.78; color: var(--muted); }
.prose-card p:last-child { margin-bottom: 0; }
.prose-card .prose-strong { color: var(--ink); }
.prose-card--wide { grid-column: 1 / -1; }
.prose-list--cols { grid-template-columns: 1fr 1fr; column-gap: 26px; }
.prose-note { margin: 16px 0 0 !important; font-size: 0.76rem !important; line-height: 1.7 !important; color: var(--muted-2) !important; }

/* 首页显要位置：一份解读能打开什么（13 条好处，三列） */
.benefits-section {
  max-width: 56rem; margin: 42px auto 0; padding: 30px 30px 26px; text-align: center;
  border-radius: 22px; border: 1px solid rgba(232, 200, 114, 0.30);
  background: radial-gradient(120% 140% at 50% 0%, rgba(232, 200, 114, 0.09), rgba(255, 255, 255, 0.02) 62%);
}
.benefits-eyebrow { margin: 0 0 10px; font-size: 0.68rem; letter-spacing: 0.24em; color: var(--violet); }
.benefits-section h2 { margin: 0 0 12px; font-size: clamp(1.45rem, 2.8vw, 1.95rem); color: var(--gold-bright); }
.benefits-lead { margin: 0 auto; max-width: 46rem; font-size: 0.86rem; line-height: 1.75; color: var(--muted); }
.benefit-grid {
  list-style: none; margin: 24px 0 0; padding: 0; text-align: left;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 24px;
}
.benefit-grid li { position: relative; padding-left: 17px; font-size: 0.87rem; line-height: 1.6; color: var(--ink); }
.benefit-grid li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--gold-bright); font-size: 0.8rem; opacity: 0.85; }
.benefits-note { text-align: center; max-width: 46rem; margin: 20px auto 0 !important; }
.benefits-actions { margin-top: 20px; display: flex; justify-content: center; }

/* 首页：在线咨询包含什么 */
.includes-panel { max-width: 56rem; margin: 26px auto 0; padding: 28px 30px 26px; }
.includes-eyebrow { margin: 0 0 8px; font-size: 0.66rem; letter-spacing: 0.24em; color: var(--violet); text-align: center; }
.includes-panel h2 { margin: 0 0 18px; font-size: clamp(1.25rem, 2.4vw, 1.55rem); color: var(--gold-bright); text-align: center; }

/* 首页：商业与店铺单独定价说明 */
.biz-note {
  max-width: 56rem; margin: 26px auto 0; padding: 26px 30px 28px; text-align: center;
  border-radius: 20px; border: 1px dashed rgba(232, 200, 114, 0.32);
  background: rgba(255, 255, 255, 0.02);
}
.biz-eyebrow { margin: 0 0 8px; font-size: 0.66rem; letter-spacing: 0.24em; color: var(--violet); }
.biz-note h3 { margin: 0 0 12px; font-size: clamp(1.15rem, 2.2vw, 1.35rem); color: var(--gold-bright); }
.biz-note p { margin: 0 auto; max-width: 44rem; font-size: 0.84rem; line-height: 1.8; color: var(--muted); }
.biz-note .btn { margin-top: 18px; }

/* 首页：风水，就是这里说的环境能量（导语段） */
.explain-section {
  max-width: 52rem; margin: 40px auto 0; padding: 34px 4px 0; text-align: left;
  border-top: 1px solid rgba(232, 200, 114, 0.14);
}
.explain-eyebrow { margin: 0 0 10px; font-size: 0.68rem; letter-spacing: 0.24em; color: var(--violet); text-align: center; }
.explain-section h2 { margin: 0 0 18px; font-size: clamp(1.35rem, 2.5vw, 1.72rem); color: var(--gold-bright); text-align: center; }
.explain-body p { margin: 0 0 14px; font-size: 0.9rem; line-height: 1.9; color: var(--ink); }
.explain-body p:last-child { margin-bottom: 0; color: var(--gold-bright); }

@media (max-width: 860px) {
  .benefit-grid { grid-template-columns: 1fr; }
  .benefits-section { padding: 24px 18px 20px; }
}
.prose-list { margin: 0; padding-left: 18px; display: grid; gap: 10px; }
.prose-list li { font-size: 0.9rem; line-height: 1.75; color: var(--muted); }

.tier-section { max-width: 56rem; margin: 46px auto 0; text-align: center; }
.tier-section h2 { margin: 0 0 10px; font-size: clamp(1.5rem, 2.8vw, 2rem); color: var(--gold-bright); }
.tier-lead { margin: 0 auto 24px; max-width: 44rem; font-size: 0.82rem; line-height: 1.7; color: var(--muted-2); }
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: left; }
.tier-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px 20px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
}
.tier-card--featured { border-color: rgba(232, 200, 114, 0.4); background: rgba(232, 200, 114, 0.06); }
.tier-name { margin: 0; font-size: 0.7rem; letter-spacing: 0.18em; color: var(--violet); }
.tier-price { margin: 0; font-size: 1.7rem; font-weight: 600; color: var(--gold-bright); }
.tier-desc { margin: 0; font-size: 0.85rem; line-height: 1.72; color: var(--muted); flex: 1; }
.tier-card .btn { margin-top: 6px; }

.faq-panel { max-width: 56rem; margin: 44px auto 0; padding: 28px 28px 22px; }
.faq-panel h2 { margin: 0 0 18px; font-size: clamp(1.4rem, 2.6vw, 1.8rem); color: var(--gold-bright); }
.faq-list { margin: 0; display: grid; gap: 14px; }
.faq-list dt { font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.faq-list dd { margin: 4px 0 0; font-size: 0.86rem; line-height: 1.75; color: var(--muted); }

.cross-sell {
  max-width: 56rem; margin: 34px auto 0; padding: 16px 20px; text-align: center;
  font-size: 0.86rem; line-height: 1.7; color: var(--ink);
  border: 1px dashed rgba(232, 200, 114, 0.34); border-radius: 14px;
  background: rgba(232, 200, 114, 0.05);
}

@media (max-width: 860px) {
  .prose-grid { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: 1fr; }
  .faq-panel { padding: 22px 18px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .page.active { animation: none; }
  .btn { transition: none; }
  .sidebar, .backdrop { transition: none; }
  .orbit-loader::before, .typing-caret::after { animation: none; }
  .report-section.reveal.visible, .report-closing.reveal.visible,
  #tarotReading .freeform-p.reveal.visible { transition: none; }
  .intro-overlay, .intro-skip { transition: none; }
  .intro-sound { animation: none; }
  .draw-pick, .draw-pick-inner { transition: none; }
  .draw-slot.is-filled .draw-slot-art { animation: none; }
}
