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: center;
    height: 76px;
    padding: 0 18px 0 20px;
    background: linear-gradient(90deg, #3030b8 0%, #4048d1 48%, #343bb1 100%);
    box-sizing: border-box;
    overflow: hidden;
}

.site-brand {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-width: 0;
    line-height: 1;
}

.site-brand-main {
    color: #ffe353;
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 1px;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.22);
    white-space: nowrap;
}

.site-brand-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.site-brand-title {
    color: #00f0ff;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
    white-space: nowrap;
}

.site-brand-subtitle {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.nav-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-spinner-image {
    width: 58px;
    height: 58px;
    display: block;
    animation: nav-spinner-rotate 8s linear infinite;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.26));
}

@keyframes nav-spinner-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.home-link {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 78px;
    color: #ffffff;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
}

.home-icon {
    width: 32px;
    height: 32px;
    display: block;
}

/*图片区域*/
.tupianqu {
    display: flex;
    flex-direction: column;
}

.tupianqu img {
    display: block;
    width: 100%;
    height: auto;
}

.tupianqu-extra {
    margin-top: 0;
}

@media (max-width: 600px) {
    .main-content {
        gap: 0;
    }

    /*导航栏*/
    .daohanglan {
        height: 56px;
        padding: 0 10px;
    }

    .site-brand {
        left: 10px;
    }

    .site-brand-title {
        font-size: 16px;
    }

    .site-brand-main {
        font-size: 26px;
    }

    .site-brand-subtitle {
        font-size: 11px;
    }

    .nav-spinner-image {
        width: 36px;
        height: 36px;
    }

    .home-link {
        right: 10px;
        gap: 2px;
        font-size: 10px;
        min-width: 54px;
    }

    .home-icon {
        width: 24px;
        height: 24px;
    }

    /*图片区域*/
    .tupianqu img {
        width: 100%;
    }

    /*导航列表按钮区域*/
    .biaotilan {
        margin: 0;
        padding: 8px 0 10px;
        border: 1px dashed #7aa8ff;
    }

    .biaotilan-buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px 10px;
        padding: 6px 8px 2px;
    }

    .biaotilan-link {
        height: 36px;
        font-size: 15px;
        border-radius: 18px;
        padding: 0 4px;
    }

    .biaotilan-link.color-green {
        font-size: 14px;
    }

    .biaotilan-link.color-blue {
        font-size: 15px;
    }

    .biaotilan-link.color-black {
        font-size: 15px;
    }

    /*网站标题区域*/
    .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 {
    margin: 0;
    padding: 10px 0 12px;
    border: 1px dashed #7aa8ff;
    background-color: #ffffff;
    box-sizing: border-box;
}

.biaotilan-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px 16px;
    padding: 0 12px 1px;
    background-color: #ffffff;
    box-sizing: border-box;
}

.biaotilan-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 42px;
    padding: 0 5px;
    border: 1px solid #78aefc;
    border-radius: 21px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 55%, #ececec 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
}

.biaotilan-link.color-green {
    font-size: 19px;
}

.biaotilan-link.color-blue {
    font-size: 20px;
}

.biaotilan-link.color-black {
    font-size: 20px;
}

.biaotilan-link.color-pink {
    font-size: 20px;
}

.biaotilan-link.color-gold {
    font-size: 20px;
}

.biaotilan-link.color-blue {
    color: #1228ff;
}

.biaotilan-link.color-black {
    color: #000000;
}

.biaotilan-link.color-green {
    color: #0a9300;
}

.biaotilan-link.color-pink {
    color: #ff00fb;
}

.biaotilan-link.color-gold {
    color: #9b8b00;
}

/*网站标题区域*/
.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;
    }
}