/**
 * Radio Living Player — UI moderna (píldora roja / acento amarillo).
 */

:root {
	--rlp-red: #d10a10;
	--rlp-red-dark: #9a070c;
	--rlp-red-deep: #6b0508;
	--rlp-yellow: #ffe600;
	--rlp-yellow-dim: rgba(255, 230, 0, 0.35);
	--rlp-yellow-soft: rgba(255, 230, 0, 0.08);
	--rlp-yellow-glow-strong: rgba(255, 230, 0, 0.45);
	--rlp-white: #ffffff;
	--rlp-text-main: #ffffff;
	--rlp-text-sub: #ffffff;
	--rlp-bar-pad: 14px;
	--rlp-pill-radius: 9999px;
	--rlp-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body.rlp-player-active {
	padding-bottom: 96px;
}

@media (max-width: 640px) {
	.rlp-root {
		max-width: 100%;
		margin: 0;
	}

	body.rlp-player-active {
		padding-bottom: 92px;
	}
}

.rlp-fixed-shell {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999999;
	pointer-events: none;
}

.rlp-root {
	position: relative;
	width: 100%;
	/* Igualar el ancho del "content" del theme (bloques) cuando exista. */
	/* Fallback "clásico": muchos themes usan ~1140px como contenedor. */
	max-width: min(var(--rlp-player-width, var(--wp--style--global--content-size, 1140px)), calc(100% - 32px));
	margin: 0 auto;
	pointer-events: none;
	font-family: var(--rlp-font);
	-webkit-font-smoothing: antialiased;
}

.rlp-root * {
	pointer-events: auto;
	box-sizing: border-box;
}

/* ——— Drawer (misma estética que la barra: rojo + amarillo) ——— */
.rlp-drawer {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 88px;
	max-width: 480px;
	margin: 0 auto;
	background: var(--rlp-red);
	border-radius: 22px;
	border: 2px solid var(--rlp-yellow);
	box-shadow:
		0 -16px 48px rgba(0, 0, 0, 0.45),
		0 0 0 1px rgba(0, 0, 0, 0.15);
	overflow: hidden;
	max-height: min(56vh, 400px);
	display: flex;
	flex-direction: column;
}

.rlp-drawer[hidden] {
	display: none !important;
}

.rlp-drawer__strip {
	flex-shrink: 0;
	height: 4px;
	width: 100%;
	background: linear-gradient(
		90deg,
		var(--rlp-red-deep) 0%,
		var(--rlp-red-deep) 20%,
		var(--rlp-yellow) 20%,
		var(--rlp-yellow) 100%
	);
}

.rlp-drawer__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px 12px;
	background: rgba(0, 0, 0, 0.12);
	border-bottom: 1px solid color-mix(in srgb, var(--rlp-yellow) 35%, transparent);
}

.rlp-drawer__head-main {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
}

.rlp-drawer__live-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 16px;
	border-radius: 9999px;
	background: rgba(0, 0, 0, 0.28);
	color: var(--rlp-text-main);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rlp-drawer__live-pill-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--rlp-white);
	flex-shrink: 0;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.rlp-drawer__title {
	margin: 0;
	font-weight: 800;
	font-size: 15px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--rlp-yellow);
	line-height: 1.2;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.rlp-drawer__close {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border: 2px solid var(--rlp-yellow);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.15);
	color: var(--rlp-yellow);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s, color 0.15s, transform 0.1s;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin-top: 2px;
}

.rlp-drawer__close:hover {
	background: var(--rlp-yellow);
	color: var(--rlp-red);
}

.rlp-drawer__list {
	list-style: none;
	margin: 0;
	padding: 10px 12px 12px;
	overflow-y: auto;
	flex: 1;
	background: rgba(0, 0, 0, 0.06);
}

.rlp-drawer__item {
	width: 100%;
	text-align: center;
	padding: 14px 18px;
	margin: 6px 0;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--rlp-text-main);
	font-family: var(--rlp-font);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.rlp-drawer__item:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: color-mix(in srgb, var(--rlp-yellow) 50%, transparent);
}

.rlp-drawer__item.is-active {
	background: rgba(0, 0, 0, 0.2);
	border-color: var(--rlp-yellow);
	border-width: 2px;
	padding: 13px 17px;
	color: var(--rlp-yellow);
	box-shadow: 0 0 20px color-mix(in srgb, var(--rlp-yellow) 25%, transparent);
}

.rlp-drawer__item-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--rlp-yellow);
	flex-shrink: 0;
	opacity: 0.45;
}

