html {
    font-size: 16px;
    overflow-y: auto;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body {
    margin: auto;
    display: flex;
    flex-direction: column;
    font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    min-height: 100vh;
    cursor: default;
    width: auto;
    box-sizing: border-box;
    background-color: #f4f5f7;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.main-content::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

/*主体内容*/
.main-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: #ffffff;
}

/*导航栏*/
.daohanglan {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 92px;
    padding: 0 26px;
    background-color: #e51f22;
    box-sizing: border-box;
}

.nav-round {
    position: absolute;
    right: 158px;
    top: 8px;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.24), transparent 26%),
        linear-gradient(135deg, #f03437 0%, #e51f22 50%, #c91619 100%);
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.5),
        0 0 18px rgba(255, 70, 70, 0.42);
}

.nav-round::before,
.nav-round::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.nav-round::before {
    background:
        repeating-linear-gradient(135deg,
            rgba(255, 255, 255, 0.15) 0,
            rgba(255, 255, 255, 0.15) 2px,
            transparent 2px,
            transparent 10px);
    opacity: 0.42;
}

.nav-round::after {
    inset: 8px 12px auto auto;
    width: 34px;
    height: 22px;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.34), transparent 68%);
    transform: rotate(-28deg);
}

.home-link {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #d6d6d6;
    font-size: 15px;
    line-height: 1;
    text-decoration: none;
}

.home-icon {
    width: 44px;
    height: 44px;
    display: block;
}

/*图片区域*/
.tupianqu img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 600px) {
    .main-content {
        gap: 0;
    }

    /*导航栏*/
    .daohanglan {
        height: 64px;
        padding: 0 14px;
    }

    .nav-round {
        right: 92px;
        top: 6px;
        width: 56px;
        height: 56px;
        box-shadow:
            0 7px 16px rgba(0, 0, 0, 0.46),
            0 0 12px rgba(255, 70, 70, 0.38);
    }

    .nav-round::after {
        inset: 6px 8px auto auto;
        width: 24px;
        height: 16px;
    }

    .home-link {
        gap: 3px;
        font-size: 12px;
    }

    .home-icon {
        width: 34px;
        height: 34px;
    }

    /*图片区域*/
    .tupianqu img {
        width: 100%;
    }

    /*导航列表按钮区域*/
    .biaotilan {
        padding: 3px 0 5px;
    }

    .biaotilan-buttons {
        gap: 3px 4px;
        padding: 4px 0;
    }

    .biaotilan-buttons button {
        height: 22px;
        padding: 0 4px;
        font-size: 12px;
    }

    /*网站标题区域*/
    .wangzhan-title {
        height: 34px;
        font-size: 21px;
    }

    .wangzhan-grid a {
        height: 28px;
        font-size: 15px;
    }

    /*开奖区域*/
    .kaijiang-title {
        height: 32px;
        font-size: 17px;
    }

    .kaijiang-body {
        height: 116px;
    }

    /*页脚说明*/
    .yejiao_shuoming {
        padding: 8px 12px 14px;
        font-size: 14px;
        line-height: 1.55;
    }

    .yejiao_shuoming .shuoming-title {
        font-size: 16px;
    }

}


/*导航列表按钮区域*/
.biaotilan {
    position: relative;
    z-index: 20;
    padding: 5px 0 7px;
    background: url("image/22222.jpg") center top / 100% auto no-repeat;
    box-sizing: border-box;
}

.biaotilan.is-sticky {
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 1000;
    width: 100%;
    max-width: 800px;
    transform: translateX(-50%);
}

.biaotilan-sticky-placeholder {
    display: none;
}

.biaotilan-sticky-placeholder.is-active {
    display: block;
}

.biaotilan-buttons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px 6px;
    padding: 5px 0;
    background-color: #ffffff;
    box-sizing: border-box;
}

.biaotilan-buttons button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 30px;
    padding: 0 10px;
    border: 0;
    border-radius: 16px;
    background-color: #a70909;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    appearance: none;
}

/*网站标题区域*/
.wangzhanbiaoti {
    width: 100%;
    border: 1px solid #bfbfbf;
    box-sizing: border-box;
}

.wangzhan-title {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    background-color: #1f6f8d;
    color: #ffff00;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.wangzhan-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background-color: #ffff00;
}

.wangzhan-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    border-top: 1px solid #bfbfbf;
    color: #000000;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.wangzhan-grid a:nth-child(odd) {
    border-right: 1px solid #bfbfbf;
}

.wangzhan-grid .site-pink {
    color: #ff00ff;
}

.wangzhan-grid .site-blue {
    color: #0000ff;
}

.wangzhan-grid .site-black {
    color: #000000;
}

