/* Compact leaderboard and OBS use the same real ranking and podium bubbles. */
.leaderboard-presentation{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:12px 0;font-size:11px;color:var(--muted)}
.leaderboard-presentation label{display:inline-flex;align-items:center;gap:6px;cursor:pointer}
.leaderboard-presentation input{accent-color:var(--blue)}
.leaderboard-presentation a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.leaderboard-row.leaderboard-rank-change{position:relative}
.leaderboard-movement{font-size:10px;font-weight:700;line-height:1.2;color:var(--muted)}
.leaderboard-movement-up{color:#7edbb9}.leaderboard-movement-down{color:#f2a8bd}
html[data-ch-bloom="on"]:is([data-ch-motion="standard"],[data-ch-motion="arcade"]) .leaderboard-rank-change::before{
 content:"";position:absolute;inset:2px;border:1px solid var(--ch-motion-podium-outline,var(--blue));border-radius:inherit;pointer-events:none;opacity:0;
 animation:ch-leaderboard-change 1200ms ease-out 1 both;
}
html[data-ch-motion-hidden="true"] .leaderboard-rank-change::before{animation-play-state:paused!important}
@keyframes ch-leaderboard-change{0%,100%{opacity:0}25%{opacity:.9}}
html[data-ch-leaderboard-layout="compact"] .leaderboard-row,
html[data-ch-motion][data-ch-leaderboard-layout="compact"] .leaderboard-row{grid-template-columns:22px 32px minmax(0,1fr) auto;min-height:50px;gap:6px;padding:8px 6px}
html[data-ch-leaderboard-layout="compact"] .leaderboard-cover,html[data-ch-leaderboard-layout="compact"] .leaderboard-cover img{width:32px;height:32px}
html[data-ch-leaderboard-layout="compact"] .leaderboard-medal{width:22px;height:22px;font-size:12px}
html[data-ch-leaderboard-layout="compact"] .leaderboard-title{font-size:12px}
html[data-ch-leaderboard-layout="compact"] .leaderboard-charter{font-size:10px}
html[data-ch-leaderboard-layout="compact"] .leaderboard-metric{font-size:10px}
html[data-ch-leaderboard-layout="compact"] .staff-badge{font-size:8px;padding:1px 4px}
html[data-ch-leaderboard-obs="true"],html[data-ch-leaderboard-obs="true"] body{background:transparent!important}
html[data-ch-leaderboard-obs="true"] .site-shell{overflow:visible}
html[data-ch-leaderboard-obs="true"] body>:not(.site-shell),
html[data-ch-leaderboard-obs="true"] .site-shell>:not(main),
html[data-ch-leaderboard-obs="true"] .leaderboard-page>:not(.leaderboard-board){display:none!important}
html[data-ch-leaderboard-obs="true"] .leaderboard-page{width:100%;max-width:640px;min-height:0;margin:0;padding:12px}
html[data-ch-leaderboard-obs="true"] .leaderboard-board{background:transparent!important;border:0;box-shadow:none!important;padding:0;margin:0}
html[data-ch-leaderboard-obs="true"] :is(.leaderboard-toolbar,.leaderboard-presentation,.leaderboard-heading,.leaderboard-status){display:none!important}
@media(prefers-reduced-motion:reduce),(forced-colors:active){.leaderboard-rank-change::before{animation:none!important;display:none!important}}
