:root {
    /* System calligraphy fonts approximate the lettering in the homepage banner. */
    --lc-font-family: Georgia, "Kaiti SC", "STKaiti", "KaiTi", "DFKai-SB", "BiauKai", "Noto Serif CJK SC", "Noto Serif CJK TC", serif;
    --m2uHourColor: #000000;
    --bs-body-color: #ffffff;
}

html, body {
    touch-action: auto;
    overscroll-behavior: auto;
}

body {
    background-color: #000000 !important;
    font-family: var(--lc-font-family) !important;
    background: url(../img/bg1.png) center !important

}
.darkColor {
    color: #2e3033;
}

.grayColor {
    color: #999;
}

.whiteColor {
    color: #fff;
}

.chipsColor {
    color: #0bce6c;
}

.cashColor {
    color: #ffad2e;
}

.redColor {
    color: #f24427;
}

.lightGray {
    color: #8d8f99;
}

.orangeColor {
    color: #ffaf02;
}

.cardColor {
    color: #b2b6c2;
}

.greenColor {
    color: #0bce6c;
}

.lightTextColor {
    color: #b8bcc7;
}

.border2E3 {
    border: 2px solid #e3e3e3;
}

.border1 {
    border: 1px solid #e3e3e3;
}

.textMin {
    font-size: 12px;
}

.textSmaller {
    font-size: 13px;
}

.textSmall {
    font-size: 14px;
}

.textNormal {
    font-size: 15px;
}

.textBig {
    font-size: 16px;
}
.text17 {
    font-size: 17px;
}

.textBiger {
    font-size: 18px;
}

.textMax {
    font-size: 27px;
}

.text20 {
    font-size: 20px;
}

.text21 {
    font-size: 21px;
}

.text22 {
    font-size: 22px;
}

.fontBold {
    font-weight: bold;
}

.fontBold5 {
    font-weight: 500;
}

.textCenter {
    text-align: center;
}

.billMgTop10 {
    margin-top: 10px;
}

.mgTop10 {
    margin-top: 10px;
}

.mgTop12 {
    margin-top: 12px;
}

.mgTop5 {
    margin-top: 5px;
}

.marginTop8 {
    margin-top: 8px;
}

.marginTop15 {
    margin-top: 15px;
}

.marginTop20 {
    margin-top: 20px;
}

.marginTop25 {
    margin-top: 25px;
}

.marginTop30 {
    margin-top: 30px;
}

.marginTop40 {
    margin-top: 40px;
}

.marginTop50 {
    margin-top: 50px;
}

.marginTop80 {
    margin-top: 80px;
}

.marginBottom14 {
    margin-bottom: 14px;
}

.marginBottom2 {
    margin-bottom: 2px;
}

.marginLeft5 {
    margin-left: 5px;
}

.mgLeft10 {
    margin-left: 10px;
}

.mgLeft12 {
    margin-left: 12px;
}

.mgLeft15 {
    margin-left: 15px;
}

.mgLeft20 {
    margin-left: 20px;
}

.mgLeft40 {
    margin-left: 40px;
}

.mgLeft50 {
    margin-left: 50px;
}

.maLR15 {
    margin: 0 15px;
}

.mgRight15 {
    margin-right: 15px;
}

.mgRight10 {
    margin-right: 10px;
}

.billMgRight {
    margin-right: 5px;
}

.headerMgLeft {
    margin-left: 20px;
    height: 16px;
}

.headerMgRight {
    margin-right: 20px;
}

.padLR24 {
    padding: 0 24px;
    box-sizing: border-box;
}

.padLR20 {
    padding: 0 20px;
    box-sizing: border-box;
}

.padLR10 {
    padding: 0 10px;
    box-sizing: border-box;
}

.padLR15 {
    padding: 0 15px;
    box-sizing: border-box;
}

.padLR16 {
    padding: 0 16px;
    box-sizing: border-box;
}

.padLR30 {
    padding: 0 30px;
    box-sizing: border-box;
}

.padTop10 {
    padding-top: 10px;
    box-sizing: border-box;
}

.padTop16 {
    padding-top: 16px;
    box-sizing: border-box;
}

.padTop30 {
    padding-top: 30px;
    box-sizing: border-box;
}

.padLeft15 {
    padding-left: 15px;
    box-sizing: border-box;
}

.padLeft20 {
    padding-left: 20px;
    box-sizing: border-box;
}

.padRight15 {
    padding-right: 15px;
    box-sizing: border-box;
}

.padTopAndBottom20 {
    padding: 20px 0;
    box-sizing: border-box;
}

.padBtm {
    padding-bottom: 24px;
    box-sizing: border-box;
}

.padTop {
    padding-top: 20px;
    box-sizing: border-box;
}

.bgc2 {
    background-color: #c286e9;
}

.bgFd {
    background-color: #fd86e1;
}

.bgFe {
    background-color: #fed36a;
}

.bgf1 {
    background-color: #f1f1f1;
}

.bgFC {
    background-color: #fcfcfc;
}

.bgf {
    background-color: #fff;
}

.bgf0 {
    background-color: #f0f3f5;
}
.m2uBgf {
    background-color: #2a2a2a;
}

.bgcc {
    background-color: #ccc;
}

.bgDA {
    background-color: #dadde3;
}

.bgfff {
    background-color: #fff0f0;
}

.bgf8 {
    background-color: #f8f9fb;
}

.bg0bce {
    background-color: #0bce6c;
}

.bgNotice {
    background-color: #ffe6ec;
}

.bgRedPacket {
    background-color: #fe415e;
}
.btn {
    align-items: center;
    justify-content: center;
    display: flex;
    cursor: pointer;
    /*min-height: 40px;*/
    border-radius: 6px;
    border: none;
    outline: none;
    box-shadow: none;
    transition: all .5s ease-in-out;
}
#gameTitle {
    height: 50px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    background: #000000;
    color: #fff;
    padding: 0 8px;
    display: flex;
}

/*---------------------------*/

.header {
    width: 100%;
    display: flex;
    /*flex-direction: column;*/    /* stack logo above login */
    align-items: center;       /* center horizontally */
    /*justify-content: flex-start;*/
    padding: 0;
    background: #223246;
    position: relative;
    height: 70px;
}

.header-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header-logo img {
    display: block;
    margin: 2px;
}

.header-login-wrapper {
    /*max-width: 320px;          !* keeps login form narrower *!*/
    display: flex;
    margin-left: auto;   /* push to right */
    align-items: center;
    width: auto;         /* IMPORTANT */
}


.header-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.header-login .form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-login .form-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-login-wrapper .form-buttons {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0 8px;
}

.header-login-wrapper .form-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-login-wrapper .form-buttons img {
    width: 95px;     /* adjust to your GIF size */
    height: 30px;
    object-fit: cover;

}


 /* ------------------------*/







/* --- NEW --- icon styling */
.btn-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
}

.btn-icon1 {
    width: 18px;
    height: 18px;
    display: inline-block;
}



@keyframes glowShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 400% 50%; }
}








.login-button {
    font-size: .8125rem;
    line-height: .8125rem;
    min-width: 3rem;
    color: #fff;
    text-align: center;
    border-radius: .3125rem;
    border: 1px solid #fff;
    padding: .1875rem .5rem;
    width: -moz-fit-content;
    width: fit-content;
    float: right;
    max-width: 4.6875rem;
}

/*.banners-slider {*/
/*    !*padding: 90px 8px 8px 8px;*!*/
/*}*/

.banners-slider { padding: 9px !important; }


.testimonial-image {
    border-radius: 10px;
    overflow: hidden;
}


.x-main-container .x-main-side-bar {
    flex: 0 0 auto;
    width: 250px;
    min-width: 250px;
}
.x-menu-provider .nav-menu {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
    transition: all .4s;
}

.x-menu-provider .-nav-menu-container {
    width: 100%;
    flex-direction: column;
    /*align-items: center;*/
    align-items: stretch;       /* make children take full width */
    transition: all .4s;
    padding-left: 2px;
    padding-bottom: 9px;
    padding-top: 1px;
    display: flex;
    gap: 0;
}


.x-menu-provider .nav-item {
    width: 100%;
}

.x-menu-provider .nav-link {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 64px;
    /*border-radius: .75rem;*/
    /*border: 1px solid hsla(0, 0%, 100%, 0.2);*/
    color: #FFFFFF;
    /*padding: .3125rem .2125rem;*/
    padding: 0;
    margin-bottom: .1rem;
    /*background: #303030;*/
    /*background: linear-gradient(180deg, #fee285, #d79742);*/

}

/*.-games-provider-wrapper .-menu-index-page.x-menu-provider .nav-link.TabActive {
    background: linear-gradient(to bottom,
        #FFF6CC 0%,
        #FFD84D 50%,
        #C99700 100%
    );
    color: #152410;
    border: 1px solid #E0F5CD;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5), 0 6px 12px rgba(0, 0, 0, 0.3)
} */


/* --------------------*/
/* Make the image fill the slot (i.e., replace the container) */
.x-menu-provider .nav-link .-ic-menu {
    pointer-events: auto;               /* image receives the click */
    display: block;
    width: 100%;
    /* adjust to your needs */
    /*height: 40px;*/
    object-fit: contain;
    mix-blend-mode: unset;
}

/* --------------------*/


.x-menu-provider .nav-link .-text-nav-menu.-title, .x-menu-provider .nav-link .-text-nav-menu.-title-trans {
    display: block;
}
.x-menu-provider .nav-link .-text-nav-menu.-title-mobile {
    display: none;
}


.x-feed-news-header {
    z-index: 3;
    height: 30px;
    width: 100%;
}

.x-feed-news-header .-feed-news-inner-wrapper {
    width: 100%;
    height: 100%;
    background-color: #3a7300;
    box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
    border-radius: 0 0 10px 10px;
    flex-wrap: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-animatable].animated {
    opacity: 1;
}
.fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translate3d(0, 5%, 0);
    }
    100% {
        opacity: 1;
        transform: translateZ(0);
    }
}
.x-main-container {
    display: flex;
    position: relative;
}
.x-main-container .x-main-content {
    flex: 1;
    width: calc(100% - 250px);
    padding-top: 75px;
}
.x-feed-news-header .-feed-news-inner-wrapper .-icon-container {
    margin-left: .5rem;
}
.x-feed-news-header .-feed-news-inner-wrapper .-track {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
    margin-left: .5rem;
}
.x-feed-news-header .-feed-news-inner-wrapper .-track .-track-item {
    color: #9bd5ff;
    display: inline-block;
    padding-left: 100%;
    -webkit-animation: x-marquee 30s linear infinite;
    animation: x-marquee 30s linear infinite;
}

@keyframes x-marquee {
    0% {
        transform: translate(0);
    }
    100% {
        transform: translate(-100%);
    }
}

