:root {
  --rs-accent: #f23bd9;
  --rs-accent-2: #5a48ff;
  --rs-bg: #10052b;
  --rs-panel: #140a39;
  --rs-text: #f4ecff;
  --rs-muted: #9f8bc9;
  --rs-border: rgba(106,79,255,0.35);
  --rs-radius: 16px;
}

.rs-live-drop-root {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 99998;
  pointer-events: none;
  padding: 10px 12px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rs-live-drop-root.rs-pos-top { top: 0; }
.rs-live-drop-root.rs-pos-bottom { bottom: 0; }
.rs-live-drop-root.rs-live-drop-shortcode {
  position: relative;
  inset: auto;
  padding: 0;
}

.rs-live-drop-shell {
  pointer-events: auto;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rs-border);
  background:
    radial-gradient(circle at 20% 0%, rgba(242,59,217,.18), transparent 35%),
    radial-gradient(circle at 80% 100%, rgba(90,72,255,.16), transparent 30%),
    linear-gradient(180deg, rgba(24,14,60,.92), rgba(10,4,28,.96));
  box-shadow:
    0 10px 35px rgba(6, 4, 20, .55),
    inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(10px);
}

.rs-live-drop-shell.rs-style-soft { border-radius: var(--rs-radius); }
.rs-live-drop-shell.rs-style-sharp { border-radius: 6px; }
.rs-live-drop-shell.rs-style-hex {
  border-radius: 18px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.rs-live-drop-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 10px 16px;
}

.rs-live-drop-label {
  min-width: 110px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding-right: 12px;
  border-right: 1px solid rgba(255,255,255,.08);
}

.rs-live-drop-kicker {
  font-size: 11px;
  line-height: 1;
  letter-spacing: .16em;
  font-weight: 700;
  color: var(--rs-text);
  opacity: .96;
}

.rs-live-drop-line {
  width: 56px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rs-accent), var(--rs-accent-2));
  box-shadow: 0 0 18px rgba(242,59,217,.5);
}

.rs-live-drop-viewport {
  position: relative;
  min-height: 70px;
  overflow: hidden;
}

.rs-live-drop-track {
  position: relative;
  min-height: 70px;
}

.rs-live-drop-item {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 14px;
  align-items: center;
  opacity: 0;
  transform: translateY(14px) scale(.98);
  transition: transform .85s ease, opacity .85s ease;
}

.rs-live-drop-item.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.rs-live-drop-item.rs-enter-fade { transform: scale(1.01); }
.rs-live-drop-item.rs-enter-pulse.is-active { animation: rsPulse 1.2s ease; }

.rs-live-drop-thumb {
  width: 68px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(242,59,217,.18), rgba(90,72,255,.22));
  border: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.rs-live-drop-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rs-live-drop-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.rs-live-drop-user {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rs-accent);
  font-weight: 700;
}

.rs-live-drop-title {
  font-size: 20px;
  line-height: 1.15;
  color: var(--rs-text);
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rs-live-drop-subtitle {
  font-size: 13px;
  color: var(--rs-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rs-live-drop-badge,
.rs-live-drop-cta {
  justify-self: end;
  white-space: nowrap;
}

.rs-live-drop-badge span,
.rs-live-drop-cta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(242,59,217,.24);
  background: linear-gradient(135deg, rgba(242,59,217,.15), rgba(90,72,255,.14));
  color: var(--rs-text);
  font-size: 11px;
  letter-spacing: .12em;
  font-weight: 700;
  text-transform: uppercase;
}

.rs-live-drop-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,.06);
}

.rs-live-drop-progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--rs-accent), var(--rs-accent-2));
  box-shadow: 0 0 12px rgba(242,59,217,.5);
}

.rs-live-drop-shell.rs-glow::before {
  content: "";
  position: absolute;
  inset: -30% auto auto 10%;
  width: 30%;
  height: 120%;
  background: radial-gradient(circle, rgba(242,59,217,.20), transparent 60%);
  pointer-events: none;
}

.rs-live-drop-link {
  color: inherit;
  text-decoration: none;
}

@keyframes rsPulse {
  0% { box-shadow: 0 0 0 rgba(242,59,217,0); }
  45% { box-shadow: 0 0 32px rgba(242,59,217,.16); }
  100% { box-shadow: 0 0 0 rgba(242,59,217,0); }
}

@keyframes rsProgress {
  from { width: 0; }
  to { width: 100%; }
}

@media (max-width: 900px) {
  .rs-live-drop-inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .rs-live-drop-label {
    min-width: 0;
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding-bottom: 10px;
  }

  .rs-live-drop-item {
    grid-template-columns: 56px 1fr;
  }

  .rs-live-drop-badge,
  .rs-live-drop-cta {
    display: none;
  }

  .rs-live-drop-title {
    font-size: 17px;
  }
}
