/* TokEarn mobile header cleanup */
.mobileHeaderWrap{
  align-items:center;
  gap:14px;
}

.mobileAuthRow{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:auto;
}

@media (max-width: 820px){
  .topbar .mobileHeaderWrap{
    display:grid;
    grid-template-columns: 1fr auto;
    align-items:center;
    gap:12px;
    padding-top:14px;
    padding-bottom:14px;
  }

  .topbar .logo{
    min-width:0;
    gap:10px;
  }

  .topbar .logo .mark{
    width:44px;
    height:44px;
    border-radius:14px;
    flex:0 0 44px;
  }

  .topbar .logoTitle{
    font-size:17px;
    line-height:1.05;
    font-weight:800;
  }

  .topbar .logo .small{
    font-size:11px;
    line-height:1.15;
    opacity:.95;
  }

  .mobileNavRow{
    grid-column:1 / -1;
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    gap:10px;
    padding-bottom:2px;
    scrollbar-width:none;
    -ms-overflow-style:none;
  }

  .mobileNavRow::-webkit-scrollbar{
    display:none;
  }

  .mobileNavRow a{
    white-space:nowrap;
    flex:0 0 auto;
    padding:10px 14px;
    border-radius:999px;
    background:rgba(255,255,255,.03);
    border:1px solid rgba(148,163,184,.14);
    font-size:14px;
    line-height:1;
  }

  .mobileNavRow a.active{
    background:rgba(0,229,255,.08);
    border-color:rgba(0,229,255,.32);
  }

  .mobileSpacer{
    display:none;
  }

  .mobileAuthRow{
    justify-self:end;
    margin-left:0;
    gap:8px;
  }

  .mobileAuthRow .btn{
    padding:10px 14px;
    font-size:14px;
    border-radius:16px;
    white-space:nowrap;
  }

  .padTop{
    padding-top:18px;
  }
}

@media (max-width: 560px){
  .topbar .mobileHeaderWrap{
    grid-template-columns: 1fr;
    gap:12px;
  }

  .topbar .logo{
    width:100%;
  }

  .mobileAuthRow{
    width:100%;
    justify-content:flex-start;
    flex-wrap:wrap;
  }

  .mobileAuthRow .btn{
    flex:0 0 auto;
  }

  .topbar .logoTitle{
    font-size:16px;
  }

  .topbar .logo .small{
    font-size:10.5px;
  }
}