.owl-carousel {
    position: relative;
}
.owl-carousel a, .owl-carousel a * {
    pointer-events: auto;
}
.owl-dots {
    position: absolute;
    z-index: 9999;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.owl-dots .owl-dot {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #fff !important;
    background-clip: padding-box !important;
    border-top: 10px solid transparent !important;
    border-bottom: 10px solid transparent !important;
    opacity: .5;
    transition: opacity .6s ease;
}
.owl-dots .owl-dot.active {
    opacity: 1;
}

.owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 60px;
}

.owl-nav button span {
    font-size: 50px;
    color: white;
    opacity: 0.5;
}
.owl-nav button:hover span {
    opacity: 1;
}

.x-category-provider .-games-list-container {
    padding: 8px;
    padding-top: 0;
    margin-bottom: 70px;
    overflow: hidden;
}
.nav {
    display: flex;
    gap: 5px;
}

.x-category-provider .-games-list-container .nav .nav-item.-game-casino-macro-container {
    width: 49%;
    margin-bottom: 5px;
}
.x-game-list-item-macro {
    position: relative;
    /*box-shadow: 1px 2px 5px 0 rgba(0, 0, 0, .6);*/
    border-radius: 10px;
    overflow: hidden;
}
.x-game-list-item-macro .-inner-wrapper {
    position: relative;
}
.x-game-list-item-macro .-inner-wrapper .-cover-img {
    width: 100%;
}
.x-game-list-item-macro .-inner-wrapper .-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    background-color: rgba(56, 54, 83, .7);
    transition: all .4s;
    border-radius: 15px;
    z-index: 3;
}

.x-game-list-item-macro .-inner-wrapper .-overlay .-overlay-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 150px;
    padding: 10px;
    text-align: center;
    transform: translate(-50%, -50%);
    transition: all .4s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.x-category-provider .-games-list-container .nav .nav-item .-text-nav-menu {
    margin-top: .75rem;
    margin-bottom: 0;
    color: #c4c4c4;
    text-align: center;
}

.x-game-list-item-macro:hover .-inner-wrapper .-overlay {
    opacity: 1;
    visibility: visible;
}

@media screen and (min-width: 998px) {
    .x-menu-provider.-desktop-view {
        position: fixed;
        top: 0;
        left: 0;
        width: 250px;
        height: 100vh;
    }
    .x-menu-provider.-desktop-view .nav-menu {
        flex-direction: column;
        justify-content: space-between;
        transition: all .4s;
        z-index: 1;
    }

    .offset-lg-2 {
        margin-left: 16.66667%;
    }
    #account-actions-mobile {
        display: none;
    }
    .x-category-provider .-games-list-container .nav .nav-item.-game-casino-macro-container {
        width: 32%;
        margin: 0 5px 5px 5px;
    }
}
@media screen and (min-width: 1200px) {
    .x-game-list-item-macro.-big .-inner-wrapper .-overlay .-overlay-inner, .x-game-list-item-macro.-big .-inner-wrapper .-overlay .-overlay-inner .-wrapper-container .-btn-play {
        min-width: 120px;
    }

    .x-category-provider .-games-list-container .nav .nav-item.-game-casino-macro-container {
        width: 20%;
        margin-bottom: 0 10px 10px 10px;
    }
}
@media screen and (max-width: 1480px) {
    .x-menu-provider.-desktop-view {
        width: 200px;
    }

    .x-menu-provider .nav-link .-text-provider-wrapper {
        margin-left: .75rem;
    }
    .x-menu-provider .nav-link .-text-nav-menu.-title, .x-menu-provider .nav-link .-text-nav-menu.-title-trans {
        font-size: 75%;
    }
    .x-main-container .x-main-content {
        width: calc(100% - 200px);
    }
    .x-main-container .x-main-side-bar {
        width: 200px;
        min-width: 200px;
    }
    .x-footer .-footer-inner-wrapper {
        justify-content: space-between;
    }
    .x-footer .-footer-inner-wrapper .-describe-wrapper {
        flex: 0 0 50%;
        margin: 0 auto;
    }
    .x-footer .-footer-inner-wrapper .-provider-wrapper {
        order: 1;
        flex: 0 0 50%;
        margin: 0 auto;
    }

    .x-footer-seo .-tags {
        width: 90%;
    }

}

.-games-provider-wrapper {
    display: flex;
    margin-top: 8px;
    margin-bottom: 20px;
    flex-direction: row;
}

.-games-provider-wrapper .-menu-index-page {
    display: block;
    /*flex: 0 0 72px;*/
    flex: 0.03 0 80px;
}

.x-menu-provider .-nav-menu-container    transition: all .4s;
    /*flex-direction: row;*/
}


.uid-box-item + .uid-box-item {
    border-left: 1px solid #e3e5e8;
}
.uid-box .fz18 {
    font-size: 18px;
}
.fontBold {
    font-weight: bold;
}


:root {
    /* Real viewport height (updated by JS) */
    --vh: 1vh;
}


#HomeBtmMenu {
    box-shadow: .4375rem -.1875rem .625rem 0 rgba(77, 77, 77, .1);
}
#HomeBtmMenu {
    width: 100%;
    position: fixed;
    bottom: -1px;
    left: 0;
}

#HomeNav {
    height: 50px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    z-index: 100;
    margin: 0;
    padding-left: 0;
    padding-bottom: calc(env(safe-area-inset-bottom));
    transition: all 0.2s linear;
    position: relative;
}

#HomeBtmMenu a {
    text-decoration: none;
}

#HomeBtmMenu #HomeNav li {
    height: 100%;
    width: 20%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-size: 100% 100%;
    background: #223246;
}
#HomeBtmMenu #HomeNav li a {
    display: flex; flex-direction: column;
    align-items: center;
    justify-content: center;
}
#HomeBtmMenu #HomeNav li:nth-child(3) { }
#HomeBtmMenu #HomeNav li:nth-child(3) .logo-icon {
    position: relative;
}

#HomeBtmMenu .tabIcon {
    width: 1.5625rem;
    height: 1.5625rem;

}

#HomeBtmMenu .tabIcon img {
    background-image: linear-gradient(#f00, #f00);
    background-blend-mode: lighten;
    background-size: cover;
}
#HomeBtmMenu .logo-icon .tabIcon {
    width: 50px;
    position: absolute;
    height: 50px;
    bottom: -25px;
    left: -25px;
    border: 2px solid #303030;
    border-radius: 50%;
    box-shadow: 0 -2px 4px 0 rgba(0, 0, 0, .2);
    background-color: #fff;
    color: #ecc066;
}
#HomeBtmMenu #HomeNav .blankIcon {
    height: 1.625rem;
}

#HomeBtmMenu #HomeNav li .textMin {
    font-size: .75rem;
    position: relative;
    white-space: nowrap;
}

#HomeNav li.active a, .themeColortext {
    color: #ecc066;
}

#HomeNav li a {
    color: #FFFFFF;
}

.UidContent {
    margin: var(--custom-margin-block) var(--custom-margin-align);
}

.uid-box {
    padding: 6px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-align: center;
    border-radius: var(--custom-border-radius, 10px);
    border: 1px solid #e3e5e8;
}
.uid-box a { color: #FFFFFF; }
.flex1 {
    flex: 1;
}

.uid-box-item > div > img {
    margin-left: 8px;
}
.uid-box-label > img {
    width: 20px;
}

.uid-box-trans {
    width: 16px;
}

/* login page css  */
.h5page-frame {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg,#f2f4f6 0%,#cfd9e3 30%,#7fa6c4 60%,#223246 100%);
 }

.h5page-frame__column {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.h5page-frame__column--scroll {
    flex: 1;
    overflow: auto;
}

#login {
    position: relative;
    justify-content: space-between;
    padding-top: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.icon {
    position: absolute;
    top: 1rem;
    left: .9375rem;
}
.icon img {
    width: 1.75rem;
    height: 1.75rem;
}

.container-panel {
    padding: 0 8px;
}

#login .loginForm, #login .loginForm .van-field {
    background-color: var(--m2uInputBgColor);
}
#login .loginForm {
    padding: 0 .9375rem;
    border-radius: .5rem;
    height: 3.125rem;
}
.flexBox {
    align-items: center;
}
.loginForm {
    border: 1px solid #b8bbc2;
}
.VerticalLine {
    width: 1px;
    height: 16px;
    background-color: #e3e5e8;
}

.van-cell {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    box-sizing: border-box;
    width: 100%;
    padding: 10px 16px;
    overflow: hidden;
    color: #323233;
    font-size: 14px;
    line-height: 24px;
    background-color: #fff;
}

.van-cell {
    font-size: 1rem;
    height: 2.5625rem;
    line-height: 2.5625rem;
    padding: 0 1rem;
}
#login .loginForm, #login .loginForm .van-field {
    background-color: #fff;
}

.van-cell__value {
    position: relative;
    overflow: hidden;
    color: #969799;
    text-align: right;
    vertical-align: middle;
    word-wrap: break-word;
}

.van-cell__value--alone {
    color: #323233;
    text-align: left;
}

.van-field__value {
    overflow: visible;
}

.van-cell .van-field__body {
    height: 100%;
}
.van-field__body {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
}

#login .van-cell,
#login .van-field__body {
    padding-right: 0 !important;   /* remove default padding */
}


#sendSmsBtn {
    margin-left: auto;   /* push button to the right edge */
}


.van-field__control {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: #323233;
    line-height: inherit;
    text-align: left;
    background-color: transparent;
    border: 0;
    resize: none;
}

.loginForm .van-field__body .van-field__control {
    font-size: 1rem;
    color: #2e3033;
}

#login .loginForm .van-field .van-field__control {
    height: 100%;
    background: #fff;
}
#login .loginForm .van-field .van-field__control:focus {
    outline: 0;
}
#login .login-logo {
    text-align: center;
}

.flexBox {
    display: flex;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
}

.van-cell__title, .van-cell__value {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
}

#login .forgetTips {
    color: white;
}
#login.smallScreen .bigBtn {
    margin-top: 1.25rem;
}

