/* FREE CASINO ONLINE · Ranking mensual */
.view--ranking.is-active {
  display: block;
  overflow-y: auto;
  min-height: 0;
  padding: clamp(20px, 3.5vh, 38px) 18px 46px;
  scroll-margin-top: 112px;
  background:
    radial-gradient(ellipse 62% 45% at 50% 24%, rgba(196, 158, 64, 0.13), transparent 72%),
    radial-gradient(ellipse 55% 45% at 10% 90%, rgba(31, 107, 68, 0.12), transparent 70%),
    linear-gradient(180deg, #07160f, #04100a);
}

.rank-wrap {
  width: min(980px, 100%);
  margin: 0 auto;
}

.rank-head {
  text-align: center;
  padding: 2px 0 17px;
}

.rank-kicker {
  display: block;
  color: var(--gold);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.rank-title {
  margin: 7px 0 8px;
  color: #fbf5e6;
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 400;
  line-height: 0.9;
}

.rank-intro {
  max-width: 620px;
  margin: 0 auto;
  color: #a9a28e;
  font-size: 10px;
  line-height: 1.55;
}

.rank-head-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.rank-month,
.rank-user-line {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(246, 216, 128, 0.28);
  border-radius: 999px;
  color: var(--gold);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.rank-user-line {
  border-color: rgba(246, 216, 128, 0.13);
  color: #8e8672;
}

.rank-tabs {
  display: flex;
  gap: 4px;
  width: 100%;
  margin-bottom: 12px;
  overflow-x: auto;
  padding: 4px;
  border: 1px solid rgba(246, 216, 128, 0.15);
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.2);
  scrollbar-width: none;
}

.rank-tabs::-webkit-scrollbar { display: none; }

.rank-tabs button {
  flex: 1 0 auto;
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #8c8470;
  font-family: var(--font-body);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
  cursor: pointer;
}

.rank-tabs button.is-active {
  background: linear-gradient(135deg, rgba(255, 233, 163, 0.96), rgba(189, 134, 38, 0.96));
  color: #1d1304;
}

.rank-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rank-row {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 9px 11px;
  border: 1px solid rgba(246, 216, 128, 0.1);
  border-radius: 12px;
  background: rgba(5, 23, 13, 0.72);
}

.rank-row.is-user {
  border-color: rgba(246, 216, 128, 0.48);
  background:
    radial-gradient(ellipse 80% 100% at 0% 0%, rgba(232, 191, 98, 0.1), transparent 70%),
    rgba(8, 31, 17, 0.9);
}

.rank-pos {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(246, 216, 128, 0.18);
  border-radius: 50%;
  color: #8a826e;
  font-family: var(--font-display);
  font-size: 16px;
}

.rank-row--1 .rank-pos {
  border-color: #f4d16e;
  color: #f4d16e;
  box-shadow: 0 0 12px rgba(244, 209, 110, 0.2);
}

.rank-row--2 .rank-pos { color: #c8c8c8; border-color: rgba(200, 200, 200, 0.45); }
.rank-row--3 .rank-pos { color: #c88b57; border-color: rgba(200, 139, 87, 0.45); }

.rank-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(246, 216, 128, 0.2);
  border-radius: 50%;
  color: #d8c28d;
  font-size: 10px;
  font-weight: 800;
}

.rank-person {
  flex: 1;
  min-width: 0;
}

.rank-name-line {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 6px;
}

.rank-name-line > strong {
  overflow: hidden;
  color: #f0e6ce;
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-name-line > small {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.rank-net {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.rank-net.is-positive { color: #8fd5a3; }
.rank-net.is-negative { color: #c9897e; }

/* Insignias junto al nick */
.rank-badges {
  position: relative;
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.rank-badge-list {
  display: inline-flex;
  align-items: center;
  gap: 1px;
}

.rank-badge {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(246, 216, 128, 0.34);
  border-radius: 50%;
  background: rgba(8, 30, 17, 0.95);
  color: var(--gold);
}

.rank-badge .rw-svg-icon {
  width: 10px;
  height: 10px;
}

.rank-badge-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 7px);
  z-index: 12;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 120px;
  max-width: 230px;
  padding: 7px 9px;
  border: 1px solid rgba(246, 216, 128, 0.4);
  border-radius: 8px;
  background: rgba(4, 20, 11, 0.98);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  color: #d9c794;
  font-size: 7px;
  line-height: 1.4;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.rank-badge-tip b {
  color: var(--gold-bright);
  font-weight: 800;
}

.rank-badges:hover .rank-badge-tip,
.rank-badges:focus-visible .rank-badge-tip,
.rank-badges.is-open .rank-badge-tip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.rank-note {
  margin: 14px 0 0;
  color: #706a5a;
  font-size: 8px;
  text-align: center;
}

@media (min-width: 901px) {
  .view--ranking.is-active { scroll-margin-top: 100px; }
}

@media (max-width: 600px) {
  .view--ranking.is-active { padding: 18px 12px 40px; }
  .rank-title { font-size: 42px; }
  .rank-row { gap: 7px; padding: 8px; }
  .rank-pos { width: 21px; height: 21px; font-size: 14px; }
  .rank-avatar { width: 25px; height: 25px; font-size: 9px; }
  .rank-net { font-size: 14px; }
  .rank-name-line > strong { font-size: 9px; }
  .rank-badge { width: 15px; height: 15px; }
  .rank-badge .rw-svg-icon { width: 9px; height: 9px; }
}

/* Textos pequeños más legibles */
.rank-kicker { font-size: 10px; }
.rank-intro { font-size: 12px; line-height: 1.6; }
.rank-month,
.rank-user-line { font-size: 10px; }
.rank-tabs button { font-size: 9.5px; }
.rank-name-line > strong { font-size: 12px; }
.rank-name-line > small { font-size: 8px; }
.rank-avatar { font-size: 11px; }
.rank-badge-tip { font-size: 10px; line-height: 1.45; }
.rank-note { font-size: 10px; line-height: 1.5; }

@media (max-width: 600px) {
  .rank-name-line > strong { font-size: 11px; }
  .rank-badge-tip { font-size: 9.5px; }
  .rank-tabs button { font-size: 9px; }
}

/* Ajuste final de legibilidad */
.rank-tabs button { font-size: 10px; }
.rank-name-line > strong { font-size: 12.5px; }
.rank-name-line > small { font-size: 8.5px; }
.rank-note { font-size: 10.5px; }
.rank-badge-tip { font-size: 10.5px; }

@media (max-width: 600px) {
  .rank-tabs button { font-size: 9.5px; }
  .rank-name-line > strong { font-size: 11.5px; }
  .rank-badge-tip { font-size: 10px; }
}

/* Texto pequeño XL */
.rank-kicker { font-size: 11px; }
.rank-intro { font-size: 13.5px; }
.rank-month,
.rank-user-line { font-size: 11px; }
.rank-tabs button { font-size: 11px; }
.rank-name-line > strong { font-size: 13.5px; }
.rank-name-line > small { font-size: 9px; }
.rank-badge-tip { font-size: 12px; }
.rank-note { font-size: 11.5px; }

@media (max-width: 600px) {
  .rank-tabs button { font-size: 10.5px; }
  .rank-name-line > strong { font-size: 12.5px; }
  .rank-badge-tip { font-size: 11px; }
}

.rank-separator {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 2px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.rank-separator::before,
.rank-separator::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(246, 216, 128, 0.24);
}

.rank-row.is-pinned {
  border-color: rgba(246, 216, 128, 0.52);
  background:
    radial-gradient(ellipse 80% 100% at 0% 0%, rgba(232, 191, 98, 0.1), transparent 70%),
    rgba(8, 31, 17, 0.92);
}

.rank-gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 34px 20px;
  border: 1px solid rgba(246, 216, 128, 0.2);
  border-radius: 16px;
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(232, 191, 98, 0.08), transparent 70%),
    rgba(5, 23, 13, 0.8);
  text-align: center;
}

.rank-gate-icon { font-size: 28px; line-height: 1; }

.rank-gate h3 {
  margin: 0;
  color: #f3e4bf;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.rank-gate p {
  max-width: 390px;
  margin: 0;
  color: #b0a48b;
  font-size: 13px;
  line-height: 1.55;
}

.rank-gate button {
  min-height: 38px;
  margin-top: 6px;
  padding: 0 18px;
  border: 1px solid rgba(255, 240, 184, 0.55);
  border-radius: 9px;
  background: linear-gradient(135deg, #ffe9a3, #d1a23d);
  color: #1d1304;
  font: 900 10px var(--font-body);
  letter-spacing: 0.06em;
  cursor: pointer;
}

.rank-row.is-guest {
  cursor: pointer;
  border-color: rgba(246, 216, 128, 0.38);
}

.rank-row.is-guest:hover {
  border-color: rgba(246, 216, 128, 0.62);
}

.rank-row.is-guest .rank-pos {
  color: var(--gold);
}

.rank-row.is-guest .rank-name-line > small {
  color: var(--gold);
  font-size: 10px;
}

.rank-row.is-guest .rank-net {
  color: var(--gold);
  font-weight: 700;
}

/* Fila de invitado: nombre y aviso completos, sin truncar */
.rank-row.is-guest .rank-person {
  min-width: 0;
  flex: 1;
}

.rank-row.is-guest .rank-name-line {
  display: block;
  min-width: 0;
}

.rank-row.is-guest .rank-name-line > strong {
  display: block;
  overflow: visible;
  max-width: none;
  color: var(--text);
  font-size: 13px;
  line-height: 1.2;
  white-space: normal;
  text-overflow: clip;
}

.rank-row.is-guest .rank-name-line > small {
  display: block;
  margin-top: 3px;
  color: var(--gold);
  font-size: 9.5px;
  line-height: 1.3;
  white-space: normal;
}

.rank-row.is-guest .rank-net {
  flex: 0 0 auto;
  margin-left: 4px;
}

.rank-flag {
  flex: 0 0 auto;
  font-size: 17px;
  line-height: 1;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.35));
}

/* Insignias del ranking más grandes con tooltip individual */
.rank-badge-list { gap: 3px; }
.rank-badge {
  position: relative;
  width: 28px;
  height: 28px;
  border-color: rgba(246, 216, 128, 0.46);
  color: var(--rw-common, #b9b3a4);
  cursor: pointer;
  vertical-align: middle;
}
.rank-badge .rw-svg-icon { width: 19px; height: 19px; }
.rank-badge--common { color: var(--rw-common, #b9b3a4); }
.rank-badge--uncommon { color: var(--rw-uncommon, #69c78a); }
.rank-badge--rare { color: var(--rw-rare, #75a7ee); }
.rank-badge--epic { color: var(--rw-epic, #b58cf2); }
.rank-badge--legendary { color: var(--rw-legendary, #f1c05d); }
.rank-badge--exclusive { color: var(--rw-exclusive, #ff7e8d); }

/* El tooltip va debajo de la insignia concreta, no de todo el grupo */
.rank-badges:hover .rank-badge-tip {
  opacity: 0;
  transform: translate(-50%, 4px);
}
.rank-badge-tip {
  top: calc(100% + 7px);
  bottom: auto;
  left: 50%;
  min-width: 180px;
  max-width: min(250px, 72vw);
  padding: 8px 10px;
  border-color: rgba(246, 216, 128, 0.38);
  color: #d9c794;
  font-size: 11px;
  line-height: 1.4;
  white-space: normal;
}
.rank-badge-tip b {
  display: block;
  color: var(--gold-bright, #ffe9a3);
  font-size: 11.5px;
  line-height: 1.3;
}
.rank-badge-tip small {
  display: block;
  margin-top: 2px;
  color: #a9a18e;
  font-size: 10.5px;
  line-height: 1.35;
}
.rank-badge:hover .rank-badge-tip,
.rank-badge:focus .rank-badge-tip,
.rank-badge.is-open .rank-badge-tip {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 600px) {
  .rank-badge { width: 26px; height: 26px; }
  .rank-badge .rw-svg-icon { width: 17px; height: 17px; }
  .rank-badge-tip { min-width: 170px; max-width: 70vw; }
}

/* Insignia Creador dorada con partículas */
.rank-badge.is-creator {
  color: #ffd76a;
  border-color: #ffd76a;
  box-shadow: 0 0 0 2px rgba(255, 215, 106, 0.08), 0 0 16px rgba(255, 215, 106, 0.35);
}
.rank-badge.is-creator::before {
  content: "";
  position: absolute;
  inset: -6px;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 22%, #fff6cf 0 1px, transparent 1.7px),
    radial-gradient(circle at 78% 16%, #ffd76a 0 1.2px, transparent 2px),
    radial-gradient(circle at 91% 62%, #fff1b8 0 0.9px, transparent 1.6px),
    radial-gradient(circle at 68% 89%, #ffd76a 0 1px, transparent 1.8px),
    radial-gradient(circle at 30% 82%, #fff6cf 0 0.9px, transparent 1.6px);
  animation: fc-creator-particles 5s linear infinite;
}
.rank-badge.is-creator { isolation: isolate; }
.rank-badge.is-creator::before { z-index: 0; }
.rank-badge.is-creator .rw-svg-icon { position: relative; z-index: 1; }

/* Chispas de Creador en el ranking */
.rank-badge .creator-sparks {
  position: absolute;
  inset: -7px;
  z-index: 0;
  display: block;
  border-radius: 50%;
  pointer-events: none;
}
.rank-badge .creator-sparks i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff1b8;
  box-shadow: 0 0 5px #ffd76a, 0 0 10px rgba(255, 215, 106, 0.7);
  opacity: 0;
  animation: fc-creator-sparkle 2.4s ease-in-out infinite;
}
.rank-badge .creator-sparks i:nth-child(1) { left: 2%; top: 32%; animation-delay: 0s; }
.rank-badge .creator-sparks i:nth-child(2) { left: 22%; top: 4%; animation-delay: 0.35s; animation-duration: 2.1s; }
.rank-badge .creator-sparks i:nth-child(3) { left: 78%; top: 8%; animation-delay: 0.75s; animation-duration: 2.7s; }
.rank-badge .creator-sparks i:nth-child(4) { left: 96%; top: 44%; animation-delay: 0.15s; animation-duration: 2.2s; }
.rank-badge .creator-sparks i:nth-child(5) { left: 82%; top: 82%; animation-delay: 0.9s; animation-duration: 2.5s; }
.rank-badge .creator-sparks i:nth-child(6) { left: 46%; top: 96%; animation-delay: 0.5s; animation-duration: 2.8s; }
.rank-badge .creator-sparks i:nth-child(7) { left: 12%; top: 78%; animation-delay: 0.65s; animation-duration: 2.3s; }
.rank-badge .creator-sparks i:nth-child(8) { left: 4%; top: 58%; animation-delay: 1.05s; animation-duration: 2.6s; }
.rank-badge.is-creator::before { display: none; }
.rank-badge .creator-sparks i { z-index: 1; }
.rank-badge.is-creator .rw-svg-icon { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .rank-badge .creator-sparks i { animation: none; opacity: 0.8; }
}
.rank-badge .creator-sparks { --orbit: 19px; }
.rank-badge .creator-sparks i {
  left: 50%;
  top: 50%;
  width: 3px;
  height: 3px;
  margin: -1.5px 0 0 -1.5px;
  animation-name: fc-creator-sparkle-orbit;
}
.rank-badge .creator-sparks i:nth-child(1) { --a: 0deg; }
.rank-badge .creator-sparks i:nth-child(2) { --a: 45deg; }
.rank-badge .creator-sparks i:nth-child(3) { --a: 90deg; }
.rank-badge .creator-sparks i:nth-child(4) { --a: 135deg; }
.rank-badge .creator-sparks i:nth-child(5) { --a: 180deg; }
.rank-badge .creator-sparks i:nth-child(6) { --a: 225deg; }
.rank-badge .creator-sparks i:nth-child(7) { --a: 270deg; }
.rank-badge .creator-sparks i:nth-child(8) { --a: 315deg; }
.rank-badge .creator-sparks { --orbit: 16px; }
.rank-badge .creator-sparks {
  width: auto;
  height: auto;
  inset: -7px;
  display: block;
}
.rank-badge .creator-sparks {
  --orbit: 13px;
  z-index: 3;
}
.rank-badge .creator-sparks i {
  z-index: 4;
}
.rank-badge .creator-sparks { --orbit: 7px; }
.rank-badge .creator-sparks i:nth-child(n) {
  left: 50%;
  top: 50%;
  margin: -1.5px 0 0 -1.5px;
}
.rank-badge .creator-sparks { --orbit: 18px; }
.rank-badge .creator-sparks {
  --orbit: 24px;
  inset: -14px;
  opacity: 0.55;
}
.rank-badge .creator-sparks i:nth-child(9) { --a: 22.5deg; animation-delay: 0.2s; }
.rank-badge .creator-sparks i:nth-child(10) { --a: 67.5deg; animation-delay: 0.55s; }
.rank-badge .creator-sparks i:nth-child(11) { --a: 112.5deg; animation-delay: 0.8s; }
.rank-badge .creator-sparks i:nth-child(12) { --a: 157.5deg; animation-delay: 1.2s; }
.rank-badge .creator-sparks i:nth-child(13) { --a: 202.5deg; animation-delay: 0.1s; }
.rank-badge .creator-sparks i:nth-child(14) { --a: 247.5deg; animation-delay: 0.45s; }
.rank-badge .creator-sparks i:nth-child(15) { --a: 292.5deg; animation-delay: 0.95s; }
.rank-badge .creator-sparks i:nth-child(16) { --a: 337.5deg; animation-delay: 0.7s; }

/* Ranking: originales + 4 exteriores suaves */
.rank-badge .creator-sparks {
  --orbit: 18px;
  inset: -14px;
  opacity: 1;
}
.rank-badge .creator-spark-extra {
  --spark-extra: 8px;
  width: 2.5px !important;
  height: 2.5px !important;
  margin: -1.25px 0 0 -1.25px !important;
  animation-name: fc-creator-sparkle-soft !important;
}
.rank-badge .creator-sparks i:nth-child(9) { --a: 22.5deg; animation-delay: 0.25s; }
.rank-badge .creator-sparks i:nth-child(10) { --a: 112.5deg; animation-delay: 0.8s; }
.rank-badge .creator-sparks i:nth-child(11) { --a: 202.5deg; animation-delay: 0.5s; }
.rank-badge .creator-sparks i:nth-child(12) { --a: 292.5deg; animation-delay: 1.1s; }
.rank-badge {
  border-color: currentColor;
}
.rank-badge {
  border-width: 1.8px;
}
.rank-badge { border-width: 2.2px; }
.rank-month[hidden] { display: none; }

/* Beta Tester turquesa en ranking */
.rank-badge.is-beta {
  color: #4ee8d8;
  border-color: #4ee8d8;
  box-shadow: 0 0 0 2px rgba(78, 232, 216, 0.08), 0 0 18px rgba(78, 232, 216, 0.4);
}
.rank-badge.is-beta .creator-sparks i {
  background: #d4fffa;
  box-shadow: 0 0 5px #4ee8d8, 0 0 10px rgba(78, 232, 216, 0.8);
}

/* Pulso del aro de Beta Tester en ranking */
.rank-badge.is-beta {
  animation: fc-beta-ring-pulse 2.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .rank-badge.is-beta { animation: none; }
}

/* Streamer en ranking */
.rank-badge.is-streamer {
  color: #c084fc;
  border-color: #b56cff;
  box-shadow: 0 0 0 2px rgba(181, 108, 255, 0.1), 0 0 18px rgba(181, 108, 255, 0.5);
  position: relative;
  isolation: isolate;
}
.rank-badge.is-streamer::before {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 52%, #d8b4fe 68%, #8b5cf6 78%, transparent 90%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: fc-streamer-orbit 3.6s linear infinite;
  pointer-events: none;
}
.rank-badge.is-streamer .rw-svg-icon { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .rank-badge.is-streamer::before { animation: none; }
}

/* Streamer: escaneo y neón en el ranking */
.rank-badge.is-streamer {
  animation: fc-streamer-neon 2.4s ease-in-out infinite;
}
.rank-badge.is-streamer::before {
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, transparent 24%, rgba(232, 213, 255, 0.9) 48%, rgba(181, 108, 255, 0.7) 52%, transparent 76%);
  background-size: 100% 240%;
  -webkit-mask: none;
  mask: none;
  border: 0;
  opacity: 0.35;
  mix-blend-mode: screen;
  animation: fc-streamer-scan 2.8s ease-in-out infinite;
  pointer-events: none;
}
.rank-badge.is-streamer .rw-svg-icon { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .rank-badge.is-streamer { animation: none; }
  .rank-badge.is-streamer::before { animation: none; opacity: 0.25; }
}

/* Streamer: ecualizador en ranking */
.rank-badge.is-streamer { animation: none; }
.rank-badge.is-streamer::before { display: none; }
.rank-badge.is-streamer .streamer-eq {
  bottom: 1px;
  width: 62%;
  height: 38%;
  gap: 1px;
}
.rank-badge.is-streamer .streamer-eq i { min-width: 1px; }

/* Streamer: pulso del aro en ranking */
.rank-badge.is-streamer {
  animation: fc-streamer-ring-pulse 2.4s ease-in-out infinite;
}
.rank-badge.is-streamer::before { display: none; }
.rank-badge.is-streamer .streamer-eq { display: none; }
@media (prefers-reduced-motion: reduce) {
  .rank-badge.is-streamer { animation: none; }
}

/* Streamer: pulso exagerado en ranking */
@keyframes fc-streamer-wave {
  0% { transform: scale(0.82); opacity: 0.95; border-width: 2px; }
  65%, 100% { transform: scale(1.7); opacity: 0; border-width: 1px; }
}
.rank-badge.is-streamer {
  border-width: 2px;
  animation: fc-streamer-ring-pulse 2.4s ease-in-out infinite;
}
.rank-badge.is-streamer::before {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 2px solid #d8b4fe;
  border-radius: 50%;
  background: none;
  pointer-events: none;
  animation: fc-streamer-wave 2.4s ease-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .rank-badge.is-streamer { animation: none; }
  .rank-badge.is-streamer::before { animation: none; opacity: 0; }
}

/* Mismo bucle perfecto para la onda de Streamer */
@keyframes fc-streamer-wave {
  0% { transform: scale(0.82); opacity: 0; border-width: 3px; }
  12% { opacity: 0.95; }
  100% { transform: scale(1.7); opacity: 0; border-width: 1px; }
}
.rank-badge.is-streamer::before {
  animation: fc-streamer-wave 2.4s cubic-bezier(0.18, 0.72, 0.3, 1) infinite;
  will-change: transform, opacity;
}
.rank-badge--epic { color: #d2a8ff; }
