/* iGamingPlay: header mobile biru konsisten dengan footer.
   Hanya tampilan header + strip saldo. Tidak mengubah transaksi atau navigasi. */
@media screen and (max-width: 900px) {
  html body.mobile .main-content .top-bar,
  html body.mobile #mainContent .top-bar,
  html body .main-content .top-bar {
    background: linear-gradient(180deg,#1026ce 0%,#1d49ef 100%) !important;
    background-color: #1734da !important;
    border-bottom: 1px solid #3764ff !important;
    box-shadow: 0 2px 8px rgba(3,20,100,.24) !important;
  }
  html body.mobile .main-content .top-bar .inner-header,
  html body .main-content .top-bar .inner-header {
    background: transparent !important;
    background-color: transparent !important;
    border-color: transparent !important;
  }
  html body.mobile .top-bar #btnToggleSideNav,
  html body .top-bar #btnToggleSideNav {
    background:#ff9d0a !important;
    border:1px solid #ffc45c !important;
    color:#fff !important;
  }
  html body.mobile .top-bar #btnToggleRSideNav,
  html body .top-bar #btnToggleRSideNav,
  html body.mobile .top-bar #btnToggleSideNav i {
    color:#fff !important;
  }
  /* Strip saldo di bawah header: biru tua, bukan merah marun */
  html body.mobile .main-content .wallet-bal,
  html body .main-content .wallet-bal {
    background:#0c1b70 !important;
    background-color:#0c1b70 !important;
    border-color:#173fba !important;
  }
  html body.mobile .main-content .wallet-bal .row,
  html body .main-content .wallet-bal .row {
    background:transparent !important;
    background-color:transparent !important;
  }
  html body.mobile .wallet-bal .balance-txt,
  html body .wallet-bal .balance-txt {
    color:#fff !important;
  }
  html body.mobile .top-bar .logo img,
  html body .top-bar .logo img {object-fit:contain !important;}
}


/* Header mobile: logo benar-benar di tengah meski ikon kanan dihapus. */
@media screen and (max-width: 900px) {
  html body .main-content .top-bar .inner-header {
    display:grid !important;
    grid-template-columns: 60px minmax(0,1fr) 60px !important;
    align-items:center !important;
    gap:0 !important;
    position:relative !important;
  }
  html body .main-content .top-bar #btnToggleSideNav {
    grid-column:1 !important;
    justify-self:start !important;
  }
  html body .main-content .top-bar a.logo {
    grid-column:2 !important;
    justify-self:center !important;
    margin:0 !important;
    min-width:0 !important;
    width:auto !important;
    max-width:100% !important;
    text-align:center !important;
  }
  html body .main-content .top-bar a.logo img {
    width:auto !important;
    max-width:100% !important;
    max-height:63px !important;
    object-fit:contain !important;
  }
  html body .main-content .top-bar #btnToggleRSideNav {
    display:none !important;
  }
}
