.lobby-rank-bar {
  width: 100%;
  margin-bottom: 0.75rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  box-sizing: border-box;
  overflow: visible;
}

.lobby-rank-bar__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 40px;
  padding: 6px 14px 6px 10px;
  border-radius: 9999px;
  overflow: visible;
  background: linear-gradient(90deg, #488453 0%, #a6d90f 47.6%, #03f3eb 100%);
  box-shadow: 0 0.2rem 0.65rem rgba(0, 30, 12, 0.22);
}

.lobby-rank-bar__left {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding-left: calc(66px + 8px);
  min-height: 32px;
}

.lobby-rank-bar__podium-wrap {
  position: absolute;
  left: -4px;
  top: 50%;
  z-index: 2;
  display: flex;
  width: 66px;
  height: 66px;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  pointer-events: none;
  perspective: 180px;
  perspective-origin: 42% 52%;
}

.lobby-rank-bar__podium {
  width: 66px;
  height: 66px;
  max-width: 66px;
  max-height: 66px;
  object-fit: contain;
  transform-style: preserve-3d;
  transform: rotateY(-22deg) rotateX(8deg) rotateZ(-3deg);
  filter: drop-shadow(2px 3px 4px rgba(0, 24, 10, 0.38));
}

.lobby-rank-bar__title {
  font-weight: 800;
  font-size: 1.0625rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #1c5228;
}

.lobby-rank-bar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.lobby-rank-bar__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  max-width: 32px;
  max-height: 32px;
  flex: 0 0 32px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.15s ease, transform 0.12s ease;
}

.lobby-rank-bar__icon-btn:hover {
  background: transparent;
  opacity: 0.88;
}

.lobby-rank-bar__icon-btn:active {
  transform: scale(0.96);
  opacity: 1;
}

.lobby-rank-bar__icon-btn:focus {
  outline: none;
  box-shadow: none;
}

.lobby-rank-bar__icon-btn:focus-visible {
  outline: 2px solid rgba(28, 82, 40, 0.45);
  outline-offset: 3px;
  border-radius: 0.25rem;
}

/* Ícones à direita: exatamente 32×32 px; filtro → tom próximo de #1c5228 */
.lobby-rank-bar__icon-btn img.lobby-rank-bar__icon,
.lobby-rank-bar__icon {
  display: block;
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  max-width: 32px;
  max-height: 32px;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
  border: 0;
  vertical-align: middle;
  filter: brightness(0) saturate(100%) invert(17%) sepia(39%) saturate(1165%)
    hue-rotate(101deg) brightness(95%) contrast(94%);
}

/* SVG já com fill #1C5228 — sem recolorir com filter */
.lobby-rank-bar__icon-btn img.lobby-rank-bar__icon.lobby-rank-bar__icon--native {
  filter: none;
}
