.bui-dialog .bui-dialog-text i {
            height: auto;
        }
main {
        scroll-behavior: smooth;
    }
     #nav2 {
        width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
        padding: .1rem;
        font-size: .24rem;
        background: #fff;
        text-decoration: none;
    }
   
    #nav2 ul li {
        width: 20%;
        box-sizing: border-box;
        padding: .05rem .05rem;
    }
    #nav2 ul li a {
        display: block;
        padding: .05rem 0;
        text-align: center;
        color: #ffffff;
        border-radius: .5rem;
        background: #0db55f;
        font-weight: 600;
    }
     #nav2.fixed {
         position: fixed;
         top: 0px;
         left: 0;
         right: 0;
         margin: auto;
         z-index: 99999999;
         box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
     }
     
     
     #nav2 ul {
    padding: .07rem 0;
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    max-height: 50rem;          /* 正常状态下足够大，显示所有行 */
    overflow: visible;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#nav2.collapsed ul {
    max-height: 1.1rem;         /* 关键值：控制只显示两行，建议根据实际按钮高度微调（2.6rem~3rem 之间） */
    overflow: hidden;
}

/* 可选：给收缩后加一点阴影，提升视觉层次 */
#nav2.collapsed {
    box-shadow: 0 5px 15px rgba(0, 0, 0, .15);
}
     
     #backToTop {
    position: fixed;
    right: 16px;
    bottom: 80px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
}
#backToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#backToTop:active {
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
    transform: translateY(1px);
}
.backToTop-label {
    color: #fff;
    font-size: 10px;
    line-height: 1;
    margin-top: -1px;
}
.facaiboju {
    width: 100%;
    height: 7rem;
    position: relative;
  }
  .facaiboju img {
    width: 100%;
    height: 7rem;
  }
  .facaiboju .qishu {
    font-weight: 600;
    position: absolute;
    left: 38%;
    font-size: .38rem;
    top: .98rem;
  }
  .facaiboju .zhu {
    font-weight: 600;
    position: absolute;
    font-size: 1rem;
    left: 35%;
    bottom: 2.2rem;
    color: #1e90ff;
  }
  .facaiboju .fang {
    font-weight: 600;
    position: absolute;
    font-size: 1rem;
    left: 67%;
    bottom: 2.2rem;
    color: red;
  }
  .facaiboju .wuxing {
    font-weight: 600;
    position: absolute;
    font-size: .8rem;
    left: 63%;
    bottom: 1.2rem;
  }
.lx-sbm-tu {
        width: 100%;
        height: 6rem;
        position: relative;
    }
    .lx-sbm-tu img {
        width: 100%;
        height: 6rem;
    }
    .lx-sbm-tu .qishu {
        position: absolute;
        top: .56rem;
        left: 6.8%;
        font-size: .34rem;
        font-weight: 600;
    }
    .lx-sbm-tu .ma0 {
        position: absolute;
        top: 1.52rem;
        left: 7%;
        font-size: .45rem;
        font-weight: 600;
    }
    .lx-sbm-tu .ma1 {
        position: absolute;
        top: 1.52rem;
        left: 20.5%;
        font-size: .45rem;
        font-weight: 600;
    }
    .lx-sbm-tu .ma2 {
        position: absolute;
        top: 2.35rem;
        left: 13.8%;
        font-size: .45rem;
        font-weight: 600;
    }
    .lx-sbm-tu .ma3 {
        position: absolute;
        top: 3.72rem;
        left: 13.8%;
        font-size: .45rem;
        font-weight: 600;
    }
    .lx-sbm-tu .ma4 {
        position: absolute;
        top: 4.57rem;
        left: 7%;
        font-size: .45rem;
        font-weight: 600;
    }
    .lx-sbm-tu .ma5 {
        position: absolute;
        top: 4.57rem;
        left: 20.5%;
        font-size: .45rem;
        font-weight: 600;
    }
    .lx-sbm-tu .num {
        position: absolute;
        top: 1.57rem;
        left: 38.5%;
        font-weight: 600;
        color: #fff;
        font-size: .4rem;
    }
