
/* MRATM88 首页余额卡 登录前只留 LOGIN 和 REGISTER
   拿掉 Baki、金额、最低存提款、三颗按钮、白色外框
   LOGIN 和 REGISTER 往上移，左右跟其它区块对齐
   登录后完全不动 */
body:not(.ahw-after-login) #home-balance#home-balance {
  background: none !important;
  border-radius: 0;
  box-shadow: none;
}
body:not(.ahw-after-login) #home-balance#home-balance .A {
  background: none;
  border-radius: 0;
}
body:not(.ahw-after-login) #home-balance#home-balance .pbalance {
  display: none !important;
}

/* 外层间距：上下拉近，左右贴齐 */
body:not(.ahw-after-login) #home .balance-wrapper {
  margin-top: 0 !important;
  padding: 0 !important;
}
/* 手机版：往上移 10px，上下各留 15px */
body:not(.ahw-after-login) #home .box-1-1 .balance-wrapper {
  position: relative;
  top: -10px;
  margin-bottom: -10px !important;
}
/* 手机版：LOGIN / REGISTER 由 JS 搬到 BIG WIN 那条上面(mr-top)，上下各留 8px */
body:not(.ahw-after-login) #home .box-1-1 .balance-wrapper.mr-top {
  top: 0;
  margin: 8px 0 0 !important;
}
/* 搬走之后 LIVE TRANSACTION 下面会空 25px(站点 h1 / application 的空白)，拉回 15px 跟原本一样 */
body:not(.ahw-after-login) #home .box-1-1 .balance-wrapper.mr-top ~ .refer-wrapper {
  margin-top: -10px;
}
/* 电脑版：跟左边游戏分类那排对齐，跟下面 HOT MATCHES 留 16px */
body:not(.ahw-after-login) #home .box-2-2 .balance-wrapper,
body:not(.ahw-after-login) #home .box-3-3 .balance-wrapper {
  padding-bottom: 8px !important;
}

/* 两颗按钮一样宽，中间留 10px */
body:not(.ahw-after-login) #home-balance#home-balance .pinfo {
  padding: 0 !important;
}
body:not(.ahw-after-login) #home-balance#home-balance .links {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
}
body:not(.ahw-after-login) #home-balance#home-balance .links a {
  flex: 1 1 0;
  width: auto !important;
  margin: 0 !important;
}
