article.group.relative.flex.flex-col.overflow-hidden > div.flex.flex-1.flex-col > div.mb-8.flex.items-start.justify-between.gap-4 {
  min-width: 0;
}

article.group.relative.flex.flex-col.overflow-hidden > div.flex.flex-1.flex-col > div.mb-8.flex.items-start.justify-between.gap-4 > div.flex.flex-col.gap-5 {
  min-width: 0;
  flex: 1 1 0%;
}

article.group.relative.flex.flex-col.overflow-hidden > div.flex.flex-1.flex-col > div.mb-8.flex.items-start.justify-between.gap-4 > div.flex.flex-col.gap-5 > div:last-child {
  min-width: 0;
}

@media (min-width: 768px) {
  article.relative.flex.flex-col.gap-3.overflow-hidden.rounded-2xl {
    overflow: visible;
  }

  article.relative.flex.flex-col.gap-3.overflow-hidden.rounded-2xl span[style*="bottom"] {
    max-width: min(24rem, calc(100vw - 2rem));
    white-space: normal;
  }
}

article.relative.flex.flex-col.gap-3.overflow-hidden.rounded-2xl > div[class*="absolute"][class*="inset-y-0"][class*="left-0"][class*="w-1.5"] {
  display: none;
}

article.relative.flex.flex-col.gap-3.overflow-hidden.rounded-2xl:has(> div[class*="bg-emerald-500"]) {
  border-left-width: 6px;
  border-left-color: rgb(16 185 129);
}

article.relative.flex.flex-col.gap-3.overflow-hidden.rounded-2xl:has(> div[class*="bg-rose-500"]) {
  border-left-width: 6px;
  border-left-color: rgb(244 63 94);
}

article.relative.flex.flex-col.gap-3.overflow-hidden.rounded-2xl:has(> div[class*="bg-slate-500"]) {
  border-left-width: 6px;
  border-left-color: rgb(100 116 139);
}

.rg-live-badge {
  position: relative;
  z-index: 20;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 4.35rem;
  height: 1.7rem;
  margin-top: 1rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  padding: 0.42rem 0.65rem;
  font-family: inherit;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 180ms ease, filter 180ms ease, background-color 180ms ease;
}

.rg-live-badge-active {
  cursor: pointer;
  background: linear-gradient(135deg, rgb(239 68 68), rgb(185 28 28));
  border-color: rgb(254 202 202 / 28%);
  color: white;
  box-shadow: inset 0 1px rgb(255 255 255 / 18%);
}

.rg-live-badge-active:hover {
  background: linear-gradient(135deg, rgb(248 113 113), rgb(220 38 38));
  color: white;
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.rg-live-badge-inactive {
  background: rgb(30 41 59 / 82%);
  border-color: rgb(100 116 139 / 30%);
  color: rgb(148 163 184);
  cursor: default;
  box-shadow: inset 0 1px rgb(255 255 255 / 5%);
}

.rg-live-modal[hidden] {
  display: none;
}

.rg-live-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.rg-live-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(2 6 23 / 82%);
  backdrop-filter: blur(6px);
}

.rg-live-modal-card {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 960px);
  max-height: calc(100vh - 2rem);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgb(148 163 184 / 24%);
  border-radius: 1.25rem;
  background: rgb(15 23 42);
  box-shadow: 0 24px 80px rgb(0 0 0 / 45%);
}

.rg-live-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  color: white;
}

.rg-live-modal-kicker {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: rgb(248 113 113);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1;
}

.rg-live-modal-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: currentColor;
  box-shadow: 0 0 0 0 rgb(248 113 113 / 60%);
  animation: rg-live-pulse 1.4s ease-in-out infinite;
}

.rg-live-modal-title {
  margin-top: 0.35rem;
  color: rgb(226 232 240);
  font-size: 0.95rem;
  font-weight: 700;
}

.rg-live-modal-close {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgb(148 163 184 / 25%);
  border-radius: 9999px;
  background: rgb(30 41 59 / 85%);
  color: rgb(226 232 240);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  transition: background-color 180ms ease, color 180ms ease;
}

.rg-live-modal-close:hover {
  background: rgb(51 65 85);
  color: white;
}

.rg-live-modal-frame {
  aspect-ratio: 16 / 9;
  min-height: 220px;
  background: black;
}

.rg-live-modal-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.rg-live-modal-open {
  overflow: hidden;
}

.rg-user-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin-top: 0.45rem;
  color: rgb(100 116 139);
  font-size: 0.72rem;
  line-height: 1.35;
}

.dark .rg-user-details {
  color: rgb(148 163 184);
}

.rg-live-dot {
  display: block;
  width: 0.4rem;
  height: 0.4rem;
  flex: 0 0 auto;
  border-radius: 9999px;
  background: currentColor;
}

.rg-live-badge-active .rg-live-dot {
  animation: rg-live-pulse 1.4s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgb(255 255 255 / 70%);
}

@keyframes rg-live-pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgb(255 255 255 / 65%);
  }
  50% {
    opacity: 0.55;
    box-shadow: 0 0 0 0.35rem rgb(255 255 255 / 0%);
  }
}

@media (min-width: 768px) {
  .rg-live-badge-vip {
    margin-top: 0.5rem;
  }
}

@media (max-width: 639px) {
  .rg-live-modal {
    padding: 0.5rem;
  }

  .rg-live-modal-card {
    width: 100%;
    border-radius: 1rem;
  }

  .rg-live-modal-frame {
    aspect-ratio: 16 / 10;
    min-height: 180px;
  }
}