/* =========================================================
   两页版：养生 / 命理
   紧凑、移动优先，保留原宣纸、朱砂、宋体气质
   ========================================================= */

/* ---------- 顶部两页导航 ---------- */
.page-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.page-link {
  padding: 7px 18px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  transition: background 0.25s ease, color 0.25s ease;
}
.page-link:hover { color: var(--cinnabar); }
.page-link.is-active {
  color: var(--paper-light);
  background: var(--ink);
  box-shadow: 0 6px 16px -10px rgba(33, 29, 24, 0.55);
}

/* ---------- 短首屏 ---------- */
.page-hero {
  padding: 122px 0 52px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(480px 380px at 82% 18%, rgba(63, 107, 88, 0.08), transparent 70%),
    radial-gradient(380px 300px at 8% 90%, rgba(166, 61, 47, 0.05), transparent 70%);
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 28px;
  align-items: center;
}

.page-hero h1 {
  margin: 10px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: 0.045em;
}
.page-hero h1 em {
  position: relative;
  z-index: 0;
  color: var(--cinnabar);
  font-style: normal;
}
.page-hero h1 em::after {
  content: "";
  position: absolute;
  left: 1%;
  right: 0;
  bottom: 5px;
  height: 8px;
  z-index: -1;
  border-radius: 50%;
  background: rgba(166, 61, 47, 0.11);
  transform: rotate(-1deg);
}

.page-lede {
  max-width: 540px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.page-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
  color: var(--muted-2);
  font-size: 10px;
  letter-spacing: 0.14em;
}
.page-meta span { display: inline-flex; align-items: center; gap: 7px; }
.page-meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cinnabar);
}

.page-hero-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* 四季轮 */
.season-wheel {
  --r: 102px;
  position: relative;
  width: 238px;
  height: 238px;
  isolation: isolate;
}
.season-wheel::before {
  content: "";
  position: absolute;
  inset: 14%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 61, 47, 0.1), transparent 66%);
  filter: blur(26px);
}
.wheel-ring {
  position: absolute;
  inset: 0;
  border: 1px dashed var(--line-strong);
  border-radius: 50%;
  animation: spin 90s linear infinite;
}
.wheel-ring::before {
  content: "";
  position: absolute;
  inset: 11%;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.wheel-core {
  position: absolute;
  inset: 33%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.78), rgba(235, 227, 212, 0.35) 66%, rgba(245, 240, 230, 0.16));
  box-shadow: inset 0 0 30px rgba(33, 29, 24, 0.05);
}
.wheel-core .taiji { width: 56%; animation: spin 42s linear infinite; }
.wheel-label {
  position: absolute;
  left: 50%;
  top: 50%;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 16px;
  transform:
    translate(-50%, -50%)
    rotate(calc(var(--i) * 90deg))
    translateY(calc(var(--r) * -1))
    rotate(calc(var(--i) * -90deg));
}
.wheel-label:nth-of-type(1) { color: #4f7a5f; }
.wheel-label:nth-of-type(2) { color: #b04a3a; }
.wheel-label:nth-of-type(3) { color: #a9854f; }
.wheel-label:nth-of-type(4) { color: #3f5f78; }

.today-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 248, 241, 0.6);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.today-mini-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cinnabar);
  box-shadow: 0 0 0 3px rgba(166, 61, 47, 0.1);
}
.today-mini-advice { color: var(--cinnabar); }

/* ---------- 紧凑标题 ---------- */
.section-tight { padding: 58px 0; }

.compact-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.compact-head .eyebrow { margin-bottom: 6px; }
.compact-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.compact-head > p {
  max-width: 340px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  text-align: right;
}

/* ---------- 四季卡（两栏紧凑） ---------- */
.season-card {
  padding: 20px;
  border-radius: 22px;
}
.season-card::before {
  right: 4px;
  bottom: -42px;
  font-size: 190px;
}
.season-top { margin-bottom: 16px; }
.season-tabs { padding: 3px; }
.season-tab { width: 32px; height: 27px; font-size: 13px; }
.lang-en .season-tab { width: auto; min-width: 34px; padding: 0 6px; font-family: var(--font-body); font-size: 8.5px; letter-spacing: 0; }
.season-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 22px;
  align-items: start;
}
.season-main { min-width: 0; }
.season-hero { gap: 14px; }
.season-char { font-size: 58px; }
.season-hero h3 { font-size: 27px; }
.season-kicker { font-size: 9px; }
.season-poem {
  margin: 14px 0 10px;
  font-size: 13px;
  line-height: 1.7;
}
.season-desc {
  margin-bottom: 12px;
  font-size: 12px;
  line-height: 1.8;
}
.season-tips { margin-bottom: 0; gap: 5px; }
.season-tips span { padding: 3px 8px; font-size: 9px; }

