/*
Theme Name: Astra Child - MetaSite
Description: ufate.ai 版式复刻 v2 · 去AI化：编号行、无渐变、无毛玻璃
Template: astra
Version: 1.2.5
*/

/* ===== 品牌字体（乐米简篆体 + Gilda Display，自托管） ===== */
@font-face {
  font-family: 'LemiZhuan';
  src: url('assets/fonts/brand/LemiZhuan.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Gilda Display';
  src: url('assets/fonts/brand/GildaDisplay-Regular.woff2') format('woff2');
  font-display: swap;
}
/* ===== 全局 ===== */
:root {
  --paper: #fbfaf6;
  --paper-soft: #f5f0e8;
  --ink: #1a1a1a;
  --ink-2: #4a4a4a;
  --ink-3: #8c8c8c;
  --gold: #A67C00;
  --gold-deep: #8A6500;
  --gold-soft: rgba(166,124,0,.35);
  --line: rgba(0,0,0,.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Serif SC", "STSong", "SimSun", serif;
  font-size: 16px;
  line-height: 1.8;
}

.serif { font-family: "Noto Serif SC","Songti SC","STSong",serif; }
/* 小标题：无衬线粗体（现代排版层次） */
.ms-body h3.serif, .row h3.serif, .ms-unlock h3.serif, .ms-modal-box h3.serif, .tool h4.serif, .ms-history h4 { font-family: "PingFang SC","Microsoft YaHei",sans-serif; font-weight: 700; }
a { color: inherit; text-decoration: none; }

/* ===== 导航：悬浮胶囊白条（ufate 同款层次感） ===== */
.nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 8px 0 24px;
  height: 68px; display: flex; align-items: center; gap: 30px;
  background: rgba(251, 250, 246, .92); border: 1px solid var(--line);
  border-radius: 999px; box-shadow: 0 4px 18px rgba(96, 74, 22, .10);
}
.logo { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.logo svg { width: 26px; height: 26px; flex: none; }
.logo .name { font-family: "Gilda Display","LemiZhuan","Noto Serif SC","Songti SC",serif; font-size: 21px; font-weight: 700; letter-spacing: .04em; color: var(--ink); }
.menu { display: flex; gap: 38px; margin-left: auto; font-size: 17px; font-family: "Gilda Display","LemiZhuan","Noto Serif SC","Songti SC",serif; color: var(--ink); font-weight: 400; letter-spacing: .02em; }
.menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: nowrap; }
.menu li { display: block; }
.menu a { white-space: nowrap; position: relative; padding-bottom: 3px; }
.menu a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold); transition: width .25s ease; }
.menu a:hover { color: var(--gold); }
.menu a:hover::after { width: 100%; }
.lang {
  font-size: 13px; color: var(--ink-3); white-space: nowrap;
  background: var(--paper-soft); border-radius: 999px; padding: 6px 14px;
}
.lang a:hover { color: var(--gold); }
.lang b { color: var(--ink); font-weight: 500; }
.nav-cta {
  font-family: "Gilda Display","LemiZhuan","Noto Serif SC","Songti SC",serif;
  font-size: 16px;
  background: var(--gold); color: #fff;
  padding: 10px 20px; font-size: 13px; border-radius: 999px; white-space: nowrap;
  margin-right: 6px; transition: background .2s ease;
}
.nav-cta:hover { background: var(--gold-deep); }

