/* Rádio Foobá · player do site. Herda a fonte e a cor do texto do tema; o destaque usa --rf-destaque. */
.rf-player {
	--rf-destaque: #e8590c;
	--rf-fundo: rgba(127, 127, 127, .1);
	--rf-borda: rgba(127, 127, 127, .25);
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-areas: "play info" "pe pe";
	gap: 12px 16px;
	align-items: center;
	padding: 16px;
	border: 1px solid var(--rf-borda);
	border-radius: 14px;
	background: var(--rf-fundo);
	max-width: 560px;
	margin: 1em 0;
	position: relative;
	overflow: hidden;
}
.rf-player.is-embutido { --rf-fundo: #161616; --rf-borda: #2a2a2a; color: #fff; }
.rf-player-carregando { margin: 0; opacity: .7; }
.rf-player-foto { grid-area: 1 / 1 / 3 / 3; background: center / cover no-repeat; opacity: .14; pointer-events: none; }
.rf-player.tem-capa { grid-template-columns: auto auto 1fr; grid-template-areas: "capa play info" "pe pe pe"; }
.rf-player-capa { grid-area: capa; width: 72px; height: 72px; object-fit: cover; border-radius: 8px; position: relative; display: block; }
.rf-player-capa[hidden] { display: none; }
@media (max-width: 420px) { .rf-player-capa { width: 56px; height: 56px; } }
.rf-player-play {
	grid-area: play;
	position: relative;
	width: 56px; height: 56px;
	border-radius: 50%;
	border: 0;
	background: var(--rf-destaque);
	color: #fff;
	cursor: pointer;
	display: grid; place-items: center;
	transition: transform .15s;
}
.rf-player-play:hover:not(:disabled) { transform: scale(1.05); }
.rf-player-play:disabled { opacity: .4; cursor: default; }
.rf-player-play:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.rf-player-ico { width: 0; height: 0; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.rf-player-play.is-tocando .rf-player-ico { width: 16px; height: 18px; border: 0; margin: 0; background: linear-gradient(90deg, #fff 0 5px, transparent 5px 11px, #fff 11px 16px); }
.rf-player-play.is-carregando::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--rf-destaque); animation: rf-girar 1s linear infinite; }
@keyframes rf-girar { to { transform: rotate(360deg); } }
.rf-player-info { grid-area: info; min-width: 0; position: relative; }
.rf-player-info p { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rf-player-selo { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.rf-player-selo::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2f9e44; }
.rf-player-selo.is-ao-vivo { color: #e03131; opacity: 1; }
.rf-player-selo.is-ao-vivo::before { background: #e03131; animation: rf-pulsar 1.4s ease-in-out infinite; }
.rf-player-selo.is-fora::before { background: #868e96; }
@keyframes rf-pulsar { 50% { opacity: .3; } }
.rf-player-programa { font-weight: 700; font-size: 1.05em; }
.rf-player-musica { opacity: .85; font-size: .95em; }
.rf-player-proximo { font-size: .85em; opacity: .7; margin-top: 4px !important; }
.rf-player-proximo.is-perto { opacity: 1; color: var(--rf-destaque); font-weight: 600; }
.rf-player-pe { grid-area: pe; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .85em; position: relative; }
.rf-player-ouvintes { opacity: .7; }
.rf-player-share { background: none; border: 1px solid var(--rf-borda); color: inherit; border-radius: 999px; padding: 4px 12px; cursor: pointer; font: inherit; }
.rf-player-share:hover { border-color: currentColor; }
@media (prefers-reduced-motion: reduce) { .rf-player-play.is-carregando::after, .rf-player-selo.is-ao-vivo::before { animation: none; } }

/* pedidos com votos ([radio_pedido]) e mais tocadas */
.rf-votacao { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 6px; }
.rf-votacao li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid rgba(127, 127, 127, .25); border-radius: 10px; }
.rf-votacao-musica { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rf-votacao-btn { border: 1px solid rgba(127, 127, 127, .4); background: none; color: inherit; border-radius: 999px; padding: 3px 10px; cursor: pointer; font: inherit; white-space: nowrap; }
.rf-votacao-btn[disabled] { opacity: .6; cursor: default; }
.rf-votacao-btn.is-votado { border-color: #e8590c; color: #e8590c; }
.rf-mais-tocadas li span { opacity: .75; }
