/* 排行榜：桌面端提高信息密度；移动端保持独立滚动并提供可见的加载入口。 */
/* 空态/错误态只有一个子块，不能被主题的“隐藏末尾统计”规则误隐藏。 */
.leaderboard-section>div:only-child:not(.leaderboard-card){display:block!important}
#leaderboard-footer{display:block!important;min-height:38px!important;padding:8px 0!important}
.leaderboard-list{overscroll-behavior:contain;scrollbar-gutter:stable}
@media(min-width:769px){
  .leaderboard-item{height:30px!important;min-height:30px!important;margin:1px 0!important;padding:1px 2px!important;border-radius:8px!important}
  .leaderboard-item>span{line-height:1.05!important}
  .leaderboard-item img{width:19px!important;height:19px!important}
}
@media(max-width:768px){
  .leaderboard-list{height:calc(100vh - 184px)!important;height:calc(100dvh - 184px)!important;min-height:0!important;max-height:calc(100vh - 184px)!important;max-height:calc(100dvh - 184px)!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-y!important}
}