/* ===== Hero：整幅水墨背景图（八卦晕染融入纸面 + 底部水墨山），文字直接排印其上 ===== */
.hero { position: relative; background: var(--paper-soft); overflow: hidden; min-height: 700px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% top; display: block; }
.hero-inner {
  max-width: 1120px; margin: 0 auto; padding: 140px 24px 110px;
  position: relative; z-index: 2;
}
.hero-tag { color: var(--gold-deep); font-size: 14px; margin-bottom: 18px; }
.hero h1 { font-weight: 400;
  font-size: 52px; line-height: 1.3; font-weight: 600;
  letter-spacing: .02em; margin-bottom: 22px; max-width: 620px;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { color: var(--ink-2); font-size: 15.5px; max-width: 440px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 22px; align-items: center; }
.btn-primary {
  background: var(--gold); color: #fff;
  padding: 11px 26px; font-size: 14px; border-radius: 4px;
}
.btn-primary:hover { background: var(--gold-deep); }
.btn-ghost { color: var(--ink-2); font-size: 14px; border-bottom: 1px solid var(--gold-soft); padding-bottom: 2px; }
.hero-note { margin-top: 30px; font-size: 12px; color: var(--ink-3); }

@media (max-width: 1100px) { .hero { min-height: 580px; } }

/* 博客瀑布流区：米色底 */
.blogsec { background: var(--paper-soft); padding: 70px 0 70px; margin-top: 0; }
.blogsec .sec-head { margin-bottom: 26px; }

/* ===== 产品：ufate 式编号大行，非卡片 ===== */
.products { padding: 70px 0 30px; }
.sec-head { max-width: 1120px; margin: 0 auto 20px; padding: 0 24px; }
.sec-head h2 { font-size: 36px; font-weight: 400; letter-spacing: .02em; }
.sec-head .sub { color: var(--ink-3); font-size: 14px; margin-top: 6px; }

.rows { max-width: 1120px; margin: 0 auto; padding: 0 24px; border-top: 1px solid var(--line); }
.row {
  display: flex; align-items: center; gap: 36px;
  padding: 26px 8px; border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.row:hover { background: var(--paper-soft); }
.row .num {
  font-family: "Gilda Display","LemiZhuan","Noto Serif SC","Songti SC",serif; font-size: 44px; font-weight: 600;
  color: var(--gold-soft); line-height: 1; width: 72px; flex: none;
}
.row .body { flex: 1; min-width: 0; }
.row h3 { font-size: 18px; font-weight: 600; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.row h3 .mark { font-size: 11px; font-weight: 400; color: var(--gold); border: 1px solid var(--gold-soft); padding: 1px 7px; border-radius: 3px; white-space: nowrap; }
.row h3 .mark.top { color: var(--ink); border-color: var(--ink-3); }
.row .en-title { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.row .desc { color: var(--ink-2); font-size: 13.5px; margin-top: 8px; max-width: 640px; }
.row .go {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}
.row .go i { display: block; width: 8px; height: 8px; border-top: 1.5px solid var(--gold-deep); border-right: 1.5px solid var(--gold-deep); transform: rotate(45deg) translate(-1px, 1px); transition: border-color .2s ease; }
.row:hover { background: var(--paper-soft); }
.row:hover .go { background: var(--gold); border-color: var(--gold); }
.row:hover .go i { border-color: #fff; }

/* ===== 免费工具：两栏纯文字，无盒子 ===== */
.tools {
  max-width: 1120px; margin: 56px auto 0; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
}
.tool { border-top: 2px solid var(--gold-soft); padding-top: 18px; }
.tool h4 { font-size: 16px; font-weight: 600; }
.tool h4 .free { font-size: 12px; color: var(--gold); font-weight: 400; margin-left: 8px; }
.tool p { color: var(--ink-2); font-size: 13.5px; margin-top: 6px; }
.tool .go { display: inline-block; margin-top: 10px; color: var(--gold-deep); font-size: 13px; }
.tool .go::after { content: " →"; }

/* ===== 示例问题区 ===== */
.asks { padding: 26px 0 0; }
.ask-links { max-width: 1120px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.ask {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 8px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 14.5px;
  transition: background .15s;
}
.ask:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 32px; }
.ask:nth-child(even) { padding-left: 32px; }
.ask:hover { background: var(--paper-soft); color: var(--ink); }
.ask span { color: var(--gold-soft); transition: color .15s; }
.ask:hover span { color: var(--gold); }

/* ===== 子页页头 + 表单 ===== */
.page-hero { max-width: 1120px; margin: 0 auto; padding: 130px 24px 26px; }
.ph-tag { color: var(--gold-deep); font-size: 13px; letter-spacing: .06em; margin-bottom: 12px; }
.page.hero h1 { font-weight: 400; font-size: 44px; line-height: 1.3; font-weight: 600; letter-spacing: .02em; }
.ph-sub { color: var(--ink-2); font-size: 16px; margin-top: 12px; max-width: 560px; }
.page-body { max-width: 1120px; margin: 0 auto; padding: 0 24px 40px; }

.ms-form { margin-top: 34px; max-width: 900px; margin-left: auto; margin-right: auto; }
.ms-label, .ms-field label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 8px; }
.ms-input-row { position: relative; max-width: 900px; }
.ms-q {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  padding: 14px 16px 26px; font-size: 16px; font-family: inherit; color: var(--ink);
  resize: none; line-height: 1.6; outline: none; transition: border-color .2s;
}
.ms-q:focus { border-color: var(--gold-soft); }
.ms-count { position: absolute; right: 14px; bottom: 10px; font-size: 12px; color: var(--ink-3); }
.ms-btn {
  display: inline-block; margin-top: 18px; background: var(--gold); color: #fff; border: none; cursor: pointer;
  padding: 12px 26px; font-size: 14px; border-radius: 999px; font-family: inherit; transition: background .2s;
}
.ms-btn:hover { background: var(--gold-deep); }
.ms-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; max-width: 640px; }
.ms-field input, .ms-field select {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  padding: 11px 14px; font-size: 14px; font-family: inherit; color: var(--ink); outline: none;
}
.ms-field input:focus, .ms-field select:focus { border-color: var(--gold-soft); }
.ms-result { margin-top: 28px; max-width: 640px; }
.ms-done { font-size: 13px; color: var(--gold-deep); margin-bottom: 14px; }
.ms-pan { border: 1px solid var(--gold-soft); border-radius: 14px; background: #faf7f0; padding: 30px; }
.ms-pan-time { font-size: 13px; color: var(--ink-3); margin-bottom: 14px; }
.ms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.ms-cell { background: var(--paper); padding: 30px 14px; text-align: center; }
.ms-cell b { display: block; font-size: 17px; color: var(--ink); font-weight: 600; }
.ms-cell span { font-size: 20px; color: var(--gold); font-family: "Noto Serif SC","Songti SC","STSong",serif; font-weight: 600; }
.ms-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.ms-pillar { background: var(--paper-soft); padding: 20px 10px; text-align: center; }
.ms-pillar b { display: block; font-size: 12px; color: var(--ink-3); font-weight: 500; margin-bottom: 6px; }
.ms-pillar span { font-size: 22px; font-family: "Gilda Display","LemiZhuan","Noto Serif SC","Songti SC",serif; color: var(--ink); font-weight: 600; }
.ms-history { margin-top: 34px; max-width: 640px; }
.ms-history h4 { font-size: 14px; color: var(--ink); font-weight: 600; margin-bottom: 10px; }
.ms-history ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ms-history li { padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); display: flex; justify-content: space-between; gap: 16px; }
.ms-history li em { font-style: normal; color: var(--ink-3); font-size: 12px; white-space: nowrap; }
.ms-history li.ms-empty { color: var(--ink-3); }

/* ===== 在线排盘区（表单 + 四柱结果 + 五行日主卡） ===== */
.pansec { background: var(--paper); padding: 70px 0 60px; border-bottom: 1px solid var(--line); }
.pansec .sec-head { margin-bottom: 30px; }
.ms-pan-form {
  display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap;
  max-width: 760px; margin: 0 auto;
}
.ms-pan-field { flex: 1; min-width: 200px; }
.ms-pan-field label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 8px; }
.ms-pan-field input, .ms-pan-field select {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  padding: 12px 14px; font-size: 14px; font-family: inherit; color: var(--ink); outline: none;
}
/* 下拉控件：完全自绘渲染（原生 select 在 Windows 会裁字） */
.ms-pan-field select, .ms-field select, .woocommerce form .form-row select {
  -webkit-appearance: none; appearance: none;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  min-height: 46px; height: 46px; line-height: 1.4;
  padding: 10px 40px 10px 14px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23A67C00' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.ms-pan-field input:focus, .ms-pan-field select:focus { border-color: var(--gold-soft); }
.ms-pan-form .ms-btn { margin-top: 0; }
.ms-pan-result { max-width: 760px; margin: 34px auto 0; border: 1px solid var(--gold-soft); border-radius: 14px; background: #faf7f0; padding: 26px 28px; }
.ms-pan-cap { font-size: 13px; color: var(--gold-deep); margin-bottom: 14px; }
.ms-pillars2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ms-pan-daymaster { margin-top: 22px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.ms-pan-daymaster .cap { font-size: 13px; color: var(--ink-2); }
.ms-pan-daymaster .dm { font-family: "Gilda Display","LemiZhuan","Noto Serif SC","Songti SC",serif; font-size: 38px; color: var(--gold); font-weight: 600; letter-spacing: .05em; }
.ms-pan-note { margin-top: 14px; font-size: 12px; color: var(--ink-3); }
.wx-cards {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  max-width: 1120px; margin: 44px auto 0;
}
.wx-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 22px 18px 20px; transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.wx-card .wx-char {
  display: block; font-family: "Gilda Display","LemiZhuan","Noto Serif SC","Songti SC",serif;
  font-size: 44px; line-height: 1; color: var(--ink); font-weight: 600;
}
.wx-card .wx-sub { display: block; margin-top: 10px; font-size: 11px; letter-spacing: .06em; color: var(--gold-deep); text-transform: uppercase; }
.wx-card p { font-size: 13px; color: var(--ink-2); line-height: 1.75; margin-top: 12px; }
.wx-card.active {
  border-color: var(--gold); background: #FBF8EF;
  box-shadow: 0 8px 24px rgba(166, 124, 0, .12);
}
.wx-card.active .wx-char { color: var(--gold); }
@media (max-width: 1100px) { .wx-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .wx-cards { grid-template-columns: repeat(2, 1fr); } .ms-pillars2 { grid-template-columns: repeat(2, 1fr); } }

/* ===== 博客卡片网格（masterseanchan 式，3 列等宽等高） ===== */
.ms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1120px; margin: 0 auto; }
.ms-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; transition: box-shadow .2s ease, transform .2s ease;
}
.ms-card:hover { box-shadow: 0 10px 28px rgba(96, 74, 22, .13); transform: translateY(-3px); }
.ms-thumb { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--paper-soft); }
.ms-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ms-thumb .ms-noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.ms-thumb .ms-noimg svg { width: 96px; height: 96px; opacity: .4; }
.ms-play {
  position: absolute; inset: 0; margin: auto; width: 54px; height: 54px;
  border-radius: 50%; background: rgba(255, 255, 255, .92);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
  display: flex; align-items: center; justify-content: center;
}
.ms-play::after { content: ""; border-left: 15px solid var(--gold); border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 5px; }
.ms-card.has-video .ms-thumb::after { content: ""; position: absolute; inset: 0; background: rgba(34, 32, 27, .18); }
.ms-card.has-video .ms-play { z-index: 2; }
.ms-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 16px; }
.ms-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.ms-tag { font-style: normal; font-size: 11px; color: var(--gold-deep); border: 1px solid var(--gold-soft); background: #FBF8EF; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.ms-tag-gold { color: #fff; background: var(--gold); border-color: var(--gold); }
.ms-body h3 { font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.55; margin: 0; }
.ms-body p { font-size: 13.5px; color: var(--ink-2); margin-top: 8px; line-height: 1.7; flex: 1; }
.ms-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.ms-foot .date { font-size: 12px; color: var(--ink-3); }
.ms-circle {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold-soft);
  display: flex; align-items: center; justify-content: center; flex: none;
  transition: background .2s ease, border-color .2s ease;
}
.ms-circle i { display: block; width: 7px; height: 7px; border-top: 1.5px solid var(--gold-deep); border-right: 1.5px solid var(--gold-deep); transform: rotate(45deg) translate(-1px, 1px); transition: border-color .2s ease; }
.ms-card:hover .ms-circle { background: var(--gold); border-color: var(--gold); }
.ms-card:hover .ms-circle i { border-color: #fff; }
@media (max-width: 1100px) { .ms-grid { grid-template-columns: repeat(2, 1fr); } }

.ms-price { font-size: 16px; color: var(--gold-deep); font-weight: 600; }

/* ===== 解锁报告卡（产品页内购买） ===== */
.ms-unlock {
  max-width: 760px; margin: 40px auto 0; padding: 26px 28px;
  border: 1px solid var(--gold); border-radius: 14px; background: #faf7f0;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.ms-unlock-info { flex: 1; min-width: 260px; }
.ms-unlock-info h3 { font-size: 20px; font-weight: 600; color: var(--ink); margin: 0 0 8px; }
.ms-unlock-info p { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.ms-unlock-meta { font-size: 12px; color: var(--ink-3); display: block; margin-top: 8px; }
.ms-unlock-buy { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.ms-unlock-buy .ms-price { font-size: 22px; }
.ms-unlock-buy .btn-primary { display: inline-block; }
@media (max-width: 760px) {
  .ms-unlock { flex-direction: column; align-items: flex-start; }
  .ms-unlock-buy { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
}

/* ===== 结账页（ufate 式竖排单列收银，米金风格，经典模板） ===== */
.woocommerce-checkout form.checkout.woocommerce-checkout {
  max-width: 640px; margin: 0 auto;
}
.woocommerce-checkout form.checkout .col2-set, .woocommerce-checkout form.checkout .col-1, .woocommerce-checkout form.checkout .col-2 {
  float: none !important; width: auto !important;
}
.woocommerce-checkout form.checkout #order_review, .woocommerce-checkout form.checkout .woocommerce-checkout-review-order {
  float: none !important; width: auto !important;
}
.woocommerce-checkout .woocommerce-billing-fields h3 { display: block;
  font-family: "Gilda Display","LemiZhuan","Noto Serif SC","Songti SC",serif; font-size: 20px; font-weight: 600; color: var(--ink); margin: 0 0 14px;
}
.woocommerce form .form-row label { font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,
.woocommerce form .form-row select, .select2-container--default .select2-selection--single {
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  padding: 12px 14px; font-size: 14px; height: auto; line-height: 1.5; color: var(--ink);
}
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row select:focus { border-color: var(--gold-soft); outline: none; }
.select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 1.5; color: var(--ink); }
#order_review, .woocommerce-checkout-review-order {
  border: 1px solid var(--gold-soft) !important; border-radius: 14px !important; background: #faf7f0 !important;
  padding: 24px !important;
}
.woocommerce-checkout-review-order-table { border: none; }
.woocommerce-checkout-review-order-table thead { display: none; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td {
  border: none !important; padding: 10px 0; font-size: 13.5px; color: var(--ink-2);
}
.woocommerce-checkout-review-order-table .product-name { font-size: 14.5px; color: var(--ink); font-weight: 600; }
.woocommerce-checkout-review-order-table .order-total .amount { color: var(--gold-deep); font-size: 20px; font-weight: 700; }
#payment { background: var(--paper-soft) !important; border-radius: 12px !important; }
#payment ul.payment_methods { border-bottom: 1px solid var(--line); padding: 12px; }
#payment div.payment_box { background: #fff; border: 1px solid var(--line); border-radius: 10px; }
#place_order {
  background: var(--gold) !important; color: #fff !important; border: none !important;
  border-radius: 999px !important; padding: 14px 30px !important; font-size: 15px !important;
  width: 100%; letter-spacing: .04em; font-weight: 600;
}
#place_order:hover { background: var(--gold-deep) !important; }
.woocommerce .woocommerce-info, .woocommerce .woocommerce-message, .woocommerce .woocommerce-error {
  border-color: var(--gold-soft); background: var(--paper-soft); border-radius: 10px;
}
.checkout-note { max-width: 1000px; margin: 0 auto 24px; font-size: 13px; color: var(--ink-3); }
.woocommerce-checkout .woocommerce-form-coupon { display: none; }
@media (max-width: 900px) { .woocommerce-checkout form.checkout.woocommerce-checkout { grid-template-columns: 1fr; } }

/* ===== 解锁卡弹窗（表单提交后弹出） ===== */
.ms-modal-mask {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(34, 32, 27, .5);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.ms-modal-mask[hidden] { display: none !important; }
.ms-modal-box {
  position: relative; width: 100%; max-width: 560px;
  background: var(--paper); border-radius: 16px; padding: 28px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .3);
  animation: msPop .25s ease;
}
@keyframes msPop { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.ms-modal-x {
  position: absolute; top: 12px; right: 14px;
  background: none; border: none; font-size: 22px; color: var(--ink-3);
  cursor: pointer; line-height: 1; padding: 4px;
}
.ms-modal-x:hover { color: var(--gold); }
.ms-modal-box .ms-unlock { margin: 0; max-width: none; }

/* ===== 页脚 ===== */
.footer {
  margin-top: 110px; border-top: 1px solid var(--line);
  padding: 40px 0 56px; background: var(--paper);
}
.footer-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center;
  color: var(--ink-3); font-size: 15px;
}
.footer-inner ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 34px; align-items: center; }
.footer-inner li { display: block; }
.footer-inner a { white-space: nowrap; }
.footer-inner a:hover { color: var(--gold); }
.copyright { margin-left: auto; font-size: 14px; }

@media (max-width: 900px) {
  .hero-inner { padding: 70px 24px 76px; }
  .hero { min-height: 480px; }
  .hero-bg img { object-position: 70% top; }
  .rows .row { flex-wrap: wrap; gap: 14px; }
  .row .num { width: auto; font-size: 36px; }
  .row .go { margin-left: auto; }
  .tools { grid-template-columns: 1fr; gap: 30px; }
  .ms-grid { grid-template-columns: 1fr; }
  .ask-links { grid-template-columns: 1fr; }
  .ask:nth-child(odd) { border-right: none; padding-right: 8px; }
  .ask:nth-child(even) { padding-left: 8px; }
  .ms-fields { grid-template-columns: 1fr; }
  .menu, .lang { display: none; }
  .nav { padding-top: 10px; }
  .nav-inner { margin: 0 12px; padding: 0 6px 0 16px; height: 52px; gap: 12px; }
  .logo .name { font-size: 16px; }
  .nav-cta { margin-left: auto; margin-right: 4px; padding: 8px 14px; font-size: 12px; }
}


/* ===== 内页（Astra 内容区）协调 ===== */
body {
  color: var(--ink); background: var(--paper);
}
body:not(.home) .site-content { padding: 56px 0 30px; }
body:not(.home) h1.entry-title,
body:not(.home) h2.entry-title {
  font-family: "Gilda Display","LemiZhuan","Noto Serif SC","Songti SC",serif;
  font-size: 38px; font-weight: 600; color: var(--ink);
  letter-spacing: .02em; margin-bottom: 18px;
}
body:not(.home) .entry-content { font-size: 16px; color: var(--ink); }
body:not(.home) .entry-content h2,
body:not(.home) .entry-content h3 {
  font-family: "Gilda Display","LemiZhuan","Noto Serif SC","Songti SC",serif;
  font-weight: 600; color: var(--ink);
}
body:not(.home) .entry-content a { color: var(--gold-deep); }
body:not(.home) .entry-content a:hover { color: var(--gold); }
body:not(.home) .ast-container { max-width: 1120px; }
/* 覆盖 Astra 的 flex 容器：全站无侧栏，桌面端 flex row 会把 hero/products 挤成两栏 */
#content.site-content > .ast-container { display: block; }
#order_review_heading { display: none !important; }

/* ===== 长文案详情页 .doc-*（产品解读/政策/知识统一版式） ===== */
body:not(.home) .entry-content .doc,
.doc { max-width: 960px; margin: 0 auto; color: var(--ink); }
.doc-head { padding: 6px 0 34px; border-bottom: 1px solid var(--gold-soft); margin-bottom: 34px; }
.doc-kicker { font-family: "Gilda Display",serif; font-size: 12px; letter-spacing: .28em; color: var(--gold); margin-bottom: 14px; }
.doc-title { font-family: "Gilda Display","LemiZhuan","Noto Serif SC","Songti SC",serif; font-size: 40px; line-height: 1.35; font-weight: 600; letter-spacing: .01em; margin: 0 0 14px; }
.doc-sub { font-size: 21px; color: var(--ink-2); line-height: 1.6; margin: 0 0 14px; font-weight: 400; }
.doc-ground { display: inline-block; font-size: 13px; color: var(--gold-deep); letter-spacing: .05em; padding: 5px 14px; border: 1px solid var(--gold-soft); border-radius: 3px; }
.doc-p { font-size: 15.5px; line-height: 2; color: var(--ink-2); margin: 0 0 12px; }
.doc-sec { margin: 44px 0 0; }
.doc-sec-h { font-family: "Gilda Display","LemiZhuan","Noto Serif SC","Songti SC",serif; font-size: 27px; font-weight: 600; line-height: 1.4; margin: 0 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.doc-lead { font-size: 15.5px; line-height: 2; color: var(--ink-2); margin: 0 0 20px; }
.doc-h3 { font-family: "PingFang SC","Microsoft YaHei",sans-serif; font-size: 18px; font-weight: 700; color: var(--ink); margin: 26px 0 10px; }
.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 4px 0 8px; }
.doc-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px 24px; }
.doc-card h3 { font-family: "PingFang SC","Microsoft YaHei",sans-serif; font-size: 16px; font-weight: 700; color: var(--gold-deep); margin: 0 0 9px; line-height: 1.5; }
.doc-card p { font-size: 14.5px; line-height: 1.9; color: var(--ink-2); margin: 0; }
.doc-list { list-style: none; margin: 4px 0; padding: 0; }
.doc-list li { position: relative; padding: 11px 0 11px 22px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.85; color: var(--ink-2); }
.doc-list li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 6px; height: 6px; border: 1px solid var(--gold); border-radius: 50%; }
.doc { counter-reset: docstep; }
.doc-steps { list-style: none; counter-reset: none; margin: 4px 0; padding: 0; }
.doc-steps li { counter-increment: docstep; position: relative; padding: 12px 0 12px 42px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.doc-steps li::before { content: counter(docstep, decimal-leading-zero); position: absolute; left: 0; top: 13px; font-family: "Gilda Display",serif; font-size: 15px; color: var(--gold); }
.doc-note { margin: 40px 0 0; padding: 24px 28px; background: var(--paper-soft); border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; }
.doc-note h3 { font-family: "PingFang SC","Microsoft YaHei",sans-serif; font-size: 15px; font-weight: 700; color: var(--gold-deep); margin: 0 0 8px; }
.doc-note p { font-size: 14px; line-height: 1.9; color: var(--ink-2); margin: 0 0 6px; }
.doc-faq { border-top: 1px solid var(--line); }
.doc-faq-item { border-bottom: 1px solid var(--line); }
.doc-faq-q { font-family: "PingFang SC","Microsoft YaHei",sans-serif; font-size: 16px; font-weight: 700; color: var(--ink); padding: 18px 0; margin: 0; line-height: 1.6; }
.doc-faq-a { padding: 0 0 18px; }
.doc-faq-a p { font-size: 15px; line-height: 1.95; color: var(--ink-2); margin: 0; }
@media (max-width: 720px) {
  .doc-title { font-size: 30px; }
  .doc-sub { font-size: 18px; }
  .doc-sec-h { font-size: 23px; }
  .doc-grid { grid-template-columns: 1fr; }
}

/* ===== 产品详情页 .pd-*（图文融合详情，米白+金） ===== */
.pd { max-width: 1000px; margin: 0 auto; padding: 0 0 80px; color: var(--ink); }

/* 面包屑 */
.pd-crumb { display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--ink-3); padding: 22px 0 18px; letter-spacing: .02em; }
.pd-crumb a { color: var(--gold-deep); text-decoration: none; }
.pd-crumb a:hover { text-decoration: underline; }
.pd-crumb span { color: #c9c2b6; }

/* Hero：整幅插图 + 叠加标题 */
.pd-hero { position: relative; height: 420px; border-radius: 8px; overflow: hidden; background: var(--paper-soft); }
.pd-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.pd-hero-veil { position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(251,250,246,.94) 0%, rgba(251,250,246,.78) 42%, rgba(251,250,246,.10) 78%, rgba(251,250,246,.02) 100%); }
.pd-hero-in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center; padding: 0 56px; }
.pd-kicker { font-family: "Gilda Display",serif; font-size: 12px; letter-spacing: .28em; color: var(--gold); margin-bottom: 18px; text-transform: uppercase; }
.pd-title { font-family: "Gilda Display","LemiZhuan","Noto Serif SC","Songti SC",serif;
  font-size: 48px; line-height: 1.25; font-weight: 600; letter-spacing: .01em; margin: 0 0 16px; color: var(--ink); }
