/* ========== 2026mg_index.css - 八字命格首頁樣式（獨立） ========== */
/* 遷移自 tpinone mingge_index + cmsinone mingge.css */

/* === 頂部安全區域 === */
.main {
    margin-top: 0.88rem !important;
}

/* === 表單外框 === */
.mfsmbox {
    overflow: hidden;
    padding-bottom: 0.4rem;
    background: rgba(254, 241, 220, 1);
}
.mfsmkuang {
    width: 6.9rem;
    background: linear-gradient(180deg, #FEFCEE 0%, #FDF5DD 100%);
    box-shadow: 0px 0.1rem 0.38rem -0.14rem #EAC58F;
    border-radius: 0.2rem;
    opacity: 1;
    border: 0.02rem solid #F2DBB5;
    margin: 0.6rem auto;
    margin-bottom: 0;
}

/* === 頂部標題裝飾 === */
.mgiti {
    background-image: url(../images/mgiti.png);
    background-size: 100% 100%;
    width: 5.07rem;
    height: 0.88rem;
    margin: 0 auto;
    margin-top: -0.3rem;
}

/* === 描述文字 === */
.mbdesc {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.3rem;
    font-weight: 700;
    color: #9E5F36;
}

/* === 特色標籤 === */
.tiaobox {
    overflow: hidden;
    margin-top: 0.3rem;
}
.tiaoitem {
    background-image: url(../images/zitiao.png);
    background-size: 100% 100%;
    width: 2rem;
    height: 0.64rem;
    line-height: 0.64rem;
    text-align: center;
    font-size: 0.3rem;
    color: #582E1A;
    margin-left: 0.23rem;
    float: left;
}

/* === 裝飾圖 === */
.batu {
    background-image: url(../images/batu.png);
    background-size: 100% 100%;
    width: 6.56rem;
    height: 3.82rem;
    margin: 0 auto;
    margin-top: -1.5rem;
}

/* === 表單容器 === */
.paipan_box {
    width: 6.42rem;
    margin: 0 auto;
    padding: 0.3rem 0;
}
.paipan_info {
    display: flex;
    align-items: center;
    min-height: 0.9rem;
    border-bottom: 1px solid #f1f1f1;
    padding: 0.12rem 0;
}
.paipan_label {
    font-size: 0.3rem;
    color: #333333;
    white-space: nowrap;
    width: 1.8rem;
    flex-shrink: 0;
}
.paipan_input_box {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.paipan_input {
    flex: 1;
    height: 0.9rem;
    border: none;
    background: none;
    font-size: 0.32rem;
    color: #333333;
    text-align: left;
    padding-right: 0.2rem;
    outline: none;
    width: 3rem;
    float: none !important;
}
.paipan_input::-webkit-input-placeholder {
    color: #999999;
    font-size: 0.28rem;
}
#g_birthday1, #g_birthday2, #picker5 {
    float: none !important;
    width: auto !important;
    line-height: 0.9rem;
}

/* === 性別選擇（藥丸樣式） === */
.paipan_sex_box {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 1.65rem;
    height: 0.56rem;
    background: #FFFFFF;
    border-radius: 2.96rem;
    border: 0.02rem solid #CCCCCC;
    box-sizing: border-box;
    padding: 0.02rem;
}
.sex_item {
    flex: 1;
    height: 100%;
    line-height: 0.48rem;
    text-align: center;
    font-size: 0.28rem;
    color: #999999;
    cursor: pointer;
    border-radius: 2.96rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sex_item.active {
    background: #A2553F;
    color: #FFFFFF;
}

/* === 小字標籤 === */
.small_label {
    font-size: 0.28rem;
    color: #999;
}
.small_input p {
    font-size: 0.26rem;
    color: #999;
    margin: 0;
}

/* === 提交按鈕 === */
.paipan_btn {
    display: block;
    width: 100%;
    height: 0.98rem;
    line-height: 0.98rem;
    text-align: center;
    background: #A2553F;
    font-size: 0.36rem;
    color: #FFFFFF;
    border-radius: 0.16rem;
    border: none;
    margin-top: 0.32rem;
    cursor: pointer;
}
.paipan_btn:active {
    opacity: 0.85;
}

/* === 提示文字 === */
.paipan_tip {
    text-align: center;
    font-size: 0.24rem;
    color: #999999;
    margin-top: 0.2rem;
    padding-bottom: 0.1rem;
}

/* === 城市選擇器修復 === */
.date_btn {
    line-height: 0.5rem !important;
}
#picker5 {
    background: rgba(255,255,255,0);
}

/* === 隱藏 === */
.hide {
    display: none;
}

/* === FAQ 區塊 === */
.bzppbox {
    margin-top: 0.2rem;
    overflow: hidden;
    background: #fff;
    padding-bottom: 0.3rem;
}
.lantit {
    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: #666666;
    line-height: 0.52rem;
    margin-top: 0.2rem;
}

/* === 關於區塊 === */
.about {
    width: 6.9rem;
    margin: 0.25rem auto;
    margin-bottom: 0.4rem;
}
.icon_biaozhi {
    width: 3rem;
    height: 2rem;
    border-radius: 0.1rem;
    float: right;
    margin: 0 0 0 0.2rem;
}
.about p {
    font-size: 0.32rem;
    color: #666666;
    line-height: 0.52rem;
}

/* === 日曆選擇器兼容修復 === */
.gearDate .date_roll>.date_roll>.date_date,
.gearDate .date_roll>.date_time { box-sizing: border-box; }
.gearDate .date_grid { box-sizing: border-box; }
.gearDate .date_btn { box-sizing: border-box; }
.gearDate .date_class_box { box-sizing: content-box; }
.gearDate .tooth { box-sizing: content-box; display: flex; }
.gearDate .tooth span { box-sizing: content-box; }
.gearDate .date_roll_mask { box-sizing: content-box; }
