:root {
    --m2uHourColor: #000000;
    --bs-body-color: #ffffff;
}

body {
    background-color: black !important;
    font-family: Helvetica Neue !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;
}


.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: 8px;
}

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

/*
.x-menu-provider .-nav-menu-container.fixed {
    position: fixed;
    top: 63px;
    left: 0;
    width: 72px;
    z-index: 1;
}

.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: 72px;
    flex-direction: column;
    align-items: center;
    transition: all .4s;
    padding-left: 8px;
    padding-bottom: 9px;
    padding-top: 1px;
}
.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;
    margin-bottom: .1rem;
    background: #303030;
}

.x-menu-provider .nav-link.TabActive {
    background: linear-gradient(180deg, #fee285, #d79742);
    color: #000000;
    border: 0;
}

.x-menu-provider .nav-link .-text-provider-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 1rem;
}
a:link, a:visited {
    text-decoration: none;
}
.x-menu-provider .nav-link .-ic-menu {
    width: 32px;
    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;
}



@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;
    }

}
@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;
    }


}
@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%;
    }

}


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

#HomeBtmMenu {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
    background: black;
    box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.2);
    border-top: 2px solid rgba(255, 255, 255, 0.12);
}

#HomeNav {
    height: 50px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    margin: 0;
    padding: 0 0 calc(env(safe-area-inset-bottom));
    list-style: none;
    position: relative;
}

#HomeBtmMenu #HomeNav li {
    width: 20%;
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: transparent;
    box-sizing: border-box;
}

#HomeBtmMenu #HomeNav li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 12px;
    width: 1px;
    height: 44px;
    background: rgba(255, 255, 255, 0.35);
}

#HomeBtmMenu #HomeNav li a {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #ffffff;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

#HomeBtmMenu .tabIcon {
    width: 30px;
    height: 30px;
    display: block;
    object-fit: contain;
}

#HomeBtmMenu #HomeNav li .textMin {
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.2px;
}

/* remove old floating center circle style */
#HomeBtmMenu #HomeNav li:nth-child(3) .logo-icon {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
}

#HomeBtmMenu .logo-icon .tabIcon {
    position: static;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

#HomeBtmMenu #HomeNav .blankIcon {
    display: none;
}







/* mobile fine-tune */
@media (max-width: 480px) {
    #HomeNav {
        height: 50px;
    }

    #HomeBtmMenu .tabIcon {
        width: 26px;
        height: 26px;
    }

    #HomeBtmMenu #HomeNav li .textMin {
        font-size: 10px;
    }

    #HomeBtmMenu #HomeNav li:not(:last-child)::after {
        top: 11px;
        height: 40px;
    }
}

.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;
    box-shadow: 2px 4px 20px rgb(14 14 14 / 61%);
    color: black
}
.uid-box a { color: black; }
.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: var(--page-background, #fff);
}

.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;
}

.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%;
}
#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: #8d8f99;
}
#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(180deg, #fee285, #d79742);
    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;
}
.navTitleBox .header-box {
    width: 100%;
    padding: 0 var(--margin);
    height: var(--navHeight);
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #5fa8ff, #2b59ff) !important;
}

.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: url(../img/sub_bg.png);
    border-radius: 10px;
    border: 1px solid blue;
}

.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 {
    background: white;
}

.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;
    width: 20%;
    /*font-size: 16px;*/
    min-height: 27px;
    color: white;
    padding: 5px;
    box-sizing: border-box; font-size: 80%;
    background: linear-gradient(180deg, #6fc4ff 0%, #4a90ff 40%, #2f67ff 75%, #2448e6 100%);
}

