.y2y .layui-form-select{
    width: calc(100% / 3 - 0.25rem);
    float: left;
    display: inline-block;
    margin-right: 0.25rem;
}
.y2y>div:last-child{
    float: right;
    margin-right: 0;
    width: calc(100% / 3);
}
.age_gongli{
    display: block;
}
.age_nongli{
    display: none;
}

.baziwures{
    max-width: 24rem;
    width: 100%;
    margin: auto;
}

.baziwuul{
    padding: 0.25rem;
    background-color: #fbd48b;
    border-radius: 3px;
}

.night .baziwuul{
    background-color: #181a1b;
}

.baziwuul li{
    width: calc(100% / 3);
    display: inline-block;
    float: left;
    text-align: center;
    padding: 0.25rem;
}

.baziwuul li:nth-child(4){
    width: 100%;
}

.baziwuul li>div{
    background-color: #fff;
    border-radius: 3px;
    padding: 0.5rem 0;
}

.night .baziwuul li>div{
    background-color: #444;
}

.baziwuul li>div>div{

}

.baziwuul li>div>div:first-child{
    height: 1.3rem;
    line-height: 1.3rem;
    color: #C4814D;
}

.baziwuul li>div>div:last-child{
    height: 1.6rem;
    line-height: 1.6rem;
    font-size: 1rem;
    color: #C4814D;
}

.baziwuh3{
    height: 1.8rem;
    line-height: 1.8rem;
    text-align: center;
    margin: 1rem 0;
    color: #c5814d;
}

.bazishuxing{
    margin-top: 1rem;
    border-radius: 3px;
    padding: 0.6rem 0.8rem;
    background: #FCEED9;
    border: 1px solid #F1C6A3;
    color: #c5814d;
}

.night .bazishuxing{
    background-color: #181a1b;
    border: 1px solid #181a1b;
}

.bazishuxing p{
    height: 1.4rem;
    line-height: 1.4rem;
}

.bazishuxing span{
    margin-right: 0.5rem;
}

.baziwutu{
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: flex-end;
}

.baziwutu>div{
    width: 2rem;
    text-align: center;
}

.baziwutu>div>div:first-child{
    color: #ff9800;
    height: 1.2rem;
    line-height: 1.2rem;
    font-weight: bold;
    font-size: 0.7rem;
}

.baziwutu>div>div:nth-child(2){
    min-height: 1rem;
    background-color: #eee;
    background: rgb(255, 215, 0);
    border-radius: 10px 10px 0 0;
    transition: height 1s ease-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.baziwutu>div>div:nth-child(3){
    font-size: 0.8rem;
    height: 2rem;
    line-height: 2rem;
    color: #C4814D;
}

.baziwutu>div:nth-child(2)>div:nth-child(2){
    background: rgb(50, 205, 50);
}

.baziwutu>div:nth-child(3)>div:nth-child(2){
    background: rgb(30, 144, 255);
}

.baziwutu>div:nth-child(4)>div:nth-child(2){
    background: rgb(255, 69, 0);
}

.baziwutu>div:nth-child(5)>div:nth-child(2){
    background: rgb(205, 133, 63);
}

.baziwubiao{
    border: 1px solid #ffdeb3;
    margin-top: 1rem;
    border-radius: 3px;
    padding-bottom: 1rem;
    background: linear-gradient(156deg, #F7D5AC 0%, rgba(249, 223, 186, 0.5) 100%);
}

.night .baziwubiao{
    background: #181a1b;
    border: 1px solid #181a1b;
}

.element-missing{
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, #fff9e6 0%, #fff3e0 100%);
    border-radius: 5px;
    margin-top: 1rem;
    border: 2px dashed #ff9800;
    position: relative;
}

.night .element-missing{
    background: #181a1b;
}

.element-missing h3 {
    color: #e65100;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.element-missing p {
    font-size: 0.8rem;
    color: #f57c00;
    margin: 0.5rem 0;
}

.balance-suggestions{
    background: #e8f4ff;
    border-radius: 5px;
    padding: 0.5rem;
    margin-top: 1rem;
}

.night .balance-suggestions{
    background: #181a1b;
}

.suggestion-title{
    font-size: 0.65rem;
    text-align: center;
}

.night .suggestion-title{
    color:#aaa;
}

.suggestion-list{

}

.suggestion-list li{
    padding: 0.5rem;
    margin: 0.5rem 0;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.night .suggestion-list li{
    background-color: #444;
    color: #aaa;
}

@media screen and (max-width: 590px) {
    .baziwures {
        width: 100%;
        max-width: 100%;
        margin-top: 1rem;
    }
}

@media screen and (max-width: 430px){
    .layui-form-select .layui-edge{
        display: none;
    }
    .layui-form-select .layui-input {
        padding-right: 0px;
        cursor: pointer;
        text-align: center;
        padding-left: 0;
    }
}