html {
    font-size: 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

body {
    display: flex;
    flex-direction: column;
    font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    min-height: 100vh;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    cursor: default;
    box-sizing: border-box;
    background-color: #d7d9db;
    gap: 5px;
}

/*轮播图************************************/
.top-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #ffffff;
}

.top-carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.45s ease;
    will-change: transform;
}

.top-carousel-slide {
    flex: 0 0 100%;
}

.top-carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.top-carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.top-carousel-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.top-carousel-dot.is-active {
    background: #dd3d15;
    transform: scale(1.2);
}

@media (max-width: 600px) {
    .top-carousel-dots {
        bottom: 10px;
        gap: 6px;
        padding: 5px 10px;
    }

    .top-carousel-dot {
        width: 8px;
        height: 8px;
    }
}

/*轮播文字************************************/
.lunbo_wenzi {
    display: flex;
    align-items: center;
    width: 100%;
    height: 36px;
    padding: 0 14px;
    box-sizing: border-box;
    overflow: hidden;
    border-bottom: 1px solid #e5e5e5;
    background: #ffffff;
}

.lunbo_wenzi_icon {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.lunbo_wenzi_view {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.lunbo_wenzi_text {
    display: inline-block;
    white-space: nowrap;
    color: #333333;
    font-size: 15px;
    line-height: 36px;
    animation: lunboWenziScroll 16s linear infinite;
}

@keyframes lunboWenziScroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}


/*开奖区内容   等待客户要求*/
.kaijiang_qu {
    width: 100%;
    height: 200px;
    box-sizing: border-box;
    overflow: hidden;
    background: #ffffff;
}

.kaijiang_qu_title {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 46px;
    padding: 0;
    box-sizing: border-box;
    background: #eeeeee;
}

.kaijiang_tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: 100%;
    height: 46px;
    padding: 0 4px;
    box-sizing: border-box;
    border: 0;
    border-radius: 0;
    border-right: 1px solid rgba(6, 193, 96, 0.18);
    background: #eafff3;
    color: #07964d;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
}

.kaijiang_tab:last-child {
    border-right: 0;
}

.kaijiang_tab strong {
    display: block;
    max-width: 100%;
    overflow: hidden;
    font-size: 14px;
    line-height: 18px;
    white-space: normal;
}

.kaijiang_tab.is-active {
    background: #06c160;
    border-right-color: #06c160;
    color: #ffffff;
}

.kaijiang_qu_content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 154px;
    color: #999999;
    font-size: 15px;
}

.kaijiang_qu_content p {
    margin: 0;
}

.kaijiang_iframe_wrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
}

.kaijiang_iframe_wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.kaijiang_placeholder {
    color: #999999;
    font-size: 15px;
}

@media (max-width: 600px) {

    .kaijiang_qu_title,
    .kaijiang_tab {
        height: 44px;
    }

    .kaijiang_tab strong {
        font-size: 12px;
        line-height: 16px;
    }

    .kaijiang_qu_content {
        height: 156px;
    }
}

/*svg图标展示************************************/
.svg {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    width: 100%;
    padding: 26px 14px 18px;
    box-sizing: border-box;
    background: #ffffff;
}

.svg_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    color: #333333;
    font-size: 18px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.svg_item img {
    width: 62px;
    height: 62px;
    margin-bottom: 14px;
    display: block;
}

.svg_item span {
    display: block;
    max-width: 100%;
    white-space: nowrap;
}

@media (max-width: 600px) {
    body {
        width: 100%;
    }

    .svg {
        padding: 22px 10px 16px;
    }

    .svg_item {
        font-size: 15px;
    }

    .svg_item img {
        width: 54px;
        height: 54px;
        margin-bottom: 10px;
    }
}

/*图片svg展示和图片按钮展示************************************/
.image_qu {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    background: #ffffff;
}

.image_type_switch {
    position: relative;
    width: 100%;
    margin-bottom: 26px;
    box-sizing: border-box;
}

.image_type_arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: 22px;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #06c160;
    cursor: pointer;
    font-family: inherit;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    transition: color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

.image_type_prev {
    left: 0;
}

.image_type_next {
    right: 0;
}

.image_type_arrow:not(:disabled):active {
    transform: scale(0.88);
}

.image_type_arrow:disabled {
    opacity: 0.18;
    cursor: default;
}

.image_qu_1 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    width: 100%;
}

.image_type_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    color: #333333;
    font-size: 18px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.image_type_item img {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
    display: block;
}

.image_type_item span {
    display: block;
    max-width: 100%;
    white-space: nowrap;
}

.image_type_item.is-hidden {
    display: none;
}

.image_qu_2 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 58px;
    gap: 6px;
    padding: 0;
    box-sizing: border-box;
}

