body {
    background-color: #000;

}

.ag {
    padding: 0 12rpx;
    position: relative;
}

.ad-btnBox {
    display: flex;
    gap: 2.5px;
}

.ad-btn {
    display: flex;
    height: 40px;
    padding: 0px 19px;
    justify-content: center;
    align-items: center;
    flex: 1 0 0;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.10);
    color: #FFFFFFCC;
    text-align: center;
    font-family: "PingFang SC";
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ad-btn.active {
    background: linear-gradient(229deg, #FD5B25 15.85%, #F3257E 86.08%);
    color: white;
}

.ad-gg-li {
    position: relative;
    width: 100%;
    height: 110px;
    border-radius: 8px;
}

.ad-gg-bcli {
    position: relative;
    width: 100%;
    height: 178px;
    border-radius: 8px;
}

.ad-ggBox1 {
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ad-ggBox2 {
    padding: 10px 0;
    display: none;
    flex-direction: column;
    gap: 10px;
}

.ad-bcBox {
    padding: 10px 0;
    display: none;
    flex-direction: column;
    gap: 10px;
}
.ad-bcBox1 {
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ad-bcBox2 {
    padding: 10px 0;
    display: none;
    flex-direction: column;
    gap: 10px;
}
.ad-bcBox3 {
    padding: 10px 0;
    display: none;
    flex-direction: column;
    gap: 10px;
}
.ad-bcBox4 {
    padding: 10px 0;
    display: none;
    flex-direction: column;
    gap: 10px;
}

.ad-gg-img {
    border-radius: 8px;
    width: 100%;
    height: 100%;
}

.ad-gg-name {
    color: #FFF;
    font-family: "PingFang SC";
    font-size: 13px;
    font-weight: 600;
    position: absolute;
    bottom: 0;
    display: flex;
    width: 100%;
    height: 30px;
    padding: 0 12px;
    align-items: center;
    gap: 12px;
    border-radius: 0 0 8px 8px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.60) 47%, rgba(0, 0, 0, 0.90) 100%);
}

.live {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5px;
}

.live_li {
    width: 100%;
    height: 260px;
    position: relative;
}

.live_video {
    width: 68px;
    height: 68px;
    z-index: 99;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

.live_img {
    width: 100%;
    height: 100%;
}

.live_txt {
    width: 100%;
    display: flex;
    justify-content: space-around;
    position: absolute;
    bottom: 5px;
}

.live_right {
    display: flex;
    align-items: center;
}

.live_dot {
    width: 4px;
    height: 4px;
    background-color: #00FF11;
    border-radius: 4px;
}

.live_num {
    color: #48FF54;
    font-family: "PingFang SC";
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin: 0 4px;
}

.live_text {
    color: #FFF;
    font-family: "PingFang SC";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.live_zbimg {
    width: 10px;
    height: 10px;
}

.live_zbTxt {
    margin-left: 4px;
    color: #FFF;
    font-family: "PingFang SC";
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.live_hot {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
    width: 41.064px;
    height: 23px;
    flex-shrink: 0;
}

.adc_nav {
    margin-top: -1px;
    margin-bottom: 10px;
    height: 21px;
    border-radius: 0 5px 5px 5px;
    background: #F32878;
    flex-direction: row;
    justify-content: space-around;
    position: relative;
    align-items: center;
}

.adc_nav_li {
    color: #FFF;
    font-family: "PingFang SC";
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.adc_nav_ligf{
    color: #FFF;
    font-family: "PingFang SC";
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.adc_nav_line {
    border-radius: 2px;
    background: #F6FF00;
    width: 19px;
    height: 3px;
    position: absolute;
    bottom: 0;
    display: none;

}

.adc_nav_li.active {
    color: yellow;
}

.adc_nav_li.active .adc_nav_line {
    display: block;
}
.adc_nav_ligf.active {
    color: yellow;
}
.adc_nav_ligf.active .adc_nav_line {
    display: block;
}

.ad-btn_line {
    width: 100%;
    height: 6px;
    background: linear-gradient(229deg, #FD5B25 15.85%, #F3257E 86.08%);
}

.ad-btn.first-active {
    height: 46px;
    border-radius: 5px 5px 0 0;
}

.ad_live_by {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.ad_live_byli {
    display: flex;
    padding-bottom: 8px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding-bottom: 5px;
}

.ad_live_byli_imgBox {
    width: 100%;
    height: 231px;
}

.ad_live_byli_img {
    border-radius: 5px;
    width: 100%;
    height: 100%;
}

.byli_txtBox {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.byli_txtBox_left_name {
    color: rgba(255, 255, 255, 0.80);
    font-family: "PingFang SC";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.byli_txtBox_left_xx {
    color: rgba(255, 255, 255, 0.40);
    font-family: "PingFang SC";
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.byli_txtBox_right {
    display: flex;
    width: 60px;
    height: 26px;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.80);
    text-align: center;
    font-family: "PingFang SC";
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px;
    /* 200% */
    border-radius: 8px;
    background: linear-gradient(90deg, #4800FF 0%, #F06 100%), linear-gradient(90deg, #BE70FD 0%, #F6415A 100%);
}

.ad_live_byBox_li {
    padding: 12px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
}

.topleft_tx {
    width: 70px;
    height: 70px;
    border-radius: 60px;
}

.topleft_box {
    display: flex;
    flex-direction: column;
    color: rgba(255, 255, 255, 0.80);
    font-family: "PingFang SC";
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-left: 10px;
}

.topleft_adBox {
    display: flex;
    align-items: center;
    height: 100%;
}

.topleft_txt {
    color: #7976C5;
    font-family: "PingFang SC";
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-left: 5px;
}

.topleft_jl {
    color: #EA4259;
    font-family: "PingFang SC";
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.byBox_li_topleft {
    display: flex;
    align-content: space-between;

}

.byBox_li_topright {
    color: rgba(255, 255, 255, 0.80);
    text-align: center;
    font-family: "PingFang SC";
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 36px;
    border-radius: 32px;
    width: 120px;
    height: 36px;
    background: linear-gradient(90deg, #4800FF 0%, #F06 100%), linear-gradient(90deg, #BE70FD 0%, #F6415A 100%);
}

.byBox_li_topbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ad_live_byBox_titleBox {
    margin-top: 12px;
    display: flex;
}

.ad_live_byBox_title {
    color: #7976C5;
    font-family: "PingFang SC";
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    margin-right: 16px;
}

.ad_live_byBox_txt {
    color: rgba(255, 255, 255, 0.80);
    font-family: "PingFang SC";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    margin-bottom: 12px;
}

.ad_live_byBox_imgBox {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.ad_live_byBox_img {
    width: 100%;
    height: 134px;
    flex-shrink: 0;
    border-radius: 5px;
}

.ad_live_byBox1 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ad_live_byBox2 {
    display: none;
    flex-direction: column;
    gap: 10px;
}
.ad_live_byBox3 {
    display: none;
    flex-direction: column;
    gap: 10px;
}
.ad_live_byBox4{
    display: none;
    flex-direction: column;
    gap: 10px;
}


.popup {
    /* display: none; */
    z-index: 99;
    position: absolute;
    top: 0;
    /* width: calc(100% - 16px);
    height: 100vh; */
    background: #00000099;

}

.popup_img {
    width: 100%;
    height: 100%;
}

.popup_imgBox {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99;
    width: 280px;
    height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.popup_xz {
    height: 50px;
    width: 225px;
    margin-top: 10px;

}

.closePopup {
    width: 30px;
    height: 30px;
    position: absolute;
    right: 10px;
    top: 10px;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5); /* 半透明黑色 */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}