/* rankshake-nov5: home RANKING TOP – klik w wiersz/ramkę nie trzęsie wnętrza panelu.
   Przyczyna: #top5 trzyma 5 wierszy, a navux ucina do 3 (max-height ~96px) z overflow:hidden,
   przy czym ui5 zostawia scroll-behavior:smooth + scroll-snap-type:y → kontener nadal się
   przewija i na klik/focus gładko „doskakuje”, więc wiersze, awatary i nicki drżą w środku.
   Fix: overflow:clip (obcina BEZ scroll-containera) + wyłączenie snap/smooth; bez :active scale. */

.home .rcol .rank #top5,
.rcol .rank #top5,
#top5.toplist {
  overflow: clip !important;
  overflow-x: clip !important;
  overflow-y: clip !important;
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
  overscroll-behavior: none !important;
  -webkit-overflow-scrolling: auto !important;
  scrollbar-gutter: auto !important;
}

.home .rcol .rank #top5 li,
.rcol .rank #top5 li,
#top5.toplist li {
  scroll-snap-align: none !important;
  scroll-snap-stop: normal !important;
}

.home .rcol .rank #top5 li:active,
.home .rcol .rank #top5 li:focus,
.home .rcol .rank #top5 li:focus-visible,
.rcol .rank #top5 li:active,
.rcol .rank #top5 li:focus,
.rcol .rank .mine:active,
.rcol .rank #mine:active,
.rcol .rank #top5 .av2W:active,
.rcol .rank #mine .av2W:active,
.rcol .rank #top5 .nk:active,
.rcol .rank #mine .nk:active {
  transform: none !important;
}

.home .rcol .rank #top5 li:active,
.rcol .rank #top5 li:active {
  filter: brightness(1.08);
}

.rcol .rank .mine:active,
.rcol .rank #mine:active {
  filter: brightness(1.06);
}
