/* Local and world rankings share the app surfaces and icon language.
   Kept separate from the legacy cascade so event and career rankings stay intact. */
:root body #areaParaCaptura.ranking-page {
  --ranking-surface: #fff;
  --ranking-soft: #f4f7fa;
  --ranking-line: #e2e9ef;
  --ranking-ink: #183b56;
  --ranking-muted: #63798b;
  --ranking-selected: #e6f2ff;
  --ranking-accent: #1768a6;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
html[data-theme="dark"] #areaParaCaptura.ranking-page {
  --ranking-surface: #102b43;
  --ranking-soft: #15354f;
  --ranking-line: #29475e;
  --ranking-ink: #edf5fc;
  --ranking-muted: #a6bdcf;
  --ranking-selected: #204968;
  --ranking-accent: #8ed3ff;
}
:root body #areaParaCaptura.ranking-page .ranking-panel {
  background: var(--ranking-surface) !important;
  border: 1px solid var(--ranking-line) !important;
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 4px 18px rgba(12, 39, 61, .05) !important;
}
:root body #areaParaCaptura.ranking-page .ranking-panel__nav {
  background: var(--ranking-soft) !important;
  border: 1px solid var(--ranking-line);
  border-radius: 14px;
  box-shadow: none !important;
  padding: 6px;
  gap: 4px;
  min-width: 142px;
}
:root body #areaParaCaptura.ranking-page .ranking-panel__nav > .ranking-tab {
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 10px;
  color: var(--ranking-muted) !important;
  padding: 10px 8px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: none !important;
  transform: none !important;
  min-height: 58px;
}
:root body #areaParaCaptura.ranking-page .ranking-panel__nav > .ranking-tab:hover {
  background: var(--ranking-selected) !important;
}
:root body #areaParaCaptura.ranking-page .ranking-panel__nav > .ranking-tab.active {
  background: var(--ranking-selected) !important;
  border-color: var(--ranking-accent) !important;
  color: var(--ranking-accent) !important;
  box-shadow: none !important;
  transform: none;
}
:root body #areaParaCaptura.ranking-page .ranking-tab.active::after { display: none; }
:root body #areaParaCaptura.ranking-page .ranking-tab small,
:root body #areaParaCaptura.ranking-page .ranking-tab.active small {
  color: inherit !important;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 600;
  max-width: none;
  white-space: nowrap;
}
:root body #areaParaCaptura.ranking-page .ranking-category-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 4px;
  color: inherit;
}
:root body #areaParaCaptura.ranking-page .ranking-tab:focus-visible,
:root body #areaParaCaptura.ranking-page .ranking-filter-summary-btn:focus-visible {
  outline: 2px solid var(--ranking-accent);
  outline-offset: 2px;
}
:root body #areaParaCaptura.ranking-page .ranking-panel__content {
  background: transparent !important;
  border: 0 !important;
  border-radius: 12px;
  padding: 4px 8px;
  scroll-margin-top: calc(var(--nav-height, 3.25rem) + 1rem);
}
:root body #areaParaCaptura.ranking-page .ranking-list-card.info-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
:root body #areaParaCaptura.ranking-page .ranking-list-card .info-card__header {
  border-bottom: 1px solid var(--ranking-line);
  padding-bottom: 12px;
}
:root body #areaParaCaptura.ranking-page .ranking-list-card .info-card__icon {
  color: var(--ranking-accent) !important;
  background: var(--ranking-selected) !important;
}
:root body #areaParaCaptura.ranking-page .ranking-list-card .info-card__badge {
  color: var(--ranking-muted) !important;
  background: var(--ranking-soft) !important;
  border: 1px solid var(--ranking-line) !important;
  box-shadow: none !important;
}
:root body #areaParaCaptura.ranking-page .ranking-compact-item {
  background: var(--ranking-surface) !important;
  border: 1px solid var(--ranking-line) !important;
  border-radius: 12px;
  box-shadow: none !important;
  color: var(--ranking-ink);
  transform: none !important;
}
:root body #areaParaCaptura.ranking-page .ranking-compact-item:hover {
  background: var(--ranking-soft) !important;
}
:root body #areaParaCaptura.ranking-page .ranking-compact-item--gold { border-left: 3px solid #c59b3c !important; }
:root body #areaParaCaptura.ranking-page .ranking-compact-item--silver { border-left: 3px solid #9aabb9 !important; }
:root body #areaParaCaptura.ranking-page .ranking-compact-item--bronze { border-left: 3px solid #bc8b63 !important; }
:root body #areaParaCaptura.ranking-page .ranking-compact-item--gold::after { display: none; }
:root body #areaParaCaptura.ranking-page .ranking-compact-item::before {
  background: var(--ranking-soft) !important;
  box-shadow: none !important;
  color: var(--ranking-muted) !important;
}
:root body #areaParaCaptura.ranking-page .ranking-compact-item__main::before {
  background: var(--ranking-soft) !important;
  color: var(--ranking-muted) !important;
  box-shadow: none;
}
:root body #areaParaCaptura.ranking-page .ranking-compact-item__name { color: var(--ranking-ink) !important; }
:root body #areaParaCaptura.ranking-page .ranking-compact-item__value {
  color: var(--ranking-accent) !important;
  text-shadow: none;
}
:root body #areaParaCaptura.ranking-page .ranking-compact-chip {
  background: var(--ranking-soft) !important;
  color: var(--ranking-muted) !important;
}
:root body #areaParaCaptura.ranking-page .ranking-compact-chip strong { color: var(--ranking-ink) !important; }
:root body #areaParaCaptura.ranking-page .fifa-card-mini { box-shadow: none; }
:root body #areaParaCaptura.ranking-page .ranking-category-description {
  color: var(--ranking-muted);
  background: var(--ranking-soft);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.5;
}
:root body #areaParaCaptura.ranking-page .ranking-filters-compact .mud-button-root {
  text-transform: none;
  letter-spacing: 0;
  box-shadow: none;
}
@media (max-width: 768px) {
  :root body #areaParaCaptura.ranking-page { gap: 12px; }
  :root body #areaParaCaptura.ranking-page .ranking-panel { padding: 8px; border-radius: 16px; }
  :root body #areaParaCaptura.ranking-page .ranking-panel__nav { padding: 5px; min-width: 0; }
  :root body #areaParaCaptura.ranking-page .ranking-panel__nav > .ranking-tab { flex: 0 0 auto; min-width: 88px; padding: 8px; }
  :root body #areaParaCaptura.ranking-page .ranking-panel__content { padding: 4px 0; }
}
:root body #areaParaCaptura.ranking-page .ranking-filters-compact.info-card--hero {
  box-shadow: 0 4px 16px rgba(12, 39, 61, .12) !important;
  border-radius: 18px;
}
:root body #areaParaCaptura.ranking-page .ranking-filters-compact .mud-button-root {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 12px;
}
:root body #areaParaCaptura.ranking-page .ranking-filters-compact .info-card__badge {
  background: rgba(255, 255, 255, .12) !important;
  color: #edf5fc !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  box-shadow: none !important;
}
:root body #areaParaCaptura.ranking-page .ranking-pagination {
  color: var(--ranking-muted);
  font-size: 11px;
}
:root body #areaParaCaptura.ranking-page .ranking-pagination > span {
  flex: 1;
  text-align: center;
}
:root body #areaParaCaptura.ranking-page .ranking-pagination .mud-button-root {
  min-width: 60px;
  padding: 4px 6px;
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0;
}