.image_series_button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    border: 0;
    border-radius: 4px;
    background: #06c160;
    color: #ffffff;
    cursor: pointer;
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;
}

.image_series_more {
    background: #eeeeee;
    color: #06c160;
}

.image_series_panel {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 12px;
    padding: 12px 0 18px;
    border-top: 1px solid #eeeeee;
}

.image_qu.is-series-open .image_series_panel {
    display: grid;
}

.image_series_panel a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 34px;
    padding: 0 8px;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    background: linear-gradient(120deg, #18d67a, #20c5ff, #ffb12b, #ff4f91, #18d67a);
    background-size: 320% 320%;
    box-shadow: 0 4px 12px rgba(6, 193, 96, 0.24);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
    white-space: nowrap;
    transform: translateY(0) scale(1);
    animation: seriesColorFlow 3.2s ease infinite, seriesPopIn 0.36s ease both;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.image_series_panel a:nth-child(4n + 1) {
    animation-delay: 0s, 0.02s;
}

.image_series_panel a:nth-child(4n + 2) {
    animation-delay: 0.2s, 0.06s;
}

.image_series_panel a:nth-child(4n + 3) {
    animation-delay: 0.4s, 0.1s;
}

.image_series_panel a:nth-child(4n) {
    animation-delay: 0.6s, 0.14s;
}

.image_series_panel a:hover {
    filter: saturate(1.18) brightness(1.06);
    box-shadow: 0 6px 18px rgba(255, 79, 145, 0.34);
    transform: translateY(-2px) scale(1.03);
}

.image_series_panel a:active {
    transform: translateY(0) scale(0.98);
}

@keyframes seriesColorFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes seriesPopIn {
    0% {
        opacity: 0;
        transform: translateY(8px) scale(0.94);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 600px) {
    .image_qu_1 {
        margin-bottom: 22px;
    }

    .image_type_item {
        font-size: 15px;
    }

    .image_type_item img {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }

    .image_qu_2 {
        grid-template-columns: 1fr 1fr 1fr 52px;
        gap: 5px;
    }

    .image_series_button {
        height: 36px;
        font-size: 16px;
    }

    .image_series_panel {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .image_series_panel a {
        height: 32px;
        padding: 0 6px;
        font-size: 14px;
    }
}

/*****公共图片展示区*********************************/
.tupian_zhanshi {
    width: 100%;
    padding: 8px 10px 18px;
    box-sizing: border-box;
    background: #ffffff;
}

.tupian_cards {
    column-count: 2;
    column-gap: 10px;
}

.tupian_card {
    display: inline-block;
    width: 100%;
    margin: 0 0 10px;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 4px;
    background: #ffffff;
    color: #222222;
    text-align: center;
    text-decoration: none;
    break-inside: avoid;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18), 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tupian_card img {
    display: block;
    width: 100%;
    height: auto;
    background: #ffffff;
}

.tupian_card span {
    display: block;
    height: 38px;
    padding: 0 8px;
    box-sizing: border-box;
    overflow: hidden;
    background: #ffffff;
    font-size: 18px;
    line-height: 38px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tupian_loading {
    display: none;
    width: 100%;
    padding: 14px 0 4px;
    box-sizing: border-box;
    color: #777777;
    font-size: 15px;
    text-align: center;
}

.tupian_loading.is-visible {
    display: block;
}

@media (max-width: 600px) {
    .tupian_cards {
        column-gap: 8px;
    }

    .tupian_zhanshi {
        padding: 8px 8px 16px;
    }

    .tupian_card {
        margin-bottom: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16), 0 1px 2px rgba(0, 0, 0, 0.1);
    }

    .tupian_card span {
        height: 34px;
        font-size: 16px;
        line-height: 34px;
    }
}

@media (max-width: 360px) {
    .tupian_card span {
        font-size: 15px;
    }
}

/*这是四个网站跳转的样式*/
.sige_wangzhantiaozhuan {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    width: 100%;
    padding: 0 14px;
    box-sizing: border-box;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    background: #ffffff;
}

.sige_wangzhantiaozhuan_item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 44px;
    border-right: 1px solid #eeeeee;
    color: #06c160;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;
}

.sige_wangzhantiaozhuan_item:last-child {
    border-right: 0;
}

.sige_wangzhantiaozhuan_item span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    animation: sigeWangzhanFlash 1.1s ease-in-out infinite;
}

@keyframes sigeWangzhanFlash {

    0%,
    100% {
        color: #06c160;
        opacity: 1;
    }

    50% {
        color: #ff3b30;
        opacity: 0.45;
    }
}

@media (max-width: 600px) {
    .sige_wangzhantiaozhuan {
        padding: 0 10px;
    }

    .sige_wangzhantiaozhuan_item {
        height: 40px;
        font-size: 15px;
    }
}