/* Hidden persistent mount where the audio/iframe lives */
.ncm-radio-engine {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  left: -9999px;
  top: -9999px;
}

/* Shortcode controls UI (can appear anywhere, multiple times) */
.ncm-radio-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #121214, #0a0a0b);
  color: #fff;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.ncm-radio-controls.is-compact .ncm-radio__meta,
.ncm-radio-controls.is-compact .ncm-radio__select,
.ncm-radio-controls.is-compact .ncm-radio__volume,
.ncm-radio-controls.is-compact .ncm-radio__btn--upnext {
  display: none;
}

.ncm-radio__btn,
.ncm-radio__select {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  line-height: 1;
}

.ncm-radio__btn:hover,
.ncm-radio__select:hover {
  background: rgba(255,255,255,.12);
}

.ncm-radio__btn.is-muted {
  background: rgba(255,255,255,.12);
}

.ncm-radio__meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 180px;
  gap: 2px;
}

.ncm-radio__title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .2px;
}

.ncm-radio__status {
  font-size: 11px;
  opacity: .7;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.ncm-radio__track {
  font-size: 13px;
  opacity: .85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 36ch;
}

/* Volume */
.ncm-radio__volume {
  width: 110px;
  appearance: none;
  height: 5px;
  border-radius: 99px;
  background: rgba(255,255,255,.18);
  outline: none;
}

.ncm-radio__volume::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  border: 0;
}

.ncm-radio__volume::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  border: 0;
}

/* Provider select */
.ncm-radio__select {
  padding: 10px 14px;
}

/* Upcoming panel */
.ncm-radio-upcoming {
  margin-top: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.10);
  color: #fff;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.ncm-radio-upcoming__label {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .6px;
  text-transform: uppercase;
  opacity: .8;
  margin-bottom: 8px;
}

.ncm-radio-upcoming__list {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  opacity: .9;
}

.ncm-radio-upcoming__list li {
  margin: 6px 0;
}

/* Station mode cosmetics */
.ncm-radio-controls.is-station-mode .ncm-radio__status {
  opacity: .85;
}
