/* ====== 子平八字 (zpbz) 獨立樣式 ====== */
/* 基於 ziping 視覺風格，獨立生成，不直接引用 ziping.css */

/* === 頂部背景 === */
.zpbz_banner{position:relative;width:7.5rem;height:6.08rem;margin:0 auto;background:url(../images/zp.png) 0 0/100% 100% no-repeat;margin-top:0.8rem;}
.zpbz_banner_tags{position:absolute;top:1.9rem;left:0.6rem;overflow:hidden;}
.zpbz_tag{float:left;width:1.8rem;height:0.6rem;text-align:center;line-height:0.6rem;background:#FCF9EB;border-radius:0.2rem;border:0.02rem solid #EBDECC;font-size:0.28rem;font-weight:500;color:#A4694A;margin-left:0.2rem;box-sizing:content-box;}
.zpbz_tag:first-child{margin-left:0;}

/* === 表單區（白色卡片 + 陰影 + 圓角） === */
.zpbz_form_wrap{width:6.9rem;margin:-3.5rem auto 0;position:relative;z-index:2;background:#FFFFFF;box-shadow:0px -1px 0.14rem 0px rgba(208,120,103,0.5);border-radius:0.2rem;padding-top:0.3rem;padding-bottom:0.3rem;}
.zpbz_form_wrap .box{margin-top:0!important;}

/* === 推薦工具鏈接 === */
.zpbz_links{overflow:hidden;padding:0.2rem 0.3rem;background:#fff;}
.zpbz_link_item{display:inline-block;padding:0.14rem 0.3rem;margin:0.1rem 0.15rem 0.1rem 0;background:#FFF6E7;border-radius:0.1rem;border:1px solid #F1C8AA;font-size:0.28rem;color:#C4814D;text-decoration:none;}

/* === 問答與簡介（復用 chenggu_index 相關區域樣式） === */
.bzpoyjbox{margin-top:0.2rem;background:#fff;padding-bottom:0.4rem;overflow:hidden;}
.yjtit{height:0.88rem;line-height:0.88rem;padding-left:0.3rem;font-size:0.36rem;font-weight:500;color:#935422;position:relative;background:linear-gradient(90deg,#FFEEC3 6%,#EAD8AC 100%);}
.wenbox{width:6.9rem;padding:0.2rem 0.3rem 0.4rem 0.3rem;background:#FFF6E7;border-radius:0.1rem;margin:0.3rem auto;margin-bottom:0;}
.wenyi{font-size:0.32rem;font-weight:500;color:#C85D23;}
.wenyi i{background-image:url(../images/wh.png);background-size:100% 100%;width:0.32rem;height:0.38rem;display:inline-block;margin-right:0.1rem;vertical-align:text-bottom;}
.wenda{font-size:0.32rem;color:#666;line-height:0.52rem;margin-top:0.2rem;}
.about_sx{width:6.9rem;overflow:hidden;margin:0.3rem auto;margin-bottom:0;}
.about_sx p{font-size:0.32rem;line-height:0.52rem;color:#666;}
.icon_biaozhi{width:3rem;height:2rem;border-radius:0.1rem;float:right;margin:0 0 0 0.2rem;}

/* === 結果頁 === */
.huabei{}
.resultbox{background:#FDE6B3 url(../images/hbei.png);background-size:100% 100%;width:7.5rem;padding-bottom:0.3rem; margin-top: 0.8rem;}
.zptit{background-image:url(../images/zptit.png);background-size:100% 100%;width:4.82rem;height:0.67rem;line-height:0.67rem;text-align:center;margin:0 auto;font-size:0.36rem;font-weight:500;color:#FFEAB8;}
.xhua{background-image:url(../images/xhua.png);background-size:100% 100%;width:6.3rem;height:0.15rem;margin:0.4rem auto;}

/* 基本信息 */
.jbei{background-image:url(../images/jbei.png);background-size:100% 100%;width:3.41rem;height:0.59rem;margin:0 auto;font-size:0.32rem;line-height:0.59rem;font-weight:500;color:#883E2F;text-align:center;margin-top:0.4rem !important;}
.xininfo{background-image:url(../images/xinfo.png);background-size:100% 100%;width:6.9rem;height:3.83rem;margin:0.4rem auto;margin-bottom:0;}
.xinfoitem{padding-top:0.4rem;margin-left:0.5rem;font-size:0.32rem;color:#333333;}
.xinfoitem+.xinfoitem{margin-top:0.2rem;padding-top:0;}
.xinfoitem span{font-weight:700;color:#C4814D;margin-right:0.2rem;}

/* 四柱排盤表格 */
.scbz{width:6.9rem;border:1px solid #C4814D;margin:0.2rem auto;border-radius:0.1rem;overflow:hidden;position:relative;z-index:1;background:rgba(255,247,231,1);}
.scbz table{width:100%;border-collapse:collapse;border-spacing:0;}
.diyi_tr td{font-size:0.28rem;font-weight:bold;line-height:0.6rem;color:rgba(196,129,77,1);text-align:center;width:1.3rem;border-left:1px solid rgba(230,196,171,1);border-bottom:1px solid rgba(230,196,171,1);background:#FAE59B;padding:0 0.2rem;}
.diyi_tr td:first-child{width:0.95rem;border-left:none;}
.dier_tr td{font-size:0.28rem;line-height:0.6rem;color:rgba(51,51,51,1);text-align:center;width:1.3rem;border-left:1px solid rgba(230,196,171,1);border-bottom:1px solid rgba(230,196,171,1);}
.dier_tr td:first-child{background:#FAE59B;width:0.95rem;border-left:none;color:rgba(196,129,77,1);}
.disan_tr td{font-size:0.28rem;line-height:0.6rem;color:rgba(51,51,51,1);text-align:center;width:1.3rem;border-left:1px solid rgba(230,196,171,1);border-bottom:1px solid rgba(230,196,171,1);}
.disan_tr td:first-child{color:rgba(196,129,77,1);background:#FAE59B;width:0.95rem;border-left:none;font-weight:bold;}
.disi_tr td{font-size:0.28rem;line-height:0.6rem;color:rgba(51,51,51,1);text-align:center;width:1.3rem;border-left:1px solid rgba(230,196,171,1);border-bottom:1px solid rgba(230,196,171,1);}
.disi_tr td:first-child{color:rgba(196,129,77,1);background:#FAE59B;width:0.95rem;border-left:none;font-weight:bold;}
.last_tr td{font-size:0.28rem;line-height:0.6rem;color:rgba(51,51,51,1);text-align:center;width:1.3rem;border-left:1px solid rgba(230,196,171,1);}
.last_tr td:first-child{color:rgba(196,129,77,1);background:#FAE59B;width:0.95rem;border-left:none;font-weight:bold;}
.bg{width:0.6rem;height:0.6rem;margin:0 auto;display:block;}

/* 身強身弱 / 五行 / 喜用神 */
.yhmge{margin-top:0.4rem;overflow:hidden;margin-left:-0.2rem;}
.yhmgitem{background-image:url(../images/geitem.png);background-size:100% 100%;width:1.98rem;height:2.13rem;position:relative;float:left;margin-left:0.5rem;}
.yhmgtit{text-align:center;font-size:0.3rem;color:#5B341F;position:absolute;top:0.2rem;left:0;width:1.98rem;right:0;margin:0 auto;}
.yhmgdesc{position:absolute;bottom:0.6rem;left:0;width:1.98rem;right:0;margin:0 auto;font-size:0.32rem;text-align:center;color:#567ECD;}

/* 大運表格 */
.dayun_table{width:6.9rem;margin:0.2rem auto;text-align:center;}
.dayun_table td{padding:0.1rem 0;}
.dayunyi_tr{font-size:0.28rem;font-weight:bold;color:#C85D23;}
.dayuner_tr{font-size:0.28rem;color:rgba(200,60,35,1);}

/* 神煞 */
.csbox{margin-top:0.3rem;margin-left:0.3rem;}
.ssitem{margin-top:0.1rem;font-size:0.32rem;color:#333333;}
.ssitem b{color:rgba(196,129,77,1);}

/* 八字解答 */
.bazji{background:#FBECC5;padding-bottom:0.6rem;}
.bzjie_tit{font-size:0.36rem;font-weight:500;color:#935422;padding-top:0.4rem;text-align:center;display: flex; align-items: center; justify-content: center;}
.bzjieda{width:2.97rem;display:inline-block;}
.bzj1{width:0.84rem;height:0.38rem;vertical-align:middle;}
.bzj2{width:0.84rem;height:0.38rem;vertical-align:middle;}
.bzmgbox{width:6.9rem;margin:0.8rem auto;margin-bottom:0;background:#FDF5E8;border-radius:0.15rem;border:0.04rem solid #B7614E;background-image:url(../images/kdi.png);background-size:100% 100%;}
.bzmgbiao{background-image:url(../images/bzmg.png);background-size:100% 100%;width:4.07rem;height:0.79rem;margin:0 auto;position:relative;top:-0.4rem;}
.gebox{overflow:hidden;display:flex;justify-content:center;}
.geitem{width:0.76rem;height:0.76rem;line-height:0.76rem;text-align:center;background:#BC4331;border-radius:50%;font-size:0.32rem;font-weight:500;color:#FFFFFF;}
.geitem+.geitem{margin-left:0.69rem;}
.gedesc{width:5.93rem;margin:0.2rem auto;font-size:0.32rem;color:#333333;line-height:0.52rem;}
.smthbiao{background-image:url(../images/smth_1.png);background-size:100% 100%;width:4.07rem;height:0.79rem;margin:0 auto;position:relative;top:-0.4rem;}
.smthconter{width:6.02rem;margin:0 auto;margin-bottom:0.4rem;margin-top:-0.1rem;}
.contentiem{font-size:0.32rem;color:#333333;line-height:0.52rem;border-bottom:1px solid rgba(223,189,181,1);padding-bottom:0.16rem;margin-bottom:0.2rem;margin-top:0.15rem;}
.contentiem:last-child{border-bottom:none;}

/* 生肖運勢 */
.bzyunshi{padding-bottom:0.4rem;background:rgba(255,242,213,1);}
.yskuang{width:6.9rem;margin:0.4rem auto;margin-bottom:0;background:rgba(255,255,255,0.5);border-radius:0.15rem;padding-top:0.3rem;padding-bottom:0.3rem;}
.caiyunshi{width:5.93rem;margin:0 auto;}
.cystou{font-size:0.32rem;font-weight:700;color:#C85D23;line-height:0.91rem;}
.cystou i{display:inline-block;background-image:url(../images/caiys.png);background-size:100% 100%;width:0.91rem;height:0.91rem;vertical-align:bottom;margin-right:0.15rem;}
.cyunshidesc{font-size:0.32rem;color:#333333;line-height:0.52rem;margin-top:0.2rem;}
.gqstou{font-size:0.32rem;font-weight:700;color:#C85D23;line-height:0.91rem;}
.gqstou i{display:inline-block;background-image:url(../images/gqys.png);background-size:100% 100%;width:0.91rem;height:0.91rem;vertical-align:bottom;margin-right:0.15rem;}

/* === 底部安全區域 === */
.safe-area-bottom{height:env(safe-area-inset-bottom,20px);}
