@charset "utf-8";
/* ==========================================================
   子陵传统民俗 · 红金喜庆主题 v2（更炫 / 结果分块卡片 / 正方形导航）
   配色：深红 #c50315 #a30d12，金 #f8c003 #e4b176，米 #fdf6ec
   ========================================================== */

:root{
  --red:        #c50315;
  --red-2:      #a30d12;
  --red-dk:     #7a0508;
  --red-txt:    #b31a1f;
  --gold:       #e4b176;
  --gold-2:     #f8c003;
  --gold-l:     #ffd86b;
  --gold-dk:    #c08a2e;
  --gold-line:  #e8d5b8;
  --gold-line2: #f3e6d2;
  --cream:      #fdf6ec;
  --cream-2:    #fffaf3;
  --cream-3:    #fff3df;
  --text:       #4a3a2c;
  --text-2:     #8b6b4a;
  --text-3:     #a89178;
  --shadow:     0 6px 20px rgba(150, 60, 20, .10);
}

*{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; }

body{
  margin: 0 auto;
  padding: 0 0 26px;
  max-width: 750px;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
  background-color: var(--cream);
  background-image:
    url(images/cream_texture.png),
    linear-gradient(180deg, #fff8ee 0%, var(--cream) 42%, #fbf1e4 100%);
  background-repeat: repeat, no-repeat;
  letter-spacing: .01em;
}

/* ================= 顶部横幅 ================= */
/* ---------- 顶部横幅：图片位（用户自行替换 images/banner1~6.jpg） ---------- */
.top{
  position: relative;
  height: auto;
  line-height: normal;
  margin: 0;
  padding: 0;
  background: none;
  border-bottom: 3px solid var(--gold-2);
  box-shadow: 0 4px 14px rgba(140, 30, 10, .14);
  overflow: hidden;
}
.top a{ display: block; text-decoration: none; }
.top img{
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}
.top strong{ display: none; }

/* ================= 导航：6 个正方形卡片 ================= */
.daohang{
  margin: 26px 0 0;
  padding: 0 12px 6px;
  background: transparent;
  height: auto;
  line-height: normal;
}
.daohang ul{ display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: 0; padding: 0; list-style: none; overflow: visible; }
.daohang ul > li{ width: calc(50% - 5px); }
.daohang li{ float: none; width: auto; margin: 0; padding: 0; }
/* 整格图片：文字已写在图里，这里把 HTML 文字隐藏，保留给读屏与检索 */
.daohang a{
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  padding: 0;
  margin: 0;
  text-indent: -9999px;
  overflow: hidden;
  font-size: 0;
  line-height: 0;
  color: transparent;
  text-decoration: none;
  border: 0;
  border-radius: 14px;
  background-color: #a30d12;
  background-image: url(images/navbig4.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.daohang a::before,
.daohang a::after{ display: none; content: none; }
.daohang a:hover,
.daohang a:active{
  transform: translateY(-2px);
  filter: brightness(1.06);
}

/* ================= 内容卡片 ================= */
.zlbzsm,
.zlbzsm2{
  position: relative;
  margin: 12px 12px 0;
  background: #fff;
  border: 1px solid var(--gold-line2);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.zlbzsm::before,
.zlbzsm2::before{                   /* 顶部金色渐变条 */
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-2), #fff0b8 35%, var(--gold) 65%, var(--gold-2));
  z-index: 2;
}
.zlbzsm dl, .zlbzsm2 dl{ margin: 0; padding: 0; }
.zlbzsm dl dt, .zlbzsm2 dl dt{ margin: 0; }
.zlbzsm dl dd, .zlbzsm2 dl dd{
  padding: 18px 16px 24px;
  margin: 0;
  line-height: 1.9;
}

/* 当前位置条 */
.zlbzsm dl dt,
.zlbzsm2 dl dt{
  font-size: 14px;
  color: #a8541a;
  background: linear-gradient(90deg, var(--cream-3), #fffaf1);
  border: 0;
  border-bottom: 1px solid var(--gold-line2);
  padding: 11px 16px 11px 30px;
  position: relative;
  letter-spacing: .03em;
}
.zlbzsm dl dt::before,
.zlbzsm2 dl dt::before{
  content: "";
  position: absolute;
  left: 13px; top: 50%;
  width: 5px; height: 16px;
  margin-top: -8px;
  background: linear-gradient(180deg, var(--gold-2), var(--red));
  border-radius: 3px;
}

/* ================= 标题 ================= */
h1{
  font-family: "Kaiti SC","KaitiSC","STKaiti","华文楷体","KaiTi","楷体","Songti SC","Noto Serif CJK SC","Noto Serif SC",serif;
  font-size: 28px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .10em;
  color: var(--red-txt);
  text-align: center;
  margin: 6px 0 20px;
  position: relative;
  padding-bottom: 14px;
}
h1::after{
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 130px; height: 7px;
  margin-left: -65px;
  background: url(images/gold_divider.png) center / contain no-repeat;
}
h2{
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 26px 0 14px;
  padding: 9px 16px;
  background: linear-gradient(100deg, var(--red), var(--red-2) 60%, #8d0a11);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(160, 20, 10, .18);
}
h3{
  font-size: 18px;
  font-weight: 700;
  color: #a3121b;
  margin: 18px 0 10px;
}

p{ margin: 11px 0; }
p.center, .center{ text-align: center; }

/* 命主信息块 */
h1 + p{
  background: linear-gradient(180deg, #fffaf1, #fff3e2);
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  padding: 13px 15px;
  color: #6b4b2c;
  font-size: 15.5px;
  line-height: 2;
  box-shadow: inset 0 1px 0 #fff;
}

/* 说明文字 */
p.miaoshu{
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--text-2);
  background: #fff8ee;
  border: 1px solid var(--gold-line2);
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 10px 13px;
  margin: 12px 0;
}

strong{ font-weight: 700; color: #c02418; }
a{ color: var(--red-2); text-decoration: none; }
a:hover{ text-decoration: underline; }
.blue{ color: #1f6f8b; }
.red{ color: var(--red); }
.hei{ color: var(--text); }

/* ================= 大节标题：红金横条 ================= */
.zise,
p.zise{
  position: relative;
  font-size: 18px;
  font-weight: 700;
  color: #ffeec4;
  letter-spacing: .06em;
  background: linear-gradient(100deg, #d81e06 0%, var(--red-2) 55%, #8d0a11 100%);
  border: 0;
  border-radius: 10px;
  padding: 10px 16px 10px 40px;
  margin: 26px 0 14px;
  box-shadow: 0 4px 12px rgba(160, 20, 10, .20), inset 0 1px 0 rgba(255,255,255,.14);
  overflow: hidden;
}
.zise::before,
p.zise::before{
  content: "";
  position: absolute;
  left: 15px; top: 50%;
  width: 11px; height: 11px;
  margin-top: -5.5px;
  background: linear-gradient(135deg, #fff3c4, var(--gold-2));
  transform: rotate(45deg);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(255, 216, 107, .8);
}
.zise::after,
p.zise::after{
  content: "";
  position: absolute;
  right: -40px; top: -60px;
  width: 130px; height: 130px;
  background: radial-gradient(circle, rgba(255, 216, 107, .30), rgba(255,216,107,0) 62%);
  pointer-events: none;
}
.zise strong{ color: #ffeec4; }

/* ================= 结果分块：12 项卡片 ================= */
.zitem,
.yitem,
p.zitem,
p.yitem{
  position: relative;
  background: linear-gradient(180deg, #fffdf8, #fff7ea);
  border: 1px solid var(--gold-line2);
  border-radius: 12px;
  padding: 14px 15px 13px;
  margin: 12px 0;
  box-shadow: 0 2px 8px rgba(160, 90, 30, .06);
  overflow: hidden;
  font-size: 15.5px;
  line-height: 1.9;
  color: #5a4632;
}
.zitem::before,
.yitem::before{                     /* 左上金角 */
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 38px; height: 38px;
  background: linear-gradient(135deg, rgba(248,192,3,.55), rgba(248,192,3,0) 72%);
  border-bottom-right-radius: 16px;
}
.zitem > strong:first-child,
.yitem > strong:first-child{
  position: relative;
  display: block;
  color: #a3121b;
  font-size: 16.5px;
  letter-spacing: .03em;
  padding-left: 18px;
  margin-bottom: 6px;
}
.zitem > strong:first-child::before,
.yitem > strong:first-child::before{
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 9px; height: 9px;
  margin-top: -4.5px;
  background: linear-gradient(135deg, var(--gold-l), var(--gold-dk));
  transform: rotate(45deg);
  border-radius: 2px;
}
.zitem > strong:first-child::after,
.yitem > strong:first-child::after{
  content: "";
  display: block;
  margin-top: 7px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-line), rgba(232,213,184,0));
}
.zitem > strong:first-child + br{ display: none; }
.zitem br, .yitem br{ line-height: 0; }

/* ================= 表单 ================= */
form{ margin: 0; }
input[type="text"], input[type="number"], select, textarea{
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  background: #fffdf9;
  border: 1px solid var(--gold-line);
  border-radius: 9px;
  padding: 8px 10px;
  height: auto;
  line-height: 1.4;
  margin: 4px 2px;
  vertical-align: middle;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .18s, box-shadow .18s;
}
input[type="text"]:focus, select:focus{
  border-color: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(248, 192, 3, .20);
  outline: 0;
}
input[type="radio"]{ margin: 0 4px 0 10px; accent-color: var(--red); }
input[type="submit"], .indexinput{
  position: relative;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #7a2d05;
  background: linear-gradient(180deg, #ffe9b0, #f8c838 52%, #e5a326);
  border: 1px solid #d99a2a;
  border-radius: 12px;
  padding: 12px 36px;
  margin: 10px 0 4px;
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(210, 140, 20, .32), 0 1px 0 rgba(255,255,255,.85) inset;
  transition: transform .18s, box-shadow .18s, filter .18s;
}
input[type="submit"]:hover, .indexinput:hover{
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 8px 22px rgba(210, 140, 20, .40), 0 1px 0 rgba(255,255,255,.85) inset;
}
input[type="submit"]:active{ transform: translateY(1px); }

/* ================= 表格 ================= */
table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 14px 0;
  font-size: 15.5px;
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(160, 90, 30, .06);
}
td, th{ padding: 9px 8px; }
.zlbzsm table, .zlbzsm2 table{
  background: #fff !important;
  border: 1px solid var(--gold-line) !important;
}
.zlbzsm table td, .zlbzsm2 table td{
  background: #fff !important;
  border-bottom: 1px solid var(--gold-line2) !important;
  border-right: 1px solid var(--gold-line2) !important;
  color: var(--text) !important;
}
.zlbzsm table tr:first-child td, .zlbzsm2 table tr:first-child td{
  background: linear-gradient(180deg, #ffe9bd, #ffd98f) !important;
  color: #8a2f0d !important;
  font-weight: 700;
}
.zlbzsm table tr:nth-child(even) td,
.zlbzsm2 table tr:nth-child(even) td{ background: #fffcf6 !important; }
font[color]{ color: inherit !important; }
.zlbzsm font[color="#0033FF"], .zlbzsm2 font[color="#0033FF"],
.zlbzsm font[color=0033FF], .zlbzsm2 font[color=0033FF]{ color: var(--red-2) !important; }

img{ max-width: 100%; height: auto; border: 0; }

/* ================= 大运一览表 ================= */
table.dayun-tb{
  font-size: 13.5px;
  margin: 14px 0 6px;
  table-layout: fixed;
}
table.dayun-tb th{
  background: linear-gradient(180deg, #ffe9bd, #ffd98f) !important;
  color: #8a2f0d !important;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 2px !important;
  white-space: nowrap;
  text-align: center;
}
table.dayun-tb td{
  padding: 8px 2px !important;
  text-align: center;
  font-size: 13px;
}
table.dayun-tb td.tb-no{
  color: #b58a3c;
  font-weight: 700;
  background: #fff8ec !important;
}
table.dayun-tb td.tb-gz{
  color: #c02418;
  font-weight: 700;
  font-family: "Kaiti SC","KaitiSC","STKaiti","华文楷体","KaiTi","楷体","Songti SC","Noto Serif CJK SC","Noto Serif SC",serif;
  font-size: 16px;
  letter-spacing: .02em;
}



p.who{
  background: linear-gradient(180deg, #fffaf1, #fff3e2);
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  padding: 13px 15px;
  color: #6b4b2c;
  font-size: 15.5px;
  line-height: 2;
  margin: 8px 0 10px;
  box-shadow: inset 0 1px 0 #fff;
}

/* ================= 公历/农历选择 ================= */
p.calpick{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 10px 0 8px;
  font-size: 15px;
  color: #8b6b4a;
}
p.calpick .cp-t{ color: #b58a3c; font-weight: 700; margin-right: 2px; }
p.calpick label{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border: 1px solid var(--gold-line);
  border-radius: 20px;
  background: linear-gradient(180deg, #fffdf8, #fff6e8);
  cursor: pointer;
  transition: all .18s;
}
p.calpick label:has(input:checked){
  background: linear-gradient(180deg, #fff0c9, #ffdf9c);
  border-color: var(--gold-dk);
  color: #8a2f0d;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(210, 140, 20, .22);
}
p.calpick label.leap{ font-size: 13.5px; color: #a89178; }
p.calpick input[type=radio], p.calpick input[type=checkbox]{ margin: 0; }
p.calhint{
  text-align: center;
  font-size: 13.5px;
  color: #a89178;
  margin: 6px 0 2px;
}


/* ================= 表单提示 & 性别下拉 ================= */
p.form-tip{
  position: relative;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  color: #a3121b;
  text-align: left;
  background: linear-gradient(90deg, #fff3d2, #fff9ec 70%, #fffdf8);
  border: 1px solid #f0c96a;
  border-left: 4px solid #e0a41c;
  border-radius: 8px;
  padding: 10px 12px 10px 36px;
  margin: 14px 4px 8px;
  box-shadow: 0 2px 8px rgba(200, 150, 40, .12);
}
p.form-tip::before{
  content: "!";
  position: absolute;
  left: 11px; top: 50%;
  width: 18px; height: 18px;
  margin-top: -9px;
  line-height: 18px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #f8c003, #e08800);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(200, 140, 20, .45);
}
select.sexsel{ min-width: 96px; text-align: center; }


/* ================= 结果页导读 ================= */
p.intro{
  background: linear-gradient(180deg, #fff8ea, #fff1d9);
  border: 1px solid var(--gold-line);
  border-left: 5px solid var(--red);
  border-radius: 0 12px 12px 0;
  padding: 13px 15px;
  font-size: 15.5px;
  line-height: 1.95;
  color: #6b4b2c;
  margin: 14px 0 8px;
  box-shadow: 0 2px 8px rgba(160, 90, 30, .06);
}

/* ================= 重新测试按钮 ================= */
p.retest{
  text-align: center;
  margin: 26px 0 8px;
}
p.retest a{
  position: relative;
  display: inline-block;
  min-width: 210px;
  padding: 14px 30px 14px 46px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #7a2d05;
  text-decoration: none;
  background: linear-gradient(180deg, #ffe9b0, #f8c838 52%, #e5a326);
  border: 1px solid #d99a2a;
  border-radius: 30px;
  box-shadow: 0 6px 18px rgba(210, 140, 20, .32), inset 0 1px 0 rgba(255,255,255,.85);
  transition: transform .18s, box-shadow .18s, filter .18s;
}
p.retest a::before{                  /* 循环箭头 */
  content: "↻";
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 19px;
  line-height: 1;
  color: #a5520a;
  transition: transform .35s;
}
p.retest a:hover{
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 9px 22px rgba(210, 140, 20, .42), inset 0 1px 0 rgba(255,255,255,.85);
  text-decoration: none;
}
p.retest a:hover::before{ transform: translateY(-50%) rotate(180deg); }
p.retest a:active{ transform: translateY(1px); }



/* ================= 开运方法（逐条卡片） ================= */
p.ky-lead{
  font-size: 15px;
  color: #7a5a38;
  background: linear-gradient(90deg, var(--cream-3), #fffdf8 85%);
  border-left: 4px solid var(--gold-2);
  border-radius: 0 10px 10px 0;
  padding: 9px 14px;
  margin: 12px 0 14px;
}
.ky-list{
  counter-reset: ky;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 6px;
}
.ky-item{
  counter-increment: ky;
  position: relative;
  background: linear-gradient(180deg, #fffdf8, #fff7ec);
  border: 1px solid var(--gold-line2);
  border-radius: 10px;
  padding: 12px 14px 12px 46px;
  font-size: 15px;
  line-height: 1.95;
  color: #5a4632;
  box-shadow: 0 2px 8px rgba(160, 90, 30, .05);
}
.ky-item::before{
  content: counter(ky);
  position: absolute;
  left: 13px; top: 13px;
  width: 23px; height: 23px;
  line-height: 23px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  color: #7a2d05;
  background: linear-gradient(180deg, #ffe9b0, #f4bd3e);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(200, 140, 20, .35);
}








/* ================= 财运详批：大运列表 ================= */
.cy-list{ margin: 10px 0 6px; }
.cy-item{
  position: relative;
  background: linear-gradient(180deg, #fffdf8, #fff7ec);
  border: 1px solid var(--gold-line2);
  border-left: 4px solid var(--gold-2);
  border-radius: 10px;
  padding: 10px 12px 11px;
  margin: 9px 0;
  box-shadow: 0 2px 7px rgba(160, 90, 30, .05);
}
.cy-no{
  display: inline-block;
  width: 22px; height: 22px;
  line-height: 22px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  color: #7a2d05;
  background: linear-gradient(180deg, #ffe9b0, #f4bd3e);
  border-radius: 50%;
  margin-right: 7px;
  vertical-align: middle;
}
.cy-gz{
  font-family: "Kaiti SC","KaitiSC","STKaiti","华文楷体","KaiTi","楷体","Songti SC","Noto Serif CJK SC","Noto Serif SC",serif;
  font-size: 19px;
  color: var(--red-txt);
  letter-spacing: .04em;
  margin-right: 8px;
}
.cy-meta{ font-size: 12.5px; color: var(--text-3); }
.cy-ss{
  float: right;
  font-style: normal;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff5e2;
  background: linear-gradient(180deg, #d81e06, var(--red-2));
  border-radius: 10px;
  padding: 2px 10px;
}
.cy-b{ margin: 7px 0 0; font-size: 14px; line-height: 1.85; color: #6b563f; }

/* ================= 财运详批：流年网格 ================= */
.cy-years{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 10px 0 6px;
}
.cy-yr{
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--gold-line2);
  background: #fffdf8;
  font-size: 13px;
}
.cy-yr b{ font-size: 14.5px; color: var(--red-txt); }
.cy-yr span{ color: var(--text-2); font-family: "Kaiti SC","KaitiSC","STKaiti","华文楷体","KaiTi","楷体","Songti SC","Noto Serif CJK SC",serif; font-size: 15px; }
.cy-yr i{ font-style: normal; color: var(--text-3); font-size: 12px; }
.cy-yr em{ margin-left: auto; font-style: normal; font-size: 12px; padding: 2px 7px; border-radius: 9px; }
.cy-yr.good{ border-color: #f3c9a0; background: linear-gradient(180deg, #fffaf0, #ffeeD6); }
.cy-yr.good em{ color: #fff; background: linear-gradient(180deg, #e2a326, #c07a12); }
.cy-yr.mid em{ color: #8a5a10; background: #ffecc4; }
.cy-yr.bad{ border-color: #e9d5c2; background: #fbf7f2; }
.cy-yr.bad em{ color: #8d6a52; background: #f0e4d8; }

/* ================= 财运详批：催旺四格 ================= */
.cy-kai{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin: 10px 0 4px;
}
.cy-k{
  padding: 10px 11px;
  border-radius: 10px;
  background: linear-gradient(180deg, #fffdf7, #fff6e8);
  border: 1px solid var(--gold-line2);
}
.cy-k-t{
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: #7a3a05;
  background: linear-gradient(180deg, #ffe9b8, #f6c766);
  border-radius: 5px;
  padding: 2px 9px;
  margin-bottom: 6px;
}
.cy-k p{ margin: 0; font-size: 13px; line-height: 1.8; color: #6b563f; }
@media (max-width: 420px){
  .cy-years, .cy-kai{ grid-template-columns: 1fr; }
  .cy-gz{ font-size: 17.5px; }
  .cy-b{ font-size: 13.5px; }
}


/* 第 7 个导航（财运详批） */



.daohang ul > li:last-child:nth-child(3n+1){ grid-column: 2 / span 1; }

/* ================= 免责声明卡（结果页） ================= */
.disclaimer{
  margin: 14px 0 8px;
  padding: 13px 14px 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fffaf0 0%, #fff0d8 100%);
  border: 1px solid #f2cd96;
  border-left: 5px solid #e0501a;
  box-shadow: 0 3px 12px rgba(190, 110, 20, .12);
}
.disclaimer .dc-hd{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}
.disclaimer .dc-ico{
  flex: 0 0 auto;
  width: 22px; height: 22px;
  line-height: 22px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #ff8a3d, #e23a0c);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(200, 60, 10, .30);
}
.disclaimer .t{
  font-size: 15px;
  letter-spacing: .01em;
  color: #a3310a;
}
.disclaimer p{
  margin: 0;
  font-size: 13.5px;
  line-height: 1.9;
  color: #6b563f;
}
.disclaimer p strong{ color: #b3270c; }
@media (max-width: 420px){
  .disclaimer{ padding: 11px 11px 10px; }
  .disclaimer .t{ font-size: 14px; }
  .disclaimer p{ font-size: 13px; }
}

/* ================= 限时赠送说明卡 ================= */
.gift-card{
  margin: 14px 0 4px;
  padding: 14px 14px 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fffdf6 0%, #fff4e2 100%);
  border: 1px solid #f0d9b0;
  box-shadow: 0 4px 14px rgba(170, 100, 30, .10);
}
.gift-hd{ display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 9px; }
.gift-badge{
  flex: 0 0 auto;
  padding: 4px 11px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #f4542f, #d3130a);
  border-radius: 11px;
  box-shadow: 0 2px 6px rgba(190, 40, 10, .25);
}
.gift-hd b{ font-size: 15.5px; color: #8a2b08; letter-spacing: .01em; }
.gift-lead{
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.85;
  color: #6b563f;
}
.gift-lead em{
  font-style: normal;
  font-weight: 700;
  color: #b3270c;
  padding: 1px 4px;
  background: #fff3cf;
  border-radius: 4px;
}
.gift-row{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px dashed #f0dfc2;
}
.gift-tag{
  flex: 0 0 auto;
  min-width: 96px;
  padding: 4px 9px;
  font-size: 12.5px;
  font-weight: 700;
  color: #7a3a05;
  background: linear-gradient(180deg, #ffe9b8, #f6c766);
  border-radius: 5px;
  text-align: center;
}
.gift-row p{ margin: 0; font-size: 13.5px; line-height: 1.75; color: #6b563f; }
.gift-sum{
  margin: 10px 0 0;
  padding-top: 9px;
  border-top: 1px dashed #f0dfc2;
  font-size: 13.5px;
  line-height: 1.8;
  color: #8a6a48;
}
.gift-sum b{ color: #c02a0c; font-size: 15px; letter-spacing: .02em; }
@media (max-width: 420px){
  .gift-card{ padding: 12px 11px 10px; }
  .gift-hd b{ font-size: 14.5px; }
  .gift-tag{ min-width: 84px; font-size: 12px; }
  .gift-row p, .gift-lead, .gift-sum{ font-size: 13px; }
}

/* ================= 专业优势（独立亮色卡片） ================= */
.pb-adv{
  margin: 14px 0 4px;
  padding: 14px 13px 9px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fffdf7 0%, #fff7e8 100%);
  border: 1px solid #f0dcb8;
  box-shadow: 0 4px 14px rgba(160, 90, 30, .10);
}
.pb-adv .adv-row{
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 2px;
}
.pb-adv .adv-row + .adv-row{ border-top: 1px dashed #f0dfc2; }
.adv-tag{
  position: relative;
  flex: 0 0 auto;
  min-width: 104px;
  margin-top: 0;
  padding: 6px 10px 6px 30px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  background: linear-gradient(180deg, #f4542f, #d3130a);
  border-radius: 5px;
  box-shadow: 0 3px 8px rgba(190, 40, 10, .28);
  text-shadow: 0 1px 2px rgba(120, 10, 0, .40);
}
.adv-tag::before{
  content: "★";
  position: absolute;
  left: 6px; top: 50%;
  width: 18px; height: 18px;
  margin-top: -9px;
  line-height: 18px;
  text-align: center;
  font-size: 10.5px;
  color: #c0392b;
  background: linear-gradient(180deg, #fff0bc, #e8a92e);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(120, 60, 0, .30), inset 0 1px 0 rgba(255,255,255,.85);
}
.pb-adv .adv-row p{
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: #6b563f;
}
@media (max-width: 420px){
  .pb-adv{ padding: 11px 9px 7px; }
  .adv-tag{ min-width: 92px; font-size: 13px; padding: 5px 7px 5px 26px; }
  .pb-adv .adv-row p{ font-size: 12.8px; }
  .pb-adv .adv-row{ gap: 8px; }
}

/* ================= 海报式宣传区 ================= */
.promo{
  margin: 22px 0 4px;
  counter-reset: pc;
}

.promo-hero{
  position: relative;
  overflow: hidden;
  padding: 26px 20px 24px;
  border-radius: 18px;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 10px, rgba(255,255,255,0) 10px 20px),
    linear-gradient(135deg, #b3030f 0%, #e8541e 50%, #ffb640 100%);
  box-shadow: 0 10px 28px rgba(170, 50, 15, .32), inset 0 1px 0 rgba(255,255,255,.22);
  color: #fff;
}
.promo-hero::before{
  content: "";
  position: absolute;
  left: 20px; right: 20px; bottom: 14px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,232,170,.7), rgba(255,232,170,0));
  border-radius: 2px;
}
.promo-hero::after{
  content: "";
  position: absolute;
  right: -50px; top: -70px;
  width: 210px; height: 210px;
  background: radial-gradient(circle, rgba(255, 240, 180, .50), rgba(255,240,180,0) 66%);
}
.promo-badge{
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #7a2d05;
  background: linear-gradient(180deg, #fff0bc, #f8c003);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(120, 40, 0, .30), inset 0 1px 0 rgba(255,255,255,.8);
}
.promo-hero h2{
  margin: 0 0 8px;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  font-size: 27px;
  line-height: 1.42;
  font-weight: 700;
  letter-spacing: .05em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(110, 20, 0, .40);
}
.promo-hero p{
  margin: 0;
  font-size: 14.5px;
  line-height: 1.9;
  color: #ffeccd;
}

.promo-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 16px 0;
}
.pcard{
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 15px 16px 14px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fffdf8 55%, #fff8ee 100%);
  border: 1px solid var(--gold-line2);
  border-left: 5px solid var(--gold-2);
  box-shadow: 0 4px 14px rgba(160, 90, 30, .09), inset 0 1px 0 #fff;
  counter-increment: pc;
  transition: transform .2s, box-shadow .2s;
}
.pcard:hover{ transform: translateY(-2px); box-shadow: 0 9px 22px rgba(160, 90, 30, .16), inset 0 1px 0 #fff; }
.pcard::after{
  content: counter(pc, decimal-leading-zero);
  position: absolute;
  right: 12px; top: 10px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .02em;
  color: rgba(200, 150, 60, .20);
  line-height: 1;
}
.pc-ico{
  flex: 0 0 auto;
  width: 42px; height: 42px;
  line-height: 42px;
  text-align: center;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #d81e06, #f08a24);
  box-shadow: 0 3px 10px rgba(180, 60, 20, .35), inset 0 1px 0 rgba(255,255,255,.45);
}
.pc-tx{ min-width: 0; padding-right: 34px; }
.pc-tx b{
  display: block;
  font-size: 18px;
  line-height: 1.55;
  color: #a3121b;
  letter-spacing: .02em;
  margin-bottom: 5px;
}
.pc-tx i{
  display: block;
  font-style: normal;
  font-size: 14.5px;
  line-height: 1.95;
  color: #7a6146;
}

.pcard.c1{ border-left-color: #d81e06; }
.pcard.c1 .pc-ico{ background: linear-gradient(135deg, #d81e06, #ff6a3d); }
.pcard.c2{ border-left-color: #e88a1a; }
.pcard.c2 .pc-ico{ background: linear-gradient(135deg, #e88a1a, #f8c003); }
.pcard.c3{ border-left-color: #b8860b; }
.pcard.c3 .pc-ico{ background: linear-gradient(135deg, #b8860b, #e4b176); }
.pcard.c4{ border-left-color: #a3315e; }
.pcard.c4 .pc-ico{ background: linear-gradient(135deg, #a3315e, #e8689b); }
.pcard.c5{ border-left-color: #2f7d5a; }
.pcard.c5 .pc-ico{ background: linear-gradient(135deg, #2f7d5a, #62b98c); }
.pcard.c6{ border-left-color: #2f5d8a; }
.pcard.c6 .pc-ico{ background: linear-gradient(135deg, #2f5d8a, #5f9fd6); }

.promo-brand{
  position: relative;
  margin-top: 16px;
  padding: 20px 18px 18px;
  border-radius: 16px;
  background:
    repeating-linear-gradient(45deg, rgba(255, 216, 143, .045) 0 8px, rgba(255,216,143,0) 8px 16px),
    linear-gradient(135deg, #2a1512 0%, #4a1f18 55%, #63301f 100%);
  border: 1px solid #8a5a33;
  box-shadow: 0 8px 22px rgba(60, 20, 10, .32), inset 0 0 0 1px rgba(255, 216, 143, .12);
  color: #f0d7b0;
}
.promo-brand::before{
  content: "";
  position: absolute;
  left: 14px; right: 14px; top: 9px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,216,143,0), rgba(255,216,143,.55), rgba(255,216,143,0));
}
.pb-title{
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #ffd98f;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}
.pb-title::before{ content: "❖ "; color: #f8c003; }
.promo-brand p{
  margin: 0 0 10px;
  font-size: 14.5px;
  line-height: 2.05;
  color: #eed3ae;
}
.promo-brand p:last-child{ margin-bottom: 0; }
.promo-brand b, .promo-brand p b{ color: #ffd98f !important; }

@media (max-width: 420px){
  .promo-hero h2{ font-size: 22px; }
  .pc-tx b{ font-size: 17px; }
  .pc-tx i{ font-size: 14px; }
  .pcard{ padding: 13px 13px 12px; gap: 11px; }
  .pc-ico{ width: 38px; height: 38px; line-height: 38px; font-size: 16px; }
}


/* ================= 大运提点 ================= */
.zitem .dy-list{ margin: 10px 0 2px; }
.dy-list{ margin: 10px 0 2px; }
.dy-row{
  background: linear-gradient(180deg, #fffdf8, #fff7ec);
  border: 1px solid var(--gold-line2);
  border-left: 4px solid var(--gold-2);
  border-radius: 10px;
  padding: 10px 12px 11px;
  margin: 9px 0;
  box-shadow: 0 2px 7px rgba(160, 90, 30, .05);
}
.dy-h{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.dy-no{
  flex: 0 0 auto;
  width: 22px; height: 22px;
  line-height: 22px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  color: #7a2d05;
  background: linear-gradient(180deg, #ffe9b0, #f4bd3e);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(200, 140, 20, .35);
}
.dy-gz{
  font-family: "Kaiti SC","KaitiSC","STKaiti","华文楷体","KaiTi","楷体","Songti SC","Noto Serif CJK SC","Noto Serif SC",serif;
  font-size: 19px;
  letter-spacing: .04em;
  color: #a3121b;
}
.dy-meta{ font-size: 12.5px; color: #a89178; }
.dy-ss{
  margin-left: auto;
  font-style: normal;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff5e2;
  background: linear-gradient(180deg, #d81e06, var(--red-2));
  border-radius: 10px;
  padding: 2px 10px;
  box-shadow: 0 2px 6px rgba(160, 20, 10, .20);
}
.dy-b{
  font-size: 14.5px;
  line-height: 1.9;
  color: #6b563f;
}
@media (max-width: 420px){
  .dy-gz{ font-size: 17.5px; }
  .dy-b{ font-size: 13.8px; }
  .dy-row{ padding: 9px 10px 10px; }
}

/* ================= 五行得分卡片 ================= */
.wx-card{
  background: linear-gradient(180deg, #fffdf8, #fff8ee);
  border: 1px solid var(--gold-line2);
  border-radius: 12px;
  padding: 8px 10px 10px;
  margin: 12px 0;
  box-shadow: 0 2px 8px rgba(160, 90, 30, .06);
}
table.wx-tb{ margin: 6px 0 2px; }
table.wx-tb td{ padding: 8px 4px !important; }
table.wx-tb tr:last-child td{ font-size: 22px; font-weight: 700; color: #c02418 !important; }
.zlbzsm b, .zlbzsm2 b{ color: #c02418; }
.wx-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wx-cell{
  background: #fffdf8;
  border: 1px solid var(--gold-line2);
  border-radius: 10px;
  padding: 9px 6px;
  text-align: center;
}
.wx-cell .wx-k{ display: block; font-size: 12px; color: #b39a7d; margin-bottom: 2px; }
.wx-cell b{ display: block; font-size: 22px; color: #c02418; line-height: 1.25; }
.wx-cell i{ display: block; font-style: normal; font-size: 10.5px; line-height: 1.5; color: #bda78d; margin-top: 3px; word-break: break-all; }
.wx-sum{
  margin-top: 10px;
  text-align: center;
  font-size: 15px;
  color: #7a5a38;
  background: linear-gradient(90deg, #fff5e3, #fffbf4);
  border-radius: 10px;
  padding: 11px 12px;
}
.wx-sum .wx-lab{ color: #a8541a; font-size: 13.5px; }
.wx-sum .hl{ color: #c02418; font-size: 20px; margin: 0 5px; }
.wx-sep{ margin: 0 6px; color: #dcc7a6; }
.wx-tip{ font-size: 12px; color: #bba58b; }
p.wx-note{
  font-size: 13px;
  line-height: 1.9;
  color: #a89178;
  background: #fffaf2;
  border-left: 3px solid var(--gold-line);
  border-radius: 0 8px 8px 0;
  padding: 9px 12px;
  margin: 12px 0 4px;
}

/* ================= 八字合婚：双方卡片 + 评分卡 ================= */
.he-person{
  border-radius: 12px;
  padding: 2px 12px 12px;
  margin: 16px 0;
  background: #fffdf8;
  border: 1px solid var(--gold-line2);
  box-shadow: 0 2px 10px rgba(160, 90, 30, .06);
}
.he-person.boy-p{ background: linear-gradient(180deg, #f6fcf4, #eef8ec); border-color: #cfe6cb; }
.he-person.boy-p p.boy{ margin-top: 12px; }
.he-person.girl-p{ background: linear-gradient(180deg, #fff9f8, #fff3f2); border-color: #f0d6d2; }
.he-person.girl-p p.zise{ margin-top: 12px; }
.he-person > p:not(.boy):not(.zise){ font-size: 14.5px; line-height: 1.95; color: #6b563f; margin: 12px 2px 0; }
.he-person > p.boy, .he-person > p.zise{ margin: 12px 2px 10px; }
.he-person table{ margin: 10px 0 4px; }

.he-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
}
.he-card{
  background: linear-gradient(180deg, #fffdf8, #fff7ec);
  border: 1px solid var(--gold-line2);
  border-radius: 12px;
  padding: 11px 12px 10px;
  box-shadow: 0 2px 8px rgba(160, 90, 30, .06);
}
.he-h{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
}
.he-h b{ font-size: 15px; color: #8a2f0d; }
.he-sc{ font-size: 12.5px; color: #b39a7d; white-space: nowrap; }
.he-sc strong{ font-size: 19px; color: #c02418; margin-right: 1px; }
.he-bar{
  height: 8px;
  border-radius: 6px;
  background: #f3e6d2;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(160, 120, 60, .18);
}
.he-bar i{
  display: block;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, #f8c003, #e26a12);
  box-shadow: 0 0 6px rgba(226, 106, 18, .35);
}
.he-bar.big{ height: 12px; margin-top: 10px; }
.he-d{
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.8;
  color: #9b8568;
}
.he-total{
  margin: 18px 0 14px;
  padding: 16px 18px;
  border-radius: 14px;
  text-align: center;
  background: linear-gradient(160deg, #d81e06, #a30d12 60%, #8d0a11);
  box-shadow: 0 6px 18px rgba(160, 20, 10, .25), inset 0 1px 0 rgba(255,255,255,.14);
  color: #ffeec4;
}
.he-total-n strong{
  font-size: 46px;
  color: #ffe9a8;
  letter-spacing: .02em;
  text-shadow: 0 2px 10px rgba(120, 20, 5, .45);
}
.he-total-n span{ font-size: 15px; color: #f0cf94; margin-left: 2px; }
.he-total-t{ font-size: 13.5px; letter-spacing: .24em; color: #f3d9a6; margin-top: 2px; }
.he-total .he-bar{ background: rgba(255, 255, 255, .22); }
.he-total .he-bar i{ background: linear-gradient(90deg, #ffe9a8, #f8c003); box-shadow: 0 0 10px rgba(255, 220, 130, .6); }
.he-advice{
  margin: 14px 0 4px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff8ea, #fff2dc);
  border: 1px solid var(--gold-line);
  border-left: 5px solid var(--red);
  font-size: 15.5px;
  line-height: 1.95;
  color: #6b4b2c;
}

@media (max-width: 420px){
  .he-grid{ grid-template-columns: 1fr; }
  .he-total-n strong{ font-size: 40px; }
}

/* ================= 年运 / 月运卡片 ================= */
.yr-card{
  background: linear-gradient(180deg, #fffdf8, #fff8ef);
  border: 1px solid var(--gold-line2);
  border-radius: 12px;
  margin: 14px 0;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(160, 90, 30, .07);
}
.yr-h{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(90deg, var(--cream-3), #fffaf2);
  border-bottom: 1px solid var(--gold-line2);
}
.yr-h b{ font-size: 19px; color: #a3121b; letter-spacing: .02em; }
.yr-h i{
  font-style: normal;
  font-family: "Kaiti SC","KaitiSC","STKaiti","华文楷体","KaiTi","楷体","Songti SC","Noto Serif CJK SC","Noto Serif SC",serif;
  font-size: 17px;
  color: #8a2f0d;
  background: linear-gradient(180deg, #ffe9bd, #ffd98f);
  border-radius: 6px;
  padding: 1px 9px;
}
.yr-h em{
  font-style: normal;
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  color: #fff5e2;
  background: linear-gradient(180deg, #d81e06, var(--red-2));
  border-radius: 10px;
  padding: 2px 11px;
  box-shadow: 0 2px 6px rgba(160, 20, 10, .20);
}
.yr-h em.jc{ background: linear-gradient(180deg, #f0a03c, #d97a10); }
.yr-t{
  font-size: 12.5px;
  color: #b39a7d;
  padding: 9px 14px 0;
  letter-spacing: .02em;
}
.yr-b{
  padding: 8px 14px 13px;
  font-size: 15.5px;
  line-height: 1.95;
  color: #5a4632;
}
.yr-ss{
  display: block;
  margin-top: 9px;
  padding: 9px 11px;
  background: #fff8ee;
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: #8b6b4a;
}
.yr-card.mo .yr-h b{ font-size: 17px; }

/* ================= 合婚：男方绿块 ================= */
p.boy{
  position: relative;
  background: linear-gradient(100deg, #2f7d32, #1f5f22 60%, #17471a);
  color: #e9f7e4;
  border-radius: 10px;
  padding: 10px 16px 10px 40px;
  margin: 22px 0 12px;
  font-size: 15px;
  line-height: 1.9;
  box-shadow: 0 4px 12px rgba(20, 80, 30, .18), inset 0 1px 0 rgba(255,255,255,.12);
}
p.boy::before{
  content: "";
  position: absolute;
  left: 15px; top: 50%;
  width: 11px; height: 11px;
  margin-top: -5.5px;
  background: linear-gradient(135deg, #d8f5c8, #7fbf6a);
  transform: rotate(45deg);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(180, 240, 160, .6);
}
.zlbzsm table.boy-tb{ border-color: #b9dcb4 !important; }
.zlbzsm table.boy-tb td{
  background: #f2faf0 !important;
  border-color: #d6ecd3 !important;
  color: #2f5d31 !important;
}
.zlbzsm table.boy-tb tr:first-child td{
  background: linear-gradient(180deg, #dff2da, #c8e6c2) !important;
  color: #1b5e20 !important;
}


/* ================= 返回顶部漂浮按钮 ================= */
.backtop{
  position: fixed;
  right: 16px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  line-height: 44px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #7a2d05;
  background: linear-gradient(180deg, #ffe9b0, #f8c838 55%, #e5a326);
  border: 1px solid #d99a2a;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(180, 110, 20, .38), inset 0 1px 0 rgba(255,255,255,.85);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility .25s;
  z-index: 9999;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.backtop.on{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.backtop:hover{
  filter: brightness(1.06);
  box-shadow: 0 9px 22px rgba(180, 110, 20, .48), inset 0 1px 0 rgba(255,255,255,.85);
}
.backtop:active{ transform: scale(.94); }

@media (max-width: 420px){
  .backtop{ right: 12px; bottom: 18px; width: 42px; height: 42px; line-height: 40px; font-size: 20px; }
}

/* ================= 底部 ================= */
.foot{
  margin: 24px 16px 0;
  padding-top: 16px;
  border-top: 2px solid var(--gold-line2);
  text-align: center;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-3);
  letter-spacing: .03em;
}
.foot a{ color: var(--text-3); }

/* ================= 小屏 ================= */
@media (max-width: 420px){
  body{ font-size: 16px; }
  
  .daohang{ padding: 0 10px 6px; }
  .daohang ul{ gap: 8px; }
  .daohang a{ font-size: 15.5px; padding: 9px 6px; }
  .daohang a::before{ width: 48px; height: 48px; margin-bottom: 8px; }
  h1{ font-size: 25px; }
  h2{ font-size: 18px; }
  .zise, p.zise{ font-size: 16.5px; padding: 9px 14px 9px 34px; }
  .zlbzsm, .zlbzsm2{ margin: 10px 10px 0; }
  .zlbzsm dl dd, .zlbzsm2 dl dd{ padding: 16px 12px 20px; }
  .zitem, .yitem{ font-size: 15px; padding: 12px 12px 11px; }
  input[type="text"], select{ font-size: 15.5px; }
}

/* ================= 订单查询卡片（页面底部） ================= */
.query-card{
  margin: 6px 12px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff5e0 0%, #ffe7bd 55%, #f9d59a 100%);
  border: 1px solid #e9c286;
  box-shadow: 0 6px 18px rgba(180, 110, 30, .16), inset 0 1px 0 #fff;
}
.query-card a{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  text-decoration: none;
}
.qc-ico{
  flex: 0 0 auto;
  width: 40px; height: 40px;
  line-height: 40px;
  text-align: center;
  font-family: "Kaiti SC","KaitiSC","STKaiti","华文楷体","KaiTi","楷体","Songti SC","Noto Serif CJK SC","Noto Serif SC",serif;
  font-size: 19px;
  color: #fff8ea;
  background: linear-gradient(180deg, #e0501a, #a3121b);
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(160, 30, 10, .28);
}
.qc-tx{ flex: 1 1 auto; min-width: 0; }
.qc-tx b{
  display: block;
  font-size: 16px;
  letter-spacing: .02em;
  color: #8a2b08;
}
.qc-tx i{
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 12.5px;
  color: #a5814f;
}
.qc-arrow{
  flex: 0 0 auto;
  font-size: 22px;
  color: #c08a2e;
  line-height: 1;
}
@media (max-width: 420px){
  .query-card{ margin: 4px 10px 14px; }
  .query-card a{ padding: 12px 13px; gap: 10px; }
  .qc-tx b{ font-size: 15px; }
  .qc-tx i{ font-size: 12px; }
}

/* ================= 结果页：订单号卡片 ================= */
.order-bar{
  margin: 14px 0 6px;
  padding: 16px 16px 14px;
  border-radius: 14px;
  background: linear-gradient(160deg, #fffdf8 0%, #fff3dc 60%, #ffe8bf 100%);
  border: 1px solid #eccb92;
  box-shadow: 0 8px 22px rgba(180, 110, 30, .14), inset 0 1px 0 #fff;
}
.order-bar .ob-hd{ display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.order-bar .ob-ico{
  width: 26px; height: 26px; line-height: 26px; text-align: center;
  font-family: "Kaiti SC","KaitiSC","STKaiti","华文楷体","KaiTi","楷体","Songti SC","Noto Serif CJK SC","Noto Serif SC",serif; font-size: 15px;
  color: #fff8ea; background: linear-gradient(180deg, #e0501a, #a3121b);
  border-radius: 7px; box-shadow: 0 2px 6px rgba(160, 30, 10, .28);
}
.order-bar .ob-hd b{ font-size: 15.5px; color: #8a2b08; letter-spacing: .02em; }
.order-bar .ob-no{
  padding: 12px 12px;
  font-family: Consolas, Menlo, "Courier New", monospace;
  font-size: 21px;
  letter-spacing: .06em;
  color: #a3121b;
  background: #fffdf6;
  border: 1px dashed #e0b878;
  border-radius: 9px;
  text-align: center;
  word-break: break-all;
  user-select: all;
  -webkit-user-select: all;
}
.order-bar .ob-act{ display: flex; gap: 10px; margin-top: 10px; }
.order-bar .ob-copy{
  flex: 1 1 auto;
  padding: 10px;
  border: 0; border-radius: 9px;
  font-size: 15px; color: #fff;
  background: linear-gradient(180deg, #d81e06, #a30d12);
  box-shadow: 0 4px 12px rgba(160, 20, 10, .25);
  cursor: pointer;
}
.order-bar .ob-copy:active{ transform: translateY(1px); }
.order-bar .ob-query{
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 9px;
  font-size: 15px;
  text-decoration: none;
  color: #8a2b08;
  background: #fff8ea;
  border: 1px solid #e9c286;
}
.order-bar .ob-tip{
  margin: 11px 0 0;
  font-size: 13px;
  line-height: 1.85;
  color: #8a6a48;
}
.order-bar .ob-tip strong, .order-bar .ob-tip b{ color: #b3270c; }
.order-bar .ob-meta{
  margin: 8px 0 0;
  font-size: 12px;
  color: #b09675;
}
@media (max-width: 420px){
  .order-bar{ padding: 13px 12px 12px; }
  .order-bar .ob-no{ font-size: 18px; }
  .order-bar .ob-copy, .order-bar .ob-query{ font-size: 14px; padding: 9px; }
}

/* ================= 收银台 / 支付中间页 ================= */
.pay-wrap{ padding: 18px 14px 26px; }
.pay-card{
  max-width: 520px;
  margin: 0 auto;
  background: linear-gradient(180deg, #fffdf8 0%, #fff7ea 100%);
  border: 1px solid #efd7b0;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(170, 100, 30, .14);
  overflow: hidden;
}
.pay-hd{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #b3121b 0%, #8e0a12 100%);
  color: #fff8ea;
}
.pay-seal{
  flex: 0 0 auto;
  width: 42px; height: 42px;
  line-height: 42px;
  text-align: center;
  font-family: "Kaiti SC","KaitiSC","STKaiti","华文楷体","KaiTi","楷体","Songti SC","Noto Serif CJK SC","Noto Serif SC",serif;
  font-size: 15px;
  letter-spacing: .06em;
  color: #a3121b;
  background: linear-gradient(180deg, #ffe9b0, #e2ab48);
  border-radius: 9px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .22);
}
.pay-title b{ display: block; font-size: 17px; letter-spacing: .02em; }
.pay-title i{ display: block; margin-top: 3px; font-style: normal; font-size: 12.5px; color: #ffdca8; }

.pay-price{
  padding: 20px 18px 16px;
  text-align: center;
  border-bottom: 1px dashed #f0ddbe;
}
.pay-now{
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: #c0290e;
  letter-spacing: -.01em;
}
.pay-now span{ font-size: 22px; margin-right: 2px; }
.pay-orig{
  margin-top: 9px;
  font-size: 14px;
  color: #a89178;
}
.pay-orig s{ color: #b9a48b; text-decoration-thickness: 2px; }
.pay-save{
  display: inline-block;
  margin-top: 9px;
  padding: 3px 12px;
  font-size: 12.5px;
  color: #fff;
  background: linear-gradient(180deg, #e8651a, #c0290e);
  border-radius: 11px;
  letter-spacing: .02em;
}

.pay-order{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  font-size: 13px;
  color: #8b6b4a;
  border-bottom: 1px dashed #f0ddbe;
}
.pay-order b{
  font-family: Consolas, Menlo, "Courier New", monospace;
  font-size: 15px;
  color: #4a3a2c;
  letter-spacing: .03em;
  word-break: break-all;
}
.pay-order em{
  margin-left: auto;
  font-style: normal;
  font-size: 12px;
  padding: 2px 9px;
  border-radius: 9px;
  color: #b26a00;
  background: #fff3e0;
}

.pay-btn{
  display: block;
  margin: 18px 18px 0;
  padding: 14px;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  background: linear-gradient(180deg, #e0501a 0%, #b3121b 100%);
  box-shadow: 0 8px 20px rgba(170, 30, 10, .28);
}
.pay-btn:active{ transform: translateY(1px); }
.pay-tip{
  margin: 11px 20px 0;
  font-size: 12.5px;
  line-height: 1.8;
  color: #a89178;
  text-align: center;
}
.pay-tip.pay-ok{ color: #2e7d32; }

.pay-note{
  margin: 16px 18px 0;
  padding: 13px 14px;
  background: linear-gradient(160deg, #fff9ec 0%, #ffeecb 100%);
  border: 1px solid #f2d9a8;
  border-radius: 12px;
}
.pay-note b{
  display: block;
  font-size: 14.5px;
  color: #a3310a;
  line-height: 1.6;
}
.pay-note p{
  margin: 7px 0 0;
  font-size: 12.8px;
  line-height: 1.85;
  color: #8a6a48;
}

.pay-query{
  display: block;
  margin: 14px 18px 18px;
  text-align: center;
  font-size: 13px;
  color: #b07a2a;
  text-decoration: none;
}
@media (max-width: 420px){
  .pay-wrap{ padding: 12px 10px 22px; }
  .pay-now{ font-size: 38px; }
  .pay-btn{ font-size: 16px; padding: 13px; margin: 16px 14px 0; }
  .pay-note{ margin: 14px 14px 0; }
  .pay-query{ margin: 12px 14px 16px; }
}

/* 收银台：报告小节列表 */
.pay-sections{
  padding: 14px 18px 6px;
  border-bottom: 1px dashed #f0ddbe;
}
.pay-sec-hd{ display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.pay-sec-hd b{ font-size: 14.5px; color: #8a2b08; }
.pay-sec-hd em{ font-style: normal; font-size: 12px; color: #b09675; }
.pay-sec-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.pay-sec{
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: #fffdf6;
  border: 1px solid #f0e0c4;
  border-radius: 8px;
  min-width: 0;
}
.pay-sec span{
  flex: 0 0 auto;
  width: 20px; height: 20px;
  line-height: 20px;
  text-align: center;
  font-family: "Kaiti SC","KaitiSC","STKaiti","华文楷体","KaiTi","楷体","Songti SC","Noto Serif CJK SC","Noto Serif SC",serif;
  font-size: 12px;
  color: #fff8ea;
  background: linear-gradient(180deg, #d81e06, #a3121b);
  border-radius: 5px;
}
.pay-sec b{
  font-size: 12.5px;
  font-weight: 500;
  color: #6b563f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 420px){
  .pay-sections{ padding: 12px 14px 4px; }
  .pay-sec-grid{ grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .pay-sec b{ font-size: 12px; }
}

/* 导航图 ↔ 功能对应（按页面显示顺序：未来一年/终身/爱情/财运/事业/合婚/开运/十年） */
.daohang ul > li:nth-child(2) a{ background-image: url(images/navbig2.jpg); }  /* 八字终身运势详批 */
.daohang ul > li:nth-child(3) a{ background-image: url(images/navbig5.jpg); }  /* 八字爱情婚姻详批 */
.daohang ul > li:nth-child(4) a{ background-image: url(images/navbig7.jpg); }  /* 八字一生财运详批 */
.daohang ul > li:nth-child(5) a{ background-image: url(images/navbig8.jpg); }  /* 八字事业详批 */
.daohang ul > li:nth-child(6) a{ background-image: url(images/navbig6.jpg); }  /* 八字合婚配对 */
.daohang ul > li:nth-child(7) a{ background-image: url(images/navbig1.jpg); }  /* 八字开运命书 */
.daohang ul > li:nth-child(8) a{ background-image: url(images/navbig3.jpg); }  /* 八字十年运势 */

/* 收银台下方：报告内容列表（一行一个卡片） */
.pay-sec-list{
  max-width: 520px;
  margin: 0 auto;
  padding-bottom: 10px;
}
.pay-wrap .zise{
  max-width: 520px;
  margin: 22px auto 12px;
}
.pay-sec-item{
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0 0 9px;
  padding: 12px 13px;
  background: linear-gradient(180deg, #fffdf8 0%, #fff8ee 100%);
  border: 1px solid var(--gold-line2);
  border-left: 4px solid var(--gold-2);
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(160, 90, 30, .06);
}
.psi-no{
  flex: 0 0 auto;
  width: 24px; height: 24px;
  line-height: 24px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #d81e06, #a3121b);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(160, 20, 10, .22);
}
.psi-tx{ flex: 1 1 auto; min-width: 0; }
.psi-tx b{
  display: block;
  font-size: 15.5px;
  letter-spacing: .02em;
  color: #a3121b;
}
.psi-tx i{
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 13px;
  line-height: 1.85;
  color: #6b563f;
}
@media (max-width: 420px){
  .pay-wrap .zise{ font-size: 15.5px; padding: 9px 12px 9px 34px; }
  .pay-sec-item{ padding: 10px 11px; gap: 9px; }
  .psi-tx b{ font-size: 14.5px; }
  .psi-tx i{ font-size: 12.5px; }
}

/* ================= 页脚功能文字链接 ================= */
.foot-links{
  padding: 14px 16px 4px;
  text-align: center;
  line-height: 2;
  border-top: 1px solid #f2e6d2;
  margin-top: 10px;
}
.foot-links a{
  display: inline-block;
  margin: 0 7px;
  font-size: 12.5px;
  color: #a89178;
  text-decoration: none;
  letter-spacing: .01em;
}
.foot-links a:hover{ color: #b3270c; text-decoration: underline; }
.foot-links a::after{
  content: "·";
  margin-left: 12px;
  color: #ddd0ba;
}
.foot-links a:last-child::after{ content: ""; margin: 0; }
@media (max-width: 420px){
  .foot-links{ padding: 12px 12px 2px; }
  .foot-links a{ font-size: 12px; margin: 0 5px; }
  .foot-links a::after{ margin-left: 9px; }
}

/* ================= 隐私与订单号提示 ================= */
.privacy-line{
  margin: 12px 0 0;
  padding: 9px 12px;
  font-size: 12.5px;
  line-height: 1.8;
  color: #8a6a48;
  background: #fdf6ea;
  border: 1px dashed #e6cfa8;
  border-radius: 9px;
}
.privacy-line b{ color: #b3270c; }
.privacy-line .pl-ico{
  display: inline-block;
  width: 16px; height: 16px;
  line-height: 16px;
  margin-right: 5px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #e0501a, #a3121b);
  border-radius: 50%;
  vertical-align: 1px;
}
.order-bar .privacy-line{ margin-top: 10px; }
@media (max-width: 420px){
  .privacy-line{ font-size: 12px; padding: 8px 10px; }
}

/* 支付页：联系客服提示 */
.pay-contact, .contact-tip{
  margin: 14px 18px 0;
  padding: 10px 12px;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
  color: #8a5a10;
  background: #fff6e2;
  border: 1px solid #f0dcb8;
  border-radius: 10px;
}
.pay-contact b, .contact-tip b{ color: #b3270c; letter-spacing: .02em; }
.pay-contact .pc-hours, .contact-tip .pc-hours{
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #a89178;
  letter-spacing: .01em;
}


/* 文本居中（替代已废弃的 align="center"） */
.tc{ text-align: center; }

/* 页脚备案信息（一行一个，红色放大） */
.icp{
  margin: 12px 0 6px;
  padding: 0 14px;
  text-align: center;
}
.icp a{
  display: block;
  margin: 5px 0;
  font-size: 14px;
  line-height: 1.8;
  color: #c0392b;
  text-decoration: none;
  letter-spacing: .02em;
  word-break: break-all;
}
.icp a:hover{ color: #a3121b; text-decoration: underline; }
@media (max-width: 420px){
  .icp a{ font-size: 13.5px; }
}

/* 首页文章段落 */
.art-p{
  margin: 0 0 15px;
  font-size: 15px;
  line-height: 2.05;
  color: #5a4735;
  text-indent: 2em;
  text-align: justify;
}
.art-p:last-child{ margin-bottom: 4px; }
@media (max-width: 420px){
  .art-p{ font-size: 14.5px; line-height: 1.95; }
}

/* ================= 信任配色（墨绿 / 藏蓝 / 中性灰） ================= */
:root{
  --trust-green:   #2f7d5a;
  --trust-green-bg:#eaf5ef;
  --trust-blue:    #1f3a5f;
  --trust-blue-bg: #eef2f7;
  --ink-gray:      #6b7280;
  --ink-soft:      #9ca3af;
}

/* 支付页信任条 */
.trust-bar{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  margin: 14px 18px 0;
  padding: 9px 10px;
  background: var(--trust-green-bg);
  border: 1px solid #cfe6db;
  border-radius: 10px;
}
.trust-bar span{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: #24614a;
  letter-spacing: .01em;
}
.trust-bar .tb-ico{
  display: inline-block;
  width: 16px; height: 16px;
  line-height: 16px;
  text-align: center;
  font-style: normal;
  font-size: 10px;
  color: #fff;
  background: var(--trust-green);
  border-radius: 50%;
}

/* 支付页官方说明 */
.pay-official{
  margin: 12px 18px 0;
  padding: 12px 13px;
  background: var(--trust-blue-bg);
  border: 1px solid #d8e1ec;
  border-left: 3px solid var(--trust-blue);
  border-radius: 10px;
}
.pay-official b{
  display: block;
  font-size: 13px;
  color: var(--trust-blue);
  margin-bottom: 5px;
  letter-spacing: .03em;
}
.pay-official p{
  margin: 0;
  font-size: 12.5px;
  line-height: 1.85;
  color: #4b5a6e;
}

/* 备案号改为灰蓝，弱化红色催促感 */
.icp a{
  color: #3d4f66;
}
.icp a:hover{
  color: #1f3a5f;
  text-decoration: underline;
}

@media (max-width: 420px){
  .trust-bar{ margin: 12px 14px 0; gap: 5px 10px; }
  .trust-bar span{ font-size: 12px; }
  .pay-official{ margin: 10px 14px 0; }
}

/* 页脚法规链接（关于我们 / 服务条款 / 隐私政策） */
.foot-legal{
  padding: 10px 14px 2px;
  text-align: center;
  line-height: 1.9;
}
.foot-legal a{
  display: inline-block;
  margin: 0 9px;
  font-size: 12.5px;
  color: #3d4f66;
  text-decoration: none;
}
.foot-legal a::after{
  content: "·";
  margin-left: 14px;
  color: #c9d1db;
}
.foot-legal a:last-child::after{ content: ""; margin: 0; }
.foot-legal a:hover{ color: #1f3a5f; text-decoration: underline; }

/* 首页免责一句 */
.note-line{
  margin: 16px 0 2px;
  padding: 9px 12px;
  font-size: 12.5px;
  line-height: 1.8;
  color: #6b7280;
  background: #f7f8fa;
  border-left: 3px solid #9ca3af;
  border-radius: 6px;
}
@media (max-width: 420px){
  .foot-legal a{ font-size: 12px; margin: 0 7px; }
  .foot-legal a::after{ margin-left: 11px; }
  .note-line{ font-size: 12px; }
}
