/* styles/realtime-presence.css */

.rt-livebadge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 12px auto 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.65);
  border: 1px solid rgba(31, 41, 55, 0.9);
  color: #e5e7eb;
  width: fit-content;
  backdrop-filter: blur(10px);
}

.rt-livebadge__text{
  font-size: 14px;
}

.rt-livebadge__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.55);
  animation: rt-breathe 1.5s ease-in-out infinite;
}

@keyframes rt-breathe{
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.45); opacity: 1; }
}
/* Anchor: wheel-wrapper becomes the positioning container */
.wheel-wrapper{
  position: relative; /* ✅ needed for absolute badge positioning */
}

/* Live badge positioned top-right of the wheel */
.rt-livebadge{
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;

  /* keep it compact */
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  background: rgba(17, 24, 39, 0.65);
  border: 1px solid rgba(31, 41, 55, 0.9);
  color: #e5e7eb;
  backdrop-filter: blur(10px);
}

/* Optional: slightly smaller on phones */
@media (max-width: 480px){
  .rt-livebadge{
    top: 10px;
    right: 10px;
    padding: 7px 10px;
    gap: 8px;
  }
  .rt-livebadge__text{ font-size: 13px; }
  .rt-livebadge__dot{ width: 9px; height: 9px; }
}