/*第一个动态图区域*/
.diyige_dongtu img {
    display: block;
    width: 100%;
    height: auto;
}

/*属性表、生肖表图片区域*/
.shuxingbiao_tu,
.shengxiaobiao_tu {
    width: 100%;
    padding: 4px 0 0;
    background-color: #ffffff;
    box-sizing: border-box;
}

.shuxingbiao_tu img,
.shengxiaobiao_tu img {
    display: block;
    width: 100%;
    height: auto;
}

.main-content>div[class^="du"] {
    width: 100%;
    padding: 4px 0 0;
    background-color: #ffffff;
    box-sizing: border-box;
}

.main-content>div[class^="du"] img {
    display: block;
    width: 100%;
    height: auto;
}

.main-content>div[class^="du"].is-empty {
    display: none;
}

/*开奖区域*/
.kaijiang-section {
    width: 100%;
    padding: 4px 0 0;
    background: url("image/22222.jpg") center top / 100% auto no-repeat;
    box-sizing: border-box;
}

.kaijiang-title {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    background-color: #e51f22;
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
}

.kaijiang-body {
    width: 100%;
    height: 130px;
    box-sizing: border-box;
    overflow: hidden;
}

.kaijiang-body iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.kaijiang-placeholder {
    background-color: #ffffff;
}

.diyi_kaijiang_qu .kaijiang-body {
    height: auto;
    overflow: visible;
}

.diyi_kaijiang_qu .kaijiang_jieguo {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 132px;
    padding: 6px 0;
    row-gap: 6px;
    background-color: #f5f5f5;
    box-sizing: border-box;
    overflow: hidden;
    --kaijiang-meta-font-size: clamp(15px, 2.35vw, 20px);
}

.diyi_kaijiang_qu .kaijiang_jieguo_A {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    min-height: 30px;
    align-items: center;
    gap: clamp(4px, 1vw, 12px);
    padding: 0 clamp(4px, 1vw, 8px);
    font-size: calc(var(--kaijiang-meta-font-size) + 1px);
    font-weight: 400;
    color: #000;
    box-sizing: border-box;
}

.diyi_kaijiang_qu .qishu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    flex: 0 0 auto;
}

.diyi_kaijiang_qu .name,
.diyi_kaijiang_qu .guding_time,
.diyi_kaijiang_qu .lishijilu,
.diyi_kaijiang_qu .qishu_text,
.diyi_kaijiang_qu .qishu_number,
.diyi_kaijiang_qu .qishu_numberB {
    white-space: nowrap;
}

.diyi_kaijiang_qu .name,
.diyi_kaijiang_qu .guding_time,
.diyi_kaijiang_qu .riqi,
.diyi_kaijiang_qu .xingqiji,
.diyi_kaijiang_qu .shengduoshao_shijian {
    flex: 0 1 auto;
}

.diyi_kaijiang_qu .qishu_number,
.diyi_kaijiang_qu .qishu_numberB,
.diyi_kaijiang_qu .lishijilu {
    color: #ff0000;
}

.diyi_kaijiang_qu .lishijilu {
    margin-left: auto;
}

.diyi_kaijiang_qu .qishu_numberB,
.diyi_kaijiang_qu .kaijiangshijian,
.diyi_kaijiang_qu .shengduoshao_number {
    padding-top: 2px;
}

.diyi_kaijiang_qu .qishu_number {
    padding-top: 1px;
}

.diyi_kaijiang_qu .shengduoshao_shijian {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: clamp(48px, 12vw, 96px);
    color: #000000;
    font-weight: 700;
    white-space: nowrap;
}

.diyi_kaijiang_qu .kaijiang_jieguo_A .shengduoshao_number {
    min-width: 78px;
    text-align: center;
    color: #000000;
    font-weight: 700;
}

.diyi_kaijiang_qu .kaijiang_jieguo_A .lishijilu {
    margin-left: 0;
}

.diyi_kaijiang_qu .kaijiang_jieguo_B {
    display: flex;
    width: 100%;
    min-height: 52px;
    padding: 0 clamp(2px, 0.8vw, 6px);
    box-sizing: border-box;
}

.diyi_kaijiang_qu .qiu_hang {
    display: flex;
    width: 100%;
    gap: clamp(1px, 0.45vw, 3px);
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    color: #000;
}

.diyi_kaijiang_qu .qiu_rongqi {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 0;
    min-width: 0;
    gap: 0;
    border-radius: 4px;
    overflow: hidden;
}

.diyi_kaijiang_qu .qiu_tubiao {
    width: 100%;
    max-width: 78px;
    height: clamp(42px, 8.8vw, 72px);
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #ffffff;
    font-size: clamp(19px, 3.9vw, 29px);
    line-height: 1;
}

