.swiper-wrapper {
    justify-content: space-between !important;
}

.onspace {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.span2{
    display: flex;
    align-items: center;
    justify-content: center;
}

/* .lazy{
    width: auto !important;
    height: auto !important;
}

.thum .lazy{
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
} */

.thum{
    display: flex;
}

main {
    width: 100%;
    max-width: 1230px;
    margin: auto;
    /* border: 1px solid; */
}

header .container{
    max-width: 1230px;
    padding: 0;
}


.container{
    max-width: 1230px;
    padding: 0;
}


.grd {
    margin-bottom: 20px;
}




.swiper_box {
    width: 100%;
    overflow: hidden;
    height: 240px;
}


#searchText::placeholder {
    color: #666666;
}


header .container .search_pat .searchBox input {
    width: 280px;
    height: 40px;
    background: #fff;
    border-radius: 21px;
    border: none;
    outline: none;
    text-indent: 46px;
}


header .container .search_pat .searchBox button {
    width: 40px;
    height: 40px;
    background-color: transparent;
    position: absolute;
    left: 7px;
    top: 0;
    cursor: pointer;
}


header .container .branch_nav .category .sub_nav {
    position: absolute;
    background: #fff;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .3);
    border-radius: 10px;
    display: none;
    transition: all .3s;
    align-items: stretch;
    flex-direction: column;
    padding: 15px 0;
    left: 0;
    top: 58px;
    z-index: 9999999999999999;
}


.search_close_icon {
    display: none;
}

.menu_icon,
.search_icon {
    display: none;
}

.searchBox {
    width: 100%;
}

.headerLogoBox{
    display: flex;
    align-items: center;
}

.searchBg{
    width: 100%;
}

@media screen and (max-width: 768px) {

    header .container .mobile_memu_btn,
    header .container .mobile_search_btn {
        display: none;
    }

    header .container .branch_nav .top_nav a {
        display: none;
    }

    header .container .search_pat {
        position: fixed;
        top: 0;
        width: 100%;
        height: 100vh;
        background-color: #1887fc;
        z-index: 9999999999999;
        left: 0;
        padding-top: 100px;
        display: none;
    }

    header .container .search_pat .searchBox input {
        width: 100%;

    }
    .search_close_icon {
        display: block;
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .headerLogoBox {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center
    }

    .menu_icon,
    .search_icon {
        display: block;
    }

    header .container .branch_nav {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    header .container .branch_nav .top_nav {
        margin-right: 0;
    }

    header .container .branch_nav .category .sub_nav {
        position: fixed;
        background: #fff;
        box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .3);
        border-radius: 0px;
        display: flex;
        transition: all .3s;
        align-items: stretch;
        flex-direction: column;
        padding: 15px 0;
        left: 0;
        top: 48px;
        z-index: 9999999999999999;
        background-color: #1887fc;
        left: 0;
        color: #fff;
        width: 100%;
        height: 100vh;
        display: none;
    }

    header .container .branch_nav .category .sub_nav a .category_icon{
        color: #fff;
    }

    header .container .branch_nav .category .sub_nav a span{
        color: #fff;
    }


    .searchBox {
        width: 100%;
        position: relative;
    }

    .icon-Search{
        color: #333;
    }
}

:root {
    --ui-bg: #edf3f7;
    --ui-surface: #ffffff;
    --ui-text: #122033;
    --ui-muted: #5d6b7c;
    --ui-border: rgba(18, 32, 51, .09);
    --ui-blue: #0d7bd8;
    --ui-teal: #15b8a6;
    --ui-yellow: #ffca3a;
    --ui-shadow: 0 18px 42px rgba(18, 32, 51, .1);
}

body {
    background: #efe9e1;
    color: var(--ui-text);
}

header {
    background: #1876cf;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 14px 30px rgba(18, 32, 51, .18);
}

header .container {
    height: 66px;
}

header .container .branch_nav .branch img {
    height: 44px;
}

header .container .branch_nav .top_nav a,
header .container .branch_nav .category .sub_nav_trigger {
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}

header .container .branch_nav .top_nav a:hover,
header .container .branch_nav .category .sub_nav_trigger:hover {
    background: rgba(255, 255, 255, .22);
}

header .container .branch_nav .category .sub_nav {
    border: 1px solid rgba(18, 32, 51, .08);
    box-shadow: 0 18px 34px rgba(18, 32, 51, .16);
}

header .container .branch_nav .category .sub_nav a:hover {
    background-color: #eef7fb;
}

header .container .search_pat .searchBox input,
header .container .search_pat form input {
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 28px rgba(18, 32, 51, .16);
}

main {
    padding: 18px 0 48px;
}

main > .grd,
main > .container,
main > .container_title {
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
}

main > .container_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 30px auto 16px;
    max-width: 1230px;
}

main > .container_title h2 {
    position: relative;
    padding-left: 16px;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--ui-text);
}

main > .container_title h2:before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 5px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--ui-blue), var(--ui-teal));
}