.rlp-drawer__item.is-active .rlp-drawer__item-dot {
	opacity: 1;
	box-shadow: 0 0 12px var(--rlp-yellow);
}

.rlp-drawer__vol-row {
	display: none;
}

/* Volumen en cajón solo si en el futuro se reactiva en escritorio; móvil/tablet: oculto (volumen del dispositivo) */

/* ——— Barra píldora ——— */
.rlp-bar {
	position: relative;
	margin: 0 auto 12px;
	max-width: min(1100px, calc(100% - 24px));
	padding: 0 var(--rlp-bar-pad);
}

.rlp-bar__accent {
	flex: 1 1 100%;
	width: 100%;
	height: 3px;
	border-radius: var(--rlp-pill-radius);
	background: linear-gradient(90deg, transparent, var(--rlp-yellow) 15%, var(--rlp-yellow) 85%, transparent);
	margin: 0;
	opacity: 0.95;
	box-shadow: 0 0 12px var(--rlp-yellow-glow-strong);
	order: 0;
}

.rlp-bar__progress-line {
	display: none;
	flex: 1 1 100%;
	order: 0;
}

/* Fila principal: play centrado geométricamente; ciudad + volumen a la derecha */
.rlp-bar__main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	width: 100%;
	min-width: 0;
	gap: clamp(10px, 2vw, 20px);
	order: 1;
	flex: 1 1 100%;
}

.rlp-bar__tablet-meta {
	display: none;
	margin: 0;
	font-weight: 500;
	line-height: 1.35;
	color: var(--rlp-text-main);
}

.rlp-bar__pill {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	align-content: center;
	gap: 8px;
	min-height: 72px;
	padding: 10px clamp(12px, 2.5vw, 22px);
	background: linear-gradient(180deg, var(--rlp-red) 0%, var(--rlp-red-dark) 55%, var(--rlp-red-deep) 100%);
	border-radius: var(--rlp-pill-radius);
	box-shadow:
		0 8px 32px rgba(0, 0, 0, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Izquierda: logo + texto */
.rlp-bar__left {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	justify-self: start;
	max-width: 100%;
}

.rlp-bar__logo-box {
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.2);
	padding: 0;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.rlp-bar__cover {
	width: 100%;
	height: 100%;
	border-radius: 10px;
	display: block;
	background: rgba(0, 0, 0, 0.15);
	object-fit: contain;
	object-position: center;
}

.rlp-root--single .rlp-bar__change {
	display: none !important;
}

.rlp-bar__info {
	min-width: 0;
	flex: 1;
}

.rlp-bar__live-line {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--rlp-yellow);
	line-height: 1.2;
}

.rlp-bar__live-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--rlp-yellow);
	box-shadow: 0 0 0 2px var(--rlp-yellow-dim);
	animation: rlp-live-pulse 1.5s ease-in-out infinite;
}

@keyframes rlp-live-pulse {
	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.75;
		transform: scale(0.9);
	}
}

/* Línea principal: título · artista (lo que suena) */
.rlp-bar__now-playing {
	font-size: clamp(14px, 2.9vw, 17px);
	font-weight: 700;
	color: var(--rlp-text-main);
	line-height: 1.3;
	margin-top: 4px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Línea secundaria: nombre de la emisora */
.rlp-bar__station-sub {
	font-size: 11px;
	font-weight: 600;
	color: color-mix(in srgb, var(--rlp-text-sub) 72%, transparent);
	margin-top: 3px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Centro: play (eje visual del reproductor) */
.rlp-bar__center {
	display: flex;
	align-items: center;
	justify-content: center;
	justify-self: center;
	flex-shrink: 0;
}

.rlp-ctrl {
	border: none;
	background: transparent;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--rlp-yellow);
	transition: color 0.15s, transform 0.1s, opacity 0.15s;
	padding: 4px;
	border-radius: 50%;
}

.rlp-ctrl:active:not(:disabled) {
	transform: scale(0.94);
}

.rlp-ctrl:disabled {
	color: var(--rlp-yellow-dim);
	cursor: not-allowed;
	opacity: 0.45;
}

.rlp-ctrl--play {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 3px solid var(--rlp-yellow);
	background: rgba(0, 0, 0, 0.15);
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
	flex-shrink: 0;
	position: relative;
}

.rlp-ctrl--play:hover {
	background: rgba(255, 255, 255, 0.08);
}

.rlp-ctrl__play-tri {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 0 10px 16px;
	border-color: transparent transparent transparent var(--rlp-yellow);
	margin-left: 5px;
	filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.35));
}

