/* Horda em 7 dias: o rádio da cidade e do Brasil (radio.js) */
#c-radio { flex: none; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--borda);
  background: rgba(11, 17, 32, 0.85); color: var(--texto); font-size: 20px; line-height: 1; cursor: pointer; }
#b-radio { font-weight: 800; }

#radio { position: fixed; inset: 0; z-index: 25; display: flex; align-items: flex-end; justify-content: center;
  background: rgba(5, 8, 16, 0.45); }
#radio.some { display: none; }
.rd-caixa { position: relative; width: 100%; max-width: 560px; height: min(78vh, 680px); display: flex; flex-direction: column;
  background: var(--painel); border: 1px solid var(--borda); border-bottom: 0; border-radius: 18px 18px 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5); padding-bottom: env(safe-area-inset-bottom); }
@media (min-width: 900px) {
  #radio { justify-content: flex-end; align-items: stretch; background: transparent; pointer-events: none; }
  .rd-caixa { pointer-events: auto; width: 400px; height: auto; margin: 12px; border-radius: 18px; border-bottom: 1px solid var(--borda); }
}

.rd-topo { flex: none; display: flex; align-items: center; gap: 8px; padding: 12px 12px 8px; border-bottom: 1px solid var(--borda); }
.rd-abas { flex: 1; display: flex; gap: 6px; min-width: 0; }
.rd-abas button { flex: 1; min-width: 0; padding: 9px 10px; border-radius: 12px; border: 1px solid var(--borda); background: rgba(255, 255, 255, 0.05);
  color: var(--apagado); font: 800 14px var(--fonte); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.rd-abas button.on { background: var(--luz); border-color: var(--luz); color: #1a1405; }
.rd-abas button:disabled { opacity: 0.4; cursor: default; }
.rd-vivo { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #59607a; }
.rd-vivo.on { background: #3ddc84; box-shadow: 0 0 8px #3ddc84; }
.rd-mais, .rd-fechar { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.08);
  color: var(--texto); font: 900 18px var(--fonte); cursor: pointer; }
.rd-menu { position: absolute; z-index: 2; top: 56px; right: 12px; display: flex; flex-direction: column; min-width: 230px;
  background: #121a2e; border: 1px solid var(--borda); border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); }
.rd-menu.some { display: none; }
.rd-menu a, .rd-menu button { padding: 12px 14px; text-align: left; background: none; border: 0; color: var(--texto); font: 600 14px var(--fonte);
  text-decoration: none; cursor: pointer; }
.rd-menu > * + * { border-top: 1px solid var(--borda); }

.rd-lista { flex: 1; overflow-y: auto; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; overscroll-behavior: contain; }
.rd-vazio { margin: auto; text-align: center; color: var(--apagado); font-size: 14px; line-height: 1.5; padding: 20px; }
.rd-msg { position: relative; align-self: flex-start; max-width: 92%; padding: 8px 12px 8px; border-radius: 14px 14px 14px 4px;
  background: rgba(255, 255, 255, 0.07); font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.rd-msg time { margin-left: 8px; font-size: 11px; color: var(--apagado); white-space: nowrap; }
.rd-msg.rd-meu { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: rgba(255, 211, 107, 0.16); }
.rd-tocavel { cursor: pointer; }
.rd-at { color: var(--luz); font-weight: 800; }
.rd-emoji { font-size: 26px; vertical-align: middle; }
.rd-noticia { align-self: stretch; max-width: none; display: flex; gap: 8px; align-items: flex-start; border-radius: 12px;
  background: rgba(158, 197, 255, 0.08); border: 1px solid rgba(158, 197, 255, 0.18); font-size: 14px; }
.rd-noticia .rd-ic { flex: none; font-size: 18px; line-height: 1.2; }
.rd-noticia > span:nth-child(2) { flex: 1; }
.rd-acoes { align-self: flex-start; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 2px 0 6px 6px; }
.rd-acoes span { font-size: 13px; color: var(--apagado); }
.rd-acoes button { padding: 7px 11px; border-radius: 999px; border: 1px solid var(--borda); background: rgba(255, 255, 255, 0.08);
  color: var(--texto); font: 700 13px var(--fonte); cursor: pointer; }
.rd-acoes .rd-denunciar { color: #ff8a8d; border-color: rgba(255, 138, 141, 0.35); }

.rd-aviso { flex: none; margin: 0 12px 8px; padding: 10px 12px; border-radius: 12px; background: rgba(229, 56, 59, 0.16);
  border: 1px solid rgba(229, 56, 59, 0.35); font-size: 13.5px; line-height: 1.4; }
.rd-aviso.some { display: none; }

.rd-baixo { flex: none; border-top: 1px solid var(--borda); padding: 8px 10px 10px; }
.rd-baixo:empty { display: none; }
.rd-dica { margin: 4px 2px; font-size: 13.5px; line-height: 1.45; color: var(--apagado); }
.rd-emojis { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.rd-emojis button { flex: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--borda); background: rgba(255, 255, 255, 0.06);
  font-size: 20px; cursor: pointer; }
.rd-frases { display: flex; flex-wrap: wrap; gap: 6px; max-height: 118px; overflow-y: auto; }
.rd-frases button { padding: 8px 11px; border-radius: 999px; border: 1px solid var(--borda); background: rgba(255, 255, 255, 0.08);
  color: var(--texto); font: 700 13.5px var(--fonte); cursor: pointer; }
.rd-emojis button:disabled, .rd-frases button:disabled { opacity: 0.35; cursor: default; }

.rd-ligar { margin: auto 0; padding: 6px 4px; }
.rd-ligar h3 { margin: 0 0 8px; font-size: 20px; }
.rd-ligar p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.5; color: var(--texto); }
.rd-ligar .rd-pais { margin-top: 14px; font-size: 13px; color: var(--apagado); }
.rd-ligar a { color: var(--luz); }