/* Category colors identify each ranking; filled selection stays readable in both themes. */
:root body #areaParaCaptura.ranking-page[data-ranking-category="Artilheiro"],
:root body #areaParaCaptura.ranking-page .ranking-tab[data-category="Artilheiro"] {
  --category-color: #176b46; --category-fill: #176b46; --category-soft: #e3f4e9;
}
html[data-theme="dark"] body #areaParaCaptura.ranking-page[data-ranking-category="Artilheiro"],
html[data-theme="dark"] body #areaParaCaptura.ranking-page .ranking-tab[data-category="Artilheiro"] {
  --category-color: #7ee4ad; --category-soft: #173d34;
}
:root body #areaParaCaptura.ranking-page[data-ranking-category="Assistencia"],
:root body #areaParaCaptura.ranking-page .ranking-tab[data-category="Assistencia"] {
  --category-color: #215dad; --category-fill: #215dad; --category-soft: #e5efff;
}
html[data-theme="dark"] body #areaParaCaptura.ranking-page[data-ranking-category="Assistencia"],
html[data-theme="dark"] body #areaParaCaptura.ranking-page .ranking-tab[data-category="Assistencia"] {
  --category-color: #95c7ff; --category-soft: #193754;
}
:root body #areaParaCaptura.ranking-page[data-ranking-category="MelhorAvaliado"],
:root body #areaParaCaptura.ranking-page .ranking-tab[data-category="MelhorAvaliado"] {
  --category-color: #805715; --category-fill: #805715; --category-soft: #fff0ce;
}
html[data-theme="dark"] body #areaParaCaptura.ranking-page[data-ranking-category="MelhorAvaliado"],
html[data-theme="dark"] body #areaParaCaptura.ranking-page .ranking-tab[data-category="MelhorAvaliado"] {
  --category-color: #f6d478; --category-soft: #403822;
}
:root body #areaParaCaptura.ranking-page[data-ranking-category="Xerifao"],
:root body #areaParaCaptura.ranking-page .ranking-tab[data-category="Xerifao"] {
  --category-color: #7044a5; --category-fill: #7044a5; --category-soft: #f1e9fc;
}
html[data-theme="dark"] body #areaParaCaptura.ranking-page[data-ranking-category="Xerifao"],
html[data-theme="dark"] body #areaParaCaptura.ranking-page .ranking-tab[data-category="Xerifao"] {
  --category-color: #ccb0ff; --category-soft: #34284b;
}
:root body #areaParaCaptura.ranking-page[data-ranking-category="Goleiro"],
:root body #areaParaCaptura.ranking-page .ranking-tab[data-category="Goleiro"] {
  --category-color: #006d7a; --category-fill: #006d7a; --category-soft: #dff4f5;
}
html[data-theme="dark"] body #areaParaCaptura.ranking-page[data-ranking-category="Goleiro"],
html[data-theme="dark"] body #areaParaCaptura.ranking-page .ranking-tab[data-category="Goleiro"] {
  --category-color: #70dce5; --category-soft: #153b45;
}
:root body #areaParaCaptura.ranking-page[data-ranking-category="Times"],
:root body #areaParaCaptura.ranking-page .ranking-tab[data-category="Times"] {
  --category-color: #3e5899; --category-fill: #3e5899; --category-soft: #e8edfb;
}
html[data-theme="dark"] body #areaParaCaptura.ranking-page[data-ranking-category="Times"],
html[data-theme="dark"] body #areaParaCaptura.ranking-page .ranking-tab[data-category="Times"] {
  --category-color: #b0c5ff; --category-soft: #263653;
}
:root body #areaParaCaptura.ranking-page[data-ranking-category="Campeao"],
:root body #areaParaCaptura.ranking-page .ranking-tab[data-category="Campeao"] {
  --category-color: #855b0c; --category-fill: #855b0c; --category-soft: #fff1c5;
}
html[data-theme="dark"] body #areaParaCaptura.ranking-page[data-ranking-category="Campeao"],
html[data-theme="dark"] body #areaParaCaptura.ranking-page .ranking-tab[data-category="Campeao"] {
  --category-color: #ffda6e; --category-soft: #40371e;
}
:root body #areaParaCaptura.ranking-page[data-ranking-category="UltimoTime"],
:root body #areaParaCaptura.ranking-page .ranking-tab[data-category="UltimoTime"] {
  --category-color: #a3432f; --category-fill: #a3432f; --category-soft: #ffebe4;
}
html[data-theme="dark"] body #areaParaCaptura.ranking-page[data-ranking-category="UltimoTime"],
html[data-theme="dark"] body #areaParaCaptura.ranking-page .ranking-tab[data-category="UltimoTime"] {
  --category-color: #ffa68e; --category-soft: #452b2b;
}
:root body #areaParaCaptura.ranking-page[data-ranking-category="Fominha"],
:root body #areaParaCaptura.ranking-page .ranking-tab[data-category="Fominha"] {
  --category-color: #086b61; --category-fill: #086b61; --category-soft: #dff4ef;
}
html[data-theme="dark"] body #areaParaCaptura.ranking-page[data-ranking-category="Fominha"],
html[data-theme="dark"] body #areaParaCaptura.ranking-page .ranking-tab[data-category="Fominha"] {
  --category-color: #7ddfcb; --category-soft: #173d39;
}
:root body #areaParaCaptura.ranking-page[data-ranking-category="ReiDosPontos"],
:root body #areaParaCaptura.ranking-page .ranking-tab[data-category="ReiDosPontos"] {
  --category-color: #6745ad; --category-fill: #6745ad; --category-soft: #eee8fc;
}
html[data-theme="dark"] body #areaParaCaptura.ranking-page[data-ranking-category="ReiDosPontos"],
html[data-theme="dark"] body #areaParaCaptura.ranking-page .ranking-tab[data-category="ReiDosPontos"] {
  --category-color: #c6adff; --category-soft: #30294b;
}
:root body #areaParaCaptura.ranking-page[data-ranking-category="GoleiroMenosVazado"],
:root body #areaParaCaptura.ranking-page .ranking-tab[data-category="GoleiroMenosVazado"] {
  --category-color: #126182; --category-fill: #126182; --category-soft: #e1f1fa;
}
html[data-theme="dark"] body #areaParaCaptura.ranking-page[data-ranking-category="GoleiroMenosVazado"],
html[data-theme="dark"] body #areaParaCaptura.ranking-page .ranking-tab[data-category="GoleiroMenosVazado"] {
  --category-color: #85d4fa; --category-soft: #193a4d;
}
:root body #areaParaCaptura.ranking-page[data-ranking-category="Vacilos"],
:root body #areaParaCaptura.ranking-page .ranking-tab[data-category="Vacilos"] {
  --category-color: #6d28d9; --category-fill: #6d28d9; --category-soft: #f3e8ff;
}
html[data-theme="dark"] body #areaParaCaptura.ranking-page[data-ranking-category="Vacilos"],
html[data-theme="dark"] body #areaParaCaptura.ranking-page .ranking-tab[data-category="Vacilos"] {
  --category-color: #d8b4fe; --category-soft: #37234f;
}
:root body #areaParaCaptura.ranking-page[data-ranking-category="Cartoes"],
:root body #areaParaCaptura.ranking-page .ranking-tab[data-category="Cartoes"] {
  --category-color: #a42f4c; --category-fill: #a42f4c; --category-soft: #ffe7ee;
}
html[data-theme="dark"] body #areaParaCaptura.ranking-page[data-ranking-category="Cartoes"],
html[data-theme="dark"] body #areaParaCaptura.ranking-page .ranking-tab[data-category="Cartoes"] {
  --category-color: #ff9bb7; --category-soft: #442a3a;
}