.auth-btn {
    flex: 1;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 10px 16px;
    box-sizing: border-box;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.register-btn {
    color: #fff !important;
    background: linear-gradient(180deg, #ffcc5c, #ff8a00);
    border: 1px solid rgba(255,255,255,0.35);
}

.login-btn {
    color: #fff !important;
    background: linear-gradient(180deg, #5fa8ff, #2b59ff);
    border: 1px solid rgba(255,255,255,0.35);
}

.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;
}

.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;
    background: white;
}
.transaction-menu a.active, .record-recharge-nav a.active { background: linear-gradient(180deg, #dff6ff 0%, #9edfff 38%, #63bfff 68%, #3f95f5 100%); color: black; border: 1px solid lightblue;}
.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-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;
}

.SwitcheLanguage .LanuageContent {
    border: 1px solid #e3e5e8;
    background-color: #fff;
    padding-top: 15px;
    border-radius: 10px;
    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;
    color: black;
}

.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;
    color: #000000;
}

.SwitcheLanguage .LanuageContent {
    border: 1px solid #e3e5e8;
    background-color: #fff;
    padding-top: 15px;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around
}

.SwitcheLanguage .LanuageContent .ItemDetail {
    display: flex;
    width: 25%;
    margin-bottom: 15px;
    flex-direction: column;
    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 {

    padding: 0.5rem 0.5rem 1.5rem 0.5rem;

    margin-top: 23px;
    width: 78%;
    height: calc(100% - 45px);
}

.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
}

.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 { height: 100px; margin: 2rem auto; }
#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; font-size: 90%;}
.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; }
.section_nav { display: flex; width: 100%; line-height: 25px; padding: 5px 0; margin-bottom: 5px; margin-top: 10px; }
.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; }
.float-mission-icon { z-index: 400; position: fixed; right: 0.6rem !important; bottom: 7.5rem !important; width: 64px; overflow: hidden; }
.float-mission-icon img { width: 100%; }


/* --------- language --------------------- */

/* language popup */
.language-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1998;
  display: none;
}

.language-popup {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 40px);
  max-width: 360px;
  background: #fff;
  border-radius: 14px;
  z-index: 1999;
  display: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.language-popup-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  padding: 16px 18px;
  border-bottom: 1px solid #e5e5e5;
}

.language-popup-list {
  padding: 6px 0;
}

.language-popup-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #efefef;
}

.language-popup-item:last-child {
  border-bottom: 0;
}

.language-popup-item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.language-popup-item span {
  font-size: 17px;
  font-weight: 600;
}

.language-popup-item.active {
  background: #f3f6ff;
}

/* override bootstrap */
.UserPopup a,
.UserPopup button,
.language-popup a {
  box-shadow: none !important;
  outline: none !important;
}

.UserPopup img,
.language-popup img {
  vertical-align: middle !important;
}

.SwitcheLanguage {
  display: none !important;
}



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

/* ---------------------------- notice ---------------------------- */


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

.notice {
    width: 100%;
    font-size: 19px;
    height: 25px;
    line-height: 25px;
    color: white;
    display: flex;
}

.notice:before {
    content: '';
    display: block;
    width: 20px;
    min-width: 20px;
    margin: 0 0 0 10px;
    background: url(../img/speaker.png) no-repeat center / contain;
    animation: speakerBounce 1s infinite ease-in-out;
    transform-origin: center bottom;
}

@keyframes speakerBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    20% {
        transform: translateY(-4px) scale(1.05);
    }
    40% {
        transform: translateY(0) scale(1);
    }
    60% {
        transform: translateY(-2px) scale(1.03);
    }
    80% {
        transform: translateY(0) scale(1);
    }
}

.-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%); }
}

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

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

.-games-provider-wrapper .-menu-index-page {
    display: block;
    width: 100%;
    flex: none;
}

