.rdp170, .rdp170 * { box-sizing: border-box; }

/* The shell is rendered in wp_footer, then JS moves it to the first element in body. */
.rdp170-shell {
  width: 100%;
  position: relative;
  z-index: 999998;
  margin: 0;
  padding: 0;
}

.rdp170 {
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
}

.rdp170-topbar {
  width: 100%;
  background: #111827;
  border-bottom: 3px solid #d9232e;
  box-shadow: 0 2px 8px rgba(0,0,0,.14);
}

.rdp170-inner {
  width: min(1180px, 100%);
  min-height: 48px;
  margin: 0 auto;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rdp170-live {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
  background: #d9232e;
  border-radius: 999px;
  padding: 5px 8px;
}

.rdp170-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: rdp170Pulse 1.3s infinite;
}

@keyframes rdp170Pulse {
  0%,100% { opacity: 1; }
  50% { opacity: .35; }
}

.rdp170-play,
.rdp170-mute {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  margin: 0;
  padding: 0;
  cursor: pointer;
  width: 34px;
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 14px;
}

.rdp170-play {
  color: #111827;
  background: #fff;
}

.rdp170-mute {
  color: #fff;
  background: rgba(255,255,255,.12);
}

.rdp170-info {
  flex: 1 1 auto;
  min-width: 0;
}

.rdp170-info strong,
.rdp170-status {
  display: block;
  color: #fff;
  margin: 0;
  padding: 0;
}

.rdp170-info strong {
  font-size: 13px;
  line-height: 1.15;
  font-weight: 800;
}

.rdp170-status {
  margin-top: 2px;
  font-size: 10px;
  line-height: 1.15;
  opacity: .8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rdp170-volume {
  width: 88px;
  min-width: 60px;
  margin: 0;
  accent-color: #d9232e;
}

.rdp170-audio { display: none !important; }

.rdp170-inline {
  max-width: 520px;
  border-radius: 10px;
  overflow: hidden;
  background: #111827;
  border-bottom: 3px solid #d9232e;
}

/* Do not cover RoiNeon content: this is a normal-flow top bar, not fixed/floating. */
body > .rdp170-shell {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
}

@media (max-width: 640px) {
  .rdp170-inner {
    min-height: 44px;
    padding: 5px 8px;
    gap: 7px;
  }

  .rdp170-live {
    font-size: 9px;
    padding: 4px 6px;
  }

  .rdp170-play,
  .rdp170-mute {
    width: 32px;
    min-width: 32px;
    height: 32px;
  }

  .rdp170-info strong { font-size: 12px; }
  .rdp170-status { font-size: 9px; }
  .rdp170-volume { width: 58px; min-width: 48px; }
}

@media (max-width: 420px) {
  .rdp170-status { display: none; }
  .rdp170-volume { display: none; }
  .rdp170-info strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
