/* RuneNation KC event voice button V1.2.2 - compact inline control, legible counter. */
.rn-kc-voice-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  overflow: visible !important;
}
.rn-kc-voice-join {
  box-sizing: border-box !important;
  position: relative !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  float: none !important;
  clear: none !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  vertical-align: middle !important;
  align-items: center !important;
  justify-content: center !important;
  isolation: isolate !important;
  width: 54px;
  height: 54px;
  min-width: 44px;
  min-height: 44px;
  max-width: 66px;
  max-height: 66px;
  margin: 0 11px 0 0 !important;
  padding: 0 !important;
  border: 1px solid #bc8d3b !important;
  border-radius: 10px !important;
  background: #20160f !important;
  color: #48ed80 !important;
  box-shadow: 0 1px 5px rgba(0,0,0,.35) !important;
  text-decoration: none !important;
  cursor: pointer;
  z-index: 1 !important;
}
.rn-kc-voice-join:hover,
.rn-kc-voice-join:focus-visible {
  background: #193922 !important;
  border-color: #65f39a !important;
  box-shadow: 0 0 0 2px rgba(87,242,134,.3) !important;
}
.rn-kc-voice-join svg {
  display: block !important;
  overflow: visible !important;
  width: 28px !important;
  height: 28px !important;
  max-width: 65% !important;
  max-height: 65% !important;
  color: #48ed80 !important;
  fill: none;
}
.rn-kc-voice-join .rn-kc-voice-headphones {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rn-kc-voice-join .rn-kc-voice-bar {
  fill: currentColor;
  transform-origin: center bottom;
  animation: rn-kc-voice-pulse .85s ease-in-out infinite alternate;
}
.rn-kc-voice-join .rn-kc-voice-bar:nth-of-type(2) { animation-delay: -.3s; animation-duration: .68s; }
.rn-kc-voice-join .rn-kc-voice-bar:nth-of-type(3) { animation-delay: -.2s; animation-duration: .74s; }
/* Opaque, high-contrast badge: deliberately no neon glow behind the digits. */
.rn-kc-voice-join .rn-kc-voice-count {
  position: absolute !important;
  top: -10px !important;
  right: -11px !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 3 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  min-width: 26px !important;
  height: 26px !important;
  padding: 0 5px !important;
  border: 2px solid #0b2815 !important;
  border-radius: 999px !important;
  background: #58f48d !important;
  color: #062310 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  font-variant-numeric: tabular-nums !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-shadow: none !important;
  box-shadow: 0 0 0 2px #d4ae52, 0 2px 5px rgba(0,0,0,.75) !important;
  pointer-events: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
.rn-kc-voice-join .rn-kc-voice-count[hidden] { display: none !important; }
.rn-kc-voice-fallback {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 8px 0 10px !important;
  padding: 0 !important;
  width: 100%;
  max-width: 100%;
  position: relative;
  clear: both;
}
@keyframes rn-kc-voice-pulse {
  0% { transform: scaleY(.4); opacity: .7; }
  100% { transform: scaleY(1); opacity: 1; }
}
@media (max-width: 620px) {
  .rn-kc-voice-row { gap: 8px !important; }
  .rn-kc-voice-join { width: 48px; height: 48px; max-width: 60px; max-height: 60px; margin-right: 11px !important; }
  .rn-kc-voice-join svg { width: 25px !important; height: 25px !important; }
  .rn-kc-voice-join .rn-kc-voice-count {
    top: -9px !important; right: -10px !important;
    min-width: 25px !important; height: 25px !important; font-size: 14px !important;
  }
}
@media (prefers-reduced-motion: reduce) { .rn-kc-voice-join .rn-kc-voice-bar { animation: none; } }