.top-category-menu .nav-menu {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.top-category-menu .nav-menu::-webkit-scrollbar {
    display: none;
}

.top-category-menu .-nav-menu-container,
.top-category-list {
    width: max-content;
    min-width: 100%;
    display: flex;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 12px;
    margin: 0;
    flex-wrap: nowrap;
}

.top-category-menu .nav-item,
.top-category-menu .nav-link,
.top-category-item {
    width: 92px !important;
    min-width: 92px;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible;
    cursor: pointer;
    display: block !important;
    position: relative;
}

.top-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.top-category-item .category-icon {
    width: 78px;
    height: 78px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border: 0 !important;
    border-radius: 0 !important;

    /* inactive = darker */
    filter: brightness(0.55);
    transition: filter 0.2s ease, transform 0.2s ease;
}

/* active = brighter */
.top-category-item.active .category-icon,
.top-category-item.TabActive .category-icon {
    filter: brightness(1);
    transform: scale(1.03);
}

.top-category-item .category-name {
    font-size: 13px;
    line-height: 1.2;
    color: rgba(255,255,255,0.65);
    white-space: normal;
    word-break: break-word;
    text-align: center;
    min-height: 30px;
    transition: color 0.2s ease;
}

.top-category-item.active .category-name,
.top-category-item.TabActive .category-name {
    color: #fff;
    font-weight: 600;
}

.top-category-item.TabActive,
.top-category-item.active {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.x-category-provider {
    margin-bottom: 90px;
    padding: 10px;
}

@media (max-width: 767px) {
    .top-category-menu .nav-item,
    .top-category-menu .nav-link,
    .top-category-item {
        width: 82px !important;
        min-width: 82px;
    }

    .top-category-item .category-icon {
        width: 68px;
        height: 68px;
    }

    .top-category-item .category-name {
        font-size: 12px;
        min-height: 28px;
    }

    .top-category-menu .-nav-menu-container,
    .top-category-list {
        gap: 8px;
        padding: 8px;
    }
}

/* ------------- header -------------------- */
.top-header {
    width: 100%;
    height: 78px;
    background: #000;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}

.header-inner {
    width: 100%;
    height: 100%;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.header-logo {
    height: 52px;
    width: auto;
    display: block;
    object-fit: contain;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 22px;
}

.header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #d8d8d8;
    font-size: 12px;
    line-height: 1.2;
}

.header-action img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    margin-bottom: 4px;
}

.header-action span {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .top-header {
        height: 70px;
    }

    .header-inner {
        padding: 0 12px;
    }

    .header-logo {
        height: 42px;
    }

    .header-right {
        gap: 14px;
    }

    .header-action {
        font-size: 11px;
    }

    .header-action img {
        width: 30px;
        height: 30px;
    }
}

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

/* ------------- uid, login , more --------------- */
.member-top-wrap {
    padding: 10px;
    background: #000;
}

.member-top-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* let UID/balance take the left side */
.member-card-wrap {
    flex: 1;
    margin-bottom: 0;
}

/* keep More on the right */
.member-entry-bar {
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
    padding-top: 0;
}

.member-entry-bar .only-more {
    min-width: 68px;
}

/* your existing card style */
.uid-box.member-uid-box {
    padding: 10px 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    text-align: center;
    border-radius: 16px;
    border: 1px solid #d4af37;
    background: linear-gradient(180deg, #111111 0%, #050505 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
    color: #e6d6a0;
}

.uid-box.member-uid-box a {
    color: #f3d46b;
    text-decoration: none;
}

.uid-box.member-uid-box .uid-box-item {
    padding: 8px 10px;
    position: relative;
}

.uid-box.member-uid-box .uid-box-item + .uid-box-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18%;
    width: 1px;
    height: 64%;
    background: rgba(212, 175, 55, 0.35);
}

.uid-box.member-uid-box .uid-box-label {
    font-size: 12px;
    color: #a79a73;
    margin-bottom: 6px;
}

.uid-box.member-uid-box .uid-box-value {
    color: #f5df8b;
    font-size: 18px;
    font-weight: 700;
}

.balance-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.uid-box-currency {
    color: #cbb36a;
    font-size: 13px;
}

.uid-box-trans {
    width: 16px;
    height: 16px;
    margin-left: 4px;
    cursor: pointer;
    filter: brightness(1.2);
}

.bottom-entry-bar {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 2px;
    background: #000;
}

/*.bottom-entry-bar .entry-btn {*/
/*    height: 50px;*/
/*    min-width: 150px;*/
/*    padding: 0 24px;*/
/*    border-radius: 10px;*/
/*    text-decoration: none !important;*/
/*    font-size: 16px;*/
/*    display: inline-flex !important;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    box-sizing: border-box;*/
/*    font-weight: 500;*/
/*}*/

.bottom-entry-bar .entry-btn {
    height: 50px;
    min-width: 110px;
    padding: 0 24px;
    border-radius: 10px;
    text-decoration: none !important;
    font-size: 16px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-weight: 500;

    white-space: nowrap; /* Prevent text wrapping */
    flex-shrink: 0;      /* Prevent button shrinking */
}

.bottom-entry-bar .entry-btn-login {
    background: #d9b24c !important;
    color: #2b2108 !important;
    border: 1px solid #d9b24c !important;
}

.bottom-entry-bar .entry-btn-register {
    background: transparent !important;
    color: #d9b24c !important;
    border: 1px solid #d9b24c !important;
}

.entry-icon-btn {
    min-width: 68px;
    background: transparent;
    border: 0;
    color: #d3c7a1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    padding: 0;
}

.entry-icon-btn img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.entry-icon-btn span {
    font-size: 12px;
    line-height: 1.2;
}

.member-entry-bar {
    justify-content: flex-end;
}

.member-entry-bar .only-more {
    min-width: 68px;
}

body.more-menu-open {
    overflow: hidden;
}

.more-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
    z-index: 998;
}

.more-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.more-menu-popup {
    position: fixed;
    right: 8px;
    bottom: 88px;
    width: min(520px, calc(100vw - 16px));
    background: #050505;
    border: 2px solid #d4af37;
    border-radius: 22px;
    padding: 24px 18px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
    z-index: 999;
    overflow: visible;
}

.more-menu-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.more-menu-arrow {
    position: absolute;
    top: -11px;
    right: clamp(14px, 6vw, 28px);
    width: 20px;
    height: 20px;
    background: #050505;
    border-top: 2px solid #d4af37;
    border-left: 2px solid #d4af37;
    transform: rotate(45deg);
    z-index: 1;
}

.more-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 10px;
}