:root body #areaParaCaptura.ranking-page .ranking-category-icon {
  box-sizing: content-box;
  padding: 6px;
  border-radius: 10px;
  background: var(--category-soft, var(--ranking-selected));
  color: var(--category-color, var(--ranking-accent));
}
:root body #areaParaCaptura.ranking-page .ranking-tab small {
  color: var(--ranking-ink) !important;
}
:root body #areaParaCaptura.ranking-page .ranking-panel__nav > .ranking-tab:hover {
  background: var(--category-soft, var(--ranking-selected)) !important;
}
:root body #areaParaCaptura.ranking-page .ranking-panel__nav > .ranking-tab.active {
  background: var(--category-fill, #1768a6) !important;
  border-color: var(--category-color, var(--ranking-accent)) !important;
  color: #fff !important;
  box-shadow: 0 2px 6px rgba(12,39,61,.16) !important;
}
:root body #areaParaCaptura.ranking-page .ranking-tab.active small {
  color: #fff !important;
}
:root body #areaParaCaptura.ranking-page .ranking-tab.active .ranking-category-icon {
  background: rgba(255,255,255,.15);
  color: #fff;
}
:root body #areaParaCaptura.ranking-page .ranking-list-card .info-card__icon {
  color: var(--category-color, var(--ranking-accent)) !important;
  background: var(--category-soft, var(--ranking-selected)) !important;
}
:root body #areaParaCaptura.ranking-page .ranking-compact-item__value {
  color: var(--category-color, var(--ranking-accent)) !important;
}
:root body #areaParaCaptura.ranking-page .ranking-compact-item--gold {
  --podium-background: #fff6d8; --podium-ink: #75520c; --podium-border: #d8b04c;
}
:root body #areaParaCaptura.ranking-page .ranking-compact-item--silver {
  --podium-background: #eaf1fa; --podium-ink: #3d5772; --podium-border: #9eb3cb;
}
:root body #areaParaCaptura.ranking-page .ranking-compact-item--bronze {
  --podium-background: #ffecdd; --podium-ink: #85451f; --podium-border: #cf956e;
}
html[data-theme="dark"] body #areaParaCaptura.ranking-page .ranking-compact-item--gold {
  --podium-background: #39321f; --podium-ink: #ffda75; --podium-border: #9f8235;
}
html[data-theme="dark"] body #areaParaCaptura.ranking-page .ranking-compact-item--silver {
  --podium-background: #26394e; --podium-ink: #c9def5; --podium-border: #6c88a4;
}
html[data-theme="dark"] body #areaParaCaptura.ranking-page .ranking-compact-item--bronze {
  --podium-background: #3e2d27; --podium-ink: #ffc49a; --podium-border: #b17b59;
}
:root body #areaParaCaptura.ranking-page :is(.ranking-compact-item--gold,.ranking-compact-item--silver,.ranking-compact-item--bronze) {
  background: var(--podium-background) !important;
  border-color: var(--podium-border) !important;
  border-left-width: 4px !important;
}
:root body #areaParaCaptura.ranking-page :is(.ranking-compact-item--gold,.ranking-compact-item--silver,.ranking-compact-item--bronze)::before {
  background: var(--podium-ink) !important;
  color: var(--podium-background) !important;
}
:root body #areaParaCaptura.ranking-page :is(.ranking-compact-item--gold,.ranking-compact-item--silver,.ranking-compact-item--bronze) .ranking-compact-item__value {
  color: var(--podium-ink) !important;
}
:root body #areaParaCaptura.ranking-page .ranking-compact-item__main::before {
  color: var(--podium-ink, var(--ranking-muted)) !important;
  background: var(--podium-background, var(--ranking-soft)) !important;
}

/* === Ranking Page === */
.ranking-panel {
  border-radius: 24px;
  padding: 0.6rem 0.75rem;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(9, 61, 42, 0.12);
  transition: all 0.3s ease;
}

.ranking-panel__body {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.ranking-panel__nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 130px;
}

.ranking-tab {
  border: none;
  border-radius: 18px;
  padding: 0.85rem 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(10, 93, 63, 0.08);
  color: #0a5d3f;
  transition: all 0.25s ease;
  cursor: pointer;
}

.ranking-tab:hover {
  background: rgba(10, 93, 63, 0.12);
  transform: translateX(4px);
}

.ranking-tab.active {
  background: linear-gradient(120deg, #fef9d7, #f4c542);
  color: #0f1b1a;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
  transform: translateX(0);
}

.ranking-panel__content {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), #f4f8ff);
  border-radius: 18px;
  padding: 0.75rem;
  flex: 1;
  min-height: 420px;
  overflow: hidden;
}

.ranking-compact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: ranking;
  border-radius: 16px;
  overflow: hidden;
  background: #f4f4f4;
}

.ranking-compact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.7rem;
  min-height: 66px;
  position: relative;
  transition: background 0.2s ease;
  cursor: pointer;
}

.ranking-compact-item:hover {
  background: rgba(82, 174, 255, 0.08);
}

.ranking-compact-item::before {
  counter-increment: ranking;
  content: counter(ranking) ".";
  font-weight: 700;
  color: #0f1b1a;
  width: 1.75rem;
  text-align: right;
}

.ranking-compact-item + .ranking-compact-item {
  border-top: 1px solid rgba(10, 30, 20, 0.08);
}

.ranking-compact-item__avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.75);
}

.ranking-compact-item__avatar--leader {
  width: 72px;
  height: 86px;
  border-radius: 18px;
  box-shadow: none;
}

/* Estilos para pódio com CartaJogadorMini */
.ranking-compact-item__avatar--gold,
.ranking-compact-item__avatar--silver,
.ranking-compact-item__avatar--bronze {
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: none;
  background: transparent;
  overflow: visible;
}

.ranking-compact-item__avatar--gold {
  min-width: 80px;
  min-height: 100px;
}

.ranking-compact-item__avatar--silver {
  min-width: 68px;
  min-height: 85px;
}

.ranking-compact-item__avatar--bronze {
  min-width: 60px;
  min-height: 75px;
}

.ranking-card-mini {
  width: 64px;
  height: 82px;
  background-image: url("/Imagens/carta_destaque.svg");
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 18px;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ranking-card-mini__photo {
  width: 80%;
  height: 70%;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.25);
}

/* Ajustes do ranking: avatar simples e compacto */
.ranking-compact-item__avatar .avatar-wrapper-jogador {
  width: 100%;
  height: 100%;
  background: transparent;
  border-radius: inherit;
  overflow: hidden;
}

.ranking-compact-item__avatar .avatar-image,
.ranking-compact-item__avatar .mud-avatar {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: 50% 50%;
}

/* Overlay the photo on the initial in both themes; keep the initial on load failure. */
.ranking-compact-item__avatar .avatar-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Placeholder elegante (sem foto) */
.ranking-compact-item__avatar .mud-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #0a301e;
  background:
    radial-gradient(
      circle at 30% 25%,
      #ffffff 0%,
      rgba(255, 255, 255, 0.35) 35%
    ),
    linear-gradient(135deg, rgba(82, 174, 255, 0.55), rgba(255, 255, 255, 0.7));
  box-shadow:
    inset 0 0 0 2px rgba(10, 48, 30, 0.14),
    inset 0 -10px 22px rgba(10, 48, 30, 0.08);
}

.ranking-compact-item__avatar .mud-avatar .mud-icon-root {
  font-size: 24px;
}

html[data-theme="dark"] .ranking-compact-item__avatar .mud-avatar {
  color: rgba(240, 246, 255, 0.95);
  background:
    radial-gradient(
      circle at 30% 25%,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0) 40%
    ),
    linear-gradient(135deg, rgba(82, 174, 255, 0.35), rgba(15, 23, 42, 0.55));
  box-shadow:
    inset 0 0 0 2px rgba(82, 174, 255, 0.22),
    inset 0 -14px 26px rgba(0, 0, 0, 0.35);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.ranking-card-mini__fallback {
  width: 80%;
  height: 70%;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #0f2745;
  background: rgba(255, 255, 255, 0.9);
}

.ranking-compact-item__main {
  flex: 1;
  min-width: 0;
}

.ranking-compact-item__name {
  font-weight: 700;
  font-size: 1rem;
  color: #0f2745;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ranking-compact-item__meta {
  font-size: 0.8rem;
  color: rgba(15, 39, 69, 0.7);
}

.ranking-compact-item__value {
  font-weight: 800;
  font-size: 1.3rem;
  color: #0a5d3f;
  min-width: 48px;
  text-align: right;
  flex-shrink: 0;
}

.ranking-compact-item__stats {
  display: flex;
  flex-direction: column;
  min-width: 70px;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(15, 39, 69, 0.7);
  flex-shrink: 0;
}

.ranking-compact-item__stats strong {
  font-size: 1rem;
  color: #0f1b1a;
}

/* === Ranking Page Dark Mode === */
html[data-theme="dark"] .ranking-panel {
  background: linear-gradient(
    135deg,
    rgba(82, 174, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.04) 50%,
    rgba(82, 174, 255, 0.06) 100%
  ) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(82, 174, 255, 0.15);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
}

