/* ---- reference inline style block 1 ---- */
.bui-dialog .bui-dialog-text i {
        height: auto;
    }
    
    /* 资料显示控制样式 */
    .ziliao-amssc { display: block; }
    .ziliao-other { display: none; }
    
    /* 导航菜单控制样式 */
    .nav-amssc { display: block; }
    .nav-other { display: none; }
    
    /* 导航吸顶样式 - 确保这个存在 */
    .nav2.fixed {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            transform: translateY(-100%);
        }
        to {
            transform: translateY(0);
        }
    }
    
    /* 开奖动画CSS */
    @keyframes textPulse {
        from { transform: scale(1); opacity: 1; }
        to { transform: scale(1.05); opacity: 0.9; }
    }
    
    @keyframes ballAppear {
        0% { 
            opacity: 0; 
            transform: scale(0.5);
        }
        100% { 
            opacity: 1; 
            transform: scale(1);
        }
    }
	
	


.margin-top {
    margin-top: 0.1rem !important;
}
.box-bg {
    background: #fff;
    margin-bottom: .1rem;
    border-radius: 0rem;
}
.guagua-guapai .old_open_num {
    color: red;
    position: absolute;
    top: 2.55rem;
    right: 7.5%;
    font-size: .24rem;
}

/* ---- reference inline style block 2 ---- */
/*
 * 彩种标签移动端适配：
 * 1-4 个彩种平均铺满一行；超过 4 个时横向滚动。
 * 覆盖 BUI 默认的 width:0/overflow:hidden，避免中文名称被截断。
 */
.lottery-tab-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: none;
}
.lottery-tab-scroll::-webkit-scrollbar {
    display: none;
}
.lottery-dynamic-tabs .diy-tab-btn {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    width: 100% !important;
    min-width: 100%;
    max-width: none;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.lottery-dynamic-tabs .diy-tab-btn > li {
    box-sizing: border-box;
    min-width: 0;
    max-width: none;
    padding-left: .06rem;
    padding-right: .06rem;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    word-break: keep-all;
}
.lottery-dynamic-tabs .diy-tab-btn.lottery-tabs-fit > li {
    flex: 1 1 0 !important;
    width: 0 !important;
    min-width: 0 !important;
}
.lottery-dynamic-tabs .diy-tab-btn.lottery-tabs-scroll {
    justify-content: flex-start;
    width: max-content !important;
}
.lottery-dynamic-tabs .diy-tab-btn.lottery-tabs-scroll > li {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 2.2rem !important;
    padding-left: .16rem;
    padding-right: .16rem;
}
.lottery-dynamic-tabs .diy-tab-btn.lottery-tabs-scroll .lottery-tab-name,
.lottery-dynamic-tabs .diy-tab-btn.lottery-tabs-scroll .lottery-tab-period {
    width: auto;
}
.lottery-tab-name,
.lottery-tab-period {
    display: block;
    width: 100%;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
    word-break: keep-all;
    text-align: center;
}
.lottery-tab-name {
    min-height: 1.3em;
    font-size: clamp(13px, .30rem, 18px);
    line-height: 1.3;
}
.lottery-tab-period {
    font-size: clamp(10px, .22rem, 13px) !important;
    line-height: 1.25;
}
@media (max-width: 600px) {
    .lottery-dynamic-tabs .diy-tab-btn > li {
        padding-left: 2px;
        padding-right: 2px;
    }
    .lottery-tab-name {
        font-size: clamp(12px, 3.7vw, 16px);
    }
    .lottery-tab-period {
        font-size: clamp(10px, 2.9vw, 12px) !important;
    }
}

/* ---- reference inline style block 3 ---- */
.zhufangbo {
    width: 100%;
    height: 6rem;
    position: relative;
  }
  .zhufangbo img {
    width: 100%;
    height: 6rem;
  }
  .zhufangbo .qishu {
    font-weight: 600;
    position: absolute;
    left: 25%;
    font-size: .28rem;
    top: .15rem;
    color: #fff;
  }
  .zhufangbo .zhu {
    font-weight: 600;
    position: absolute;
    font-size: .35rem;
    left: 15.7%;
    bottom: 1.84rem;
    color: #1e90ff;
  }
  .zhufangbo .fang {
    font-weight: 600;
    position: absolute;
    font-size: .35rem;
    left: 32.7%;
    bottom: 1.84rem;
    color: red;
  }
  .zhufangbo .jqys {
    background: #ffeb3b;
    color: red;
    font-weight: 600;
    position: absolute;
    font-size: .35rem;
    left: 50%;
    padding: 0 .1rem;
    border-radius: .1rem;
    bottom: 1.84rem;
  }
  .zhufangbo .guanwang {
    font-weight: 600;
    position: absolute;
    font-size: .3rem;
    left: 35.7%;
    bottom: 2.89rem;
    color: red;
  }
  .zhufangbo .dan {
    font-weight: 600;
    position: absolute;
    font-size: .28rem;
    left: 20.7%;
    bottom: .95rem;
    color: #ffeb3b;
  }
  .zhufangbo .shuang {
    font-weight: 600;
    position: absolute;
    font-size: .28rem;
    left: 20.7%;
    bottom: .55rem;
    color: #ffeb3b;
  }
  .zhufangbo .yc_ds {
    font-weight: 600;
    position: absolute;
    font-size: .18rem;
    left: 35%;
    top: 2.05rem;
    color: #ffeb3b;
  }
  .zhufangbo .yc_num_qujian {
    font-weight: 600;
    position: absolute;
    font-size: .15rem;
    left: 52.5%;
    top: 2.09rem;
    color: #ffeb3b;
  }
  .zhufangbo .sx {
    font-weight: 600;
    position: absolute;
    font-size: .18rem;
    left: 25%;
    top: 2.4rem;
    color: #ffeb3b;
  }
  .zhufangbo .wei {
    font-weight: 600;
    position: absolute;
    font-size: .18rem;
    left: 51.5%;
    top: 2.4rem;
    color: #ffeb3b;
  }
  .zhufangbo .old_num7 {
    font-weight: 600;
    position: absolute;
    font-size: .2rem;
    left: 39%;
    top: 1.75rem;
    color: #ffeb3b;
  }
  .zhufangbo .old_num7_sx {
    font-weight: 600;
    position: absolute;
    font-size: .18rem;
    left: 47%;
    top: 1.74rem;
    color: #ffeb3b;
  }
  .zhufangbo .old_num7_dx {
    font-weight: 600;
    position: absolute;
    font-size: .18rem;
    left: 56.3%;
    top: 1.74rem;
    color: #ffeb3b;
  }
  .zhufangbo .old_num7_ds {
    font-weight: 600;
    position: absolute;
    font-size: .18rem;
    left: 62%;
    top: 1.74rem;
    color: #ffeb3b;
  }

/* ---- reference inline style block 4 ---- */
.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;
    }

