
/* RMRP MOBILE HEADER V15 */

@media(max-width:760px){

 html body header.top{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-template-rows:40px 42px!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  padding:10px 12px!important;
  box-sizing:border-box!important;
  background:linear-gradient(135deg,#151116,#211620)!important;
  border-bottom:1px solid #70304f!important;
 }

 /* HIDE LOGO ON MOBILE */

 html body header.top
 :is(.brand,.logo,.brand-logo,.header-logo,.site-logo)
 :is(img,svg):not(.head-actions *){
  display:none!important;
 }

 html body header.top
 :is(a,.brand,.logo,.header-logo,.site-logo)
 :not(.head-actions *){
  min-width:0;
 }

 html body header.top
 :is(.brand,.logo,.brand-logo,.header-logo,.site-logo)
 :not(:has(.head-toggle)):not(.head-actions *){
  display:none!important;
 }

 html body header.top a:has(img):not(.head-actions *):not(:has(.head-toggle)){
  display:none!important;
 }

 html body header.top img:not(.head-actions *){
  display:none!important;
 }

 /* HEADER GRID */

 html body header.top>.head-actions,
 html body header.top>.head-actions:has(#account-link .nav-avatar),
 html body header.top>:has(.head-toggle):not(.head-toggle):not(.head-actions){
  display:contents!important;
 }

 html body header.top .head-toggle{
  display:grid!important;
  place-items:center!important;
  grid-column:1!important;
  grid-row:1!important;
  justify-self:start!important;
  position:relative!important;
  inset:auto!important;
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  min-height:40px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #50404c!important;
  border-radius:9px!important;
  background:#272129!important;
  transform:none!important;
 }

 /* BALANCE AND EYE */

 html body header.top .head-actions
 #header-wallet:has(#balance:not([hidden])){
  display:flex!important;
  grid-column:2/4!important;
  grid-row:1!important;
  align-items:center!important;
  justify-content:space-between!important;
  position:relative!important;
  inset:auto!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:40px!important;
  padding:0 4px 0 8px!important;
  margin:0!important;
  gap:3px!important;
  border:1px solid #59404f!important;
  border-radius:9px!important;
  background:#1b161d!important;
  box-sizing:border-box!important;
  transform:none!important;
 }

 html body header.top .head-actions
 #header-wallet #balance:not([hidden]){
  display:block!important;
  position:static!important;
  inset:auto!important;
  flex:1 1 auto!important;
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  font:700 clamp(10px,3.2vw,13px)/1.2 Arial,sans-serif!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  transform:none!important;
 }

 html body header.top #balance::before,
 html body header.top #balance::after{
  display:none!important;
  content:none!important;
 }

 html body header.top .head-actions
 #header-wallet #balance-toggle:not([hidden]){
  display:grid!important;
  place-items:center!important;
  position:static!important;
  inset:auto!important;
  flex:0 0 26px!important;
  width:26px!important;
  height:30px!important;
  min-width:26px!important;
  min-height:30px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
 }

 html body header.top #balance-toggle svg{
  width:17px!important;
  height:17px!important;
  margin:0!important;
 }

 /* PROFILE */

 html body header.top .head-actions #account-link:not([hidden]){
  grid-column:4!important;
  grid-row:1!important;
  justify-self:end!important;
  position:relative!important;
  inset:auto!important;
  width:40px!important;
  height:40px!important;
  min-height:40px!important;
  margin:0!important;
  transform:none!important;
 }

 /* SECOND ROW */

 html body header.top .head-actions #promo-header-button{
  grid-column:1!important;
  grid-row:2!important;
 }

 html body header.top .head-actions #ticket-link{
  grid-column:2!important;
  grid-row:2!important;
 }

 html body header.top .head-actions #giveaway-header{
  grid-column:3!important;
  grid-row:2!important;
 }

 html body header.top .head-actions #notification-link{
  grid-column:4!important;
  grid-row:2!important;
 }

 html body header.top .head-actions
 :is(#promo-header-button,#ticket-link,#giveaway-header,#notification-link):not([hidden]){
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  justify-self:stretch!important;
  position:relative!important;
  inset:auto!important;
  gap:4px!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:42px!important;
  min-height:42px!important;
  padding:4px!important;
  margin:0!important;
  border:1px solid #56394c!important;
  border-radius:9px!important;
  background:#251c27!important;
  box-sizing:border-box!important;
  box-shadow:none!important;
  transform:none!important;
  font-size:12px!important;
 }

 html body header.top .head-actions
 #giveaway-header:not([hidden]){
  background:linear-gradient(135deg,#e82269,#ad1048)!important;
  border-color:#ef427f!important;
 }

 html body header.top #giveaway-header::before{
  display:none!important;
  content:none!important;
 }

 html body header.top #giveaway-header span,
 html body header.top #promo-header-button span{
  display:none!important;
 }

 html body header.top .head-actions
 :is(#promo-header-button,#ticket-link,#giveaway-header,#notification-link) svg{
  width:19px!important;
  height:19px!important;
  min-width:0!important;
  flex-shrink:0!important;
  margin:0!important;
 }

 html body header.top [hidden]{
  display:none!important;
 }

}

/* SMALL PHONES */

@media(max-width:360px){
 html body header.top{
  padding:8px!important;
  gap:5px!important;
 }

 html body header.top .head-actions
 #header-wallet #balance:not([hidden]){
  font-size:10px!important;
 }
}