.more-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    color: #d7c38a;
    text-align: center;
    min-height: 86px;
    font-size: 13px;
    line-height: 1.25;
}

.more-menu-item img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin-bottom: 8px;
}

.more-menu-item span {
    display: block;
}

@media (max-width: 768px) {
    .more-menu-popup {
        right: 8px;
        bottom: 180px;
        width: calc(100vw - 16px);
        padding: 22px 14px 16px;
        overflow: visible;
    }

    .more-menu-arrow {
        right: clamp(12px, 5vw, 24px);
    }

    .more-menu-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px 8px;
    }

    .more-menu-item {
        font-size: 12px;
        min-height: 80px;
    }
}

/* ------------ game list ----------------- */
.home-category-section {
    margin: 18px 12px 0;
}

.home-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.home-category-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

.home-category-title img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.home-category-viewall {
    color: #999;
    font-size: 15px;
    text-decoration: none;
}

.home-category-viewall:hover {
    color: #fff;
}

.sb-grid.preview-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* mobile */
}

@media (min-width: 570px) {
    .sb-grid.preview-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 720px) {
    .sb-grid.preview-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 990px) {
    .sb-grid.preview-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.sb-grid.preview-grid .sb-item:nth-child(n+10) {
    display: none;
}

.sb-item a {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background: #111;
}

.sb-item img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 576px) {
    .home-category-title {
        font-size: 18px;
    }

    .home-category-viewall {
        font-size: 14px;
    }
}