.yunixinjing {
        width: 100%;
        height: 6rem;
        position: relative;
    }
    .yunixinjing img {
        width: 100%;
        height: 6rem;
    }
    .yunixinjing .yuce-sx {
        position: absolute;
        top: 2rem;
        left: 37.5%;
        font-size: .2rem;
        font-weight: 600;
    }
    .yunixinjing .qishu {
        position: absolute;
        top: .21rem;
        left: 36.4%;
        font-size: .17rem;
        font-weight: 600;
        color: #fff;
    }
    .yunixinjing .yuce-sx .item {
        color: #000;
        text-shadow:
                1px 1px 0 white,
                -1px 1px 0 white,
                1px -1px 0 white,
                -1px -1px 0 white;
        padding-bottom: .05rem;
    }
    .yunixinjing .yuce-sx .item span {
        color: red;
    }
    .yunixinjing .yuce-daxiao {
        color: #fff;
        font-weight: 600;
        position: absolute;
        bottom: 1.3rem;
        left: 37.5%;
        font-size: .24rem;
    }
    .yunixinjing .yuce-daxiao span {
        color: red;
        text-shadow:
                1px 1px 0 white,
                -1px 1px 0 white,
                1px -1px 0 white,
                -1px -1px 0 white;
    }
    .yunixinjing .yuce-jqys {
        color: #fff;
        font-weight: 600;
        position: absolute;
        bottom: .85rem;
        left: 37.5%;
        font-size: .24rem;
    }
    .yunixinjing .yuce-jqys span {
        color: red;
        text-shadow:
                1px 1px 0 white,
                -1px 1px 0 white,
                1px -1px 0 white,
                -1px -1px 0 white;
    }
    .yunixinjing .yuce-wuxing {
        color: #fff;
        font-weight: 600;
        position: absolute;
        bottom: .4rem;
        left: 37.5%;
        font-size: .24rem;
    }
    .yunixinjing .yuce-wuxing span {
        color: red;
        text-shadow:
                1px 1px 0 white,
                -1px 1px 0 white,
                1px -1px 0 white,
                -1px -1px 0 white;
    }
    .yunixinjing .guanwang {
        width: 35%;
        text-align: center;
        position: absolute;
        bottom: 1.3rem;
        right: 4.5%;
        font-size: .19rem;
        background: #ffeb3b;
        color: red;
        font-weight: 600;
    }
    .yunixinjing .yuce-temabo {
        width: 38.5%;
        text-align: left;
        position: absolute;
        bottom: .85rem;
        right: 1%;
        font-size: .2rem;
        font-weight: 600;
        color: red;
        text-shadow:
                1px 1px 0 white,
                -1px 1px 0 white,
                1px -1px 0 white,
                -1px -1px 0 white;
    }
    .yunixinjing .yuce-teliuwei {
        width: 38.5%;
        text-align: left;
        position: absolute;
        bottom: .4rem;
        right: 1%;
        font-size: .2rem;
        font-weight: 600;
        color: red;
        text-shadow:
                1px 1px 0 white,
                -1px 1px 0 white,
                1px -1px 0 white,
                -1px -1px 0 white;
    }
.jmxc-tip {
    width: 100%;
    padding: .1rem;
    display: flex;
    justify-content: space-between;
  }
.sanguo-tip {
        width: 100%;
        text-align: center;
        color: #333;
    }
.p_baxiaoshiliuma{
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        padding-left: 2%;
        box-sizing: border-box;
    }
    .p_baxiaoshiliuma>.item{
        width: 24%;
    }
.waibiankuang .jxzt-box {
        display: flex;
    }
    .waibiankuang .jxzt-box .text1 {
        background: #fff;
        border-bottom: 1px solid rgb(229, 245, 5);
        color: #de0000;
        width: 35%;
    }
    .waibiankuang .jxzt-box .text2 {
        background: #fff;
        border-bottom: 1px solid rgb(9, 5, 247);
        color: #000;
        flex: 1;
        text-align: center;
    }
    .waibiankuang .jxzt-box .text3 {
        background: #fff;
        border-bottom: 1px solid rgb(247, 53, 5);
        color: red;
        width: 20%;
        text-align: center;
    }