html[data-theme="dark"] .ranking-tab {
  background: linear-gradient(
    135deg,
    rgba(82, 174, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.06) 100%
  );
  color: #ffffff !important;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.5),
    0 1px 2px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(82, 174, 255, 0.1);
}

html[data-theme="dark"] .ranking-tab small,
html[data-theme="dark"] .ranking-tab small[style*="color"] {
  color: #ffffff !important;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.5),
    0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

html[data-theme="dark"] .ranking-tab:hover {
  background: linear-gradient(
    135deg,
    rgba(82, 174, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.08) 100%
  );
  border-color: rgba(82, 174, 255, 0.2);
  box-shadow: 0 8px 16px rgba(82, 174, 255, 0.15);
}

html[data-theme="dark"] .ranking-tab.active {
  background: linear-gradient(120deg, #52aeff 0%, #3bc896 100%) !important;
  color: #0a1a14 !important;
  text-shadow: none;
  box-shadow: 0 12px 24px rgba(82, 174, 255, 0.4);
  border: 1px solid rgba(82, 174, 255, 0.6);
}

html[data-theme="dark"] .ranking-tab.active small,
html[data-theme="dark"] .ranking-tab.active small[style*="color"] {
  color: #0a1a14 !important;
  font-weight: 800;
  text-shadow: none !important;
}

html[data-theme="dark"] .ranking-panel__content {
  background: linear-gradient(
    135deg,
    rgba(10, 61, 46, 0.5) 0%,
    rgba(6, 21, 16, 0.7) 100%
  );
  backdrop-filter: blur(10px);
  border: 1px solid rgba(82, 174, 255, 0.15);
}

html[data-theme="dark"] .ranking-compact-list {
  background: rgba(6, 21, 16, 0.85) !important;
  border: 1px solid rgba(82, 174, 255, 0.15) !important;
}

html[data-theme="dark"] .ranking-compact-item {
  background: linear-gradient(
    90deg,
    rgba(6, 21, 16, 0.9) 0%,
    rgba(10, 61, 46, 0.8) 100%
  ) !important;
  border-bottom: 1px solid rgba(82, 174, 255, 0.08) !important;
}

/* Destaque para os 3 primeiros colocados */
html[data-theme="dark"] .ranking-compact-item:nth-child(1) {
  background: linear-gradient(
    90deg,
    rgba(255, 215, 0, 0.18) 0%,
    rgba(10, 61, 46, 0.85) 100%
  ) !important;
  border-color: rgba(255, 215, 0, 0.25) !important;
}

html[data-theme="dark"] .ranking-compact-item:nth-child(2) {
  background: linear-gradient(
    90deg,
    rgba(192, 192, 192, 0.15) 0%,
    rgba(10, 61, 46, 0.85) 100%
  ) !important;
  border-color: rgba(192, 192, 192, 0.2) !important;
}

html[data-theme="dark"] .ranking-compact-item:nth-child(3) {
  background: linear-gradient(
    90deg,
    rgba(205, 127, 50, 0.15) 0%,
    rgba(10, 61, 46, 0.85) 100%
  ) !important;
  border-color: rgba(205, 127, 50, 0.2) !important;
}

html[data-theme="dark"] .ranking-compact-item:hover {
  background: linear-gradient(
    135deg,
    rgba(82, 174, 255, 0.25) 0%,
    rgba(10, 61, 46, 0.8) 100%
  ) !important;
  box-shadow: 0 4px 12px rgba(82, 174, 255, 0.25) !important;
  border-color: rgba(82, 174, 255, 0.2) !important;
}

html[data-theme="dark"] .ranking-compact-item::before {
  color: #ffffff !important;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.5),
    0 1px 2px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .ranking-compact-item + .ranking-compact-item {
  border-top: 1px solid rgba(82, 174, 255, 0.12);
}

html[data-theme="dark"] .ranking-compact-item__avatar {
  background: rgba(82, 174, 255, 0.1);
  border: 1px solid rgba(82, 174, 255, 0.2);
}

html[data-theme="dark"] .ranking-card-mini {
  box-shadow: 0 8px 16px rgba(82, 174, 255, 0.15);
}

html[data-theme="dark"] .ranking-card-mini__photo {
  border: 2px solid rgba(82, 174, 255, 0.6);
}

html[data-theme="dark"] .ranking-card-mini__fallback {
  background: linear-gradient(
    135deg,
    rgba(82, 174, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(82, 174, 255, 0.3);
}

html[data-theme="dark"] .ranking-compact-item__name {
  color: #ffffff !important;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.5),
    0 1px 2px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .ranking-compact-item__meta {
  color: rgba(255, 255, 255, 0.7) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] .ranking-compact-item__value {
  color: #52aeff !important;
  text-shadow:
    0 2px 8px rgba(82, 174, 255, 0.3),
    0 1px 2px rgba(0, 0, 0, 0.5);
  font-weight: 900;
}

html[data-theme="dark"] .ranking-compact-item__stats {
  color: rgba(255, 255, 255, 0.7) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] .ranking-compact-item__stats strong {
  color: #52aeff !important;
  text-shadow:
    0 2px 8px rgba(82, 174, 255, 0.3),
    0 1px 2px rgba(0, 0, 0, 0.5);
}

/* === InfoHighlightCard Dark Mode (usado em Ranking e outras páginas) === */
html[data-theme="dark"] .info-card {
  background: linear-gradient(
    135deg,
    rgba(82, 174, 255, 0.08) 0%,
    rgba(10, 61, 46, 0.3) 50%,
    rgba(6, 21, 16, 0.5) 100%
  ) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(82, 174, 255, 0.2) !important;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6) !important;
}

html[data-theme="dark"] .info-card__icon {
  background: rgba(82, 174, 255, 0.2) !important;
  color: #52aeff !important;
}

html[data-theme="dark"] .info-card__eyebrow {
  color: rgba(255, 255, 255, 0.7) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] .info-card__title {
  color: #ffffff !important;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.5),
    0 1px 2px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .info-card__subtitle {
  color: rgba(255, 255, 255, 0.75) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] .info-card__badge {
  background: linear-gradient(120deg, #52aeff, #3bc896) !important;
  color: #0a1a14 !important;
  font-weight: 700;
  box-shadow: 0 4px 8px rgba(82, 174, 255, 0.3);
}

/* MudSelect dentro do InfoHighlightCard em dark mode */
html[data-theme="dark"] .info-card__body ::deep .mud-input-root,
html[data-theme="dark"] .info-card__body ::deep .mud-select {
  background: rgba(10, 61, 46, 0.4) !important;
  border: 1px solid rgba(82, 174, 255, 0.3) !important;
  border-radius: 12px;
}

html[data-theme="dark"] .info-card__body ::deep .mud-input-root:hover,
html[data-theme="dark"] .info-card__body ::deep .mud-select:hover {
  border-color: rgba(82, 174, 255, 0.5) !important;
  box-shadow: 0 4px 8px rgba(82, 174, 255, 0.15);
}

html[data-theme="dark"] .info-card__body ::deep .mud-input-slot,
html[data-theme="dark"] .info-card__body ::deep .mud-select-input,
html[data-theme="dark"] .info-card__body ::deep .mud-input-control {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] .info-card__body ::deep .mud-input-label,
html[data-theme="dark"] .info-card__body ::deep label {
  color: rgba(82, 174, 255, 0.9) !important;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] .info-card__body ::deep .mud-select-icon {
  color: #52aeff !important;
}

/* Botões dentro do InfoHighlightCard em dark mode */
html[data-theme="dark"] .info-card__actions ::deep .mud-button-root {
  background: linear-gradient(120deg, #52aeff, #3bc896) !important;
  color: #0a1a14 !important;
  font-weight: 700;
  border: 1px solid rgba(82, 174, 255, 0.6);
  box-shadow: 0 8px 16px rgba(82, 174, 255, 0.3);
}

html[data-theme="dark"] .info-card__actions ::deep .mud-button-root:hover {
  box-shadow: 0 12px 24px rgba(82, 174, 255, 0.4);
  transform: translateY(-2px);
}

html[data-theme="dark"] .info-card__actions ::deep .mud-icon-root {
  color: #0a1a14 !important;
}

/* MudSelect Popover/List dark mode */
html[data-theme="dark"] ::deep .mud-popover-paper,
html[data-theme="dark"] ::deep .mud-list,
html[data-theme="dark"] ::deep .mud-select-popover {
  background: linear-gradient(
    135deg,
    rgba(10, 61, 46, 0.95) 0%,
    rgba(6, 21, 16, 0.98) 100%
  ) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(82, 174, 255, 0.3) !important;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.8) !important;
}

html[data-theme="dark"] ::deep .mud-list-item {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] ::deep .mud-list-item:hover {
  background: rgba(82, 174, 255, 0.15) !important;
}

html[data-theme="dark"] ::deep .mud-list-item-selected {
  background: linear-gradient(
    120deg,
    rgba(82, 174, 255, 0.25),
    rgba(82, 174, 255, 0.15)
  ) !important;
  color: #52aeff !important;
  font-weight: 700;
}

html[data-theme="dark"] ::deep .mud-list-item-text {
  color: inherit !important;
}

/* MudSelect Popover/List light mode */
html[data-theme="light"] ::deep .mud-popover-paper,
html[data-theme="light"] ::deep .mud-list,
html[data-theme="light"] ::deep .mud-select-popover,
html:not([data-theme]) ::deep .mud-popover-paper,
html:not([data-theme]) ::deep .mud-list,
html:not([data-theme]) ::deep .mud-select-popover {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(246, 250, 253, 0.98) 100%
  ) !important;
  border: 1px solid rgba(24, 50, 74, 0.1) !important;
  border-radius: 18px !important;
  box-shadow: 0 20px 44px rgba(12, 31, 58, 0.16) !important;
  backdrop-filter: blur(14px);
}

html[data-theme="light"] ::deep .mud-list-padding,
html:not([data-theme]) ::deep .mud-list-padding {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

html[data-theme="light"] ::deep .mud-list-item,
html:not([data-theme]) ::deep .mud-list-item {
  min-height: 2.9rem;
  margin: 0.18rem 0.4rem;
  padding: 0.72rem 0.85rem;
  border-radius: 12px;
  color: #18324a !important;
  transition: background 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

html[data-theme="light"] ::deep .mud-list-item:hover,
html:not([data-theme]) ::deep .mud-list-item:hover {
  background: rgba(15, 107, 86, 0.08) !important;
  color: #0f6b56 !important;
}

html[data-theme="light"] ::deep .mud-list-item-selected,
html:not([data-theme]) ::deep .mud-list-item-selected {
  background: linear-gradient(
    90deg,
    rgba(15, 107, 86, 0.14),
    rgba(15, 107, 86, 0.05)
  ) !important;
  color: #0f6b56 !important;
  font-weight: 700;
}

html[data-theme="light"] ::deep .mud-list-item-text,
html:not([data-theme]) ::deep .mud-list-item-text {
  color: inherit !important;
}

/* Context selector dropdown */
.contexto-select-popover {
  margin-top: 0.35rem;
}

.contexto-select-popover.mud-popover-paper {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(246, 250, 253, 0.98) 100%
  ) !important;
  border: 1px solid rgba(24, 50, 74, 0.12) !important;
  border-radius: 18px !important;
  box-shadow: 0 20px 44px rgba(12, 31, 58, 0.18) !important;
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.contexto-select-list {
  padding: 0.35rem !important;
}

.contexto-select-popover .mud-list-item {
  min-height: 3rem;
  margin: 0;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  color: #18324a !important;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.18s ease, color 0.18s ease;
}

.contexto-select-popover .mud-list-item:hover {
  background: rgba(15, 107, 86, 0.08) !important;
  color: #0f6b56 !important;
}

.contexto-select-popover .mud-list-item.mud-list-item-selected,
.contexto-select-popover .mud-selected-item {
  background: linear-gradient(
    90deg,
    rgba(15, 107, 86, 0.14),
    rgba(15, 107, 86, 0.05)
  ) !important;
  color: #0f6b56 !important;
  font-weight: 700;
}

.contexto-select-popover .mud-list-item-text {
  color: inherit !important;
}

html[data-theme="dark"] .contexto-select-popover.mud-popover-paper {
  background: linear-gradient(
    135deg,
    rgba(10, 61, 46, 0.96) 0%,
    rgba(6, 21, 16, 0.98) 100%
  ) !important;
  border: 1px solid rgba(82, 174, 255, 0.24) !important;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.72) !important;
}

html[data-theme="dark"] .contexto-select-popover .mud-list-item {
  color: #edf4fb !important;
}

html[data-theme="dark"] .contexto-select-popover .mud-list-item:hover {
  background: rgba(82, 174, 255, 0.14) !important;
  color: #7fe0c8 !important;
}

html[data-theme="dark"] .contexto-select-popover .mud-list-item.mud-list-item-selected,
html[data-theme="dark"] .contexto-select-popover .mud-selected-item {
  background: linear-gradient(
    90deg,
    rgba(39, 181, 148, 0.24),
    rgba(39, 181, 148, 0.08)
  ) !important;
  color: #7fe0c8 !important;
}

/* === Ranking Page Mobile Responsive === */
@media (max-width: 768px) {
  .ranking-panel {
    padding: 0.5rem;
    border-radius: 16px;
  }

  .ranking-panel__body {
    flex-direction: column;
    gap: 0.5rem;
  }

  .ranking-panel__nav {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    min-width: 100%;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(82, 174, 255, 0.3) rgba(0, 0, 0, 0.1);
  }

  .ranking-panel__nav::-webkit-scrollbar {
    height: 4px;
  }

  .ranking-panel__nav::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
  }

  .ranking-panel__nav::-webkit-scrollbar-thumb {
    background: rgba(82, 174, 255, 0.3);
    border-radius: 4px;
  }

  .ranking-tab {
    min-width: 90px;
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    flex-shrink: 0;
  }

  .ranking-tab:hover {
    transform: none;
  }

  .ranking-tab img {
    height: 20px !important;
    width: auto !important;
    max-width: 40px;
  }

  .ranking-tab small {
    font-size: 0.7rem;
  }

  .ranking-panel__content {
    padding: 0.5rem;
    min-height: 320px;
    border-radius: 12px;
  }

  .ranking-compact-list {
    border-radius: 12px;
  }

  .ranking-compact-item {
    gap: 0.5rem;
    padding: 0.4rem 0.5rem;
    flex-wrap: nowrap;
  }

  .ranking-compact-item::before {
    width: 1.5rem;
    font-size: 0.9rem;
  }

  .ranking-compact-item__avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .ranking-compact-item__avatar--leader {
    width: 56px;
    height: 68px;
    border-radius: 14px;
  }

  .ranking-card-mini {
    width: 52px;
    height: 66px;
    border-radius: 14px;
  }

  .ranking-compact-item__name {
    font-size: 0.9rem;
  }

  .ranking-compact-item__meta {
    font-size: 0.7rem;
  }

  .ranking-compact-item__value {
    font-size: 1.1rem;
    min-width: 40px;
  }

  .ranking-compact-item__stats {
    min-width: 60px;
    font-size: 0.7rem;
  }

  .ranking-compact-item__stats strong {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .ranking-panel {
    padding: 0.4rem;
  }

  .ranking-tab {
    min-width: 80px;
    padding: 0.4rem 0.6rem;
  }

  .ranking-tab img {
    height: 18px !important;
    width: auto !important;
    max-width: 34px;
  }

  .ranking-compact-item {
    gap: 0.4rem;
    padding: 0.35rem 0.4rem;
  }

  .ranking-compact-item::before {
    width: 1.25rem;
    font-size: 0.85rem;
  }

  .ranking-compact-item__avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .ranking-compact-item__avatar--leader {
    width: 48px;
    height: 58px;
    border-radius: 12px;
  }

  .ranking-card-mini {
    width: 44px;
    height: 56px;
    border-radius: 12px;
  }

  .ranking-compact-item__name {
    font-size: 0.85rem;
  }

  .ranking-compact-item__value {
    font-size: 1rem;
    min-width: 36px;
  }

  .ranking-compact-item__stats {
    display: none;
  }
}

/* === Ranking mobile-first refresh === */
.ranking-panel {
  box-shadow:
    0 14px 32px rgba(9, 61, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.ranking-panel__content {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), #f2f7f4);
  overflow: visible;
}

.ranking-list-card.info-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.ranking-list-card .info-card__header {
  min-height: 40px;
  padding: 0.12rem 0.18rem 0.55rem;
  border-bottom: 1px solid rgba(15, 39, 69, 0.08);
  gap: 0.52rem;
}

.ranking-list-card .info-card__icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  padding: 0.35rem;
  border-radius: 10px;
}

.ranking-list-card .info-card__eyebrow {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.ranking-list-card .info-card__title {
  font-size: 1rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.ranking-list-card .info-card__badge {
  padding: 0.18rem 0.52rem;
  font-size: 0.66rem;
  font-weight: 850;
}

.ranking-list-card .info-card__body {
  margin-top: 0.55rem;
}

.ranking-team-stack {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.ranking-table__wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(15, 39, 69, 0.08);
  -webkit-overflow-scrolling: touch;
}

.ranking-table {
  min-width: 100%;
  border-collapse: separate !important;
  border-spacing: 0 0.35rem !important;
  padding: 0.3rem;
}

.ranking-table__head-cell {
  padding: 0.38rem 0.35rem !important;
  color: rgba(15, 39, 69, 0.58) !important;
  font-size: 0.62rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  border: 0 !important;
  white-space: nowrap;
}

.ranking-table__head-cell--team {
  min-width: 132px;
}

.ranking-table__head-cell--stat {
  text-align: center !important;
}

.ranking-row {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 252, 251, 0.98));
  box-shadow: 0 7px 16px rgba(9, 61, 42, 0.07);
}

.ranking-row td {
  border: 0 !important;
  padding: 0.44rem 0.32rem !important;
  vertical-align: middle;
}

.ranking-row td:first-child {
  border-radius: 13px 0 0 13px;
}

.ranking-row td:last-child {
  border-radius: 0 13px 13px 0;
}

.ranking-table__team-content {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.ranking-table__pos {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(15, 39, 69, 0.06);
  color: #123524;
  font-size: 0.72rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.ranking-table__team-name {
  min-width: 0;
  overflow: hidden;
  color: #0f2745;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-table__cell--center {
  text-align: center !important;
}

.stat-badge,
.ranking-table__points,
.saldo-positivo,
.saldo-negativo,
.saldo-neutro {
  min-width: 1.85rem;
  min-height: 1.55rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 0.42rem;
  font-size: 0.72rem;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.stat-badge--success,
.saldo-positivo {
  background: rgba(10, 93, 63, 0.1);
  color: #096444;
}

.stat-badge--neutral,
.saldo-neutro {
  background: rgba(15, 39, 69, 0.07);
  color: rgba(15, 39, 69, 0.68);
}

.stat-badge--danger,
.saldo-negativo {
  background: rgba(190, 55, 55, 0.1);
  color: #a93232;
}

.ranking-table__points {
  background: linear-gradient(135deg, rgba(242, 201, 76, 0.22), rgba(10, 93, 63, 0.1));
  color: #0a5d3f;
}

.ranking-table__legend,
.ranking-table__tiebreak {
  display: block;
  margin: 0.38rem 0.2rem 0 !important;
  color: rgba(15, 39, 69, 0.62) !important;
  font-size: 0.66rem !important;
  line-height: 1.3 !important;
}

.ranking-compact-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.ranking-compact-item {
  min-height: 68px;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(15, 39, 69, 0.08);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 252, 251, 0.98));
  box-shadow: 0 8px 18px rgba(9, 61, 42, 0.08);
  overflow: hidden;
  animation: rankingItemIn 0.36s ease both;
  animation-delay: calc(var(--rank-index, 0) * 32ms);
  -webkit-tap-highlight-color: transparent;
}

.ranking-compact-item + .ranking-compact-item {
  border-top: 1px solid rgba(15, 39, 69, 0.08);
}

.ranking-compact-item::before {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #123524;
  background: rgba(15, 39, 69, 0.06);
  font-size: 0.78rem;
  line-height: 1;
  text-align: center;
  flex-shrink: 0;
}

.ranking-compact-item:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 252, 249, 1));
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(9, 61, 42, 0.12);
}

.ranking-compact-item:active {
  transform: scale(0.985);
  transition-duration: 80ms;
}

.ranking-compact-item--gold,
.ranking-compact-item--silver,
.ranking-compact-item--bronze {
  min-height: 92px;
  align-items: center;
  border: 1px solid transparent;
  overflow: visible;
}

.ranking-compact-item--gold {
  background:
    linear-gradient(115deg, rgba(255, 244, 174, 0.94), rgba(255, 251, 226, 0.98) 44%, rgba(255, 229, 121, 0.82)),
    #fff8d8;
  border-color: rgba(210, 165, 32, 0.36);
  box-shadow:
    0 14px 26px rgba(129, 93, 8, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.ranking-compact-item--gold::after {
  content: "";
  position: absolute;
  inset: -70% auto -70% -42%;
  width: 38%;
  transform: rotate(16deg);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.52),
    rgba(255, 255, 255, 0)
  );
  animation: rankingLeaderShine 3.8s ease-in-out infinite;
  pointer-events: none;
}

.ranking-compact-item--silver {
  background:
    linear-gradient(115deg, rgba(239, 244, 248, 0.96), rgba(255, 255, 255, 0.98), rgba(216, 224, 232, 0.8)),
    #f7fafc;
  border-color: rgba(108, 126, 144, 0.22);
}

.ranking-compact-item--bronze {
  background:
    linear-gradient(115deg, rgba(242, 213, 187, 0.9), rgba(255, 248, 241, 0.98), rgba(212, 146, 88, 0.38)),
    #fff7ef;
  border-color: rgba(154, 93, 42, 0.2);
}

.ranking-compact-item--gold::before {
  color: #3a2b06;
  background: linear-gradient(135deg, #f8d34b, #fff4ab);
  box-shadow: 0 6px 14px rgba(126, 91, 4, 0.22);
}

.ranking-compact-item--silver::before {
  color: #26313c;
  background: linear-gradient(135deg, #e8eef4, #ffffff);
}

.ranking-compact-item--bronze::before {
  color: #4a250d;
  background: linear-gradient(135deg, #d08a4f, #fff0dc);
}

.ranking-compact-item__main {
  position: relative;
  z-index: 1;
}

.ranking-compact-item--gold .ranking-compact-item__main::before {
  content: "Lider";
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 0.16rem;
  padding: 0.12rem 0.44rem;
  border-radius: 999px;
  background: rgba(10, 93, 63, 0.12);
  color: #775309;
  font-size: 0.58rem;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.ranking-compact-item__meta {
  line-height: 1.28;
}

.ranking-compact-item__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.28rem;
}

.ranking-compact-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.18rem;
  padding: 0.18rem 0.42rem;
  border-radius: 999px;
  background: rgba(15, 39, 69, 0.055);
  color: rgba(15, 39, 69, 0.68);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.15;
}

.ranking-compact-chip strong {
  color: #0f2745;
  font-size: 0.76rem;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.ranking-compact-item__value {
  position: relative;
  z-index: 1;
  color: #096444;
  font-variant-numeric: tabular-nums;
  animation: rankingValuePop 0.34s ease both;
  animation-delay: calc(120ms + var(--rank-index, 0) * 32ms);
}

.ranking-tab {
  -webkit-tap-highlight-color: transparent;
}

.ranking-tab.active {
  position: relative;
  overflow: hidden;
}

.ranking-tab.active::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0.35rem;
  height: 3px;
  border-radius: 999px;
  background: rgba(10, 93, 63, 0.72);
  animation: rankingTabUnderline 0.22s ease both;
}

html[data-theme="dark"] .ranking-panel__content {
  background:
    linear-gradient(180deg, rgba(9, 32, 25, 0.92), rgba(5, 20, 16, 0.96)) !important;
}

html[data-theme="dark"] .ranking-list-card .info-card__header {
  border-bottom-color: rgba(127, 224, 200, 0.12);
}

html[data-theme="dark"] .ranking-list-card .info-card__icon {
  background: rgba(127, 224, 200, 0.12);
}

html[data-theme="dark"] .ranking-list-card .info-card__badge {
  background: rgba(127, 224, 200, 0.16);
  color: rgba(240, 246, 255, 0.94);
}

html[data-theme="dark"] .ranking-table__wrap {
  background: rgba(10, 30, 24, 0.72);
  box-shadow: inset 0 0 0 1px rgba(127, 224, 200, 0.12);
}

html[data-theme="dark"] .ranking-table__head-cell,
html[data-theme="dark"] .ranking-table__legend,
html[data-theme="dark"] .ranking-table__tiebreak {
  color: rgba(240, 246, 255, 0.62) !important;
}

html[data-theme="dark"] .ranking-row {
  background: linear-gradient(180deg, rgba(16, 48, 37, 0.94), rgba(9, 31, 25, 0.98));
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .ranking-table__team-name {
  color: rgba(240, 246, 255, 0.95);
}

html[data-theme="dark"] .ranking-table__pos,
html[data-theme="dark"] .stat-badge--neutral,
html[data-theme="dark"] .saldo-neutro {
  background: rgba(127, 224, 200, 0.1);
  color: rgba(240, 246, 255, 0.76);
}

html[data-theme="dark"] .stat-badge--success,
html[data-theme="dark"] .saldo-positivo,
html[data-theme="dark"] .ranking-table__points {
  background: rgba(127, 224, 200, 0.14);
  color: #7fe0c8;
}

html[data-theme="dark"] .stat-badge--danger,
html[data-theme="dark"] .saldo-negativo {
  background: rgba(231, 76, 60, 0.14);
  color: #ff9a8f;
}

html[data-theme="dark"] .ranking-compact-list {
  background: transparent !important;
  border: 0 !important;
}

html[data-theme="dark"] .ranking-compact-item {
  background:
    linear-gradient(180deg, rgba(16, 48, 37, 0.94), rgba(9, 31, 25, 0.98)) !important;
  border-color: rgba(82, 174, 255, 0.13) !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .ranking-compact-item::before {
  color: rgba(240, 246, 255, 0.92);
  background: rgba(82, 174, 255, 0.13);
}

html[data-theme="dark"] .ranking-compact-item__name,
html[data-theme="dark"] .ranking-compact-item__stats strong {
  color: rgba(240, 246, 255, 0.96);
}

html[data-theme="dark"] .ranking-compact-item__meta,
html[data-theme="dark"] .ranking-compact-item__stats {
  color: rgba(240, 246, 255, 0.68);
}

html[data-theme="dark"] .ranking-compact-chip {
  background: rgba(127, 224, 200, 0.1);
  color: rgba(240, 246, 255, 0.68);
}

html[data-theme="dark"] .ranking-compact-chip strong {
  color: rgba(240, 246, 255, 0.95);
}

html[data-theme="dark"] .ranking-compact-item__value {
  color: #7fe0c8;
}

html[data-theme="dark"] .ranking-compact-item--gold {
  background:
    linear-gradient(115deg, rgba(92, 67, 10, 0.92), rgba(31, 42, 25, 0.98), rgba(131, 96, 13, 0.72)) !important;
  border-color: rgba(242, 201, 76, 0.32) !important;
}

html[data-theme="dark"] .ranking-compact-item--gold::after {
  display: none;
  animation: none !important;
}

html[data-theme="dark"] .ranking-compact-item--silver {
  background:
    linear-gradient(115deg, rgba(43, 54, 63, 0.96), rgba(11, 31, 27, 0.98), rgba(79, 92, 104, 0.72)) !important;
}

html[data-theme="dark"] .ranking-compact-item--bronze {
  background:
    linear-gradient(115deg, rgba(81, 48, 26, 0.92), rgba(24, 34, 27, 0.98), rgba(118, 70, 34, 0.62)) !important;
}

html[data-theme="dark"] .ranking-compact-item--gold::before {
  color: #251c04;
}

html[data-theme="dark"] .ranking-compact-item--gold .ranking-compact-item__main::before {
  background: rgba(242, 201, 76, 0.14);
  color: #f4d88a;
}

html[data-theme="dark"] .ranking-tab.active::after {
  background: rgba(10, 26, 20, 0.72);
}

html[data-theme="dark"] .ranking-panel__nav {
  background: rgba(4, 18, 14, 0.64);
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(127, 224, 200, 0.1);
}

html[data-theme="dark"] .ranking-tab {
  background: linear-gradient(180deg, rgba(13, 42, 32, 0.96), rgba(8, 28, 22, 0.98)) !important;
  border: 1px solid rgba(127, 224, 200, 0.14) !important;
  color: rgba(240, 246, 255, 0.76) !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

html[data-theme="dark"] .ranking-tab:hover {
  background: linear-gradient(180deg, rgba(18, 54, 41, 0.98), rgba(10, 34, 27, 0.98)) !important;
  border-color: rgba(127, 224, 200, 0.24) !important;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.22) !important;
}

html[data-theme="dark"] .ranking-tab small,
html[data-theme="dark"] .ranking-tab small[style*="color"] {
  color: rgba(240, 246, 255, 0.7) !important;
  text-shadow: none !important;
}

html[data-theme="dark"] .ranking-tab img {
  opacity: 0.86;
  filter: saturate(0.88) brightness(1.02);
}

html[data-theme="dark"] .ranking-tab.active {
  background: linear-gradient(180deg, #5ce8b8 0%, #36c992 100%) !important;
  border-color: rgba(92, 232, 184, 0.64) !important;
  color: #052119 !important;
  box-shadow: 0 10px 18px rgba(54, 201, 146, 0.22) !important;
}

html[data-theme="dark"] .ranking-tab.active small,
html[data-theme="dark"] .ranking-tab.active small[style*="color"],
html[data-theme="dark"] .ranking-tab.active small[data-mobile-label]::after {
  color: #052119 !important;
}

html[data-theme="dark"] .ranking-tab.active img {
  opacity: 1;
  filter: none;
}

.ranking-skeleton {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.35rem;
}

.ranking-skeleton__header,
.ranking-skeleton__item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(15, 39, 69, 0.06);
}

.ranking-skeleton__header::after,
.ranking-skeleton__item::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.55),
    rgba(255, 255, 255, 0)
  );
  animation: rankingSkeletonShimmer 1.25s ease-in-out infinite;
}

.ranking-skeleton__header {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem;
}

.ranking-skeleton__header span {
  width: 42%;
  height: 12px;
  border-radius: 999px;
  background: rgba(15, 39, 69, 0.08);
}

.ranking-skeleton__header strong {
  width: 76px;
  height: 22px;
  border-radius: 999px;
  background: rgba(15, 39, 69, 0.08);
}

.ranking-skeleton__item {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem;
}

.ranking-skeleton__rank,
.ranking-skeleton__avatar,
.ranking-skeleton__lines span,
.ranking-skeleton__value {
  display: block;
  border-radius: 999px;
  background: rgba(15, 39, 69, 0.09);
}

.ranking-skeleton__rank {
  width: 26px;
  height: 26px;
}

.ranking-skeleton__avatar {
  width: 46px;
  height: 58px;
  border-radius: 14px;
}

.ranking-skeleton__lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ranking-skeleton__lines span:first-child {
  width: 52%;
  height: 13px;
}

.ranking-skeleton__lines span:last-child {
  width: 86%;
  height: 10px;
}

.ranking-skeleton__value {
  width: 34px;
  height: 18px;
}

html[data-theme="dark"] .ranking-skeleton__header,
html[data-theme="dark"] .ranking-skeleton__item {
  background: rgba(127, 224, 200, 0.08);
}

html[data-theme="dark"] .ranking-skeleton__rank,
html[data-theme="dark"] .ranking-skeleton__avatar,
html[data-theme="dark"] .ranking-skeleton__lines span,
html[data-theme="dark"] .ranking-skeleton__value,
html[data-theme="dark"] .ranking-skeleton__header span,
html[data-theme="dark"] .ranking-skeleton__header strong {
  background: rgba(127, 224, 200, 0.12);
}

@keyframes rankingItemIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rankingValuePop {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes rankingLeaderShine {
  0%,
  42% {
    left: -42%;
  }
  76%,
  100% {
    left: 116%;
  }
}

@keyframes rankingTabUnderline {
  from {
    transform: scaleX(0.3);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes rankingSkeletonShimmer {
  to {
    transform: translateX(100%);
  }
}

@media (max-width: 768px) {
  .ranking-filters-compact.info-card--hero {
    padding: 0.72rem 0.82rem !important;
    border-radius: 18px !important;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.2) !important;
  }

  .ranking-filters-compact.info-card--hero .info-card__header {
    gap: 0.52rem;
    align-items: flex-start;
  }

  .ranking-filters-compact.info-card--hero .info-card__icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    padding: 0.34rem;
    border-radius: 10px;
  }

  .ranking-filters-compact.info-card--hero .info-card__eyebrow {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .ranking-filters-compact.info-card--hero .info-card__title {
    font-size: 0.92rem;
    line-height: 1.12;
    letter-spacing: 0;
  }

  .ranking-filters-compact.info-card--hero .info-card__badge {
    padding: 0.18rem 0.52rem;
    font-size: 0.62rem;
  }

  .ranking-filters-compact.info-card--hero .info-card__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.42rem;
    margin-top: 0.55rem;
  }

  .ranking-filters-compact.info-card--hero .info-card__actions .mud-button-root {
    width: 100%;
    min-height: 34px;
    padding-inline: 0.55rem !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.02em !important;
  }

  .ranking-filters-compact.info-card--hero .info-card__body {
    margin-top: 0.48rem;
  }

  .ranking-filters-compact.info-card--hero .ranking-filter-summary-btn {
    padding: 0.42rem 0.58rem;
    font-size: 0.68rem;
  }

  .ranking-panel {
    margin-inline: -0.15rem;
    padding: 0.35rem;
    border-radius: 18px;
  }

  .ranking-panel__nav {
    position: sticky;
    top: var(--nav-height, 3.25rem);
    z-index: 5;
    padding: 0.25rem 0.15rem 0.65rem;
    background:
      linear-gradient(180deg, rgba(245, 247, 243, 0.96), rgba(245, 247, 243, 0.7));
    backdrop-filter: blur(10px);
    scrollbar-width: none;
  }

  .ranking-panel__nav::-webkit-scrollbar {
    display: none;
  }

  .ranking-tab {
    min-width: 72px;
    min-height: 54px;
    padding: 0.38rem 0.52rem;
    border-radius: 13px;
    box-shadow: inset 0 0 0 1px rgba(15, 39, 69, 0.04);
  }

  .ranking-tab small[data-mobile-label] {
    font-size: 0;
  }

  .ranking-tab small[data-mobile-label]::after {
    content: attr(data-mobile-label);
    display: block;
    max-width: 58px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: inherit;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.1;
  }

  .ranking-tab.active {
    box-shadow:
      0 10px 18px rgba(151, 113, 12, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }

  .ranking-panel__content {
    padding: 0.45rem;
    border-radius: 16px;
  }

  .ranking-list-card .info-card__header {
    padding: 0.04rem 0.08rem 0.5rem;
    gap: 0.44rem;
  }

  .ranking-list-card .info-card__icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    padding: 0.32rem;
    border-radius: 9px;
  }

  .ranking-list-card .info-card__eyebrow {
    font-size: 0.54rem;
  }

  .ranking-list-card .info-card__title {
    font-size: 0.94rem;
  }

  .ranking-list-card .info-card__badge {
    padding: 0.16rem 0.48rem;
    font-size: 0.62rem;
  }

  .ranking-list-card .info-card__body {
    margin-top: 0.48rem;
  }

  .ranking-team-stack {
    gap: 0.78rem;
  }

  .ranking-table {
    padding: 0.22rem;
  }

  .ranking-row td {
    padding: 0.38rem 0.24rem !important;
  }

  .ranking-table__head-cell {
    padding: 0.32rem 0.25rem !important;
  }

  .ranking-table__head-cell--team {
    min-width: 112px;
  }

  .ranking-table__team-name {
    max-width: 98px;
    font-size: 0.76rem;
  }

  .stat-badge,
  .ranking-table__points,
  .saldo-positivo,
  .saldo-negativo,
  .saldo-neutro {
    min-width: 1.55rem;
    min-height: 1.38rem;
    padding-inline: 0.32rem;
    font-size: 0.66rem;
  }

  .ranking-compact-list {
    gap: 0.45rem;
  }

  .ranking-compact-item {
    min-height: 66px;
    gap: 0.46rem;
    padding: 0.48rem 0.52rem;
    border-radius: 15px;
  }

  .ranking-compact-item--gold {
    min-height: 88px;
    padding-top: 0.58rem;
    padding-bottom: 0.58rem;
  }

  .ranking-compact-item--silver,
  .ranking-compact-item--bronze {
    min-height: 84px;
  }

  .ranking-compact-item--gold .ranking-compact-item__main::before {
    font-size: 0.52rem;
    padding: 0.1rem 0.34rem;
    margin-bottom: 0.12rem;
  }

  .ranking-compact-item::before {
    width: 1.55rem;
    height: 1.55rem;
    font-size: 0.72rem;
  }

  .ranking-compact-item__avatar--gold {
    min-width: 68px;
    min-height: 78px;
  }

  .ranking-compact-item__avatar--silver {
    min-width: 60px;
    min-height: 70px;
  }

  .ranking-compact-item__avatar--bronze {
    min-width: 58px;
    min-height: 66px;
  }

  .ranking-compact-item__name {
    font-size: 0.86rem;
    line-height: 1.12;
  }

  .ranking-compact-item__chips {
    gap: 0.22rem;
    margin-top: 0.22rem;
  }

  .ranking-compact-chip {
    padding: 0.15rem 0.32rem;
    font-size: 0.6rem;
  }

  .ranking-compact-chip strong {
    font-size: 0.68rem;
  }

  .ranking-compact-item__meta {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 0.68rem;
  }

  .ranking-compact-item__value {
    min-width: 34px;
    font-size: 1.05rem;
  }

  .ranking-skeleton {
    gap: 0.45rem;
    padding: 0.25rem;
  }
}

@media (max-width: 420px) {
  .ranking-panel__content {
    padding: 0.3rem;
  }

  .ranking-tab {
    min-width: 68px;
  }

  .ranking-tab small {
    max-width: 58px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ranking-compact-item {
    gap: 0.42rem;
    padding: 0.45rem 0.42rem;
  }

  .ranking-compact-item__avatar {
    width: 38px;
    height: 38px;
  }

  .ranking-compact-item__avatar--gold {
    min-width: 64px;
    min-height: 76px;
  }

  .ranking-compact-item__avatar--silver {
    min-width: 58px;
    min-height: 68px;
  }

  .ranking-compact-item__avatar--bronze {
    min-width: 56px;
    min-height: 64px;
  }

  .ranking-compact-item__name {
    font-size: 0.82rem;
  }

  .ranking-compact-chip {
    padding-inline: 0.28rem;
  }

  .ranking-compact-item__value {
    min-width: 30px;
    font-size: 1rem;
  }

  .ranking-list-card .info-card__badge {
    max-width: 92px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ranking-table__head-cell--team {
    min-width: 104px;
  }

  .ranking-table__team-name {
    max-width: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ranking-compact-item,
  .ranking-compact-item__value,
  .ranking-skeleton__header::after,
  .ranking-skeleton__item::after,
  .ranking-tab.active::after,
  .ranking-compact-item--gold::after {
    animation: none !important;
  }

  .ranking-compact-item,
  .ranking-tab {
    transition: none !important;
  }
}

