/* Desktop member layout only. Mobile member and admin styles are untouched. */
body.desktop{min-width:1024px!important;margin:0;background:var(--mt-page-bg,#20252e)!important;color:var(--mt-page-text,#e8edf5)!important;font-family:Arial,Helvetica,sans-serif!important;font-size:14px;line-height:1.5;overflow-x:auto}
body.desktop *,body.desktop *::before,body.desktop *::after{box-sizing:border-box}
body.desktop .container{width:calc(100% - 48px)!important;max-width:1280px!important;margin-left:auto!important;margin-right:auto!important;padding-left:16px!important;padding-right:16px!important}
body.desktop .container .container{width:100%!important;max-width:100%!important;padding-left:0!important;padding-right:0!important}
body.desktop .top_navbar{background:linear-gradient(180deg,var(--mt-header-start,#303a49),var(--mt-header-end,#18212e))!important;color:var(--mt-page-text,#e8edf5);border-bottom:1px solid #44546a}
body.desktop .header-wrapper .inner-header{display:flex;align-items:center;gap:18px;min-height:100px;padding-top:14px;padding-bottom:14px}
body.desktop .header-wrapper #logo{flex:0 0 220px;min-width:180px;max-width:240px}
body.desktop .header-wrapper #logo img{display:block;width:auto;max-width:220px!important;height:auto;max-height:64px!important;object-fit:contain}
body.desktop .header-wrapper .flex-right{min-width:0}
body.desktop .header-wrapper .flex-row.top,body.desktop .header-wrapper .flex-row.bottom{flex-wrap:wrap;gap:7px}
body.desktop .header-wrapper .btn{min-height:34px;border-radius:5px;font-size:12px;line-height:20px;padding:6px 14px}
body.desktop .header-wrapper .show-for-medium{display:none!important}
body.desktop .header-wrapper .hide-for-medium{display:block!important}
body.desktop .nav-wrapper{background:var(--mt-nav-bg,#303946)!important;border-top:1px solid #46556a;border-bottom:1px solid #152032}
body.desktop .main-nav{display:flex!important;align-items:stretch;flex-wrap:nowrap;max-width:1280px;margin:auto;padding:0 16px;float:none}
body.desktop .main-nav>.nav-item{flex:1 1 0;min-width:0;float:none}
body.desktop .main-nav>.nav-item>.navlink{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:76px;padding:10px 6px;color:var(--mt-nav-text,#d9e3f2)!important;text-decoration:none;font-size:12px;white-space:nowrap}
body.desktop .main-nav .nav-icon{font-size:27px;line-height:1}
body.desktop .main-nav .nav-title{font-size:12px;line-height:18px}
body.desktop .main-nav>.nav-item:hover>.navlink{background:#ffffff12}
body.desktop .nav-item-content{z-index:90}
body.desktop .desktop-home-shell>.content,body.desktop>.content{padding-top:0}
body.desktop .carousel-fixed-height:has(#carousel-fixed-height){width:100%;max-width:1440px;margin:0 auto;overflow:hidden;background:#111923}
body.desktop #carousel-fixed-height .carousel-inner>.item> a{display:block}
body.desktop #carousel-fixed-height img.slider-size{display:block!important;width:100%!important;height:clamp(240px,27vw,390px)!important;min-height:240px!important;max-height:390px!important;object-fit:cover;object-position:center}
body.desktop #carousel-fixed-height .carousel-control{width:7%;z-index:4}
body.desktop .ann-wrapper{padding:5px 0 10px;background:var(--mt-ann-bg,#18212b);color:var(--mt-ann-text,#fff)}
body.desktop .app-wrapper{padding-top:24px!important;padding-bottom:24px!important}
body.desktop .app-wrapper>.row{flex-wrap:wrap;row-gap:18px}
body.desktop .jackpot img{display:block;width:100%;max-height:180px;object-fit:contain}
body.desktop .g-slider-wrapper ul{display:flex;gap:14px;overflow-x:auto!important;overflow-y:hidden;scroll-behavior:smooth;padding:4px 0 14px!important}
body.desktop .g-slider-wrapper li{flex:0 0 auto;white-space:normal}
body.desktop .g-slider-wrapper a.game-box,body.desktop .g-slider-wrapper div.game-box{width:148px!important;height:148px!important;margin-right:0!important}
body.desktop .g-slider-wrapper .game-title{font-size:12px;line-height:18px;white-space:nowrap;text-overflow:ellipsis}
body.desktop .games-category{padding-top:26px!important;padding-bottom:30px!important}
body.desktop .games-category .box{padding:10px}
body.desktop .games-category .g-card{height:100%;border-radius:8px;overflow:hidden;background:var(--mt-card-bg,#2c3645);color:var(--mt-card-text,#eef3fa)}
body.desktop .games-category .card-img img{display:block;width:100%;aspect-ratio:1.6/1;object-fit:cover}
body.desktop .games-category .card-title{min-height:50px;display:flex;align-items:center;gap:8px;padding:10px 12px}
body.desktop .form-group{margin-bottom:16px}
body.desktop .form-control{max-width:100%;min-height:38px;padding:8px 12px;font-size:14px;border-radius:5px}
body.desktop label{font-size:13px;line-height:20px}
body.desktop form .row{margin-left:-10px;margin-right:-10px}
body.desktop form [class*="col-"]{min-width:0}
body.desktop .table-responsive{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
body.desktop .table{width:100%;margin-bottom:18px;font-size:13px}
body.desktop .table th,body.desktop .table td{padding:11px 12px;vertical-align:middle;overflow-wrap:anywhere}
body.desktop .modal-dialog{max-width:calc(100vw - 50px);margin:40px auto}
body.desktop .modal-content{border-radius:10px;overflow:hidden}
body.desktop .modal-body{max-height:calc(100vh - 180px);overflow-y:auto}
body.desktop .footer-desc,body.desktop .footer-content{font-size:13px;line-height:1.7;overflow-wrap:break-word}
body.desktop .footer-desc{padding-top:22px;padding-bottom:22px}
body.desktop .footer-desc h1,body.desktop .footer-desc h2,body.desktop .footer-desc h3{font-size:20px;line-height:1.4;margin:20px 0 10px}
body.desktop .footer-content .row{display:flex;flex-wrap:wrap;row-gap:20px}
body.desktop .footer-content img{max-width:100%;object-fit:contain}
body.desktop .footer_btm_logo_img img{max-width:220px!important;max-height:70px}
body.desktop .payment_imgs{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
body.desktop .payment_imgs img{max-width:120px!important;max-height:45px}
body.desktop .footer_pwrd_by_logo img{display:block;width:100%;height:auto;max-height:130px}
body.desktop .floats{max-height:calc(100vh - 24px);overflow-y:auto}
body.desktop #registerForm1{max-width:900px;margin:0 auto 28px}
body.desktop #registerForm1 .form-control{background:var(--mt-input-bg,#f4f6f9);color:var(--mt-input-text,#263344);border:1px solid var(--mt-input-border,#cbd5e2)}
body.desktop a:focus-visible,body.desktop button:focus-visible{outline:2px solid #62b8ff;outline-offset:3px}
@media(min-width:1600px){body.desktop #carousel-fixed-height img.slider-size{height:390px!important}}

/* Carousel arrows do not depend on the absent legacy Bootstrap glyph font. */
body.desktop .carousel-control .glyphicon-chevron-left::before{content:"‹";font-family:Arial,sans-serif;font-size:42px;line-height:1}
body.desktop .carousel-control .glyphicon-chevron-right::before{content:"›";font-family:Arial,sans-serif;font-size:42px;line-height:1}


/* === RajaPlayLink reference reskin (added) === */
body.desktop{
  --mt-page-bg:#ffffff;
  --mt-page-text:#44454d;
  --mt-header-start:#353535;
  --mt-header-end:#353535;
  --mt-nav-bg:#353535;
  --mt-nav-text:#aab6cb;
  --mt-ann-bg:#1f1f1f;
  --mt-ann-text:#ffffff;
  --mt-card-bg:#353535;
  --mt-card-text:#aab6cb;
  --mt-input-bg:#ffffff;
  --mt-input-text:#44454d;
  --mt-input-border:#d8dadf;
}
body.desktop .carousel-fixed-height:has(#carousel-fixed-height){background:#171717!important}
body.desktop .header-wrapper .btn.fix.btn-tertiery.green_over{background:#3d2701!important;border-color:#3d2701!important;color:#fff!important}
body.desktop .header-wrapper .btn.fix.btn-accent.yellow_over{background:#ad7c1a!important;border-color:#ad7c1a!important;color:#fff!important}
body.desktop .hot-games .game-item{position:relative;border-radius:10px;overflow:hidden;background:var(--mt-card-bg,#353535)}
body.desktop .hot-games .game-item img{display:block;width:100%;border-radius:10px 10px 0 0}
body.desktop .hot-games .game-item .game-title{background:var(--mt-card-bg,#353535)!important;color:var(--mt-card-text,#aab6cb)!important;border-radius:0 0 10px 10px;padding:8px 10px;font-size:14px}

body.desktop .show-all-btn{display:inline-block;float:right;background:#171717;color:#fff!important;border-radius:25px;padding:4px 14px;font-size:13px;text-decoration:none!important;line-height:1.6}
body.desktop .show-all-btn:hover{background:#2b2b2b}
body.desktop .hot-games-wrapper h5{display:flex;align-items:center;justify-content:space-between}

/* Flatten main nav to plain horizontal text links, matching reference */
body.desktop .main-nav{justify-content:flex-start;gap:2px;padding:0 24px}
body.desktop .main-nav>.nav-item{flex:0 0 auto}
body.desktop .main-nav>.nav-item>.navlink{flex-direction:row;min-height:44px;padding:0 16px;gap:0;font-size:15px;font-weight:400;text-transform:capitalize}
body.desktop .main-nav .nav-icon{display:none!important}
body.desktop .main-nav .nav-title{font-size:15px;line-height:44px}
body.desktop .header-wrapper .inner-header{min-height:60px;padding-top:10px;padding-bottom:10px;gap:14px}
body.desktop .header-wrapper #logo{flex:0 0 160px;min-width:120px;max-width:180px}
body.desktop .header-wrapper #logo img{max-width:160px!important;max-height:44px!important}
body.desktop .header-wrapper .btn{min-height:30px;padding:5px 16px}

/* Inline quick-login fields in header (desktop only), matching reference */
body.desktop .header-wrapper .btn.fix.btn-tertiery.green_over[_ajaxLForm]{display:none!important}
body.desktop .header-wrapper .inline-quick-login{display:flex!important;align-items:center;gap:8px;flex-wrap:nowrap}
body.desktop .inline-quick-login input.form-control{width:110px;min-height:34px;height:34px;padding:6px 12px;font-size:13px;border-radius:5px;border:1px solid #d8dadf;background:#fff;color:#333}
body.desktop .inline-quick-login #qlSubmit{margin:0}

body.desktop .inline-quick-login input.form-control::placeholder{color:#888;opacity:1}
body.desktop .main-nav>.nav-item>.navlink,body.desktop .main-nav>.nav-item>.navlink:link,body.desktop .main-nav>.nav-item>.navlink:visited{color:var(--mt-nav-text,#aab6cb)!important}