.season-detail-grid {
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.season-detail-grid span { font-size: 9px; margin-bottom: 3px; }
.season-detail-grid p { font-size: 11px; line-height: 1.65; }
.season-disclaimer { margin: 12px 0 0; font-size: 9px; }

/* ---------- 日常方法 ---------- */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.method-grid .method-card {
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
}
.method-grid .method-icon {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
}
.method-grid .method-icon svg { width: 18px; height: 18px; }
.method-grid .method-card h3 { font-size: 16px; margin-bottom: 4px; }
.method-grid .method-card p { font-size: 11px; line-height: 1.7; margin-bottom: 0; }
.method-grid .tag-row { display: none; }

/* ---------- 体质 ---------- */
.constitution-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.constitution-card { padding: 14px; border-radius: 14px; }
.constitution-top { gap: 7px; margin-bottom: 7px; }
.constitution-top h4 { font-size: 15px; }
.constitution-en { display: none; }
.constitution-symptom { margin-bottom: 4px; font-size: 11px; line-height: 1.65; }
.constitution-advice { font-size: 10px; line-height: 1.6; }
.constitution-note {
  margin: 12px 0 0;
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.6;
}

/* ---------- 命理 CTA ---------- */
.page-cta { padding: 0 0 58px; }
.page-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px 28px;
  border-radius: 22px;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.page-cta-inner::after {
  content: "命";
  position: absolute;
  right: 26px;
  bottom: -34px;
  color: rgba(245, 240, 230, 0.06);
  font-family: var(--font-display);
  font-size: 150px;
  line-height: 1;
  pointer-events: none;
}
.page-cta h2 {
  margin: 3px 0 5px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.page-cta p { margin: 0; color: rgba(245, 240, 230, 0.55); font-size: 11px; line-height: 1.7; }
.page-cta .eyebrow { color: rgba(245, 240, 230, 0.5); }
.page-cta .btn { position: relative; z-index: 1; flex-shrink: 0; }
.page-cta .btn-primary {
  color: var(--ink);
  background: var(--paper);
  box-shadow: none;
}
.page-cta .btn-primary:hover {
  color: var(--paper);
  background: var(--cinnabar);
}

/* ---------- 命理页 ---------- */
.page-hero-bazi { padding-bottom: 32px; }
.page-hero-bazi h1 { font-size: clamp(38px, 5vw, 62px); }
.bazi-main { padding-top: 6px; }

.reading-panel { grid-template-columns: 320px minmax(0, 1fr); border-radius: 24px; }
.form-side { padding: 22px; }
.result-side { padding: 22px; min-height: 430px; }
.form-head { margin-bottom: 18px; }
.form-head h3 { font-size: 22px; }
.form-kicker { font-size: 9px; }
.form-head p { font-size: 10px; }
.field { margin-bottom: 13px; }
.field-label { margin-bottom: 6px; font-size: 10px; }
.field-row { grid-template-columns: 1.15fr 0.85fr; gap: 8px; }
.seg-btn { height: 34px; font-size: 12px; }
input[type="date"], input[type="time"] { height: 42px; padding: 0 10px; font-size: 12px; }
.form-hint { margin: 0 0 10px; font-size: 9px; }
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.6;
  cursor: pointer;
}
.consent-row input {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  margin: 2px 0 0;
  accent-color: var(--cinnabar);
}
.btn-wide { height: 47px; font-size: 13px; }
.privacy-note { margin-top: 9px; font-size: 9px; }
.save-status { min-height: 14px; margin: 4px 0 0; color: var(--muted-2); font-size: 9px; line-height: 1.5; text-align: center; }
.form-error { font-size: 10px; margin-top: 5px; }

.result-empty { min-height: 360px; }
.empty-orbit { width: 122px; height: 122px; margin-bottom: 18px; }
.empty-orbit::before { inset: 10px; }
.empty-orbit::after { font-size: 31px; }
.empty-orbit span {
  font-size: 12px;
  transform:
    translate(-50%, -50%)
    rotate(calc(var(--i) * 90deg))
    translateY(-61px)
    rotate(calc(var(--i) * -90deg));
}
.empty-kicker { margin-bottom: 7px; font-size: 9px; }
.result-empty h3 { margin-bottom: 7px; font-size: 22px; }
.empty-desc { max-width: 320px; margin-bottom: 0; font-size: 11px; line-height: 1.7; }
.empty-tags { display: none; }

.result-head { padding-bottom: 14px; margin-bottom: 16px; gap: 10px; }
.result-eyebrow { font-size: 9px; margin-bottom: 3px; }
.result-title { font-size: 24px; margin-bottom: 3px; }
.result-sub { font-size: 9px; line-height: 1.6; }
.result-badge { padding: 5px 9px; font-size: 9px; }

.pillars { gap: 6px; margin-bottom: 14px; }
.pillar-card { padding: 10px 4px 8px; border-radius: 10px; }
.pillar-label { margin-bottom: 5px; font-size: 8px; letter-spacing: 0.12em; }
.pillar-chars { font-size: 24px; gap: 0; }
.pillar-nayin { margin-top: 5px; font-size: 8px; }
.pillar-shishen { font-size: 8px; margin-top: 1px; }
.pillar-hide { margin-top: 3px; font-size: 7px; line-height: 1.4; }

.wx-panel { padding: 12px 14px; margin-bottom: 14px; border-radius: 12px; }
.wx-head { margin-bottom: 3px; }
.wx-head h4 { font-size: 13px; }
.wx-head span { font-size: 8px; }
.wx-row { grid-template-columns: 20px minmax(0, 1fr) 22px; gap: 8px; margin: 6px 0; }
.wx-name { font-size: 14px; }
.wx-track { height: 5px; }
.wx-count { font-size: 10px; }

.insight-grid { grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.insight-card:last-child:nth-child(3) { grid-column: 1 / -1; }
.insight-card { padding: 10px; border-radius: 11px; }
.insight-card h4 { font-size: 12px; margin-bottom: 5px; gap: 6px; }
.insight-card h4 b { font-size: 8px; }
.insight-card p { font-size: 10.5px; line-height: 1.7; }

.lucky-slip { padding: 12px 14px; border-radius: 12px; }
.slip-head { margin-bottom: 7px; }
.slip-head span:first-child { font-size: 9px; }
.slip-seal { width: 23px; height: 23px; font-size: 13px; }
.slip-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.slip-grid span { font-size: 8px; }
.slip-grid strong { font-size: 10px; }
.slip-note { margin-top: 7px; font-size: 8.5px; line-height: 1.6; }

.result-actions { margin-top: 10px; }
.text-btn { font-size: 9px; }
.result-note { font-size: 8px; line-height: 1.5; }

.bazi-note {
  margin: 14px 0 0;
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.7;
  text-align: center;
}
.privacy-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.06em;
}
.privacy-strip span { display: inline-flex; align-items: center; gap: 6px; }
.privacy-strip span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cinnabar);
}

