.rmb-wrap {
  width: 100%;
  box-sizing: border-box;
  background: #111;
  color: #fff;
  font-family: inherit;
  padding: 12px 0 80px;
  overflow-x: hidden;
}

.rmb-back {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 16px 14px;
  color: #fff;
  background: none;
  border: none;
  font-size: 0.92em;
  font-family: inherit;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.rmb-sep {
  height: 1px;
  background: #222;
}

/* ---- Song info ---- */
.rmb-song-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}

.rmb-thumb {
  width: 52px;
  height: 52px;
  background: #1e1e1e;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #555;
  font-size: 1.3em;
}

.rmb-meta {
  flex: 1;
  min-width: 0;
}

.rmb-song-title {
  font-size: 1.05em;
  font-weight: 600;
  margin: 0 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
}

.rmb-song-artist {
  font-size: 0.85em;
  color: #888;
  margin: 0;
}

.rmb-guia-vocal-credito {
  font-size: 0.78em;
  color: #666;
  margin: 4px 0 0;
}

.rmb-guia-vocal-credito a {
  color: #25D366;
  text-decoration: underline;
}

.rmb-live-badge {
  background: #a7ff1b;
  color: #111;
  font-size: 0.68em;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ---- Progress ---- */
.rmb-progress-wrap {
  padding: 10px 16px 6px;
}

.rmb-progress {
  width: 100%;
  height: 4px;
  background: #333;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  display: block;
  accent-color: #a7ff1b;
  -webkit-appearance: none;
  appearance: none;
}

.rmb-times {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  font-size: 0.77em;
  color: #666;
}

/* ---- Controls ---- */
.rmb-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 12px 16px 18px;
}

.rmb-ctrl-btn {
  background: #1e1e1e;
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05em;
  cursor: pointer;
  transition: background 0.15s;
}

.rmb-ctrl-btn:active {
  background: #2e2e2e;
}

.rmb-ctrl-btn.rmb-play {
  width: 58px;
  height: 58px;
  background: #a7ff1b;
  color: #111;
  font-size: 1.3em;
}

.rmb-ctrl-btn.rmb-play:active {
  background: #8fd400;
}

/* ---- Tone & Tempo ---- */
.rmb-tone-tempo {
  display: flex;
  align-items: stretch;
}

.rmb-tt-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 0 16px;
}

.rmb-tt-divider {
  width: 1px;
  background: #222;
  margin: 12px 0;
}

.rmb-tt-label {
  font-size: 0.69em;
  letter-spacing: 0.1em;
  color: #666;
  text-transform: uppercase;
}

.rmb-stepper {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
}

.rmb-stepper button {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1em;
  cursor: pointer;
  padding: 4px 6px;
}

.rmb-stepper span {
  font-size: 1.25em;
  font-weight: 600;
  min-width: 36px;
  text-align: center;
  color: #fff;
}

/* ---- Volume ---- */
.rmb-volume {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
}

.rmb-vol-icon {
  color: #666;
  font-size: 0.95em;
  flex-shrink: 0;
  width: 18px;
}

.rmb-volume input[type="range"] {
  flex: 1;
  height: 4px;
  accent-color: #555;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background: #333;
  border-radius: 2px;
  outline: none;
}

.rmb-vol-pct {
  font-size: 0.8em;
  color: #666;
  min-width: 38px;
  text-align: right;
}

/* ---- Equalizer ---- */
.rmb-eq-wrap {
  display: flex;
  align-items: center;
  padding: 10px 0;
}

.rmb-eq-nav {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4em;
  cursor: pointer;
  padding: 0 14px;
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.rmb-eq-content {
  flex: 1;
}

.rmb-eq-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.rmb-eq-row span {
  font-size: 0.77em;
  color: #888;
  min-width: 46px;
}

.rmb-eq-row input[type="range"] {
  flex: 1;
  height: 4px;
  accent-color: #0175ff;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background: #333;
  border-radius: 2px;
  outline: none;
}

/* ---- Action buttons ---- */
.rmb-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #222;
  border-top: 1px solid #222;
}

.rmb-action-btn {
  background: #111;
  border: none;
  color: #fff;
  padding: 16px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88em;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

.rmb-action-btn i {
  font-size: 1em;
}

.rmb-action-btn:active {
  background: #1c1c1c;
}

/* ---- Guía vocal no disponible (gris + tooltip) ---- */
.rmb-guia-wrap {
  position: relative;
  display: flex;
}

.rmb-guia-wrap > .rmb-action-btn {
  width: 100%;
}

#rmb-btnGuiaVocal.sin-guia {
  opacity: 0.45;
}

.rmb-no-guia-tip {
  display: none;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 22px 10px 14px;
  width: 270px;
  max-width: 82vw;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  text-align: center;
  z-index: 100;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.rmb-no-guia-tip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #2a2a2a;
}

.rmb-no-guia-tip strong {
  display: block;
  color: #fff;
  margin-bottom: 4px;
  font-size: 12px;
}

.rmb-no-guia-tip p {
  margin: 0;
}

.rmb-no-guia-tip a {
  color: #a7ff1b;
  text-decoration: underline;
}

.rmb-no-guia-tip .tip-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #25D366;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.rmb-no-guia-tip .tip-whatsapp-link:hover {
  text-decoration: underline;
}

.rmb-no-guia-tip .no-guia-tip-close {
  position: absolute;
  top: 4px;
  right: 6px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 4px;
}

.rmb-guia-wrap.sin-guia.tip-open .rmb-no-guia-tip {
  display: block;
}

/* ---- Guardar en playlist ---- */
.rmb-letra-modal[hidden] {
  display: none !important;
}

.rmb-letra-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #111;
  display: flex;
  flex-direction: column;
  animation: rmbSlideUpFade 0.32s ease forwards;
}

@keyframes rmbSlideUpFade {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rmb-letra-modal.rmb-letra-modal--closing {
  animation: rmbSlideDownFade 0.22s ease forwards;
}

@keyframes rmbSlideDownFade {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(60px);
  }
}

.rmb-letra-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2em;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  z-index: 1;
}

.rmb-letra-body {
  flex: 1;
  overflow-y: auto;
  padding: 56px 18px 32px;
  font-size: 0.95em;
  line-height: 1.9;
  color: #ddd;
}

.rmb-letra-body p {
  white-space: pre-line;
  margin: 0;
}

.rmb-letra-body iframe {
  width: 100%;
  height: calc(100vh - 80px);
  border: none;
}

.rmb-playlist-btn {
  width: 100%;
  background: #111;
  border: none;
  border-top: 1px solid #222;
  color: #fff;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95em;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

.rmb-playlist-btn:active {
  background: #1a1a1a;
}
