#onlineProfile #cloudLeaderboardSection{
  min-width:0;
}
#onlineProfile #cloudLegacyCreateBtn.hidden{
  display:none!important;
}
#onlineProfile .leaderboard-era-tabs{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin:0 0 10px;
}
#onlineProfile .leaderboard-era-tabs .btn{
  min-height:44px!important;
  white-space:normal;
  line-height:1.15;
}
#onlineProfile #leaderboardStatus{
  color:#c8deeb;
  font-size:.86rem;
  margin:8px 0;
}
#onlineProfile #leaderboardStatus:empty{
  display:none;
}
#onlineProfile #cloudLeaderboardSection #leaderboard{
  max-height:min(43dvh,400px)!important;
  overflow:auto;
  scrollbar-width:thin;
}
#onlineProfile #cloudLeaderboardSection .leaderboard-head{
  position:sticky;
  top:0;
  z-index:1;
}
#onlineProfile #leaderboard:focus-visible{
  outline:2px solid var(--ui-amber,#ffc66d);
  outline-offset:2px;
}
#onlineProfile #cloudLeaderboardSection .leaderboard-head,
#onlineProfile #cloudLeaderboardSection .leaderboard-row{
  grid-template-columns: minmax(1.5rem,.42fr) minmax(0,2.5fr) minmax(4.25rem,1.25fr) minmax(1.8rem,.55fr) minmax(2.2rem,.6fr)!important;
  gap:6px!important;
  font-variant-numeric:tabular-nums;
}
#onlineProfile #cloudLeaderboardSection .leaderboard-number{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
#onlineProfile #cloudLeaderboardSection .leaderboard-bug-count::before{
  content:none;
}
@media(max-width:520px){
  #onlineProfile #cloudLeaderboardSection .leaderboard-head,
  #onlineProfile #cloudLeaderboardSection .leaderboard-row{
    grid-template-columns:1.35rem minmax(0,1.95fr) minmax(3.3rem,1.08fr) 1.75rem 1.95rem!important;
    gap:4px!important;
    padding-inline:5px!important;
  }
  #onlineProfile #cloudLeaderboardSection .leaderboard-avatar{
    flex-basis:31px;
    width:31px;
    height:31px;
  }
  #onlineProfile #cloudLeaderboardSection .leaderboard-pilot-cell{
    gap:4px!important;
  }
}
#onlineProfile #cloudLeaderboardSection #leaderboard.leaderboard-archive :is(.leaderboard-head,.leaderboard-row){
  grid-template-columns:2rem minmax(0,1fr) minmax(5rem,.7fr)!important;
}
#onlineProfile #cloudLeaderboardSection .leaderboard-archive :is(.leaderboard-head,.leaderboard-row) > :last-child{
  text-align:right;
}