/* ---------- 页脚紧凑 ---------- */
.site-footer { padding: 22px 0; }
.footer-grid { grid-template-columns: 1fr auto; gap: 10px 20px; align-items: start; }
.footer-disclaimer { grid-column: 1 / -1; font-size: 9px; line-height: 1.7; }
.footer-copy { font-size: 8px; }
.footer-admin-link { color: rgba(245, 240, 230, 0.38); text-decoration: underline; text-underline-offset: 2px; }
.footer-admin-link:hover { color: rgba(245, 240, 230, 0.75); }
.footer-brand .brand-seal { width: 28px; height: 28px; font-size: 16px; }
.footer-brand strong { font-size: 13px; }
.footer-brand small { font-size: 7px; }

/* ---------- 页面进入 ---------- */
main { animation: pageIn 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 移动端 ---------- */
@media (max-width: 860px) {
  .page-hero { padding: 102px 0 38px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .page-hero-side { display: none; }
  .page-hero h1 { font-size: clamp(36px, 8.2vw, 52px); }
  .page-lede { font-size: 13px; margin-bottom: 18px; }
  .page-meta { margin-top: 18px; gap: 12px; font-size: 9px; }

  .section-tight { padding: 42px 0; }
  .compact-head { margin-bottom: 16px; align-items: flex-start; gap: 10px; }
  .compact-head h2 { font-size: 28px; }
  .compact-head > p { max-width: 150px; font-size: 9px; text-align: right; }

  .season-card { padding: 16px; border-radius: 18px; }
  .season-card::before { font-size: 150px; bottom: -38px; }
  .season-top { margin-bottom: 13px; }
  .season-layout { grid-template-columns: 1fr; gap: 14px; }
  .season-char { font-size: 48px; }
  .season-hero h3 { font-size: 23px; }
  .season-poem { margin: 10px 0 8px; font-size: 12px; }
  .season-desc { font-size: 11px; margin-bottom: 10px; }
  .season-detail-grid { gap: 10px 12px; padding-top: 10px; }
  .season-detail-grid p { font-size: 10px; }

  .method-grid { grid-template-columns: 1fr; gap: 8px; }
  .method-grid .method-card { flex-direction: row; padding: 13px 14px; gap: 11px; }
  .method-grid .method-icon { width: 34px; height: 34px; flex-basis: 34px; }
  .method-grid .method-card h3 { font-size: 15px; }
  .method-grid .method-card p { font-size: 10.5px; }

  .constitution-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .constitution-card { padding: 12px; }
  .constitution-top h4 { font-size: 14px; }
  .constitution-symptom { font-size: 10px; }
  .constitution-advice { font-size: 9.5px; }

  .page-cta { padding-bottom: 42px; }
  .page-cta-inner { flex-direction: column; align-items: flex-start; padding: 20px; }
  .page-cta h2 { font-size: 20px; }
  .page-cta p { font-size: 10px; }

  .page-hero-bazi { padding-bottom: 22px; }
  .page-hero-bazi h1 { font-size: clamp(34px, 8vw, 48px); }

  .reading-panel { grid-template-columns: 1fr; border-radius: 20px; }
  .form-side { padding: 17px; border-right: 0; border-bottom: 1px solid var(--line); }
  .result-side { padding: 17px; min-height: 0; }
  .field-row { grid-template-columns: 1.15fr 0.85fr; }
  .form-head { margin-bottom: 14px; }
  .form-head h3 { font-size: 20px; }
  .result-empty { min-height: 300px; }
  .result-head { flex-direction: row; align-items: flex-start; }
  .result-title { font-size: 21px; }
  .pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
  .pillar-chars { font-size: 21px; }
  .pillar-card { padding: 9px 3px 7px; }
  .insight-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
  .insight-card { padding: 9px; }
  .insight-card h4 { font-size: 11.5px; }
  .insight-card p { font-size: 10px; }
  .slip-grid { grid-template-columns: 1fr 1fr; }
  .slip-grid strong { font-size: 10px; }
  .bazi-note { text-align: left; margin-top: 12px; }

  .site-footer { padding: 18px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 8px; }
  .footer-copy { white-space: normal; }
}

@media (max-width: 420px) {
  .site-header { height: 60px; padding: 0 12px; }
  .brand-text strong { font-size: 14px; }
  .brand-text small { display: none; }
  .page-link { padding: 6px 13px; font-size: 11px; }
  .page-hero { padding-top: 88px; }
  .page-hero h1 { font-size: 34px; }
  .page-hero .hero-actions .btn { flex: 1 1 auto; padding: 11px 14px; font-size: 12px; }
  .compact-head h2 { font-size: 25px; }
  .compact-head > p { display: none; }
  .season-char { font-size: 42px; }
  .season-hero h3 { font-size: 21px; }
  .season-tab { width: 29px; height: 25px; }
  .lang-en .season-tab { width: auto; min-width: 31px; padding: 0 4px; font-size: 8px; }
  .constitution-grid { grid-template-columns: 1fr 1fr; }
  .constitution-card { padding: 10px; }
  .constitution-top h4 { font-size: 13px; }
  .constitution-symptom { font-size: 9.5px; }
  .constitution-advice { font-size: 9px; }
  .result-title { font-size: 19px; }
  .result-badge { font-size: 8px; padding: 4px 7px; }
  .pillar-chars { font-size: 19px; }
  .pillar-hide { display: none; }
  .insight-card p { font-size: 9.5px; }
  .slip-note { display: none; }
}

@media (max-width: 360px) {
  .constitution-grid { grid-template-columns: 1fr; }
  .insight-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .slip-grid { grid-template-columns: 1fr; }
}


/* =========================================================
   香薰预留页
   一只 CSS 香薰瓶、三张空卡，先把产品的位置留好
   ========================================================= */

.page-aroma .page-hero { padding-bottom: 36px; }
.page-hero-aroma::before {
  background:
    radial-gradient(520px 400px at 84% 12%, rgba(169, 133, 79, 0.16), transparent 70%),
    radial-gradient(420px 320px at 4% 96%, rgba(63, 107, 88, 0.08), transparent 70%);
}
.page-aroma .page-lede { max-width: 560px; }

.aroma-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}
.aroma-visual::before {
  content: "香";
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(180px, 20vw, 280px);
  line-height: 1;
  color: rgba(33, 29, 24, 0.045);
  pointer-events: none;
}
.aroma-stage {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
}
.aroma-bottle {
  position: relative;
  width: 158px;
  height: 254px;
  filter: drop-shadow(0 28px 30px rgba(33, 29, 24, 0.16));
}
.aroma-cap {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 1;
  width: 52px;
  height: 44px;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(160deg, #5a4a36, #2f2820);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform: translateX(-50%);
}
.aroma-cap::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -9px;
  height: 11px;
  border-radius: 2px;
  background: linear-gradient(180deg, #3a3128, #241f1a);
}
.aroma-glass {
  position: absolute;
  left: 50%;
  top: 48px;
  z-index: 2;
  width: 146px;
  height: 196px;
  overflow: hidden;
  border: 1px solid rgba(120, 84, 36, 0.28);
  border-radius: 22px 22px 26px 26px;
  background: linear-gradient(150deg, rgba(233, 197, 132, 0.92), rgba(186, 131, 61, 0.8) 46%, rgba(120, 74, 31, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset -14px 0 24px rgba(255, 255, 255, 0.24),
    inset 12px -18px 30px rgba(70, 40, 12, 0.28);
  transform: translateX(-50%);
}
.aroma-glass::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 14px;
  width: 26px;
  height: 122px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
}
.aroma-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 244, 214, 0.45), transparent 34%),
    linear-gradient(200deg, transparent 58%, rgba(79, 43, 13, 0.18));
}
.aroma-label {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 72px;
  z-index: 3;
  padding: 14px 8px 12px;
  border: 1px solid rgba(90, 62, 32, 0.28);
  border-radius: 3px;
  background: rgba(247, 241, 229, 0.9);
  color: #3a2b19;
  text-align: center;
}
.aroma-label b {
  display: block;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.14em;
}
.aroma-label i {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 6.5px;
  letter-spacing: 0.28em;
  color: #6d5740;
}
.aroma-label em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 7px;
  letter-spacing: 0.34em;
  color: #8a6a3f;
}
.aroma-caption {
  margin: 24px 0 0;
  color: var(--muted-2);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-align: center;
}