/* ---------------- login and register page ------------------- */
#login.smallScreen {
    min-height: 100%;
    background:
        radial-gradient(circle at top center, rgba(47,103,255,0.14) 0%, rgba(47,103,255,0.03) 24%, rgba(0,0,0,0) 48%),
        linear-gradient(180deg, #090909 0%, #050505 100%);
    color: #f8f2d8;
}

#login .icon {
    top: 1rem;
    left: 1rem;
    z-index: 5;
}

#login .icon a {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #181818 0%, #0d0d0d 100%);
    border: 1px solid rgba(231,195,90,0.35);
    box-shadow: 0 0 0 1px rgba(231,195,90,0.10), 0 10px 26px rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

#login .icon img {
    width: 1.05rem;
    height: 1.05rem;
    filter: brightness(0) saturate(100%) invert(83%) sepia(37%) saturate(676%) hue-rotate(355deg) brightness(95%) contrast(94%);
}

#login .container-panel {
    padding: 0 1rem 2rem;
}

#login .login-logo {
    text-align: center;
    margin-bottom: 1rem;
    padding-top: 1.15rem;
}

#login .login-logo .logo {
    height: 92px;
    width: auto;
    object-fit: contain;
    margin: 1.5rem auto 1rem;
    display: block;
    padding: 0.4rem 0.9rem;
    border-radius: 1rem;
    background: rgba(255,255,255,0.02);
}

#login .login-logo::after {
    content: "";
    display: block;
    width: 100%;
    max-width: 420px;
    height: 1px;
    margin: 0.2rem auto 0;
    background: linear-gradient(90deg, transparent, rgba(231,195,90,0.45), transparent);
}

.reg-field-wrap {
    position: relative;
    margin-bottom: 0.8rem;
}

#login .loginForm {
    min-height: 3.55rem;
    border-radius: 1rem;
    border: 1px solid rgba(231,195,90,0.22);
    background: linear-gradient(180deg, rgba(18,18,20,0.96) 0%, rgba(10,10,12,0.98) 100%) !important;
    box-shadow: 0 0 0 1px rgba(231,195,90,0.10), 0 10px 26px rgba(0,0,0,0.35);
    padding: 0 0.95rem;
    backdrop-filter: blur(4px);
}

#login .loginForm .van-field,
#login .loginForm .van-cell,
#login .loginForm .van-cell__value,
#login .loginForm .van-field__value {
    background: transparent !important;
}

#login .loginForm .van-cell {
    padding: 0 0.2rem;
    height: 100%;
    line-height: normal;
}

#login .loginForm .van-field__body {
    min-height: 3.55rem;
    display: flex;
    align-items: center;
}

#login .loginForm .van-field__control {
    height: 100%;
    font-size: 1rem;
    color: #f8f2d8;
    padding-left: 0.7rem;
    background: transparent;
}

#login .loginForm .van-field__control::placeholder {
    color: rgba(255, 244, 210, 0.42);
    font-weight: 500;
}

#login .loginForm:focus-within {
    border-color: rgba(80,168,255,0.58);
    box-shadow:
        0 0 0 4px rgba(80,168,255,0.10),
        0 0 18px rgba(80,168,255,0.12),
        0 0 0 1px rgba(80,168,255,0.12),
        0 10px 24px rgba(24,84,255,0.18);
}

.inputIcon {
    width: 1.3rem;
    min-width: 1.3rem;
    height: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.95;
}

.inputIcon svg {
    width: 1.15rem;
    height: 1.15rem;
    stroke: #e7c35a;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 4px rgba(231,195,90,0.15));
}

#login-choose-lang {
    height: 2.45rem !important;
    padding: 0 0.72rem;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(25,25,27,1) 0%, rgba(14,14,16,1) 100%);
    border: 1px solid rgba(231,195,90,0.22);
    margin-left: 0.45rem;
}