.rlp-ctrl--play.is-playing .rlp-ctrl__play-tri {
	display: none;
}

.rlp-ctrl__pause-bars {
	display: none;
	gap: 5px;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.rlp-ctrl--play.is-playing .rlp-ctrl__pause-bars {
	display: flex;
}

.rlp-ctrl__pause-bars i {
	width: 5px;
	height: 20px;
	background: var(--rlp-yellow);
	border-radius: 2px;
	display: block;
}

.rlp-ctrl--vol {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	color: var(--rlp-yellow);
	border: 1px solid transparent;
	transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.rlp-ctrl--vol:hover {
	background: var(--rlp-yellow-soft);
	border-color: color-mix(in srgb, var(--rlp-yellow) 25%, transparent);
}

.rlp-ctrl--vol[aria-expanded="true"] {
	background: rgba(0, 0, 0, 0.2);
	border-color: var(--rlp-yellow);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--rlp-yellow) 35%, transparent), 0 0 20px color-mix(in srgb, var(--rlp-yellow) 15%, transparent);
}

/* Derecha: cambiar ciudad + volumen */
.rlp-bar__right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	justify-self: end;
	gap: 10px;
	flex-shrink: 0;
	flex-wrap: nowrap;
}

.rlp-bar__change {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 6px;
}

.rlp-bar__change-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 6px 4px 6px 10px;
	font-family: var(--rlp-font);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rlp-yellow);
	white-space: nowrap;
	transition: opacity 0.15s;
}

.rlp-bar__change-btn:hover {
	opacity: 0.9;
}

.rlp-bar__change-btn[aria-expanded="true"] .rlp-bar__chevron {
	transform: rotate(180deg);
}

.rlp-bar__chevron {
	width: 0;
	height: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 8px solid var(--rlp-yellow);
	transition: transform 0.25s ease;
	display: block;
}

.rlp-bar__volume-wrap {
	position: relative;
}