.aroma-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.aroma-card {
  position: relative;
  overflow: hidden;
  padding: 24px 22px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.22));
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.aroma-card:hover {
  border-color: var(--line-strong);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.32));
  box-shadow: 0 22px 44px -32px rgba(33, 29, 24, 0.4);
}
.aroma-card::after {
  content: attr(data-glyph);
  position: absolute;
  right: -8px;
  bottom: -36px;
  font-family: var(--font-display);
  font-size: 132px;
  line-height: 1;
  color: rgba(33, 29, 24, 0.045);
  pointer-events: none;
}
.aroma-cat {
  position: relative;
  z-index: 1;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.aroma-card h3 {
  position: relative;
  z-index: 1;
  margin: 14px 0 2px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.aroma-en {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.aroma-card p:not(.aroma-en) {
  position: relative;
  z-index: 1;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.85;
}
.aroma-tag {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 18px;
  padding: 4px 10px;
  border: 1px dashed rgba(166, 61, 47, 0.35);
  border-radius: 999px;
  color: var(--cinnabar);
  font-size: 9px;
  letter-spacing: 0.14em;
}
.aroma-foot {
  margin: 18px 0 0;
  color: var(--muted-2);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.aroma-note {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.5), rgba(235, 227, 212, 0.38));
}
.aroma-note h2 {
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.04em;
}
.aroma-note p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.9;
}
.aroma-checklist {
  display: grid;
  align-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.aroma-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.38);
  color: var(--ink-2);
  font-size: 12px;
}
.aroma-checklist li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.aroma-safety {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
  border-left: 2px solid var(--cinnabar);
  border-radius: 0 18px 18px 0;
  background: rgba(166, 61, 47, 0.045);
}
.aroma-safety-mark {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-top: 2px;
  border: 1px solid rgba(166, 61, 47, 0.32);
  border-radius: 50%;
  color: var(--cinnabar);
  font-family: var(--font-display);
  font-size: 16px;
}
.aroma-safety h2 {
  margin: 2px 0 6px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.aroma-safety p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

@media (max-width: 860px) {
  .aroma-visual { min-height: 300px; }
  .aroma-visual::before { font-size: 200px; }
  .aroma-bottle { transform: scale(0.86); transform-origin: center; }
  .aroma-grid { grid-template-columns: 1fr; }
  .aroma-card { padding: 20px 18px; }
  .aroma-note { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
  .aroma-safety { padding: 18px; }
}

@media (max-width: 520px) {
  .site-header .page-nav { gap: 1px; padding: 3px; }
  .site-header .page-link { padding: 6px 10px; font-size: 10.5px; letter-spacing: 0.06em; }
  .lang-en .page-link { padding: 5px 7px; font-size: 9.5px; letter-spacing: 0.02em; }
  .aroma-visual { min-height: 260px; }
  .aroma-visual::before { font-size: 170px; }
  .aroma-bottle { transform: scale(0.76); }
  .aroma-caption { margin-top: 16px; font-size: 9px; }
  .aroma-card h3 { font-size: 22px; }
  .aroma-note { padding: 18px; border-radius: 20px; }
  .aroma-safety { gap: 12px; padding: 16px; border-radius: 0 14px 14px 0; }
}

@media (max-width: 380px) {
  .site-header .page-link { padding: 5px 7px; font-size: 10px; }
  .lang-en .page-link { padding: 4px 6px; font-size: 9px; }
  .brand-text strong { font-size: 13px; }
  .aroma-bottle { transform: scale(0.7); }
  .aroma-visual { min-height: 240px; }
}

/* =========================================================
   日常方法 · 扩充详情（五色食单 / 穴位图解 / 时辰对照）
   ========================================================= */
.method-extra { margin: 12px 0 0; display: grid; gap: 6px; }
.wu-row, .clock-row {
  display: grid; grid-template-columns: auto 1fr; gap: 8px;
  align-items: baseline; font-size: 12px; line-height: 1.7;
}
.wu-row dt, .clock-row dt {
  margin: 0; display: flex; align-items: center; gap: 5px;
  white-space: nowrap; color: var(--ink-2); font-weight: 600;
}
.wu-row dd, .clock-row dd { margin: 0; color: var(--muted); }

.wu-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; }
.wu-qing { background: #4f7a5f; }
.wu-chi { background: #b04a3a; }
.wu-huang { background: #c08a3e; }
.wu-bai { background: #d8cfbd; box-shadow: inset 0 0 0 1px rgba(33, 29, 24, .18); }
.wu-hei { background: #2b2925; }

.method-note { margin: 10px 0 0; font-size: 11.5px; line-height: 1.75; color: var(--muted-2); }

.acu-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.acu-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; align-items: center; }
.acu-fig {
  margin: 0; width: 56px; height: 72px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .5);
}
.acu-fig svg { width: 44px; height: 60px; color: var(--ink-2); }
.acu-item strong { display: block; font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.acu-item span { display: block; margin-top: 2px; font-size: 11.5px; line-height: 1.7; color: var(--muted); }
.acu-item em { display: block; margin-top: 3px; font-style: normal; font-size: 11px; color: var(--cinnabar); }

@media (max-width: 560px) {
  .wu-row, .clock-row { grid-template-columns: 1fr; gap: 2px; }
  .acu-item { grid-template-columns: 50px minmax(0, 1fr); }
  .acu-fig { width: 50px; height: 64px; }
  .acu-fig svg { width: 38px; height: 52px; }
}

/* =========================================================
   命理页版式：左「提醒与介绍」、右「排盘」，结果整行居下
   ========================================================= */
.reading-panel { grid-template-columns: minmax(0, 1fr) 360px; }
.form-side { border-right: 0; border-left: 1px solid var(--line); }

.insight-side {
  min-width: 0;
  padding: 30px 32px 34px;
  border-right: 0;
}
.insight-side > * { max-width: 700px; }

.insight-kicker {
  margin: 0 0 10px; font-size: 9px; letter-spacing: .24em; color: var(--cinnabar);
}
.insight-title {
  margin: 0 0 12px; font-family: var(--font-display); font-size: 27px;
  font-weight: 600; letter-spacing: .03em; line-height: 1.35;
}
.insight-lede { margin: 0 0 24px; font-size: 13px; line-height: 1.9; color: var(--muted); }

.insight-quote { margin: 0 0 20px; }
.insight-quote blockquote {
  margin: 0; padding-left: 13px; border-left: 2px solid rgba(166, 61, 47, .32);
  font-family: var(--font-accent); font-size: 15.5px; line-height: 1.95; color: var(--ink);
}
.insight-quote blockquote.is-second { margin-top: 12px; }
.insight-quote figcaption {
  margin: 6px 0 0 15px; font-size: 10.5px; letter-spacing: .1em; color: var(--muted-2);
}
.insight-gloss { margin: 8px 0 0 15px; font-size: 12px; line-height: 1.85; color: var(--muted); }

.insight-seal {
  margin: 26px 0 0; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 13.5px; line-height: 2; color: var(--ink-2);
}
.insight-seal strong { display: block; margin-top: 4px; font-weight: 600; color: var(--cinnabar); }

.result-side {
  grid-column: 1 / -1;
  min-height: 0;
  padding: 26px 32px 32px;
  border-top: 1px solid var(--line);
}
.result-side[hidden] { display: none; }
.result-content { max-width: 960px; }

@media (max-width: 900px) {
  .reading-panel { grid-template-columns: 1fr; }
  .insight-side { padding: 22px 18px 24px; }
  .insight-side > * { max-width: none; }
  .insight-title { font-size: 23px; }
  .insight-lede { font-size: 12.5px; }
  .form-side { border-left: 0; }
  .result-side { padding: 20px 16px 24px; }
}

/* 排盘说明在窄栏内改为左对齐的分隔注记 */
.form-side .bazi-note {
  margin: 18px 0 0;
  padding-top: 13px;
  border-top: 1px dashed var(--line);
  text-align: left;
  font-size: 10px;
  line-height: 1.8;
}

/* hidden 属性需强制生效：.result-empty 自带 display:flex 会覆盖浏览器默认的 [hidden] 规则 */
.result-empty[hidden] { display: none !important; }

/* =========================================================
   命理页紧凑版：压缩纵向留白（在已有断点之后声明，确保生效）
   ========================================================= */
.page-hero-bazi { padding-top: clamp(96px, 11vh, 116px); padding-bottom: 22px; }
.page-hero-bazi h1 { font-size: clamp(32px, 4.2vw, 48px); margin-bottom: 8px; }
.page-hero-bazi .page-lede { margin-bottom: 14px; }
.page-hero-bazi .page-meta { margin-bottom: 0; }

.bazi-main { padding-bottom: 40px; }

.insight-side { padding: 22px 26px 24px; }
.insight-kicker { margin-bottom: 7px; }
.insight-title { font-size: 23px; margin-bottom: 8px; }
.insight-lede { font-size: 12.5px; line-height: 1.8; margin-bottom: 15px; }
.insight-quote { margin-bottom: 12px; }
.insight-quote blockquote { font-size: 14.5px; line-height: 1.78; }
.insight-quote blockquote.is-second { margin-top: 8px; }
.insight-quote figcaption { margin-top: 4px; }
.insight-gloss { margin-top: 5px; line-height: 1.72; }
.insight-seal { margin-top: 14px; padding-top: 12px; font-size: 13px; line-height: 1.85; }

.form-side { padding: 20px 20px 22px; }
.form-head { margin-bottom: 12px; }
.form-head h3 { font-size: 21px; }
.field { margin-bottom: 10px; }
.form-side .bazi-note { margin-top: 12px; padding-top: 10px; }

.privacy-strip { margin-top: 16px; }

@media (max-width: 900px) {
  .page-hero-bazi { padding-top: 86px; padding-bottom: 16px; }
  .insight-side { padding: 20px 16px 20px; }
  .insight-quote { margin-bottom: 11px; }
  .form-side { padding: 16px 16px 18px; }
  .bazi-main { padding-bottom: 30px; }
}

/* 引文改双栏：用满左栏宽度，纵向高度约减半 */
.insight-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 26px;
  align-content: start;
}
.insight-side > * { max-width: none; }
.insight-kicker,
.insight-title,
.insight-lede,
.insight-seal { grid-column: 1 / -1; }
.insight-quote { margin-bottom: 14px; }

@media (max-width: 900px) {
  .insight-side { grid-template-columns: 1fr; }
}

/* 顶部留白压缩：内容页区块与命理页首屏 */
#methods, #seasons { padding-top: 34px; }
.page-hero-bazi { padding-top: 34px; }
@media (max-width: 900px) {
  #methods, #seasons { padding-top: 28px; }
  .page-hero-bazi { padding-top: 28px; }
}

/* =========================================================
   穴位解剖图：位图适配容器 + 三项之间明显隔断
   （原先容器按 SVG 尺寸 56×72 设定，位图 78×104 会溢出叠在一起）
   ========================================================= */
.acu-list { gap: 0; margin: 14px 0 0; }

.acu-item {
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.acu-item:first-child { border-top: 0; padding-top: 8px; }
.acu-item:last-child { padding-bottom: 8px; }

.acu-fig {
  box-sizing: border-box;
  width: 92px;
  height: 124px;
  padding: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 22px -18px rgba(33, 29, 24, 0.55);
}

.acu-fig img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 560px) {
  .acu-item { grid-template-columns: 80px minmax(0, 1fr); gap: 12px; }
  .acu-fig { width: 80px; height: 108px; }
}
