/* Shared member form fixes retained for V79. */
/* Deposit proportions follow the reference rather than inherited spaced lists. */
#deposit {height:100%;position:relative;}
#depositTab {padding:22px 14px!important;box-sizing:border-box;}
#depositTab .nav-item {margin:0 0 15px!important;min-height:68px;display:flex;align-items:center;}
#depositTab .bankname {line-height:18px!important;}
#depositTab .rebate {display:block!important;color:#ff3038!important;font-size:14px!important;line-height:18px!important;min-height:0!important;}
#depositTab .rebate:empty {display:none!important;}
#deposit .deposit_container {position:relative!important;display:flex!important;flex-direction:column;min-height:0;height:100%!important;padding-bottom:0!important;box-sizing:border-box;overflow:hidden;}
#deposit .deposit_title {flex:0 0 auto;}
#deposit #deposit_wrp {flex:1 1 0%;min-height:0;height:auto!important;overflow:auto!important;}
#deposit .onPayment-Rtcontent {padding:0 14px!important;}
#deposit .e39-deposit-notice {margin-top:28px!important;margin-bottom:20px!important;}
#deposit #depositAllVendor {display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;column-gap:15px!important;row-gap:5px!important;justify-content:start!important;width:100%!important;padding:0!important;}
#deposit #depositAllVendor > li {float:none!important;width:auto!important;margin:0!important;padding:0!important;}
#deposit #depositAllVendor .channel-wrap {width:100%!important;max-width:none!important;min-width:0!important;}
#deposit #depositAllVendor .e39-channel-bonus {left:20px!important;font-size:12px!important;overflow:visible!important;}
#deposit #depositAllVendor input {width:100%!important;box-sizing:border-box;}
/* Dedicated footer classes avoid inherited legacy footer height/baseline rules. */
#deposit .e39-deposit-actions {display:flex;align-items:center;flex:0 0 72px;min-height:72px;width:100%;box-sizing:border-box;padding:16px 28px;background:#fff;border-top:1px solid #eee;}
#deposit .e39-deposit-action-inner {display:flex;align-items:center;min-height:34px;padding:0;margin:0;line-height:normal;}
#deposit .e39-deposit-actions .form-submit {position:static!important;display:block!important;box-sizing:border-box;height:34px!important;line-height:34px!important;padding:0 10px!important;margin:0!important;float:none!important;vertical-align:initial;}

.header-bottom .nav-name {white-space:nowrap;}
:root {--mc:#259afe;}
.home-nav a.nav-item {text-decoration:none;cursor:pointer;}
.home-container .home-gray-bg {margin-top:36px;}
.header-top-left .common-logo {height:42px;width:auto;object-fit:contain;}
.header-bottom .nav-item-content {white-space:nowrap;}
#deposit .e39-deposit-notice {margin:28px 0 20px;padding:12px 15px;background:#edf6ff;border-radius:12px;color:#225c86;font-size:12px;}
#deposit .e39-deposit-notice strong,#deposit .e39-deposit-notice b {color:#1591ff;}
#deposit .e39-channel-bonus {display:block;position:absolute;top:0;left:20px;right:0;background:#ff3038;color:white;font-size:12px;line-height:16px;text-align:center;white-space:nowrap;}
#depositTab .rebate {color:#ff3038!important;}
.header-container .header-bottom .nav-item.active {background:#fff;}

.announce-popup-container .right-wrap {overflow:auto;min-width:0;}
.announce-popup-container .rich-text-content .vhtml img {display:block;width:100%;height:auto;max-width:100%;}
.header-container .header-bottom-container{display:flex!important;height:100%!important;justify-content:center!important;}
.header-container .header-bottom .nav-items{display:flex!important;visibility:visible!important;opacity:1!important;height:100%!important;position:relative!important;}
.header-container .header-bottom .nav-item{display:flex!important;visibility:visible!important;opacity:1!important;height:100%!important;position:relative!important;float:none!important;}
.header-container .header-bottom .nav-item-content{display:flex!important;align-items:center!important;gap:6px!important;height:100%!important;padding:0 12px!important;color:#fff;}
.header-container .header-bottom .nav-item.active .nav-item-content{color:#259afe;}
.header-container .header-bottom .nav-icon img{width:24px;height:24px;object-fit:contain;}
#deposit .e39-deposit-notice{background:linear-gradient(110deg,#fff8f3,#ffe5d5);border:1px solid #ffe0d0;padding:10px 16px;max-width:780px;}
#deposit .e39-deposit-notice .bankMessage b{color:inherit;}
#deposit .e39-deposit-notice .bankMessage>b{color:#b22;}

@keyframes v79JackpotScroll {from{transform:translateY(0)}to{transform:translateY(var(--e39-scroll-distance))}}
.jackpot-rng-seamless,.jackpot-winner-seamless{will-change:transform;}
.jackpot-rng-seamless>ul,.jackpot-winner-seamless>ul{margin-top:0;margin-bottom:0;}
/* Only the stationary viewport clips; the moving track must hold both full lists. */
.jackpot-rng-seamless,.jackpot-winner-seamless{height:auto!important;overflow:visible!important;display:flex;flex-direction:column;}
.jackpot-rng-seamless>ul,.jackpot-winner-seamless>ul{flex:none;}
.jackpot-rng-seamless>ul{padding-bottom:8px;}
.jackpot-winner-seamless>ul{padding-bottom:12px;}
.jackpot-rng-item{flex-shrink:0;}

/* V79 PC game lobby */
.game-classify-menu .menu-item.active{background:linear-gradient(#41aafc,#1591ff)!important;color:#fff!important;}
.RNG-menu-swiper .game-menu-item.active{border-color:#80c4ff!important;}
.RNG-menu-swiper .game-menu-item{justify-content:center;}
.RNG-menu-swiper .e39-vendor-label{display:none;}
