/* ─ Radio NowPlaying section ─ */
.np-radio-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.np-badge-live {
  background: rgba(239, 68, 68, 0.25);
  color: #f87171;
  display: inline-flex;
  align-items: center;
}

.np-badge-azuracast {
  background: rgba(99, 102, 241, 0.25);
  color: #a5b4fc;
}

.np-radio-progress-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.np-radio-time {
  font-size: 11px;
  color: var(--text-muted);
  min-width: 32px;
}

.np-radio-progress-bar {
  flex: 1;
  height: 4px;
  background: var(--bg-hover);
  border-radius: 2px;
  overflow: hidden;
}

.np-radio-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 1s linear;
}

.np-radio-next-track {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
}

.np-radio-track-art {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.np-radio-track-art--sm {
  width: 32px;
  height: 32px;
}

.np-radio-track-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.np-radio-track-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.np-radio-track-artist {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Radio progress bar in PlayerBar */
.radio-progress-bar {
  width: 100%;
  height: 4px;
  background: var(--bg-hover);
  border-radius: 2px;
  overflow: hidden;
}

.radio-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 1s linear;
}

/* Listener count in PlayerBar */
.player-radio-listeners {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 1px;
}

/* Queue section */
.np-queue-section {
  flex: 1;
  padding: 144px 56px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.np-queue-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 4px;
}

.np-queue-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.np-queue-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.np-queue-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.np-action-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  transition: color 0.15s, background 0.15s;
}

.np-action-btn:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.np-action-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Queue list */
.np-queue-list {
  display: flex;
  flex-direction: column;
}

.np-queue-item {
  display: grid;
  grid-template-columns: 36px 1fr auto 28px;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.12s;
  user-select: none;
}

.np-queue-item:hover,
.np-queue-item.context-active {
  background: var(--bg-hover);
}

.np-queue-item.active {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.np-queue-num {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  min-width: 24px;
}

.np-queue-item-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.np-queue-item-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

.np-queue-item-active {
  color: var(--accent);
}

.np-queue-item-artist {
  font-size: 11px;
  color: var(--text-muted);
}

.np-queue-item-duration {
  font-size: 12px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.np-queue-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  opacity: 0;
  transition: opacity 0.12s, color 0.12s, background 0.12s;
}

.np-queue-item:hover .np-queue-remove {
  opacity: 1;
}

.np-queue-remove:hover {
  color: var(--danger);
  background: var(--bg-hover);
}

