/* DZ RÁDIO + tela de carregamento */
.carga { position: fixed; inset: 0; z-index: 100; background: radial-gradient(60% 50% at 50% 45%, #1a0b03, #050506 70%); display: grid; place-items: center; transition: opacity .6s ease, visibility .6s; }
.carga.sai { opacity: 0; visibility: hidden; }
.carga-caixa { display: grid; justify-items: center; gap: 14px; }
.carga img { width: 92px; height: 92px; filter: drop-shadow(0 0 26px rgba(255,90,0,.55)); animation: carga-pulso 1.4s ease-in-out infinite; }
.carga-nome { font: 900 26px/1 var(--sans); letter-spacing: .02em; color: #F6EFE6; text-transform: uppercase; }
.carga-nome b { background: linear-gradient(90deg, #FF5A00, #FFB020); -webkit-background-clip: text; background-clip: text; color: transparent; }
.carga-barra { width: 210px; height: 3px; background: rgba(255,255,255,.08); border-radius: 3px; overflow: hidden; }
.carga-barra i { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, #FF5A00, #FFB020); box-shadow: 0 0 12px #FF5A00; animation: carga-anda 1.1s ease-in-out infinite; }
.carga small { font: 600 10px var(--mono); letter-spacing: .35em; color: var(--fraco); }
@keyframes carga-anda { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
@keyframes carga-pulso { 50% { transform: scale(1.05); } }

.radio-horizonte { position: absolute; left: 0; right: 0; bottom: 0; height: 58%; width: 100%; z-index: -1; pointer-events: none; mix-blend-mode: screen; opacity: .8; }

.radio { position: fixed; left: 16px; bottom: 16px; z-index: 60; font-family: var(--sans); color: var(--texto); }
.radio button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.radio-painel { width: 330px; background: rgba(10,8,8,.94); backdrop-filter: blur(10px); border: 1px solid rgba(255,90,0,.35); border-radius: 4px 18px 4px 4px;
  box-shadow: 0 18px 50px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.4), 0 0 30px rgba(255,90,0,.12); padding: 14px 14px 10px; margin-bottom: 10px;
  transform-origin: bottom left; transition: transform .25s ease, opacity .25s ease; }
.radio:not(.aberto) .radio-painel { transform: scale(.92) translateY(10px); opacity: 0; pointer-events: none; position: absolute; bottom: 0; }
.radio.aberto .radio-pilula { display: none; }
.radio-painel header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.radio-marca { font: 700 11px var(--mono); letter-spacing: .32em; color: var(--c2); }
.radio-marca b { color: var(--c); }
.radio-ao-vivo { font: 600 9px var(--mono); letter-spacing: .15em; color: var(--fraco); display: inline-flex; align-items: center; gap: 5px; }
.radio-ao-vivo i { width: 6px; height: 6px; border-radius: 50%; background: #555; }
.radio.tocando .radio-ao-vivo i { background: var(--c); box-shadow: 0 0 8px var(--c); animation: carga-pulso 1s infinite; }
.radio-x { margin-left: auto; width: 26px; height: 26px; border-radius: 6px; color: var(--fraco) !important; }
.radio-x:hover { background: rgba(255,255,255,.06); color: var(--titulo) !important; }
.radio-agora { display: flex; gap: 12px; align-items: center; }
.radio-capa { --h: 20; width: 60px; height: 60px; flex: none; border-radius: 8px; display: grid; place-items: center; position: relative; overflow: hidden;
  background: radial-gradient(circle at 30% 25%, hsl(calc(var(--h) + 30) 100% 62%), transparent 55%), linear-gradient(135deg, hsl(var(--h) 85% 34%), #120806 85%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.radio-capa span { font: 900 26px var(--sans); color: rgba(255,255,255,.88); text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.radio-capa::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px); }
.radio.tocando .radio-capa span { animation: carga-pulso 1.6s ease-in-out infinite; }
.radio-info { min-width: 0; display: grid; gap: 2px; }
.radio-info strong { color: var(--titulo); font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.radio-info small { color: var(--c2); font: 500 11.5px var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.radio-eq { display: block; margin-top: 4px; }
.radio-barra { margin: 12px 0 4px; }
.radio input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 3px; border-radius: 3px; background: rgba(255,255,255,.12); outline: none; cursor: pointer; margin: 0; }
.radio input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: var(--c2); box-shadow: 0 0 10px var(--c); }
.radio input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: var(--c2); box-shadow: 0 0 10px var(--c); }
.radio input[type=range]::-moz-range-progress { background: linear-gradient(90deg, var(--c), var(--c2)); height: 3px; }
.radio-tempos { display: flex; justify-content: space-between; font: 500 10px var(--mono); color: var(--fraco); margin-top: 6px; }
.radio-botoes { display: flex; justify-content: center; align-items: center; gap: 22px; margin: 4px 0 10px; }
.radio-botoes button { font-size: 15px; color: var(--texto) !important; opacity: .85; }
.radio-botoes button:hover { opacity: 1; color: var(--c2) !important; }
.radio-play { width: 48px; height: 44px; border-radius: 4px 12px 4px 4px; background: linear-gradient(135deg, var(--c), var(--c2)) !important; color: #140a03 !important; opacity: 1 !important;
  box-shadow: 0 0 22px rgba(255,90,0,.45); font-size: 15px !important; font-weight: 900; }
.radio .ic-pause, .radio.tocando .ic-play { display: none; }
.radio.tocando .ic-pause { display: inline; letter-spacing: -2px; }
.radio-vol { display: flex; align-items: center; gap: 8px; }
.radio-vol button { font-size: 13px; width: 22px; }
.radio-vol input[type=range] { flex: 1; }
.radio-sfx { font: 600 10px var(--mono); color: var(--fraco); display: inline-flex; align-items: center; gap: 4px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.radio-sfx input { accent-color: var(--c); margin: 0; }
.radio-lista { list-style: none; margin: 10px 0 0; padding: 8px 0 0; border-top: 1px solid rgba(255,255,255,.07); max-height: 196px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,90,0,.4) transparent; }
.radio-lista li { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; align-items: center; padding: 6px 6px; border-radius: 5px; cursor: pointer; font-size: 12px; color: var(--fraco); }
.radio-lista li:hover { background: rgba(255,255,255,.04); color: var(--texto); }
.radio-lista li.atual { background: rgba(255,90,0,.12); color: var(--titulo); }
.radio-lista li.atual .n { color: var(--c); }
.radio-lista .n, .radio-lista .d { font: 500 10px var(--mono); }
.radio-lista .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.radio-lista .t b { color: var(--texto); font-weight: 600; }
.radio-lista li.atual .t b { color: var(--titulo); }
.radio-credito { margin: 6px 0 0; font-size: 10px; color: var(--fraco); opacity: .75; }
.radio-credito a { color: var(--fraco); text-decoration: underline; }
.radio-pilula { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px 0 6px; max-width: 300px; background: rgba(10,8,8,.94) !important;
  backdrop-filter: blur(10px); border: 1px solid rgba(255,90,0,.38) !important; border-radius: 4px 14px 4px 4px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.radio-pilula:hover { border-color: var(--c) !important; }
.radio-pp { width: 30px; height: 30px; border-radius: 4px 9px 4px 4px; display: grid; place-items: center; background: linear-gradient(135deg, var(--c), var(--c2)); color: #140a03; font-size: 11px; font-weight: 900; }
.radio-pnome { font: 600 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--titulo); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.radio-abrir { color: var(--c2); font-size: 14px; }
@media (max-width: 640px) {
  .radio { left: 10px; bottom: 10px; right: 10px; }
  .radio-painel { width: auto; }
  .radio-lista { max-height: 150px; }
  .radio-pnome { max-width: 46vw; }
}
@media (prefers-reduced-motion: reduce) { .radio *, .carga * { animation: none !important; } }