main > .container_title a {
    color: var(--ui-blue);
    font-weight: 700;
}

main > .grd {
    gap: 12px;
    margin-top: 10px;
    margin-bottom: 26px;
}

main > .grd .span2 {
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .78);
    background: #102234;
    box-shadow: var(--ui-shadow);
    overflow: hidden;
}

main > .grd .span2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease, filter .35s ease;
}

main > .grd .span2:after {
    background: linear-gradient(180deg, rgba(3, 7, 18, 0) 20%, rgba(3, 7, 18, .88) 100%);
    border-radius: inherit;
}

main > .grd .span2 .game-title {
    padding: 13px 9px 10px;
    color: #fff;
    font-size: 12px;
    line-height: 1.35;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
}

main > .grd .span2:hover {
    transform: translateY(-5px) scale(1.015);
    box-shadow: 0 20px 36px rgba(18, 32, 51, .16);
}

main > .grd .span2:hover img {
    transform: scale(1.06);
    filter: saturate(1.08);
}

main > .grd .span2:hover .game-title {
    opacity: 1;
    visibility: visible;
}

main .swiper_box {
    height: auto;
    padding-bottom: 4px;
}

main .swiper_box .swiper-wrapper .swiper-slide {
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .78);
    background: #102234;
    box-shadow: var(--ui-shadow);
}

main .swiper_box .swiper-wrapper .swiper-slide > .thum {
    padding-bottom: 66%;
}

main .swiper_box .swiper-wrapper .swiper-slide .buttom {
    height: 76px;
    padding: 12px;
    background: linear-gradient(180deg, rgba(3, 7, 18, 0) 0, rgba(3, 7, 18, .92) 58%);
}

main .swiper_box .swiper-wrapper .swiper-slide .buttom .thum {
    width: 64px;
    height: 64px;
    bottom: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 10px 22px rgba(3, 7, 18, .28);
}

main .swiper_box .swiper-wrapper .swiper-slide .buttom dl {
    width: calc(100% - 106px);
}

main .swiper_box .swiper-wrapper .swiper-slide .buttom dl dt {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

main .swiper_box .swiper-wrapper .swiper-slide .buttom dl dd {
    margin-top: 4px;
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
    line-height: 1.35;
}

main .swiper_box .swiper-wrapper .swiper-slide .buttom > span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border-color: rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .1);
}

main .swiper_box .swiper-wrapper .swiper-slide:hover .buttom .thum {
    border-color: var(--ui-teal);
}

main .swiper_box .swiper-wrapper .swiper-slide:hover .buttom > span {
    background: var(--ui-teal);
    border-color: var(--ui-teal);
}

main > .container dl {
    margin: 8px 0 0;
    padding: 22px;
    border: 1px solid var(--ui-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, .9);
    box-shadow: var(--ui-shadow);
}

main > .container dl dt {
    margin-bottom: 10px;
    color: var(--ui-text);
    font-size: 20px;
    font-weight: 800;
}

main > .container dl dd {
    color: var(--ui-muted);
    line-height: 1.8;
}

main > .container .r {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 14px;
    padding: 16px 18px;
    border: 1px solid var(--ui-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, .88);
    box-shadow: var(--ui-shadow);
}

main > .container .r .branch img {
    height: 40px;
}

main > .container .r nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

main > .container .r nav a {
    color: var(--ui-muted);
    font-weight: 600;
}

main > .container .r nav a:hover {
    color: var(--ui-blue);
}

@media screen and (max-width: 768px) {
    header .container {
        height: 56px;
        padding-left: 12px;
        padding-right: 12px;
    }

    header .container .branch_nav .branch img {
        height: 36px;
    }

    header .container .search_pat {
        background: linear-gradient(180deg, #0b7ddd, #13a28d);
    }

    main {
        padding-top: 12px;
    }

    main > .grd,
    main > .container,
    main > .container_title {
        padding-left: 10px;
        padding-right: 10px;
    }

    main > .container_title {
        margin-top: 22px;
    }

    main > .container_title h2 {
        font-size: 18px;
    }

    main > .grd {
        gap: 10px;
    }

    main > .grd .span2 {
        border-radius: 8px;
    }

    main > .grd .span2:after,
    main > .grd .span2 .game-title {
        opacity: 1;
        visibility: visible;
    }

    main > .grd .span2 .game-title {
        padding: 10px 7px 8px;
        font-size: 11px;
    }

    main > .grd .span2:hover {
        transform: none;
    }

    main .swiper_box .swiper-wrapper .swiper-slide .buttom {
        height: 70px;
    }

    main .swiper_box .swiper-wrapper .swiper-slide .buttom dl dd {
        -webkit-line-clamp: 1;
    }

    main > .container dl,
    main > .container .r {
        padding: 16px;
    }

    main > .container .r {
        flex-direction: column;
        align-items: flex-start;
    }

    .container{
        padding: 0 15px;
    }
}