#login-choose-lang img:first-child {
    width: 1.85rem !important;
    margin-right: 0.35rem !important;
}

#togglePasswordImg,
#login .passWordInput img[type="image/svg+xml"] {
    width: 1.3rem !important;
    opacity: 0.9;
    filter: brightness(0) saturate(100%) invert(83%) sepia(37%) saturate(676%) hue-rotate(355deg) brightness(95%) contrast(94%);
}

#login .forgetTips {
    color: rgba(255, 244, 210, 0.72);
    font-size: 0.83rem !important;
    line-height: 1.4;
    padding: 0 0.25rem;
    margin-top: 0.45rem !important;
    gap: 8px;
}

#login a {
    color: #86baff;
    font-weight: 700;
    text-decoration: none;
}

#login a:hover {
    color: #a8ceff;
}

.auth-main-btn,
#login .bigBtn.my-reg-btn,
#login .theme-login-btn {
    width: 100%;
    border: 1px solid rgba(255,238,177,0.45) !important;
    border-radius: 1rem !important;
    min-height: 3.4rem;
    background: linear-gradient(180deg, #5fc0ff 0%, #3c83ff 38%, #2f4dff 72%, #2a1fe3 100%) !important;
    color: #fff4cf !important;
    font-size: 1.14rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 24px rgba(42,31,227,0.28), inset 0 1px 0 rgba(255,255,255,0.24);
}

#sendSmsBtn {
    height: 2.55rem;
    padding: 0 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255,238,177,0.35);
    background: linear-gradient(180deg, #4fc2ff 0%, #397fff 50%, #2448e6 100%);
    color: #fff4cf;
    font-weight: 700;
    white-space: nowrap;
}

.errorTips {
    display: flex;
    background: rgba(255, 84, 84, 0.12);
    border: 1px solid rgba(255, 122, 122, 0.34);
    border-radius: 0.75rem;
    padding: 0.75rem 0.5rem;
    align-items: center;
    color: #ffb3b3;
}

.languageTitle {
    background: linear-gradient(180deg, #5fc0ff 0%, #3c83ff 38%, #2f4dff 72%, #2a1fe3 100%);
    color: #fff4cf;
}

@media (max-width: 480px) {
    #login .container-panel {
        padding: 0 0.85rem 2rem;
    }

    #login .loginForm {
        min-height: 3.25rem;
    }

    #login .loginForm .van-field__body {
        min-height: 3.25rem;
    }

    .auth-main-btn,
    #login .bigBtn.my-reg-btn,
    #login .theme-login-btn {
        min-height: 3.2rem;
        font-size: 1.05rem;
    }

    #sendSmsBtn {
        padding: 0 0.8rem;
        font-size: 0.92rem;
    }
}

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

/* ---------- game list hover ---------- */
.sb-item .game-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 18px;
    background: #111;
}

.sb-item .game-card-img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.28s ease, filter 0.28s ease;
}

.sb-item .game-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 16px;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.12) 0%,
        rgba(0, 0, 0, 0.38) 45%,
        rgba(0, 0, 0, 0.72) 100%
    );
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    text-align: center;
}

.sb-item .game-card-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    min-height: 54px;
    padding: 0 26px;
    border-radius: 999px;
    background: #e9d774;
    color: #6d3b00;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}



.sb-item .game-card:hover .game-card-overlay,
.sb-item .game-card:focus .game-card-overlay,
.sb-item .game-card:focus-visible .game-card-overlay {
    opacity: 1;
    visibility: visible;
}

.sb-item .game-card:hover .game-card-img,
.sb-item .game-card:focus .game-card-img,
.sb-item .game-card:focus-visible .game-card-img {
    transform: scale(1.04);
    filter: brightness(0.55);
}

@media (max-width: 767px) {
    .sb-item .game-card-overlay {
        display: none;
    }

    .sb-item .game-card-img {
        transform: none !important;
        filter: none !important;
    }
}
