.rlive-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: #000;
  overflow: hidden;
}

.rlive-16x9::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 */
}

.rlive-inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.rlive-video {
  width: 100%;
  height: 100%;
  background: #000;
  display: block;
}

/* Status pod playerem */
.rlive-status {
  max-width: 1200px;
  margin: 8px auto 24px auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #333; /* domyślnie jasny – JS może nadpisać */
}

.rlive-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #000000;
  box-shadow: 0 0 4px rgba(0,0,0,0.6);
  animation: rlive-pulse-off 1.4s infinite;
}

.rlive-status--live .rlive-dot {
  background: #000000;
  box-shadow: 0 0 10px rgba(255, 23, 68, 0.9);
  animation: rlive-pulse-on 1s infinite;
}

.rlive-text {
  letter-spacing: 0.02em;
}

/* Znacznik LIVE w lewym górnym rogu */
.rlive-live-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f5f5f5;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.rlive-live-badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #ff1744;
  box-shadow: 0 0 8px rgba(255, 23, 68, 0.9);
  animation: rlive-badge-pulse 1.2s infinite;
}

.rlive-live-badge--active {
  opacity: 1;
  transform: translateY(0);
}

/* Animacje */
@keyframes rlive-pulse-on {
  0% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(1); opacity: 0.9; }
}

@keyframes rlive-pulse-off {
  0% { opacity: 0.5; }
  50% { opacity: 0.8; }
  100% { opacity: 0.5; }
}

@keyframes rlive-badge-pulse {
  0% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); opacity: 0.9; }
}