/* ---- reference inline style block 5 ---- */
.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;
  }

/* ---- reference inline style block 6 ---- */
.jmxc-tip {
    width: 100%;
    padding: .1rem;
    display: flex;
    justify-content: space-between;
  }

/* ---- reference inline style block 7 ---- */
.sanguo-tip {
        width: 100%;
        text-align: center;
        color: #333;
    }

/* ---- reference inline style block 8 ---- */
.dslx-tip {
        display: flex;
        justify-content: space-between;
        margin-bottom: .1rem;
      }
      .dslx-tip .box {
        border: 1px solid #000;
        width: 50%;
        text-align: center;
        padding: .1rem 0;
      }

/* ---- reference inline style block 9 ---- */
.liuxiaoshierma-table tr td{
            border: none;
            border-bottom: 1px solid #e5e5e5;
            padding: 3px 2px;
            word-break: break-all;
         }

/* ---- reference inline style block 10 ---- */
.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;
    }

/* ---- reference inline style block 11 ---- */
.wuxing_list{text-align: center;font-weight: bold;font-size: 16px }
        .wuxing_list.wuxing_金{color: deeppink}
        .wuxing_list.wuxing_木{color: green }
        .wuxing_list.wuxing_水{color: blue }
        .wuxing_list.wuxing_火{color: red}
        .wuxing_list.wuxing_土{color: deeppink }

/* ---- reference inline style block 12 ---- */
.p_baxiaoshiliuma{
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        padding-left: 2%;
        box-sizing: border-box;
    }
    .p_baxiaoshiliuma>.item{
        width: 24%;
    }

/* ---- reference inline style block 13 ---- */
.dslx-tip {
        display: flex;
        justify-content: space-between;
        margin-bottom: .1rem;
      }
      .dslx-tip .box {
        border: 1px solid #000;
        width: 50%;
        text-align: center;
        padding: .1rem 0;
      }

/* ---- reference inline style block 14 ---- */
.liuxiaoshierma-table tr td{
            border: none;
            border-bottom: 1px solid #e5e5e5;
            padding: 3px 2px;
            word-break: break-all;
         }

/* ---- reference inline style block 15 ---- */
.wuxing_list{text-align: center;font-weight: bold;font-size: 16px }
        .wuxing_list.wuxing_金{color: deeppink}
        .wuxing_list.wuxing_木{color: green }
        .wuxing_list.wuxing_水{color: blue }
        .wuxing_list.wuxing_火{color: red}
        .wuxing_list.wuxing_土{color: deeppink }

/* ---- reference inline style block 16 ---- */
.p_baxiaoshiliuma{
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        padding-left: 2%;
        box-sizing: border-box;
    }
    .p_baxiaoshiliuma>.item{
        width: 24%;
    }