/* V82.42 - Ranking restore + Store balance/scroll fixes.
   Does not change approved global header/menu. */

/* RANKING: undo the broken full-page override and return to the stable centered ranking layout. */
body.rank-game-body .rank-game-page{
  background:
    linear-gradient(180deg, rgba(2,6,12,.88), rgba(2,6,12,.98)),
    url("../images/ranker.JPG") center top/cover fixed no-repeat!important;
  padding:0 0 96px!important;
  overflow-x:hidden!important;
}
body.rank-game-body .rank-game-shell{
  width:min(100% - 80px,1320px)!important;
  max-width:1320px!important;
  margin:0 auto!important;
  padding:0 0 90px!important;
  background:transparent!important;
}
body.rank-game-body .rank-page-heading{
  width:100%!important;
  max-width:1320px!important;
  min-height:330px!important;
  height:auto!important;
  margin:0 auto 44px!important;
  padding:58px 24px 50px!important;
  border:0!important;
  border-bottom:1px solid rgba(221,171,62,.20)!important;
  border-radius:0!important;
  background:
    radial-gradient(circle at 50% 8%, rgba(112,86,180,.18), transparent 34%),
    linear-gradient(180deg, rgba(4,8,15,.72), rgba(2,6,12,.94))!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-direction:column!important;
  text-align:center!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body.rank-game-body .rank-page-heading .rank-kicker{
  display:inline-flex!important;
  min-height:30px!important;
  padding:6px 22px!important;
  margin:0 auto 18px!important;
  border-radius:999px!important;
  border:1px solid rgba(255,190,55,.55)!important;
  background:rgba(7,12,20,.72)!important;
  color:#ffd05b!important;
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:.24em!important;
  text-transform:uppercase!important;
}
body.rank-game-body .rank-page-heading h1{
  max-width:940px!important;
  margin:0 auto 18px!important;
  font-family:Georgia,serif!important;
  color:#fff8ed!important;
  font-size:clamp(56px,7.2vw,92px)!important;
  line-height:.96!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
body.rank-game-body .rank-page-heading p{
  max-width:780px!important;
  margin:0 auto!important;
  color:#dbe7f4!important;
  font-size:17px!important;
  line-height:1.55!important;
}
body.rank-game-body .rank-game-window{
  width:100%!important;
  max-width:1320px!important;
  margin:0 auto!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body.rank-game-body .rank-game-tabs.rank-mode-tabs-v56{
  margin:0 auto 24px!important;
}
body.rank-game-body .rank-game-board{
  width:100%!important;
  max-width:1320px!important;
  margin:0 auto!important;
}

/* STORE: balance now lives in the connected-account box, not floating in the hero. */
.cash-main .cash-wallet{
  display:none!important;
}
.cash-profile__balance{
  display:block!important;
  margin-top:3px!important;
  color:#9fb5c8!important;
  font-size:12px!important;
  line-height:1.25!important;
}
.cash-profile__balance b{
  color:#ffc44d!important;
  font-size:15px!important;
  letter-spacing:.03em!important;
  text-shadow:0 0 14px rgba(255,185,47,.28)!important;
}

/* Store "Ver itens": target starts exactly at item section with clean spacing. */
.cash-section--panel#cash-shop-content{
  scroll-margin-top:0!important;
  padding-top:64px!important;
}
.cash-section--panel#cash-shop-content .content-area{
  padding-top:0!important;
}

@media(max-width:760px){
  body.rank-game-body .rank-game-shell{
    width:min(100% - 24px,1320px)!important;
  }
  body.rank-game-body .rank-page-heading{
    min-height:300px!important;
    padding:50px 18px 42px!important;
  }
  body.rank-game-body .rank-page-heading h1{
    font-size:clamp(38px,12vw,60px)!important;
  }
}