.diyi_kaijiang_qu .qiu_biaoqian {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: calc(100% - 12px);
    max-width: 78px;
    font-size: clamp(12px, 2.5vw, 16px);
    color: #000;
    background-color: white;
    margin: 0 auto 2px;
    min-height: 16px;
    padding: 0;
    line-height: 1;
    font-weight: 400;
    border-radius: 2px;
    box-sizing: border-box;
    overflow: hidden;
}

.diyi_kaijiang_qu .qiu_jiahao {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 clamp(10px, 3vw, 20px);
    font-size: clamp(14px, 3.4vw, 40px);
    padding: 0;
    font-weight: bold;
    line-height: 1;
}

.diyi_kaijiang_qu .qiu_wenben {
    font-weight: 800;
}

.diyi_kaijiang_qu .yaojiang_zimu {
    width: 100%;
    max-width: 52px;
    height: clamp(30px, 6.8vw, 54px);
    border-radius: 4px;
    border: 2px dashed #aaaaaa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(10px, 2.2vw, 18px);
    color: #000;
    box-sizing: border-box;
}

.diyi_kaijiang_qu .kaijiang_jieguo_C {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    min-height: 30px;
    align-items: center;
    padding: 0 clamp(4px, 1vw, 8px);
    font-size: var(--kaijiang-meta-font-size);
    font-weight: 400;
    color: #000;
    gap: clamp(4px, 1vw, 10px);
    box-sizing: border-box;
}

.diyi_kaijiang_qu .kaijiang_jieguo_A *,
.diyi_kaijiang_qu .kaijiang_jieguo_C * {
    font-weight: 400;
}

.diyi_kaijiang_qu .kaijiang_refresh {
    margin-left: auto;
    border: 1px solid #ff8a00;
    background: #ff9900;
    color: #ffffff;
    font-size: var(--kaijiang-meta-font-size);
    line-height: 1.05;
    padding: 2px 3px;
    border-radius: 3px;
    font-weight: 400;
    box-shadow: none;
    cursor: pointer;
    white-space: nowrap;
    text-shadow: none;
}

.diyi_kaijiang_qu .kaijiang_refresh:focus,
.diyi_kaijiang_qu .kaijiang_refresh:focus-visible {
    outline: none;
}

/*页脚说明*/
.yejiao_shuoming {
    padding: 12px 20px 18px;
    background-color: #eaf5ff;
    color: #111111;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.65;
    box-sizing: border-box;
}

.shuoming-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
}

.yejiao_shuoming p {
    margin: 0 0 4px;
}

.yejiao_shuoming .shuoming-title,
.yejiao_shuoming .shuoming-brand,
.yejiao_shuoming .shuoming-slogan {
    text-align: center;
}

.yejiao_shuoming .shuoming-title {
    margin-bottom: 2px;
    font-size: 20px;
}

@media (max-width: 600px) {
    .diyi_kaijiang_qu .kaijiang-body {
        height: 126px;
        overflow: visible;
    }

    .diyi_kaijiang_qu .kaijiang_jieguo {
        height: 126px;
        min-height: 126px;
        padding: 0;
        row-gap: 0;
        overflow: hidden;
    }

    .diyi_kaijiang_qu .kaijiang_jieguo_A {
        min-height: 26px;
    }

    .diyi_kaijiang_qu .kaijiang_jieguo_B {
        min-height: 76px;
        margin-top: 0;
        padding: 0 2px;
    }

    .diyi_kaijiang_qu .qiu_hang {
        gap: 2px;
        padding-right: 0;
        justify-content: space-between;
    }

    .diyi_kaijiang_qu .qiu_rongqi {
        flex: 0 0 clamp(44px, 13vw, 50px);
    }

    .diyi_kaijiang_qu .qiu_tubiao {
        height: 64px;
        gap: 5px;
        font-size: 25px;
    }

    .diyi_kaijiang_qu .qiu_biaoqian {
        width: calc(100% - 12px);
        max-width: none;
        font-size: 12px;
        min-height: 17px;
        margin: 0 auto 2px;
    }

    .diyi_kaijiang_qu .qiu_jiahao {
        flex-basis: 12px;
        font-size: 20px;
    }

    .diyi_kaijiang_qu .yaojiang_zimu {
        height: 86px;
        border-radius: 6px;
        font-size: 12px;
    }

    .diyi_kaijiang_qu .kaijiang_jieguo_C {
        flex-wrap: nowrap;
        min-height: 22px;
        margin-top: 0;
        padding: 0 4px;
        gap: 4px;
        font-size: 14px;
    }

    .diyi_kaijiang_qu .kaijiang_refresh {
        font-size: 13px;
        padding: 1px 3px;
        border-radius: 3px;
    }
}