/* Volumen: cápsula mínima + barra vertical */
.rlp-bar__vol-pop {
	position: absolute;
	bottom: calc(100% + 8px);
	right: 50%;
	transform: translateX(50%);
	padding: 18px 14px;
	background: rgba(8, 4, 6, 0.88);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-radius: 9999px;
	border: 1px solid rgba(255, 255, 255, 0.07);
	box-shadow:
		0 8px 28px rgba(0, 0, 0, 0.5),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.rlp-bar__vol-pop[hidden] {
	display: none !important;
}

.rlp-bar__vol-pop:not([hidden]) {
	display: block !important;
}

.rlp-bar__vol-spin {
	width: 28px;
	height: 128px;
	position: relative;
	margin: 0 auto;
	overflow: visible;
}

.rlp-vol-range--vertical {
	--rlp-vol-pct: 90%;
	position: absolute;
	left: 50%;
	top: 50%;
	width: 118px;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	cursor: pointer;
	transform: translate(-50%, -50%) rotate(-90deg);
}

.rlp-vol-range--vertical:focus {
	outline: none;
}

.rlp-vol-range--vertical:focus-visible {
	box-shadow: 0 0 0 2px var(--rlp-yellow);
	border-radius: 6px;
}

.rlp-vol-range--vertical::-webkit-slider-runnable-track {
	height: 4px;
	border-radius: 999px;
	background: linear-gradient(
		to right,
		var(--rlp-yellow) 0%,
		color-mix(in srgb, var(--rlp-yellow) 65%, #fff) var(--rlp-vol-pct),
		rgba(255, 255, 255, 0.06) var(--rlp-vol-pct),
		rgba(255, 255, 255, 0.06) 100%
	);
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

.rlp-vol-range--vertical::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 12px;
	height: 12px;
	margin-top: -4px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.2);
	box-shadow:
		0 1px 3px rgba(0, 0, 0, 0.35),
		0 0 0 1px rgba(255, 255, 255, 0.9) inset,
		0 0 10px var(--rlp-yellow-dim);
	transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.rlp-vol-range--vertical:hover::-webkit-slider-thumb {
	transform: scale(1.1);
	box-shadow:
		0 2px 6px rgba(0, 0, 0, 0.4),
		0 0 14px var(--rlp-yellow-glow-strong);
}

.rlp-vol-range--vertical::-moz-range-track {
	height: 4px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

.rlp-vol-range--vertical::-moz-range-progress {
	height: 4px;
	border-radius: 999px;
	background: linear-gradient(
		90deg,
		color-mix(in srgb, var(--rlp-yellow) 85%, #fff),
		var(--rlp-yellow),
		color-mix(in srgb, var(--rlp-yellow) 35%, #fff)
	);
}

.rlp-vol-range--vertical::-moz-range-thumb {
	width: 12px;
	height: 12px;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
	cursor: pointer;
}

.rlp-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Responsive */
@media (max-width: 900px) {
	.rlp-bar__change-text {
		display: none;
	}

	.rlp-bar__change-btn {
		padding: 8px;
	}
}

/* ——— Tablet: misma estética que móvil, escalada al ancho tablet ——— */
@media (min-width: 641px) and (max-width: 1024px) {
	body.rlp-player-active {
		padding-bottom: 100px;
	}

	.rlp-bar {
		position: relative;
		max-width: min(680px, calc(100% - 32px));
		margin: 0 auto 12px;
		padding: 12px 12px 0;
	}

	.rlp-bar__accent {
		display: none;
	}

	.rlp-bar__progress-line {
		display: none !important;
	}

	.rlp-bar__pill {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: clamp(10px, 2vw, 14px);
		min-height: clamp(68px, 11vw, 80px);
		padding: clamp(11px, 1.8vw, 14px) clamp(14px, 2.2vw, 18px) clamp(11px, 1.8vw, 14px) clamp(12px, 2vw, 16px);
		background: var(--rlp-red);
		border: none;
		border-top: 2px solid var(--rlp-yellow);
		border-radius: var(--rlp-pill-radius);
		box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
	}

	.rlp-bar__left {
		min-width: 0;
		max-width: 100%;
		gap: clamp(10px, 1.8vw, 14px);
	}

	.rlp-bar__logo-box {
		width: clamp(56px, 9vw, 64px);
		height: clamp(56px, 9vw, 64px);
		border-radius: clamp(8px, 1.2vw, 10px);
		padding: 0;
	}

	.rlp-bar__cover {
		border-radius: clamp(8px, 1.2vw, 10px);
	}

	.rlp-bar__live-line {
		font-size: clamp(12px, 1.9vw, 14px);
		font-weight: 800;
		text-transform: none;
		letter-spacing: 0.01em;
		gap: 6px;
	}

	.rlp-bar__live-dot {
		width: 6px;
		height: 6px;
		background: var(--rlp-white);
		box-shadow: none;
		animation: none;
		flex-shrink: 0;
	}

	.rlp-bar__tablet-meta {
		display: none !important;
	}

	.rlp-bar__now-playing {
		font-size: clamp(13px, 2.1vw, 15px);
		font-weight: 700;
		margin-top: 2px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.rlp-bar__station-sub {
		display: block;
		font-size: clamp(10px, 1.5vw, 11px);
		font-weight: 600;
		margin-top: 2px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.rlp-bar__center {
		flex: 0 0 auto;
		width: auto;
		padding: 0;
		margin: 0;
	}

	.rlp-ctrl--play {
		width: clamp(50px, 8vw, 56px);
		height: clamp(50px, 8vw, 56px);
		border-width: 2px;
		background: transparent;
		box-shadow: none;
	}

	.rlp-ctrl--play:hover {
		background: rgba(255, 255, 255, 0.08);
	}

	.rlp-ctrl__play-tri {
		border-width: clamp(9px, 1.2vw, 10px) 0 clamp(9px, 1.2vw, 10px) clamp(14px, 2.2vw, 16px);
		border-color: transparent transparent transparent var(--rlp-yellow);
		margin-left: 4px;
		filter: none;
	}

	.rlp-ctrl--play.is-playing .rlp-ctrl__pause-bars i {
		background: var(--rlp-yellow);
	}

	.rlp-root:not(.rlp-root--single) .rlp-bar__change-btn {
		padding: clamp(6px, 1vw, 8px) clamp(8px, 1.2vw, 10px);
		border-radius: 10px;
		background: rgba(0, 0, 0, 0.18);
		border: 1px solid color-mix(in srgb, var(--rlp-yellow) 35%, transparent);
	}

	.rlp-root:not(.rlp-root--single) .rlp-bar__right {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: flex-end;
		gap: clamp(6px, 1.2vw, 8px);
		width: auto;
		height: auto;
		overflow: visible;
		pointer-events: auto;
	}

	.rlp-root--single .rlp-bar__right {
		width: auto;
		height: auto;
		overflow: visible;
	}

	.rlp-root--single .rlp-bar__pill {
		padding-right: clamp(8px, 1.5vw, 12px);
	}

	.rlp-drawer {
		max-width: min(520px, calc(100% - 32px));
		left: 16px;
		right: 16px;
		margin-bottom: 10px;
		max-height: min(48vh, 360px);
	}
}

@media (max-width: 640px) {
	.rlp-bar {
		position: relative;
		max-width: calc(100% - 20px);
		margin: 0 auto 10px;
		padding: 10px 10px 0;
	}

	.rlp-bar__accent {
		display: none;
	}

	.rlp-bar__pill {
		flex-wrap: nowrap;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		min-height: 64px;
		padding: 10px 14px 10px 12px;
		margin-top: 0;
		background: var(--rlp-red);
		border: none;
		border-top: 2px solid var(--rlp-yellow);
		border-radius: var(--rlp-pill-radius);
		box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
	}

	.rlp-bar__main {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		gap: 10px;
		width: 100%;
	}

	.rlp-root:not(.rlp-root--single) .rlp-bar__change-btn {
		padding: 6px 8px;
		border-radius: 10px;
		background: rgba(0, 0, 0, 0.18);
		border: 1px solid color-mix(in srgb, var(--rlp-yellow) 35%, transparent);
	}

	.rlp-root:not(.rlp-root--single) .rlp-bar__right {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: flex-end;
		gap: 6px;
		width: auto;
		height: auto;
		overflow: visible;
		pointer-events: auto;
	}

	.rlp-bar__left {
		min-width: 0;
		max-width: 100%;
		gap: 10px;
	}

	.rlp-bar__logo-box {
		width: 54px;
		height: 54px;
		border-radius: 8px;
		padding: 0;
	}

	.rlp-bar__cover {
		border-radius: 8px;
	}

	.rlp-bar__live-line {
		font-size: 12px;
		font-weight: 800;
		text-transform: none;
		letter-spacing: 0.01em;
		gap: 6px;
	}

	.rlp-bar__live-dot {
		width: 6px;
		height: 6px;
		background: var(--rlp-white);
		box-shadow: none;
		animation: none;
		flex-shrink: 0;
	}

	.rlp-bar__now-playing {
		font-size: 13px;
		font-weight: 700;
		margin-top: 2px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.rlp-bar__station-sub {
		display: block;
		font-size: 10px;
		font-weight: 600;
		margin-top: 2px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.rlp-bar__tablet-meta {
		display: none !important;
	}

	.rlp-bar__center {
		flex: 0 0 auto;
		order: unset;
		width: auto;
		padding: 0;
		margin: 0;
		border: none;
		gap: 0;
	}

	.rlp-bar__right {
		flex: 0 0 auto;
		order: unset;
		margin: 0;
		align-items: center;
		gap: 4px;
	}

	/* Una emisora: insignias + volumen a la derecha */
	.rlp-root--single .rlp-bar__right {
		width: auto;
		height: auto;
		overflow: visible;
	}

	.rlp-root--single .rlp-bar__pill {
		padding-right: 8px;
	}

	.rlp-ctrl--play {
		width: 48px;
		height: 48px;
		border-width: 2px;
		background: transparent;
		box-shadow: none;
	}

	.rlp-ctrl--play:hover {
		background: rgba(255, 255, 255, 0.08);
	}

	.rlp-ctrl__play-tri {
		border-width: 9px 0 9px 14px;
		border-color: transparent transparent transparent var(--rlp-yellow);
		margin-left: 4px;
		filter: none;
	}

	.rlp-ctrl--play.is-playing .rlp-ctrl__pause-bars i {
		background: var(--rlp-yellow);
	}

	.rlp-drawer {
		left: 10px;
		right: 10px;
		bottom: 100%;
		margin-bottom: 8px;
		max-height: min(48vh, 340px);
	}
}

/* ≤1024px: sin botón volumen (usuario usa volumen del teléfono); play a la derecha */
@media (max-width: 1024px) {
	.rlp-bar__volume-wrap {
		display: none !important;
	}

	.rlp-drawer__vol-row {
		display: none !important;
	}

	.rlp-bar__main {
		display: flex !important;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		width: 100%;
		min-width: 0;
		gap: clamp(6px, 2vw, 14px);
	}

	.rlp-bar__left {
		flex: 1 1 auto;
		min-width: 0;
		order: 1;
	}

	.rlp-bar__right {
		flex: 0 0 auto;
		order: 2;
		display: flex !important;
		flex-direction: row;
		align-items: center;
		justify-content: flex-end;
		gap: 8px;
	}

	.rlp-bar__center {
		flex: 0 0 auto;
		order: 3;
	}
}