.pd-sub { font-size: 19px; color: var(--ink-2); line-height: 1.6; margin: 0 0 22px; font-weight: 400; }
.pd-tag { display: inline-block; font-size: 13px; letter-spacing: .06em; color: var(--gold-deep);
  padding: 6px 15px; border: 1px solid var(--gold-soft); border-radius: 3px; background: rgba(255,255,255,.7); }
.pd-tag.star { background: var(--gold); color: #fff; border-color: var(--gold); }
.pd-tag.top { background: var(--gold-deep); color: #fff; border-color: var(--gold-deep); }

/* 速览条 */
.pd-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0 0 46px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.pd-fact { padding: 22px 26px; display: flex; flex-direction: column; gap: 9px; }
.pd-fact + .pd-fact { border-left: 1px solid var(--line); }
.pd-fact-k { font-size: 12px; letter-spacing: .14em; color: var(--gold); }
.pd-fact-v { font-size: 18px; color: var(--ink); }

/* 正文 */
.pd-main { padding: 0 4px; }
.pd-intro { font-size: 18px; line-height: 1.95; color: var(--ink-2); margin: 0 0 26px; font-weight: 400; }
.pd-rule { width: 56px; height: 2px; background: var(--gold); margin: 0 0 40px; }
.pd-body .doc { max-width: none; }

/* 购买区 */
.pd-buy-wrap { margin: 64px 0 0; padding: 40px 42px; border: 1px solid var(--gold-soft);
  border-radius: 10px; background: linear-gradient(180deg, #fff 0%, var(--paper-soft) 100%); text-align: center; }
.pd-buy-kicker { font-family: "Gilda Display",serif; font-size: 12px; letter-spacing: .26em; color: var(--gold); text-transform: uppercase; }
.pd-buy-title { font-size: 32px; font-weight: 600; margin: 16px 0 12px; color: var(--ink); }
.pd-buy-sub { font-size: 15px; color: var(--ink-2); line-height: 1.8; margin: 0 0 30px; }
.pd-buy-wrap .ms-unlock { margin: 0 auto; max-width: 680px; }

/* 相关产品 */
.pd-rel { margin: 72px 0 0; }
.pd-rel-head { margin-bottom: 26px; }
.pd-rel-title { font-size: 30px; font-weight: 600; margin: 0 0 8px; }
.pd-rel-head p { font-size: 15px; color: var(--ink-2); margin: 0; }
.pd-rel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pd-rel-card { display: flex; align-items: center; gap: 16px; padding: 14px; border: 1px solid var(--line);
  border-radius: 9px; background: #fff; text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.pd-rel-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(166,124,0,.08); }
.pd-rel-thumb { flex: 0 0 78px; height: 62px; border-radius: 6px; overflow: hidden; background: var(--paper-soft); }
.pd-rel-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-rel-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.pd-rel-name { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.pd-rel-sub { font-size: 12.5px; color: var(--ink-3); line-height: 1.5;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-rel-arrow { font-size: 22px; color: var(--gold); padding: 0 4px; }
.pd-back { display: inline-block; margin: 34px 0 0; font-size: 14px; color: var(--gold-deep); text-decoration: none; }
.pd-back:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .pd-hero { height: 360px; }
  .pd-hero-in { padding: 0 24px; }
  .pd-title { font-size: 32px; }
  .pd-sub { font-size: 16px; }
  .pd-facts { grid-template-columns: 1fr; }
  .pd-fact + .pd-fact { border-left: none; border-top: 1px solid var(--line); }
  .pd-buy-wrap { padding: 28px 20px; }
  .pd-buy-title { font-size: 25px; }
  .pd-rel-grid { grid-template-columns: 1fr; }
}

/* 详情页去掉统一 page-hero 后的间距修正 */
body:not(.home) .site-content:has(.pd-page-body) { padding-top: 0; }
.pd-page-body { padding: 0 !important; }

/* ===== 详情页正文 v2（结构统一，仅本产品信息） ===== */
.pd-body-wrap { padding: 6px 4px 0; }
.pd-lead { margin: 0 0 40px; }
.pd-lead p { font-size: 16px; line-height: 2; color: var(--ink-2); margin: 0 0 10px; }
.pd-sec { margin: 46px 0 0; }
.pd-sec-h { font-family: "Gilda Display","LemiZhuan","Noto Serif SC","Songti SC",serif;
  font-size: 28px; font-weight: 600; line-height: 1.4; margin: 0 0 22px;
  padding-bottom: 13px; border-bottom: 1px solid var(--line); color: var(--ink); }
.pd-sec-lead { font-size: 15.5px; line-height: 2; color: var(--ink-2); margin: 0 0 18px; }
.pd-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 2px 0 8px; }
.pd-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px 24px; }
.pd-card h3 { font-family: "Gilda Display","PingFang SC","Microsoft YaHei",sans-serif;
  font-size: 17px; font-weight: 600; color: var(--gold-deep); margin: 0 0 10px; line-height: 1.5; }
.pd-card p { font-size: 14.5px; line-height: 1.9; color: var(--ink-2); margin: 0; }
.pd-list { list-style: none; margin: 2px 0; padding: 0; }
.pd-list li { position: relative; padding: 12px 0 12px 24px; border-bottom: 1px solid var(--line);
  font-size: 15px; line-height: 1.85; color: var(--ink-2); }
.pd-list li::before { content: ""; position: absolute; left: 3px; top: 22px; width: 6px; height: 6px;
  border: 1px solid var(--gold); border-radius: 50%; }
.pd-steps { list-style: none; counter-reset: pdstep; margin: 2px 0; padding: 0; }
.pd-steps li { counter-increment: pdstep; position: relative; padding: 13px 0 13px 44px;
  border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.pd-steps li::before { content: counter(pdstep, decimal-leading-zero); position: absolute; left: 0; top: 14px;
  font-family: "Gilda Display",serif; font-size: 15px; color: var(--gold); }
.pd-note { margin: 0; padding: 24px 28px; background: var(--paper-soft);
  border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; }
.pd-note p { font-size: 14px; line-height: 1.95; color: var(--ink-2); margin: 0 0 6px; }
@media (max-width: 720px) {
  .pd-sec-h { font-size: 23px; }
  .pd-grid { grid-template-columns: 1fr; }
}

/* ===== 详情页 v3：三大卡片块 + 购买入口（覆盖 pd2 同名类） ===== */
.pd-blocks { padding: 6px 2px 0; }
.pd-block { background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 34px 40px 38px; margin: 0 0 22px; box-shadow: 0 2px 18px rgba(28,25,20,.025); }
.pd-block-head { display: flex; align-items: center; gap: 18px; margin: 0 0 26px;
  padding-bottom: 18px; border-bottom: 1px solid var(--gold-soft); }
.pd-block-num { font-size: 34px; line-height: 1; color: var(--gold); letter-spacing: .02em; }
.pd-block-title { font-size: 25px; font-weight: 600; margin: 0; color: var(--ink); line-height: 1.4; }
.pd-block-body .pd-lead { margin: 0 0 24px; }
.pd-block-body .pd-lead p { font-size: 15.5px; line-height: 2; color: var(--ink-2); margin: 0 0 9px; }
.pd-sub-sec { margin: 30px 0 0; }
.pd-sub-sec:first-child { margin-top: 0; }
.pd-sub-h { font-size: 19px; font-weight: 600; color: var(--ink); margin: 0 0 16px; }
.pd-block-body .pd-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; margin: 0; }
.pd-block-body .pd-card { background: var(--paper); border: 1px solid var(--line); border-radius: 9px; padding: 20px 22px; }
.pd-block-body .pd-card h3 { font-family: "Gilda Display","PingFang SC","Microsoft YaHei",sans-serif;
  font-size: 16px; font-weight: 600; color: var(--gold-deep); margin: 0 0 8px; line-height: 1.5; }
.pd-block-body .pd-card p { font-size: 14px; line-height: 1.9; color: var(--ink-2); margin: 0; }
.pd-block-body .pd-sec-lead { font-size: 15px; line-height: 1.95; color: var(--ink-2); margin: 0 0 16px; }
.pd-block-body .pd-list { list-style: none; margin: 0; padding: 0; }
.pd-block-body .pd-list li { position: relative; padding: 11px 0 11px 24px; border-bottom: 1px solid var(--line);
  font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }
.pd-block-body .pd-list li::before { content: ""; position: absolute; left: 3px; top: 21px; width: 6px; height: 6px;
  border: 1px solid var(--gold); border-radius: 50%; }
.pd-block-body .pd-steps { list-style: none; counter-reset: pd3step; margin: 0; padding: 0; }
.pd-block-body .pd-steps li { counter-increment: pd3step; position: relative; padding: 12px 0 12px 44px;
  border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.9; color: var(--ink-2); }
.pd-block-body .pd-steps li::before { content: counter(pd3step, decimal-leading-zero); position: absolute; left: 0; top: 13px;
  font-family: "Gilda Display",serif; font-size: 15px; color: var(--gold); }
.pd-block-body .pd-note { margin: 24px 0 0; padding: 22px 26px; background: var(--paper-soft);
  border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; }
.pd-block-body .pd-note p { font-size: 13.5px; line-height: 1.9; color: var(--ink-2); margin: 0 0 5px; }

/* 购买卡（插在块②与块③之间，金色强调） */
.pd-buy-card { margin: 8px 0 22px; padding: 38px 40px 34px; border: 1px solid var(--gold);
  border-radius: 12px; background: linear-gradient(180deg, #fff 0%, var(--paper-soft) 100%); text-align: center; }
.pd-buy-kicker { font-family: "Gilda Display",serif; font-size: 12px; letter-spacing: .26em; color: var(--gold); text-transform: uppercase; }
.pd-buy-title { font-size: 30px; font-weight: 600; margin: 15px 0 11px; color: var(--ink); }
.pd-buy-sub { font-size: 14.5px; color: var(--ink-2); line-height: 1.8; margin: 0 0 28px; }
.pd-buy-card .ms-unlock { margin: 0 auto; max-width: 660px; }
@media (max-width: 720px) {
  .pd-block { padding: 24px 20px 26px; }
  .pd-block-title { font-size: 21px; }
  .pd-block-body .pd-grid { grid-template-columns: 1fr; }
  .pd-buy-card { padding: 26px 20px; }
  .pd-buy-title { font-size: 24px; }
}
/* ===== 周易铜钱起卦 .ms-zy ===== */
.ms-zy .zy-toss, .ms-zy .ms-result { margin-left: auto; margin-right: auto; }
.ms-zy .zy-toss { margin-top: 28px; max-width: 640px; border: 1px solid var(--gold-soft); border-radius: 14px; background: #faf7f0; padding: 26px 30px; }
.ms-zy .zy-toss-status { font-size: 13px; color: var(--gold-deep); margin-bottom: 16px; letter-spacing: .04em; }
.ms-zy .zy-coins { display: flex; gap: 18px; justify-content: center; margin: 6px 0 16px; }
.ms-zy .zy-coin { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold-deep); background: var(--paper); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600; font-family: "Noto Serif SC","Songti SC",serif; box-shadow: 0 2px 0 var(--gold-soft); }
.ms-zy .zy-coin.zy-spin { animation: zyflip .09s linear infinite; opacity: .75; }
@keyframes zyflip { 0% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(8deg); } 100% { transform: translateY(0) rotate(0); } }
.ms-zy .zy-toss-log { max-height: 190px; overflow-y: auto; }
.ms-zy .zy-trow { display: flex; align-items: baseline; gap: 12px; padding: 5px 2px; border-bottom: 1px dashed var(--line); font-size: 14px; animation: zyrow .3s ease; }
.ms-zy .zy-trow:last-child { border-bottom: none; }
@keyframes zyrow { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.ms-zy .zy-tidx { color: var(--ink-3); font-size: 13px; width: 44px; flex: none; }
.ms-zy .zy-tcoins { color: var(--gold-deep); font-family: "Noto Serif SC","Songti SC",serif; width: 74px; flex: none; letter-spacing: .2em; }
.ms-zy .zy-tval { color: var(--ink-2); width: 30px; flex: none; }
.ms-zy .zy-tlab { color: var(--ink-2); font-size: 13px; }
.ms-zy .zy-mv { color: #B03A2E; font-style: normal; font-weight: 600; }

.ms-zy .ms-result { max-width: 640px; }
.ms-zy .zy-card { border: 1px solid var(--gold-soft); border-radius: 14px; background: #faf7f0; padding: 34px 30px; margin-bottom: 16px; text-align: center; }
.ms-zy .zy-tag { display: inline-block; font-size: 12px; color: var(--gold-deep); border: 1px solid var(--gold-soft); border-radius: 3px; padding: 1px 10px; margin-bottom: 18px; letter-spacing: .08em; }
.ms-zy .zy-hex { display: flex; flex-direction: column-reverse; align-items: center; gap: 9px; margin: 8px 0 20px; }
.ms-zy .zy-line { display: flex; align-items: center; justify-content: center; gap: 10px; position: relative; height: 12px; }
.ms-zy .zy-bar { display: block; width: 148px; height: 11px; background: var(--ink); border-radius: 2px; }
.ms-zy .zy-gap { display: block; width: 26px; flex: none; }
.ms-zy .zy-line.zy-move .zy-bar { background: var(--gold); }
.ms-zy .zy-dot { display: none; position: absolute; right: calc(50% - 112px); width: 8px; height: 8px; border-radius: 50%; background: #B03A2E; }
.ms-zy .zy-line.zy-move .zy-dot { display: block; }
.ms-zy .zy-name { font-size: 30px; font-weight: 700; letter-spacing: .12em; color: var(--ink); }
.ms-zy .zy-sub { font-size: 14px; color: var(--ink-3); margin-top: 4px; }
.ms-zy .zy-classic-k { font-size: 12px; color: var(--gold-deep); letter-spacing: .1em; margin: 20px 0 6px; }
.ms-zy .zy-orig { font-size: 17px; color: var(--ink); line-height: 1.9; white-space: pre-line; }
.ms-zy .zy-trans { font-size: 14px; color: var(--ink-2); margin-top: 10px; line-height: 1.85; white-space: pre-line; text-align: left; }
.ms-zy .zy-note { font-size: 13px; color: var(--ink-3); text-align: center; }
.ms-zy .ms-history { margin-left: auto; margin-right: auto; }
.ms-zy .ms-history li { display: block; text-align: center; }

/* 首页排盘工具：年/月/日 三下拉 */
.ms-pan-d3 { display: flex; gap: 10px; }
.ms-pan-d3 select { flex: 1; min-width: 0; }