.bigBtn {
    height: 45px;
    border-radius: 5px;
    line-height: 45px;
    text-align: center;
    /*color: #fff;*/
    font-size: 16px;
}
.bigBtn {
    background: linear-gradient(179deg, #00c6ff 0%, #0072ff 100%);
    color: #000;
    font-weight: 500;
    height: 2.8125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.marginTop20 {
    margin-top: 20px;
}

.version_tip {
    line-height: 36px;
    text-align: center;
}
.textSmaller {
    font-size: 13px;
}

/* profile page css  */
.navTitleBox .header-box {
    width: 100%;
    padding: 0 var(--margin);
    height: var(--navHeight);
    display: flex;
    align-items: center;
}

.navTitleBox .nav-title {
    font-size: 18px;
    margin: auto;
    width: -moz-max-content;
    width: max-content;
}

.navTitleBox .left {
    margin-left: 5px;
}

.user-info {
    display: flex;
    justify-content: space-between;
    padding: 15px 0 20px;
    align-items: center;
}

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

.user-info .uid {
    font-size: 16px;
    padding-right: 10px;
}

.user-info .eye {
    width: 24px;
    height: 24px;
    display: inline;
    vertical-align: sub;
    position: relative;
    top: 1px;
}

.user-info .LoginOut {
    padding: 0 8px;
    height: 28px;
    border-radius: 5px;
    border: solid 1px #1f70e6;
    font-size: 14px;
    color: #1f70e6;
    margin-left: 8px;
}

.MyWallet {
    padding: 15px;
    background-color: #fff;
}

.flex {
    display: flex;
}
.flex-s-b {
    justify-content: space-between;
}

.MyWallet li {
    font-size: 14px;
    line-height: 25px;
    color: #8d8f99;
}

.MyWallet li .BalanceItem {
    color: var(--m2uHourColor);
    /*font-weight: 700;*/
    font-size: 85%;
    line-height: 20px;
}
.MySetting .title {
    height: 23px;
    font-size: 16px;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.van-hairline, .van-hairline--bottom, .van-hairline--left, .van-hairline--right, .van-hairline--surround, .van-hairline--top, .van-hairline--top-bottom {
    position: relative;
}
.van-hairline--top:after {
    border-top-width: 1px
}

.van-hairline--left:after {
    border-left-width: 1px
}

.van-hairline--right:after {
    border-right-width: 1px
}

.van-hairline--bottom:after {
    border-bottom-width: 1px
}

.van-hairline--top-bottom:after, .van-hairline-unset--top-bottom:after {
    border-width: 1px 0
}

.van-hairline--surround:after {
    border-width: 1px
}

.van-grid {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

.MySetting .setting-grid {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.van-grid-item {
    position: relative;
    box-sizing: border-box;
}

.van-grid-item__text {
    color: #646566;
    font-size: 12px;
    line-height: 1.5;
    word-wrap: break-word;
}
.van-grid-item__content {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    box-sizing: border-box;
    height: 100%;
    padding: 16px 8px;
    background-color: #fff
}

.van-grid-item__content::after {
    z-index: 1;
    border-width: 0 1px 1px 0
}

.van-grid-item__content--square {
    position: absolute;
    top: 0;
    right: 0;
    left: 0
}

.van-grid-item__content--center {
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center
}

.van-grid-item__content--horizontal {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    flex-direction: row
}

.van-grid-item__content--horizontal .van-grid-item__icon + .van-grid-item__text {
    margin-top: 0;
    margin-left: 8px
}

.van-grid-item__content--surround::after {
    border-width: 1px
}

.van-grid-item__content--clickable {
    cursor: pointer
}

.van-grid-item__content--clickable:active {
    background-color: #f2f3f5
}
.MySetting .setting-grid .van-grid-item__content {
    height: 107px;
}

.MySetting .setting-grid .icon {
    width: 42px;
    height: 42px;
    margin-bottom: 8px;
}

.navTitleBox {
    width: 100%;
    position: relative;
    --navHeight: 50px; --margin: 8px;
    background: linear-gradient(180deg, #fee285, #d79742);
    color: #000000;
    border-radius: 10px;              /* rounded corners */
    box-shadow: 0 4px 8px rgba(0,0,0,0.15); /* soft shadow */
    border: 1px solid #e0b54d;        /* subtle border color */
    overflow: hidden;                 /* prevent children from bleeding out */
}

.navTitleBox .header-box {
    width: 100%;
    padding: 0 var(--margin);
    height: var(--navHeight);
    display: flex;
    align-items: center;
}

.back-icon[data-v-2f7c99ae] {
    display: flex;
    align-items: center;
    margin-right: 5px;
}
.back-icon .go-back-icon[data-v-2f7c99ae] {
    width: var(--back-icon-size, 16px);
    height: var(--back-icon-size, 16px);
    cursor: pointer;
}
.navTitleBox .center {
    max-width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.VCommonInputBox {
    font-size: 1rem;
    height: 4.4375rem;
    line-height: 55px;
    margin: 10px 15px;
    padding: 0 15px;
    background: white;
    border-radius: 5px;
}

.van-field__label {
    -webkit-box-flex: 0;
    -webkit-flex: none;
    flex: none;
    box-sizing: border-box;
    width: 5.0em;
    margin-right: 12px;
    color: #646566;
    text-align: left;
    word-wrap: break-word;
}

.VCommonInputBox .van-cell {
    font-size: 16px;
}

.van-field__control {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: #323233;
    line-height: inherit;
    text-align: left;
    background-color: transparent;
    border: 0;
    resize: none;
}

.van-field__control:focus {
    outline: 0;
}
.rowCenter {
    align-items: center;
}

.ClickBtnBg {
    background-color: #dadde3;
    color: white !important;
}
.marginTop40 {
    margin-top: 40px;
}
.marginTop15 {
    margin-top: 15px;
}
.mgTop10 {
    margin-top: 10px;
}

#HomeButton {
    transform: translateZ(1px);
    height: 55px;
    width: 55px;
    text-align: center;
    line-height: 55px;
    background: #fff;
    border-radius: 50%;
    position: fixed;
    z-index: 1900;
}

.idx-recent-withdraw {
    background: white;
    border-radius: 10px;
}

.idx-recent-withdraw .recent-table tbody tr:nth-child(odd) {
    background: #0a0a0a;
}

.idx-recent-withdraw .recent-table tbody tr:nth-child(even) {
    background: var(--floating-bg-color);
}
.idx-recent-withdraw .recent-table tbody tr {
    border-radius: 5px;
}

.idx-recent-withdraw .recent-table tbody tr td {
    border: 0;
    padding: 5px;
}

.idx-recent-withdraw .recent-table thead tr th {
    border: 0;
}

.table-filter .total {
    text-wrap: nowrap;
    font-size: 12px;
}

.table-filter input {
    border-radius: 0 !important;
}
.input-group-addon {
    height: 37px;
    border-top: 1px solid #9e9e9e;
    border-bottom: 1px solid #9e9e9e;
    padding: 0 5px;
    display: flex;
    align-items: center;
}
.date-range-pick button {
    color: black;
    border: 1px solid #9e9e9e;
}
.table-filter button.btn-primary {
    line-height: 1;
    height: 37px;
    margin-left: 10px;
}
.table-filter .date-range-pick button:hover {
    color: white;
}

table.dataTable th.dt-type-numeric, table.dataTable th.dt-type-date, table.dataTable td.dt-type-numeric, table.dataTable td.dt-type-date {
    text-align: left;
}

table.dataTable td {
    text-align: left !important;
}

.input-group .input-group-addon {
    z-index: 5;
    position: relative;
    font-size: 12px;
    padding: 5px;
    border-left: 1px solid #9e9e9e;
}

input.form-control, select.form-control, textarea.form-control {
    border-radius: 5px !important;
    border-color: #9e9e9e;
    box-shadow: none;
    background: transparent;
    color: black;
    outline: none;
    height: 37px;
    font-size: .8rem;
    padding: 0 15px;

}
.table-filter input {
    border-radius: 0 !important;
}
.btn-group-sm > .btn, .btn-sm {
    padding: .25rem .5rem;
    font-size: .875rem;
    border-radius: .2rem;
}

.table-filter button.btn-default {
    font-size: 17px !important;
}

#history_table > tr {
    border-bottom: 1px solid #9e9e9e;
}
.table-filter .date-range-pick button:hover {
    color: black;
    border-color: #9e9e9e;
}

.btn-line-secondary {
    background: transparent;
    color: black;
    border: 1px solid black;
    border-radius: 5px;
    min-height: 35px;
}
.btn-line-secondary:hover, .btn-line-secondary.active { border: 1px solid #1f70e6; background: linear-gradient(180deg, #fee285, #d79742); color: #000000; }
.transaction-menu {
    gap: 5px;
    display: flex;
    justify-content: space-between;
}
.transaction-menu a {
    flex-grow: 1;
    /*font-size: 16px;*/
    min-height: 38px;
    color: #FFFFFF;
    background: #212121;
    padding: 10px 10px;
    box-sizing: border-box;
    font-size: 80%;
}

.record-recharge-nav {
    gap: 8px;
    width: 100%;
    margin-top: 15px;
}

.record-recharge-nav a {
    flex-grow: 1;
    /*width: 50%;*/
    color: black;
    border: 1px solid #f5bf22;
    line-height: 20px;
}
.transaction-menu a.active, .record-recharge-nav a.active { background: linear-gradient(180deg, #fee285, #d79742); color: #000000; border: 0;}
.record-recharge-nav a.btn-success { color: #FFFFFF; border: 1px solid #198754; }

.wallet-side-content-wrapper {
    position: relative;
    z-index: 10;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .1);
    border-radius: 13px;
    color: #000000;
}

.text-bold {
    font-weight: 700;
}
.coupon-btn .btn-info {
    min-height: 37px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.van-popup {
    position: fixed;
    max-height: 100%;
    overflow: hidden;
    background-color: #fff;
    -webkit-transition: -webkit-transform .3s;
    transition: -webkit-transform .3s;
    transition: transform .3s;
    transition: transform .3s, -webkit-transform .3s;
    -webkit-overflow-scrolling: touch;
}

.SwitcheLanguage .LanuageContent {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.van-popup--left {
    top: 50%;
    left: 0;
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
}

@media screen and (max-width: 512px) {
    .transaction-menu a {
        /*width: 19%;*/
        /*font-size: 15px;*/
        min-height: 27px;
    }
    .table-filter button.btn-primary {
        margin: 0 0 10px 7px;
    }

    .datePickView {
        width: 100%;
    }

    .date-range-pick_datePick .btn-group {
        /*width: 32%;*/
    }

    .input-daterange input {
        width: 110px !important;
    }

    .table-filter button.btn-default {
        font-size: 85% !important; padding: 5px 7px;
    }

}

.login-center { height: 100%; display: flex; flex-direction: column; justify-content: flex-start; padding-top: 20px; }
.login-btn { width: 100%; border: 0; }

#languageBox li img { margin-left: 2.1875rem; width: 2rem;}

#languageBox > div {
    line-height: 50px;
    padding: 0 16px;
    box-sizing: border-box;
}

#languageBox ul li {
    display: flex;
    height: 50px;
    line-height: 50px;
    border-bottom: 1px solid #e3e5e8;
    box-sizing: border-box;
}

#languageBox ul li > div {
    flex: 1;
    margin-left: -65px;
    text-align: center;
}

.languageTitle {
    background-color: #1f70e6; color: #FFFFFF;
}
.van-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .4);
}
.van-popup--bottom.van-popup--round {
    border-radius: 10px 10px 0 0;
}
.van-popup--bottom {
    bottom: 0;
    left: 0;
    width: 100%;
}
.van-popup {
    position: fixed;
    max-height: 100%;
    overflow-y: auto;
    background-color: #fff;
    -webkit-transition: -webkit-transform .3s;
    transition: -webkit-transform .3s;
    transition: transform .3s;
    transition: transform .3s, -webkit-transform .3s;
    -webkit-overflow-scrolling: touch;
}
.Model {
    height: 100%;
    width: 100%;
}

.ModelTitle {
    height: 50px;
    display: flex;
    align-items: center;
    background-color: #f0f3f5;
    padding: 0 16px;
    box-sizing: border-box;
}

.ModelList {
    /*height: 220px;*/
    overflow-y: scroll;
    padding: 0; margin: 0;
}

.version_tip {
    line-height: 36px;
    text-align: center;
}

.commonBtn {
    width: 100%;
    text-align: center;
    height: 45px;
    line-height: 45px;
    font-size: 16px;
    color: #fff;
    border-radius: 4px;
}

.errorTips {
    display: flex;
    background-color: #ffe6ec;
    padding: 10px 0;
    align-items: center;
}

.SwitcheLanguage .Title {
    margin: 20px 0 13px;
}

.SwitcheLanguage .LanuageContent .ItemDetail {
    display: flex;
    align-items: center;
    color: var(--grey)
}

.SwitcheLanguage .LanuageContent .ItemDetail img {
    width: 46px;
    height: 46px;
    margin-bottom: 8px;
    border: 2px solid #fff
}

.SwitcheLanguage .LanuageContent .ItemDetail .selectItem {
    border: 2px solid var(--themeColor);
    border-radius: 50%;
    padding: 1px;
    width: 40px;
    height: 40px
}

.SwitcheLanguage .LanuageContent .ItemDetail .ShadeBg {
    position: absolute;
    background: rgba(46, 48, 51, .6);
    width: 46px;
    height: 46px;
    border-radius: 50%
}



.UserPopup {
    background: #292929;
    padding: 10px;
    width: 60%;
    height: 100%;
}

.UserPopup .PopupBox {
    width: 100%;
    height: 4.25rem;
    margin-bottom: 1.25rem;
    padding: 0 1.5rem;
    display: flex;
    color: #2e3033;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #e3e5e8;
}
.van-popup-close {
    float: right;
    width: 20px;
    height: 20px;
    padding: 10px;
    background: url(../img/icon-close.svg) no-repeat center;
    filter: invert(2);
    margin-right: 0;
    border-bottom: none; margin-bottom: 10px; }
.van-overflow-hidden { position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: .7;
    z-index: 999; }
.UserPopup .PopupBox > div {
    display: flex;
    align-items: center;
    margin-right: .5rem
}

.UserPopup .PopupBox > div img {
    margin-right: .5rem
}

.InformationPopup {
    height: calc(100% - 3.4375rem);
    width: 100%;
    background-image: linear-gradient(0deg, #f0f3f5, #fff)
}

.InformationPopup .InformationTitle {
    height: 2.75rem;
    line-height: 2.75rem;
    margin: 0 8px;
    display: flex;
    align-items: center
}

.InformationPopup .InformationTitle img {
    width: 1.75rem;
    height: 1.75rem
}

.InformationPopup .InformationTitle p {
    flex: 1;
    color: #2e3033;
    text-align: center
}

.InformationPopup .InformationTitle span {
    width: 1.25rem
}

.InformationPopup #Information {
    height: calc(100% - 4.25rem);
    width: calc(100% - 1.875rem);
    padding: 0 .9375rem .9375rem;
    overflow: scroll;
    display: flex;
    flex-wrap: wrap;
    box-sizing: initial;
    justify-content: space-between;
    margin-top: .5rem;
    align-content: flex-start
}

.InformationPopup #Information .InformationItem {
    width: calc(50% - .46875rem);
    margin-bottom: .5rem
}

.InformationPopup #Information .InformationItem .van-image__img {
    border-radius: .625rem;
    width: 100%; height: 100%; display: block;
}
.van-grid-item__icon-wrapper {
    position: relative;
}
.wallet-side-content-wrapper td { font-weight: normal; font-size: 90%; color: #333333;}
.back-icon {--back-icon-size: 28px; }
.back-icon .go-back-icon {
    width: var(--back-icon-size, 16px);
    height: var(--back-icon-size, 16px);
    cursor: pointer;
}
.occupy-image { width: 50%; margin: 2rem auto; }
/*header {width: 100%; position: fixed; z-index: 1000; background: #000000; }*/
#app-download { height: 35px; padding: 8px; overflow: hidden; font-size: 70%; color: #FFFFFF; display: none; }
#app-download .btn { font-size: 80% !important; }
#app-download .close { width: 30px; height: 30px; border-radius: 50%;border: 1px solid white;padding: 5px 8px;font-size: 10px;cursor: pointer; margin-right: 10px;}

.mission-item {background: #ffffff;border-radius: 10px;overflow: hidden;margin-bottom: 1rem;padding: 10px;color: #000000; border: 1px solid #cccccc}
.mission-item:hover {border-color: #1f70e6;}
.mission-item img {border-radius: 5px;border: 0; margin-bottom: 5px;}
.mission-item p {padding: 0;margin: 0;}
.mission-item .title { margin-bottom: 5px; font-weight: 500; }
.mission-item .intro {overflow: hidden;line-height: 22px;}
.mission-item .intro a {padding-right: 0;color: #888;}
.mission-item .table .btn { padding: 1px 5px;}
.mission-item .choose {margin-top: 8px;}
.mission-item .choose .btn { padding: 5px 10px; font-size: 100%; float: right; }
.mission-item .btn-outline-secondary { border: 1px solid #c5c5c5; min-height: 25px;}
.mission-log p { margin: 5px 0; border-bottom: 1px solid #dddddd; }

.user-top { width: 100%; position: relative; height: 5.5rem; background: url(/assets_m/img/top.png) no-repeat; background-size: 100% 100%; padding: 10px; display: flex; justify-content: space-between;}
.user-top .left-content { /*padding: 10px 10px 0 10px;    overflow: hidden;*/}
.user-top .left-content a img { width: 42px; padding: 0;}
.user-top .right-content { /*font-size: 1.2rem;*/ color: #fff; text-align: right; margin-top: 0.5rem;}
.float-mission-icon { z-index: 400; position: fixed; right: 0.55rem !important; bottom: 4rem !important; width: 80px; overflow: hidden; }
.float-mission-icon img { width: 100%; }
.section_nav { display: flex; width: 100%; line-height: 25px; padding: 5px 0; margin-bottom: 5px; margin-top: 5px; }
.section_nav a { display: block; flex-basis: 100%; gap: 5px; text-align: center; border-bottom: 2px solid #cccccc; background: none; color: #FFFFFF; }
.section_nav a.active { border-bottom-color: #1f70e6; color: #1f70e6; }


.page-content .notice {
    margin-bottom: 2px;
    margin-top: 2px;
}

.notice {
    width: 100%;
    font-size: 90%;
    height: 25px;
    line-height: 25px;
    margin-bottom: 5px;
    color: #FFFFFF;
    display: flex;
}

.notice:before {
    content: '';
    display: block;
    width: 20px;
    min-width: 25px;
    height: 25px;
    margin: 0px 0 0 10px;
    background: url(../img/notice.png) no-repeat center / contain;
    padding-top: 1px;
}

.-track { width: 100%; white-space: nowrap; overflow: hidden; box-sizing: border-box;}
.-track .-track-item { display: inline-block; padding-left: 100%; -webkit-animation: x-marquee 40s linear infinite; animation: x-marquee 40s linear infinite;}
@keyframes x-marquee {
    0% { transform: translate(0); }
    100% { transform: translate(-100%); }
}

.page-content .notice {
    margin-bottom: 2px;
}

.cs-gif {
    position: absolute;
    top: 40px;          /* adjust as needed */
    right: 30px;        /* near the end of the page */
    height: 120px;      /* bigger than logout button */
    width: auto;
    z-index: 999;
    pointer-events: none; /* so it doesn’t block clicks */
}

@media (max-width: 768px) {
    .cs-gif {
        height: 100px;
        top: 160px;
        right: 15px;
    }
}


/* Recharge page – make the start/end date fields wider */
.table-filter .input-group input[type="datetime-local"].form-control {
    /*flex: 0 0 165px;           /* stop flexbox from stretching it */
    flex: 1 1 auto;
    min-width: 165px;

}

/* Recharge filter: make the middle "~" block 50px tall */
.table-filter .input-group .input-group-addon,
.table-filter .input-group-sm .input-group-addon {
    display: flex;
    align-items: center;   /* keeps the ~ vertically centered */
}

.input-daterange .form-control,
#sDate.form-control,
#eDate.form-control,
input[name="sDate"].form-control,
input[name="eDate"].form-control {
    font-size: 13px !important;
    line-height: 1.2 !important;

}

/* ✅ allow datetime input group to stretch responsively */
.table-filter .input-group {
    width: 100%;
}

/* ✅ allow both datetime inputs to grow/shrink evenly */
.table-filter .input-group .form-control {
    flex: 1 1 auto;
    min-width: 0; /* prevents flex overflow */
}

/* ✅ keep "~" fixed width (does not stretch) */
.table-filter .input-group-addon {
    flex: 0 0 auto;
}

/* ✅ Desktop: let the block with input group expand the most */
@media (min-width: 992px) {
    .table-filter > div:first-child {
        flex-grow: 1;
    }
}



/* Space between the header bar and the white card */
.navTitleBox + .container .wallet-side-content-wrapper {
    margin-top: 14px;   /* tweak to taste */
}

/* If the header is fixed, keep content clear of it and add a small gap */
.navTitleBox { --navHeight: 50px; }     /* or whatever your header height is */
.navTitleBox + .container {
    padding-top: calc(var(--navHeight) + 10px);
}


/* Center the date range selector buttons (日 / 週 / 月) */
.datePickView {
    display: block;
    width: 100%;
    margin-top: 5px;
    text-align: center;
}

/*.date-range-pick_datePick {*/
/*    display: flex;*/
/*    justify-content: center;  !* center the items *!*/
/*    align-items: center;       !* vertical centering *!*/
/*    flex-wrap: wrap;           !* allow them to break into new line *!*/
/*    gap: 6px;                  !* space between items *!*/
/*}*/

/*.date-range-pick_datePick .btn-group {*/
/*    width: 100px;              !* fixed width for consistency *!*/
/*    flex-shrink: 0;            !* prevent it from shrinking *!*/
/*}*/

.date-range-pick_datePick {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.date-range-pick_datePick .btn-group {
    flex: 1 1 100px;
    max-width: 150px;
}


/* Each game list (per category) */
.x-category-provider .-games-list-container nav.nav-menu {
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.x-category-provider .-games-list-container nav.nav-menu.active {
    opacity: 1;
    pointer-events: auto;
    animation: slideInFromRight 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}


/* Animation keyframe for entering from right */
@keyframes slideInFromRight {
    0% {
        transform: translateX(250px);
        opacity: 0;
    }
    60% {
        transform: translateX(-20px); /* slight overshoot */
        opacity: 1;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Keep the left category nav visible when scrolling */
.-menu-index-page {
    position: sticky;
    top: 0;
    align-self: flex-start;
    z-index: 999;
    height: 100vh;
    overflow-y: auto;
    bottom: 7rem;
}

/* Ensure the right content can scroll freely */
.x-category-provider {
    flex: 1;
    overflow: auto;
}

.get-money {}
.get-money .block1 {}
.get-money .block1 .ico {}
.get-money .block1 .ico img {width: 1.5rem;display: block;margin: auto;}
.get-money .block1 .ico .txt {text-align: center;font-size: 0.8rem;color: #fff;margin-top: 0.2rem;}
.get-money .block1 {margin-top: -2.5rem;position: relative;}
.get-money .block1 .row2 {border-radius: 15px;box-sizing: border-box;color: #fff;padding-top: 2rem;margin-top: -1.6rem;}
.get-money .block1 .row2 .row22 {font-size: 0.5rem;display: flex;align-items: center;justify-content: space-between;background: #a160fa;color: #fff;}
.get-money .block1 .row2 .row22 .col1 {padding: 0.2rem;}
.get-money .block1 .row2 .row22 .col2 {background: #fc8e00;padding: 0.2rem; /* text-decoration:underline;*/
}
.get-money .block1 .row2 .row23 {font-size: 0.5rem;color: #fff;display: flex;align-items: center;justify-content: space-between;padding: 0.5rem 0 0 0;}
.get-money .block1 .row2 .row24 {background: #5a5a5a; /* margin:0 0.5rem;*/
}
.get-money .block1 .row2 .row25 {font-size: 0.53rem;border: 2px solid #fff;margin: 0.5rem 0;padding: 0.5rem 0.2rem;text-align: center;}
.get-money .block1 .row2 .row25 .col1 {}
.get-money .block1 .row2 .row25 .col2 {margin-top: 0.5rem;}
.get-money .block1 .row2 .row26 {font-size: 0.53rem;border: 2px solid #fff;margin: 0.5rem 0rem;padding: 0.5rem 0.2rem;text-align: center; /* margin-top:1rem;*/
}
.get-money .block1 .row2 .row26 .item {display: flex;padding: 0.2rem 0;align-items: center;}
.get-money .block1 .row2 .row26 .item .col1 {width: 3rem;text-align: left;}
.get-money .block1 .row2 .row26 .item .col2 {flex: 1;text-align: left;}
.get-money .block1 .row2 .row26 .item .col2 input {width: 94%;line-height: 1rem;}
.get-money .block1 .row2 .row27 {display: flex;justify-content: center;}
.get-money .block1 .row2 .row27 .btn {font-size: 16px;padding: 8px 16px;}

.get-money .row2,
.get-money .row2 * {
    font-size: 14px;
}

.get-money .row25,
.get-money .row25 * {
    font-size: initial; /* keep original font size for row25 */
}

.user-box {border-radius: 10px; box-sizing: border-box; background: #FFFFFF; margin-top: 10px; line-height: 25px; margin-left:10px; margin-right:10px;}
.user-box .title { text-align: left; font-size: 17px; font-weight: 400; padding: 10px;color:black; }
.user-box .part { padding: 10px; word-wrap: break-word; line-height: 25px; color:black;}
.user-box .part label { width: 100px; text-align: right; padding-right: 10px; }
.user-box .title-sub {border-bottom: 1px solid #ccc; margin-bottom: 5px; overflow: hidden;}
.user-box .table-sm > :not(caption) > * > * {padding: .10rem .25rem; font-size: 90%;}
.user-box p { padding: 0; margin: 0; }
.user-box a.copy { width: 40%; border-radius: 20px; padding: 5px 10px; background: #1f70e6;color: white; display: inline-block; }

/* ensure the image able to switch from png to gif */
/* default state */
#navbarCategory li .icon-gif {
    display: none;
}

#navbarCategory li .icon-png {
    display: block;
}

/* active tab */
#navbarCategory li.TabActive .icon-png {
    display: none;
}

#navbarCategory li.TabActive .icon-gif {
    display: block;
}

/* ----------------- */
/* ===== app styles ===== */

.container-fluid { background: #FFFFFF; width: auto; height: 100%; margin: 10px; padding: 10px; border-radius: 10px; }
.btn-default { background: grey; }
.btn-block {display: block;width: 100%;}
.btn-xs {padding: 3px 5px; font-size: 85%; border-radius: 5px}
.error { color: red; }
.no-records { text-align: center; color: #000000; }
i.fa { margin-right: 5px;}
.text-bold {
    font-weight: bold;
}

.text-normal {
    font-weight: normal;
}

.text-red {
    color: red;
}

.text-green {
    color: green;
}

.text-black {
    color: #333;
}

.text-coral {
    color: coral;
}

.text-skyblue {
    color: lightskyblue;
}

.text-yellow, .text-yellow a {
    color: yellow;
}

.text-blue {
    color: blue;
}
.pull-right {
    float: right !important;
}
.pull-left {
    float: left !important;
}
.hide {
    display: none !important;
}
.show {
    display: block !important;
}
.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}
/*
.pagebar {
    overflow: hidden; margin-bottom: 10px; color: #333333;
}*/
.my-login-btn { display: flex; align-items: center; justify-content: space-between;font-size: 85%; }
.my-login-btn .divider { width: 6px; background: #FFFFFF; }
.my-login-btn a {flex: 1; height: 35px; line-height: 35px; text-align: center; color: #000000; background: linear-gradient(217deg, #a1c4fd, #c2e9fb); border-radius: 5px;}
.my-reg-btn {  border: 0; width: 100%; text-decoration:none;}
#modifyPwd .form-group { margin-bottom: 15px; }
#modifyPwd .form-group label {margin-bottom: 5px; }
.marginBox { margin-left: 10px; margin-right: 10px; border-radius: 10px; background: #FFFFFF; }
.marginBox.no-bg { background: none; }
.my-btn-default, .my-btn-default:hover { background: linear-gradient(180deg, #fee285, #d79742); color: #000000; border-radius: 5px; padding: 5px 10px; border: none; line-height: 30px; }

.my-box { margin: 10px; }
.my-box .title { padding: 10px 0; overflow: hidden; }
.my-box .title a, .my-box .title button { padding: 5px 10px; }
.my-box .body { padding: 15px; background: #FFFFFF; border-radius: 10px; color: #000000; }

#changePwdForm .van-cell { padding: 0 0.3rem; }
#changePwdForm .VCommonInputBox .van-cell { font-size: 14px; }
#changePwdForm .van-field__label { width: 5rem; line-height: 130%; }

#packageDetail .row21 {}
#packageDetail .row21 img {width: 100%;display: block;}
#packageDetail .row22 {display: flex;align-items: center;justify-content: space-between;background: #22b3aa;color: #fff;margin-top: 0.5rem;}
#packageDetail .row22 .col1 {padding: 0 0.5rem;}
#packageDetail .row22 .col2 {background: #b122b3; padding: 0.3rem 0.5rem; /*text-decoration:underline;*/}
#packageDetail .row23 {display: flex;align-items: center;justify-content: space-between;padding: 1rem 0 0.3rem 0;}

#packageDetail .row24 { }
#packageDetail .row25 { padding-top: 1rem;}
#packageDetail .row26 {margin-top: 0.5rem; }
#packageDetail .row26 td {border-color: lightgrey;font-size: 92%;padding: 2px 5px;}
#packageDetail .row26 .col1 {}
#packageDetail .row26 .col2 {width: 100%;border: solid 0.05rem #ffffff;box-sizing: border-box;margin-top: 0.5rem;padding: 0.5rem;overflow: hidden;}

.record-page {flex: 1; margin-bottom: 8rem; border-radius: 10px; background: #FFFFFF; padding: 0.5rem; overflow: hidden; }
.record-page .block1 .row2 {display: flex;align-items: center;border: 1px solid #ddd;background: #f5f5f5;margin: 0.5rem;border-radius: 5px;height: 1.5rem;}
.record-page .block1 .row2 .col1 {background: #efefef;padding: 0 0.2rem;border-right: 1px solid #ddd;height: 1.5rem;display: flex;align-items: center;justify-content: center;}
.record-page .block1 .row2 .col1 img {width: 0.8rem;display: block;}
.record-page .block1 .row2 .col2 {display: flex;align-items: center;}
.record-page .block1 .row2 .col2 input {width: 100%;border: none;height: 1rem;margin: 0;box-sizing: border-box;padding: 0;background: none;outline: none;text-align: center;}
.record-page .block1 .row2 .col3 {background: #efefef;height: 1.5rem;display: flex;align-items: center;justify-content: center;padding: 0 0.3rem;border-left: 1px solid #ddd;border-right: 1px solid #ddd;}
.record-page .block2 {}
.record-page .block2 .row2 {margin: 0 0.5rem;}
.record-page .block2 .row2 select {height: 1.5rem;width: 100%;border: 1px solid #ddd;}
.record-page .block2 .row2 select option {}
.record-page .block3 {}
.record-page .block3 .row2 {display: flex;margin: 0; color: #fff;}
.record-page .block3 .row2 .col1 {flex: 1;background: #5960a6;border: 1px solid #fff;padding: 0.2rem;}
.record-page .block3 .row22 {display: flex;margin: 0.5rem;margin-top: 0;font-size: 0.55rem;color: #fff;}
.record-page .block3 .row22 .col1 {flex: 1;background: #59a0a6;border: 1px solid #fff;padding: 0.2rem;}
.record-page .block4 {}
.record-page .block4 .row2 {margin: 0.5rem 0;}
.record-page .block4 .row2 .item {background: #fff;border-radius: 10px;overflow: hidden;position: relative;margin-bottom: 0.5rem;box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);}
.record-page .block4 .row2 .item .txt1 { /* background:#000;*/
    color: #fff;font-size: 15px;padding: 5px 10px;background-image: linear-gradient(0deg, #0161eb, #07c5ff);line-height: 20px;height: 50px;}
.record-page .block4 .row2 .item .txt1 br {}
.record-page .item .status-draw, .record-page .item .status-win, .record-page .item .status-lose {position: absolute;top: 24px;right: 0;height: 50px;width: 120px;font-size: 15px;padding: 5px 10px 5px 30px;text-align: center;background: #CCCCCC; /*border-top:20px solid transparent;border-right:50px solid red;border-bottom:20px solid transparent;*/
}
.record-page .item .status-draw {color: white;background: url("/assets_m/img/record-item-status-draw.png") no-repeat;background-size: cover;}
.record-page .item .status-win {color: aqua;background: url("/assets_m/img/record-item-status-win.png") no-repeat;background-size: cover;}
.record-page .item .status-lose {color: red;background: url("/assets_m/img/record-item-status-lose.png") no-repeat;background-size: cover;}
.record-page .block4 .row2 .item .txt2 br {}
.record-page .block4 .row2 .item .txtG {position: relative;border-bottom: 1px solid #ddd;}
.record-page .block4 .row2 .item .txtG .txt3 {font-size: 85%;padding: 10px;line-height: 150%;color: #666666;}
.record-page .block4 .row2 .item .txtG .txt3 strong {}
.record-page .block4 .row2 .item .txtG .txt3 br {}
.record-page .block4 .row2 .item .txtG .txt4 {position: absolute;bottom: 0;right: 0;padding: 0 10px 10px 10px;text-align: right;line-height: 1.6em;color: #666666;}
.record-page .block4 .row2 .item .txtG .txt4 a {color: limegreen;}
.record-page .block4 .row2 .item .txtG .txt4 p {margin: 0;font-size: 0.4rem;line-height: 20px;}
.record-page .block4 .row2 .item .txtG .txt4 br {}
.record-total {
    border-bottom: 1px solid #dddddd;
    margin-bottom: 10px;
    font-size: 100%;
    padding: 5px; color: red;
}
.record-page th, .record-page td { font-weight: normal; }

.red-bg {background: #c00 !important;}
.black-bg {background: #000 !important;}
.valid-code-input {
    margin: 10px auto;
    text-align: center;
    display: flex;
    justify-content: center;
}

.valid-code-input input {
    width: 35px;
    height: 35px;
    font-size: 20px;
    margin: 0 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
    color: #333333;
    outline: none;
}

.valid-code-input input:last-child {
    margin-right: 0;
}

/* 焦点样式 */
.valid-code-input input:focus {
    border-color: #ffa500;
    background: #d0e9c6;
}
/*倍场选择模态窗口*/
#slots_modal {
    display: none;
    width: 80%;
    /*height: fit-content;*/
    color: #FFFFFF;
    /*border: 1px solid #337b87;*/
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    line-height: 30px;
    text-align: center;
    overflow: hidden;
    margin: 20% auto 0 auto;left: 10%;
}
#slots_modal p {
    color: black;font-size: 10px;text-align: left;margin: 0;line-height: 20px
}

.slots_modal-header {
    background: #337b87;
    padding: 5px 10px;
    text-align: center;
}

.slots_modal-body {
    padding: 20px 20px 0 20px;
    background: #dbeced;
}

.slots_modal-btn {
    display: inline-block;
    text-align: center;
    width: 40%;
    margin: 0 0 5% 5%;
    background: #337b87;
    color: #FFFFFF;
    border-radius: 5px;
    padding: 2px 0;
}

.slots_modal-btn:nth-child(odd) {
    margin-left: 0;
}
.statement { color: #000000; }
.statement .current-local a { font-size: 85% !important; font-weight: normal;}
.statementBox { background: gainsboro; padding: 5px; border: 0.01rem solid #FFFFFF;}
.table-filter .form-control, .datePickView { font-size: 85% !important;}
.top, .top-up2 { color: #333333; flex: 1; margin-top: 1rem; border-radius: 10px; background: #FFFFFF; padding: 0.8rem; overflow: hidden; }

/*.top, .top-up {flex: 1; margin-bottom: 8rem; border-radius: 10px; background: #FFFFFF; padding: 0.5rem; overflow: hidden; }*/
.top-up {margin-top: 1rem;margin-bottom: 5rem; }
.top-up .block1 {}
.top-up .block1 .row2 {width: 11.62rem;margin: 0 auto 10px auto;}

.top-up .block2 {padding-top: 0.4rem;}
.top-up .block2 a {display: block;margin: auto;margin-bottom: 1.19rem;}
.top-up .block2 a img {width: 10.52rem;height: 3.57rem;display: block;margin: auto;}

.top-up2 {margin-bottom: 6rem;}
.top-up2 .block1 .ico {}
.top-up2 .block1 .ico img { width: 1.5rem; display: block; margin: auto; }
.top-up2 .block1 .ico .txt { text-align: center; font-size: 0.8rem; color: #fff; margin-top: 0.2rem;}
/*.top-up2 .block1 {margin-top: -2.5rem;position: relative;}*/
.top-up2 .block1 .row2 {background: #FFFFFF; padding: 0.5rem; border-radius: 15px; box-sizing: border-box; overflow: hidden;}
.top-up2 .block1 .row2 .col1 {border: 1px solid #fff; padding-top: 0;}
.top-up2 .block1 .row2 .col1 img {width: 100%; display: block;}
.top-up2 .block1 .row2 .col1 .t {font-size: 15px; padding: 0.2rem;}
.top-up2 .block1 .row2 .col1 .t br {}
.top-up2 .block1 .row2 .col2 {font-size: 15px;display: flex;align-items: center;margin-top: 0.5rem;}
.top-up2 .block1 .row2 .col2 .c1 { text-align: right; padding: 0 1rem;}
.top-up2 .block1 .row2 .col2 .c2 {flex: 1;}
/*.top-up2 .block1 .row2 .col2 .c2 input{width:100%;height:1.3rem;border:none;}
.top-up2 .block1 .row2 .col2 .c2 select{width:100%;height:1.3rem;border:none;color:#000;}
*/
.top-up2 .block1 .row2 .col3 { margin-top: 0.5rem;}
.top-up2 .block1 .row2 .col3 .btn {font-size: 16px;padding: 8px 16px;}
.top-up2 .block1 .row2 .col3 .c1 {font-size: 0.4rem;flex: 1;}
.top-up2 .block1 .row2 .col3 .c2 { }
.top-up2 .block1 .row2 .col3 .c2 a {width: 3.6rem;height: 1.6rem;display: flex;align-items: center;justify-content: center;background: #fff;border-radius: 5px;color: #000;font-size: 16px;}
.top-up2 .block2 { }
.top-up2 .block2 .row2 { padding: 0.5rem; }
.top-up2 .block2 .row2 .col1 { color: #b80490; font-weight: bold; padding: 0.2rem; text-align: center;}
.top-up2 .block2 .row2 .col2 { font-size: 1.2rem;text-align: center;margin-top: 0.5rem;}
.top-up2 .block2 .row2 .col3 { background: #1f70e6; width: 40%;text-align: center; border-radius: 1rem; padding: 0.2rem 0.5rem; margin: 0.5rem auto; line-height: 30px;}
.top-up2 .block2 .row2 a.copy {color: white;display: block; }
.top-up2 .block2 .row2 .col4 {text-align: center;margin-top: 0.5rem; }
.top-up2 .block2 .row2 .col5 { margin-top: 0.5rem;}
.top-up2 .block2 .row2 .col5 br {}
.top-up2 .block2 .row2 .col6 {margin-top: 0.8rem; text-align: center; line-height: 30px; /*display: flex;justify-content: space-between;align-items: center;*/}
.top-up2 .block2 .row2 .col6 .a {}
.top-up2 .block2 .row2 .col6 .b {}

.recharge-warn {
    text-align: center;
    color: red;
    margin-top: 20px;
}

.pkg-item {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    padding: 5px;
    color: #000000;
}

.pkg-item:hover {
    border-color: #1f70e6;
}

.pkg-item img {
    border-radius: 5px 5px 0 0;
    border: 0;
}

.pkg-item p {
    padding: 0;
    margin: 0;
}

.pkg-item .intro {
    padding: 5px;
    overflow: hidden;
    line-height: 22px;
}

.pkg-item .intro a {
    padding-right: 0;
    color: #888;
}

.pkg-item .choosePkg {
    float: right;
    margin: 5px;
    display: inline-flex; gap: 5px;
}
.btn-choose-package { float: right; background: linear-gradient(180deg, #fee285, #d79742); border-radius: 5px; padding: 8px 16px !important; color: #000000 !important;}
.btn-logout { color: #000000; border: 1px solid #000000; padding: 5px; border-radius: 5px; }

.btn-logout:hover { }

.announce {
    width: auto;
    height: 100%;
    margin: 10px;
    padding: 5px 0;
    border-radius: 10px;}
.announce .card { background: #FFFFFF; border: 1px solid #FFFFFF; }
.announce .card:hover { border: 1px solid #1f70e6; cursor: pointer; }
.btn-warning { background: linear-gradient(to bottom,#4bb6e8,#2f8fc6); !important; border-color: linear-gradient(180deg, #fee285, #d79742) !important;}
.btn-group-vertical > .btn, .btn-group > .btn { background: linear-gradient(180deg, #fee285, #d79742); }
.input-group .input-group-addon { color: #000000; }
.card { color: #000000; }
input.form-control:focus { color: #000000 !important; }
select.form-control, select.form-control:focus { color: #000000 !important; }
input[type=datetime-local] { width: 110px !important;}
.datePickView i.fa { margin-right: 0;}

#contactList { display: none; padding: 5px 10px 0 10px; overflow: hidden;}
#contactList li { list-style: none; border-bottom: 1px dashed #cccccc; overflow: hidden;}
#contactList li:last-child { border-bottom: 0;}
#contactList li a { display: block; width: 100%; text-align: center; padding: 5px; }
#commCollect {
    display: flex;
    align-items: center;
    justify-content: space-between;

    height: 36px;
    padding: 0 10px;

    font-size: 14px;
    color: #0f2f3a;

    /* Light blue HUD background */
    background: linear-gradient(
        to bottom,
        #d8f2ff,
        #bfe7fb
    );

    /* Border design */
    border: 2px solid grey;
    border-radius: 6px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 2px 6px rgba(0, 0, 0, 0.12);
}

#commCollect .col1 {
    flex: 1;
    padding-left: 0.5rem;
}

#commCollect .col1 button { font-size: 14px; padding: 4px 8px; margin-right: 10px; background: #056125; border: 0; margin-top: -2px; border-radius: 5px; float: right; }
.float-support-btn { z-index: 9999; position: fixed; right: 50px !important; bottom: 90px !important; width: 50px; height: 50px;  }
.layui-layer-dialog .layui-layer-content { color: #333333; }
.floating-tips {
    position: fixed;
    width: 60px;
    bottom: 130px;
    right: 10px;
    z-index: 1;
    animation: tng 15s infinite;
}

.floating-tips img {
    width: 100%;}
@keyframes tng {
    0% {transform: translateY(0)}
    50% {transform: translateY(-250px)}
    100% {transform: translateY(0)}
}

.hot-game-title { width: 100%; margin: 10px 0; text-align: left; }
.hot-game-title img { width: auto; height: 30px; }
#hot-game-carousel { margin: 10px 0; z-index: 0; }
#hot-game-carousel .owl-dots { overflow:hidden; bottom: -20px; }

.amount-opts {display: inline-flex; gap: .35rem; margin-top: .5rem; overflow: hidden; justify-content: stretch;flex-direction: row;flex-wrap: wrap;}
.amount-opts-item { padding: 3px 7px; border-radius: 5px; font-size: 95%;background: #0dcaf0;}
.float-mission-icon { z-index: 400; position: fixed; right: 22px !important; bottom: 9rem !important; width: 64px; overflow: hidden; }
.float-mission-icon img { width: 100%; }

html, body {
    touch-action: auto;
    overscroll-behavior: auto;
    overflow-x: hidden; /* keep if layout needs it */
}
.pagination {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.pagination >li {
    border: 1px solid black;
    padding: 5px;
    font-size: 17px;
    text-align: center;
}

.pagination >li.active {
    background-color: #007bff !important;
}

/* When li has active class */
.pagination > li.active > a {
    color: white !important;
    font-weight: bold;
}

.pagebar {
       display: flex;
       flex-wrap: wrap;
       justify-content: space-between;
       align-items: center;
       margin-bottom: 10px;
       color: #333333;
       width: 100%;
       box-sizing: border-box;
       gap: 3px;
   }

/* ===== site-theme styles ===== */
/* Shared 88laicai shell for account, recharge and record pages. */
body.lc-site:not(:has(.lc-header)):not(:has(#loginForm)):not(:has(#regForm)) {
    min-height: 100vh;
    color: #8d2020;
    background: url('../img/desktop/page-frame.png') center / 100% 100% no-repeat fixed,
                #fffaf2 url('../img/desktop/blossoms.png') center top / 100% auto no-repeat fixed !important;
}
.lc-site .navTitleBox {
    background: #fff8e9 url('../img/desktop/blossoms.png') center / cover no-repeat !important;
    color: #8d2020 !important;
    border: 1px solid #d8b369;
    box-shadow: 0 2px 8px #9a74201a;
}
.lc-site .navTitleBox .nav-title { color: #8d2020; }
.lc-site .navTitleBox .go-back-icon { filter: brightness(.55); }
.lc-site .record-page, .lc-site .idx-recent-withdraw {
    background: #fffaf2f5 !important;
    border: 1px solid #dfc89f;
    border-radius: 14px;
    color: #253c5b;
    box-shadow: 0 4px 16px #8c561012;
}
.lc-site .record-page::before, .lc-site .idx-recent-withdraw::before { background: none !important; }
.lc-site .record-page .table { --bs-table-bg: transparent; --bs-table-color: #253c5b; color: #253c5b; }
.lc-site .record-page .table td, .lc-site .record-page .table th { border-color: #e1d4bb; }
.lc-site .transaction-menu > a { background: linear-gradient(#a82b27, #74161c); color: #ffebba; border: 1px solid #d4b16d; border-radius: 8px; }
.lc-site .transaction-menu > a.active { background: linear-gradient(#dc4932, #ac211f); color: #fff0c4; }
.lc-site .btn-warning { background: linear-gradient(#bd3025, #8c171b); color: #ffedb7; border-color: #d4b16d; }
.lc-site .no-records { color: #5e6170; }
@media (min-width: 768px) {
    .lc-site #HomeBtmMenu { display: none !important; }
    .lc-site:not(:has(.lc-header)) > .container { width: 86%; max-width: none; }
}
@media (max-width: 767px) {
    .lc-site:has(#HomeBtmMenu) { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
    .lc-site #HomeBtmMenu { background: #74161c; padding-bottom: env(safe-area-inset-bottom); }
}

.lc-account-home { display: none; }
@media (min-width: 768px) {
    .lc-account-mobile-logout { display: none; }
    .lc-account-home { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid #d4b16d; border-radius: 8px; background: linear-gradient(#bd3025, #8c171b); color: #ffedb7; text-decoration: none; }
    .lc-account-home:hover { color: #fff4d1; background: #a62322; }
    .lc-account-home:focus-visible { outline: 2px solid #b8872a; outline-offset: 3px; }
}


/* ===== mobile-theme styles ===== */
/* Visual treatment only: preserve the mobile header, category rail and bottom navigation. */
@media (max-width: 767px) {
    body:has(.lc-header) {
        color: #092b67;
        background: #fffaf2 url('../img/desktop/blossoms.png') center top / 100% auto no-repeat fixed !important;
    }
    .lc-mobile-header .header {
        background: #fff9ee url('../img/desktop/blossoms.png') center / cover no-repeat;
        border-bottom: 2px solid #d8b365;
    }
    .lc-mobile-header .header-logo img { content: url('../img/desktop/logo.png'); object-fit: contain; }
    .lc-mobile-header .form-buttons a { position: relative; background: center / 100% 100% no-repeat; }
    .lc-mobile-header .form-buttons .header-login-btn { background-image: url('../img/desktop/login.png'); }
    .lc-mobile-header .form-buttons .header-reg-btn { background-image: url('../img/desktop/register.png'); }
    .lc-mobile-header .form-buttons img { visibility: hidden; }
    .lc-mobile-header .form-buttons a::after {
        content: attr(aria-label); position: absolute; inset: 1% 12% 32%; display: flex;
        align-items: center; justify-content: center; color: #ffe7a3;
        font-size: 14px; font-weight: 700; text-shadow: 0 1px 2px #5c2105;
    }
    body:has(.lc-header) .notice { color: #133e78; background-color: #fff7e7; }
    body:has(.lc-header) .uid-box { background: #fff7e7; color: #12376c; border: 1px solid #dec48b; }
    body:has(.lc-header) .uid-box a { color: #12376c; }
    body:has(.lc-header) .my-login-btn a { color: #fff1c2; background: linear-gradient(#b72b20, #8b1518); border: 1px solid #d6ac55; }
    body:has(.lc-header) .x-menu-provider .nav-link { border-radius: 10px; background: #fff4df; }
    body:has(.lc-header) .x-menu-provider .nav-link.TabActive { background: #ffe5b4; box-shadow: inset 0 0 0 1px #c98e35; }
    body:has(.lc-header) .x-menu-provider .icon-gif { display: none !important; }
    body:has(.lc-header) .x-menu-provider .icon-png { display: block !important; object-fit: contain; }
    #navbarCategory li:nth-child(1) .icon-png { content: url('../img/desktop/slots.png'); }
    #navbarCategory li:nth-child(2) .icon-png { content: url('../img/desktop/fish.png'); }
    #navbarCategory li:nth-child(3) .icon-png { content: url('../img/desktop/live.png'); }
    #navbarCategory li:nth-child(4) .icon-png { content: url('../img/desktop/sport.png'); }
    #navbarCategory li:nth-child(5) .icon-png { content: url('../img/desktop/cards.png'); }
    #navbarCategory li:nth-child(6) .icon-png { content: url('../img/desktop/lottery.png'); }
    body:has(.lc-header) #HomeBtmMenu #HomeNav li { background: #8d2020; border-top: 2px solid #d8b365; }
    body:has(.lc-header) #HomeBtmMenu #HomeNav li.active { background: #b02521; }
}
@media (max-width: 767px) {
    #navbarCategory .lc-category-label { display: block; flex-shrink: 0; width: 100%; color: #12376c; font-size: 13px; line-height: 1.3; padding: 2px 3px 5px; text-align: center; overflow-wrap: anywhere; }
    body:has(.lc-header) #navbarCategory .icon-png { width: 58px; height: 58px; }
    #HomeBtmMenu #HomeNav { height: 60px; }
    #HomeBtmMenu #HomeNav li { background: linear-gradient(#a82b27, #74161c) !important; border-top: 2px solid #d9ad5a; }
    #HomeBtmMenu #HomeNav li.active { background: linear-gradient(#df4933, #b02521) !important; }
    #HomeBtmMenu #HomeNav .tabIcon { width: 32px !important; height: 32px !important; margin: 0 !important; transform: none !important; }
    #HomeBtmMenu #HomeNav .blankIcon { display: none; }
    #HomeNav li:nth-child(1) .tabIcon { content: url('../img/desktop/nav-deposit.svg'); }
    #HomeNav li:nth-child(2) .tabIcon { content: url('../img/desktop/nav-history.svg'); }
    #HomeNav li:nth-child(3) .tabIcon { content: url('../img/desktop/nav-home.svg'); }
    #HomeNav li:nth-child(4) .tabIcon { content: url('../img/desktop/nav-account.svg'); }
    #HomeNav li:nth-child(5) .tabIcon { content: url('../img/desktop/nav-menu.svg'); }
}

@media (max-width: 767px) {
    #navbarCategory .lc-category-label .-text-nav-menu.-title-trans {
        display: block;
        font-size: 13px;
        line-height: 1.3;
        color: inherit;
        white-space: normal;
    }
}


/* ===== desktop styles ===== */
.lc-desktop, .lc-category-label { display: none; }
/* Homepage only. Loaded at 768px and above; the mobile template keeps its original styles. */
@media (min-width: 768px) {
    body:has(.lc-header) {
        margin: 0;
        padding: 0;
        color: #092b67;
        background: #fff url('../img/desktop/page-frame.png') center top / 100% 100% no-repeat !important;
        font-family: var(--lc-font-family) !important;
    }
    .lc-desktop { display: block; }
    .lc-mobile-header, body:has(.lc-header) #HomeBtmMenu { display: none !important; }
    .lc-header {
        display: flex;
        align-items: center;
        gap: 1.2vw;
        min-height: 12.6vw;
        padding: 2.5vw 3.5% 1vw;
        background: url('../img/desktop/blossoms.png') center 45% / cover no-repeat;
        border-top: 4px double #e6524f;
    }
    .lc-logo { flex: 0 0 21%; }
    .lc-logo img { width: 100%; height: auto; }
    .lc-links { display: flex; align-items: center; justify-content: space-evenly; flex: 1; gap: 1vw; }
    .lc-links a { color: #082b74; font-size: clamp(14px, 1.55vw, 28px); font-weight: 700; white-space: nowrap; text-decoration: none; }
    .lc-links a:hover { color: #c51f1f; }
    .lc-auth { display: flex; flex: 0 0 30%; gap: .5vw; }
    .lc-auth a { position: relative; width: 50%; aspect-ratio: 460 / 250; background: center / contain no-repeat; text-decoration: none; }
    .lc-auth .lc-login { background-image: url('../img/desktop/login.png'); }
    .lc-auth .lc-register { background-image: url('../img/desktop/register.png'); }
    .lc-auth span { position: absolute; inset: 17% 14% auto; display: flex; align-items: center; justify-content: center; height: 38%; white-space: nowrap; text-align: center; color: #ffdf8d; font: bold clamp(14px, 1.9vw, 34px) var(--lc-font-family); text-shadow: 2px 2px 2px #4b1600; }
    body:has(.lc-header) .page-content { margin: 0; padding: 0; }
    body:has(.lc-header) .notice { color: #103d75; background: #fff8ed; margin: 0; }
    body:has(.lc-header) .banners-slider { padding: 0 !important; }
    body:has(.lc-header) .owl-banners .testimonial-image img { display: block; width: 100%; height: auto; border-radius: 0; }
    body:has(.lc-header) .owl-banners { position: relative; }
    body:has(.lc-header) .owl-banners .owl-nav { position: absolute; inset: 42% 1.5% auto; display: flex; justify-content: space-between; pointer-events: none; margin: 0; }
    body:has(.lc-header) .owl-banners .owl-nav button { pointer-events: auto; width: 44px; height: 44px; border-radius: 50%;  color: #666; font-size: 36px; line-height: 36px; box-shadow: 0 2px 5px #0003; }
    body:has(.lc-header) .owl-banners .owl-dots { position: absolute; bottom: 5px; width: 100%; }
    .lc-benefits { display: grid; grid-template-columns: repeat(4, 1fr); padding: 1.3vw 4%; background: linear-gradient(115deg, #063b86, #032461 65%, #074aa0); color: #fff2c7; border-block: 2px solid #2b79ce; }
    .lc-benefits > * { display: flex; align-items: center; justify-content: center; gap: 1.3vw; padding: 0 1vw; border: 0; border-right: 1px solid #c5ad76; background: transparent; color: inherit; text-align: left; font: inherit; }
    .lc-benefits > :last-child { border-right: 0; }
    .lc-benefits i { font-size: clamp(28px, 3.5vw, 58px); }
    .lc-benefits span { font-size: clamp(12px, 1.2vw, 21px); }
    .lc-benefits small { display: block; margin-top: 4px; font-size: inherit; }
    .lc-categories { display: flex; align-items: flex-start; justify-content: center; width: 94%; margin: 0 auto; padding: 2.8vw 6% 5.8vw; background: url('../img/desktop/category-frame.png') center / 100% 100% no-repeat; }
    .lc-categories button { flex: 1; min-width: 0; border: 0; padding: 0; background: url('../img/desktop/ornament.png') center / contain no-repeat; color: #062c79; font-size: clamp(12px, 1.3vw, 22px); font-weight: bold; line-height: 1.2; }
    .lc-categories img { display: block; width: 56%; max-width: 120px; margin: 0 auto; transition: transform .2s; }
    .lc-categories button:hover img, .lc-categories .is-active img { transform: translateY(-4px); }
    .lc-categories .is-active span { color: #b91b19; }
    .lc-heading { text-align: center; margin: -2.5vw 0 1vw; scroll-margin-top: 20px; }
    .lc-heading img { width: 54%; max-width: 800px; height: auto; }
    body:has(.lc-header) #slot-ico { background: transparent; margin: 0 auto 20px; padding: 0; width: 86%; border-radius: 0; }
    body:has(.lc-header) #slot-ico:empty { display: none; }
    body:has(.lc-header) .hot-game-title { display: none; }
    body:has(.lc-header) .-games-provider-wrapper { display: block; width: 86%; margin: 0 auto; padding-bottom: 7vw; }
    body:has(.lc-header) .-menu-index-page { display: none; }
    body:has(.lc-header) .x-category-provider { overflow: visible; }
    body:has(.lc-header) .-games-list-container { padding: 0; }
    body:has(.lc-header) .-games-list-container .row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5vw; margin: 0; padding: 0 !important; }
    body:has(.lc-header) .-games-list-container .row > div { width: auto; padding: 0 !important; min-width: 0; }
    body:has(.lc-header) #hot-game-carousel .item > a {
        display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden;
        min-height: 23vw; padding: 12px 7px 5px; border: 5px ridge #e7b85e; border-radius: 34px 34px 26px 26px;
        background: radial-gradient(ellipse at top, #e8fbff, #7dc8e9 60%, #fff5d7); box-shadow: 0 0 0 3px #ba211d, inset 0 0 0 2px #fff4cc;
    }
    body:has(.lc-header) .-games-list-container .row > div > a > img { display: block; width: 100%; height: auto; object-fit: contain; margin: auto; }
    .lc-categories button span { display: block; margin-top: 3px; }
    .lc-library-heading { width: 86%; margin: 36px auto 20px; padding-top: 24px; border-top: 1px solid #e4d6b9; text-align: center; }
    .lc-library-heading h2 { margin: 8px 0 0; color: #082b67; font-size: clamp(28px, 2.75vw, 44px); font-weight: 700; }
    body:has(.lc-header) .-games-list-container .row > div > a {
        display: flex; align-items: center; justify-content: center;
        aspect-ratio: 4 / 3; border-radius: 0;
        box-shadow: none; transition: transform .2s;
    }
    body:has(.lc-header) .-games-list-container .row > div > a:hover {
        transform: translateY(-4px); box-shadow: none;
    }
    body:has(.lc-header) .-games-list-container .row > div > a:focus-visible { outline: 3px solid #196cc2; outline-offset: 3px; }
    body:has(.lc-header) .-games-list-container .row > div > a > img { max-height: 100%; }
    .lc-copyright { background: #063775; color: #dce8ff; text-align: center; padding: 10px; font-size: clamp(12px, 1.3vw, 20px); }
    .lc-footer { background: white; color: #333; }
    .lc-footer-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4%; padding: 24px 4% 40px; }
    .lc-footer h2 { font-size: 15px; font-weight: 500; margin: 0 0 12px; }
    .lc-footer a, .lc-footer button { display: block; border: 0; background: none; padding: 0; margin-bottom: 12px; color: #777; font-size: 14px; text-decoration: none; }
    .lc-header a:focus-visible, .lc-categories button:focus-visible, .lc-footer a:focus-visible { outline: 3px solid #196cc2; outline-offset: 4px; }
    @media (prefers-reduced-motion: reduce) {
        .lc-categories img { transition: none; }
        body:has(.lc-header) .x-category-provider nav.nav-menu { animation: none !important; }
    }
}
@media (min-width: 768px) {
    body:has(.lc-header) .UidContent, body:has(.lc-header) .lc-account-actions { width: 86%; margin: 18px auto; }
    body:has(.lc-header) .uid-box { padding: 20px; background: linear-gradient(110deg, #fffaf0, #fff1d7); border: 1px solid #d6b06a; border-radius: 14px; color: #12376c; box-shadow: 0 4px 16px #8c561012; }
    body:has(.lc-header) .uid-box a { color: #12376c; text-decoration: none; }
    body:has(.lc-header) .uid-box-label { color: #8b682e; }
    body:has(.lc-header) .my-login-btn { gap: 14px; }
    body:has(.lc-header) .my-login-btn .divider { display: none; }
    body:has(.lc-header) .my-login-btn a { height: 46px; line-height: 44px; color: #fff0be; background: linear-gradient(#be3025, #8c171b); border: 1px solid #d7af60; border-radius: 9px; text-decoration: none; font-weight: 600; }
    body:has(.lc-header) #commCollect { padding: 12px 18px; border: 1px solid #d6b06a; border-radius: 10px; background: #fff7e7; color: #12376c; box-shadow: none; }
    body:has(.lc-header) #commCollect .btn { color: #ffe7a6; background: #103c76; border: 1px solid #d6b06a; border-radius: 7px; padding: 7px 14px; }
}

@media (min-width: 768px) {
    .lc-footer-content { grid-template-columns: minmax(0, 3fr) repeat(2, minmax(0, 1fr)); align-items: start; padding: 8px 2% 24px; gap: 4%; }
    .lc-provider-image { display: block; width: 100%; height: auto; }
}

@media (min-width: 768px) {
    .lc-language-switch { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: clamp(30px, 3vw, 44px); height: clamp(30px, 3vw, 44px); padding: 0; border: 1px solid #d3ad62; border-radius: 50%; background: #fff8e9; color: #082b74; font-size: clamp(20px, 2vw, 28px); cursor: pointer; }
    .lc-language-switch:hover { background: #ffedc6; color: #b32320; }
    .lc-language-switch:focus-visible { outline: 3px solid #196cc2; outline-offset: 3px; }
    .lc-language-switch i { margin: 0; }
}

@media (min-width: 768px) {
    .lc-auth.lc-auth-logout { flex-basis: 15%; }
    .lc-auth-logout a { width: 100%; }
}

@media (min-width: 768px) {
.lc-heading h2 { color: #082b67; font: bold clamp(30px, 3.4vw, 54px) var(--lc-font-family); text-shadow: 1px 1px #d6ae60; padding: 20px 0; }
.lc-links { flex-wrap: wrap; }
.lc-auth span { font-size: clamp(14px, 1.8vw, 32px); white-space: normal; line-height: 1.1; }
}


/* ===== auth-theme styles ===== */
/* Shared login and registration styling; form actions and field behavior stay unchanged. */
body:has(#loginForm), body:has(#regForm) { background: #fff8ec url('../img/desktop/blossoms.png') center top / cover fixed !important; color: #12376c; }
.h5page-frame:has(#loginForm), .h5page-frame:has(#regForm) { --page-background: transparent !important; background: transparent !important; }
#login { background: transparent; color: #12376c; }
#login .container-panel { width: calc(100% - 32px); max-width: 480px; margin: 24px auto; padding: 20px 12px 28px; border: 1px solid #d6b06a; border-radius: 18px; background: #fffaf2ed; box-shadow: 0 12px 40px #63390c18; }
#login .login-logo img { content: url('../img/desktop/logo.png'); width: 80%; max-width: 300px; height: auto; object-fit: contain; margin: 12px auto 24px; }
#login .loginForm { background: #fff; border: 1px solid #d9c49f; border-radius: 9px; color: #12376c; }
#login .loginForm:focus-within { border: 1px solid #b8872a; box-shadow: 0 0 0 3px #d8b36130; }
#login .van-cell, #login .van-field__control { background: transparent; color: #12376c; }
#login .van-field__control::placeholder { color: #8c8478; }
#login .forgetTips { color: #75664f; line-height: 1.5; }
#login .bigBtn { color: #ffedb6; background: linear-gradient(#bd3024, #8e181c); border: 1px solid #d6ac55; border-radius: 9px; box-shadow: 0 3px 8px #8e181c20; }
#login a.bigBtn { background: linear-gradient(#164f8e, #082f64); }
#login .icon img { filter: brightness(.55); }
#login #sendSmsBtn { background: #123f79; color: #ffedb6; border: 1px solid #d6ac55; border-radius: 6px; font-size: 12px; line-height: 1.3; padding: 8px; }


/* Keep form controls and headings consistent with the banner-inspired type. */
.lc-site :is(h1, h2, h3, h4, h5, h6, button, input, select, textarea, .btn) {
    font-family: var(--lc-font-family);
    font-style: normal;
}

/* Larger Chinese labels on desktop only; preserve the mobile typography. */
@media (min-width: 768px) {
    .lc-site[data-language="cn"] .lc-links a { font-size: clamp(16px, 1.85vw, 33px); }
    .lc-site[data-language="cn"] .lc-auth span { font-size: clamp(17px, 2.15vw, 38px); }
    .lc-site[data-language="cn"] .lc-benefits span { font-size: clamp(14px, 1.45vw, 25px); }
    .lc-site[data-language="cn"] .lc-categories button { font-size: clamp(14px, 1.55vw, 26px); }
    .lc-site[data-language="cn"] .lc-library-heading h2 { font-size: clamp(32px, 3.2vw, 50px); }
    .lc-site[data-language="cn"] .lc-heading h2 { font-size: clamp(34px, 3.9vw, 62px); }
    .lc-site[data-language="cn"] .lc-footer h2 { font-size: 18px; }
    .lc-site[data-language="cn"] .lc-footer a,
    .lc-site[data-language="cn"] .lc-footer button { font-size: 17px; }
}
