/* Additive Twitch LIVE badges — do not edit homepage glass CSS here. */
.wd-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  padding: 2px 8px 2px 6px;
  border: 1px solid rgb(169 112 255 / 0.45);
  border-radius: 999px;
  background: rgb(145 70 255 / 0.16);
  color: #efdbff;
  font-family: var(--font-display, "Barlow Condensed", sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
}
.wd-live-badge:hover,
.wd-live-badge:focus-visible {
  background: rgb(145 70 255 / 0.28);
  color: #fff;
}
.wd-live-badge svg {
  display: block;
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
}
.wd-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #bf94ff;
  box-shadow: 0 0 0 0 rgb(191 148 255 / 0.7);
  animation: wd-live-pulse 1.4s ease-out infinite;
}
@keyframes wd-live-pulse {
  0% { box-shadow: 0 0 0 0 rgb(191 148 255 / 0.55); }
  70% { box-shadow: 0 0 0 6px rgb(191 148 255 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(191 148 255 / 0); }
}
.lb-player-name,
.lb-podium-name {
  display: inline;
}
.player-name-row .wd-live-badge {
  margin-top: 2px;
}
.server-live-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.wd-live-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
}
.wd-live-chip .wd-live-badge {
  margin-left: 0;
}
.wd-live-chip-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.86rem;
  color: #d6d3de;
}
.wd-live-chip:hover .wd-live-chip-name {
  color: #fff;
}

/* Playing chip under the name — outlined like the NEW badge, site accent. */
.page-leaderboard .lb-player {
  max-width: none;
}
.page-leaderboard .lb-player strong {
  flex-wrap: wrap;
  max-width: 100%;
}
.page-leaderboard .lb-player-name {
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  word-break: break-word;
}
.wd-playing-block {
  display: block;
  margin: 4px 0 0;
  max-width: 100%;
}
.wd-playing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border: 1px solid var(--accent, #f2a900);
  border-radius: 8px;
  background: transparent;
  color: var(--accent, #f2a900);
  font-family: var(--font, "Barlow", sans-serif);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  word-spacing: 0.12em;
  line-height: 1.25;
  white-space: nowrap;
}
.wd-playing-label {
  text-transform: none;
  letter-spacing: 0.01em;
  word-spacing: 0.12em;
}
.wd-playing-sep {
  font-weight: 600;
  opacity: 0.85;
}
.wd-playing-server {
  font-weight: 600;
  letter-spacing: 0.01em;
  word-spacing: 0.12em;
  text-transform: none;
}
.wd-playing-team {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 2px;
  color: var(--mist-100, #f3f4f6);
}
.wd-playing-faction {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}
.wd-playing-faction-name {
  font-weight: 600;
  letter-spacing: 0.01em;
  word-spacing: 0.08em;
}
.player-name-row {
  flex-wrap: wrap;
}
.player-hero-main .wd-playing-block {
  margin-top: 8px;
}

/* Homepage: drop leftover queue badges if old JS is cached. */
.server-queue,
.queue-meta,
.server-slot-badge--queue {
  display: none !important;
}

/* Player profile: one Yung Money card (same net as leaderboard). */
.player-stat-cash {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.player-stat-cash .lb-cash-zero { color: var(--mist-500, #8b8b93); }
.player-stat-cash .lb-cash-net {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.player-stat-cash .lb-cash-sub {
  font-size: 11px;
  color: var(--mist-500, #8b8b93);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--font);
  line-height: 1.2;
}

.server-restart {
  font-size: 12px;
  color: var(--mist-400, #9ca3af);
  margin: 0 0 8px;
  letter-spacing: 0.01em;
}
.server-restart b { color: var(--mist-100, #f3f4f6); font-weight: 600; }
.server-restart .restart-est {
  opacity: 0.7;
  font-size: 11px;
  text-transform: lowercase;
}

.wd-playing-faction-name {
  display: none !important;
}
