:root {
  --fundo: #f2f2f4;
  --painel: #ffffff;
  --painel-2: #f6f6f8;
  --borda: #e3e3e8;
  --texto: #1d1d1f;
  --texto-2: #6b6b74;
  --vermelho: #d0101a;
  --vermelho-escuro: #a80d15;
  --amarelo: #f9e20e;
  --ambar: #c26a00;
  --escuro: #17171a;
  --raio: 8px;
  --altura-player: 76px;
  --largura: 1140px;
  color-scheme: light;
}

* { box-sizing: border-box; }

/* Modo claro (padrão) e escuro: o botão do topo troca; o fundo é o desenho do mapa do Piauí com a
   placa de Angical (imagens/fundo-claro.svg e fundo-escuro.svg, gerados por gerar-catalogo.js) */
:root[data-tema="claro"], :root:not([data-tema]) {
  --fundo: #d8dadd;
  --painel: rgba(255, 255, 255, .9);
  --painel-2: rgba(244, 244, 247, .92);
  --topo: #ffffff;
  --desenho: url(imagens/fundo-claro.svg);
}
:root[data-tema="escuro"] {
  --fundo: #2b2c30;
  --painel: rgba(32, 33, 37, .9);
  --painel-2: rgba(42, 43, 48, .92);
  --borda: #3c3d44;
  --texto: #f1f1f3;
  --texto-2: #a9aab3;
  --topo: #1c1d20;
  --desenho: url(imagens/fundo-escuro.svg);
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
/* o desenho fica parado atrás de tudo (camada fixa: funciona também no celular) */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: var(--desenho) center bottom / cover no-repeat, var(--fundo);
}
.botao-tema {
  width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--borda);
  background: var(--painel-2); color: var(--texto); cursor: pointer; display: grid; place-items: center;
}
.botao-tema:hover { border-color: var(--vermelho); color: var(--vermelho); }
.botao-tema svg { width: 20px; height: 20px; }
:root[data-tema="escuro"] .icone-lua, :root:not([data-tema="escuro"]) .icone-sol { display: none; }
:root[data-tema="escuro"] .secao.escuro { color: var(--texto); }
:root[data-tema="escuro"] .rodape { background: #141416; }
:root[data-tema="escuro"] .curtir:hover, :root[data-tema="escuro"] .curtir.grande.curtido,
:root[data-tema="escuro"] .faixa:hover { background: #ff2a2a1f; }
:root[data-tema="escuro"] .cabecalho-cd { background: linear-gradient(120deg, #3a1418, var(--painel-2) 70%); }
body.com-player { padding-bottom: var(--altura-player); }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; fill: currentColor; display: block; }

/* ---- Topo ---- */
.topo { background: var(--topo, var(--painel)); border-bottom: 1px solid var(--borda); }
.topo-dentro {
  max-width: var(--largura); margin: 0 auto; padding: 8px 20px;
  display: flex; align-items: center; gap: 24px;
}
.logo { height: 58px; width: auto; display: block; }
.busca { flex: 1; max-width: 520px; position: relative; }
.busca input {
  width: 100%; padding: 10px 44px 10px 18px; border-radius: 999px; font: inherit;
  border: 1px solid #cfcfd6; background: var(--painel); color: var(--texto);
}
.busca input:focus { outline: 2px solid var(--vermelho); outline-offset: 1px; border-color: transparent; }
.busca button {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  border: 0; background: none; color: var(--texto-2); font-size: 20px; padding: 6px; cursor: pointer;
}
.radio-mini {
  margin-left: auto; display: flex; align-items: center; gap: 8px; max-width: 260px; min-width: 0;
  padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--escuro); color: #fff;
}
.radio-mini-play {
  width: 30px; height: 30px; border-radius: 50%; border: 0; flex: none; cursor: pointer;
  display: grid; place-items: center; background: var(--vermelho); color: #fff; font-size: 16px;
}
.radio-mini-play:hover { background: var(--vermelho-escuro); }
.radio-mini-vol { position: relative; flex: none; }
.radio-mini-som {
  width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff;
  display: grid; place-items: center; cursor: pointer;
}
.radio-mini-som:hover, .radio-mini-som[aria-expanded="true"] { background: rgba(255, 255, 255, .22); }
.radio-mini-som svg { width: 17px; height: 17px; }
.vol-pop {
  position: absolute; top: calc(100% + 12px); right: -10px; z-index: 30; width: 200px;
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px;
  background: var(--escuro); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); font-size: 12px; font-weight: 700;
}
.vol-pop[hidden] { display: none; }
.vol-pop::before {      /* setinha apontando para o botão */
  content: ''; position: absolute; top: -6px; right: 18px; width: 12px; height: 12px;
  background: var(--escuro); transform: rotate(45deg);
}
.vol-pop span { width: 36px; text-align: right; font-variant-numeric: tabular-nums; }
#radio-vol {
  flex: 1; height: 6px; border-radius: 99px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background: linear-gradient(90deg, var(--vermelho) var(--nivel, 100%), rgba(255, 255, 255, .2) var(--nivel, 100%));
}
#radio-vol::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 0; }
#radio-vol::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 0; }
.radio-mini-capa { width: 30px; height: 30px; flex: none; border-radius: 6px; overflow: hidden; }
.radio-mini-capa:empty { display: none; }
.radio-mini-capa .capa { width: 100%; height: 100%; border-radius: 0; font-size: 11px; }
.radio-mini-textos { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.radio-mini-nome {
  display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 11px;
  text-transform: uppercase; letter-spacing: .05em;
}
.radio-mini-nome .ponto-vivo { width: 7px; height: 7px; }
#radio-mini-agora { font-size: 11px; color: #b9b9c2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ponto-vivo {
  width: 9px; height: 9px; border-radius: 50%; background: #ff2a2a; flex: none;
  box-shadow: 0 0 0 0 rgba(255, 42, 42, .7); animation: pulso 1.6s infinite;
}
@keyframes pulso {
  70% { box-shadow: 0 0 0 8px rgba(255, 42, 42, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 42, 42, 0); }
}
@media (prefers-reduced-motion: reduce) { .ponto-vivo { animation: none; } }

/* ---- Menu ---- */
.menu { background: var(--vermelho); position: sticky; top: 0; z-index: 10; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.menu-dentro {
  max-width: var(--largura); margin: 0 auto; padding: 0 12px;
  display: flex; justify-content: center; overflow-x: auto; scrollbar-width: none;
}
.menu-dentro::-webkit-scrollbar { display: none; }
.menu a {
  padding: 13px 18px; color: #fff; font-weight: 700; font-size: 13px; white-space: nowrap;
  text-transform: uppercase; letter-spacing: .04em; border-bottom: 3px solid transparent;
}
.menu a:hover { background: var(--vermelho-escuro); }
.menu a.ativo { border-bottom-color: var(--amarelo); }

/* ---- Conteúdo ---- */
.conteudo {
  max-width: var(--largura); margin: 0 auto; padding: 24px 20px 40px; min-height: 60vh;
  background: var(--vidro);       /* meio transparente: o desenho do fundo aparece por trás */
}
:root[data-tema="claro"], :root:not([data-tema]) { --vidro: rgba(240, 241, 244, .5); }
:root[data-tema="escuro"] { --vidro: rgba(30, 31, 35, .45); }
/* no celular o conteúdo ocupa a tela toda: o desenho fica mais suave para não atrapalhar a leitura */
@media (max-width: 760px) {
  :root[data-tema="claro"], :root:not([data-tema]) { --vidro: rgba(240, 241, 244, .8); }
  :root[data-tema="escuro"] { --vidro: rgba(30, 31, 35, .78); }
}
h1 { font-size: 28px; line-height: 1.2; margin: 0 0 6px; }
.sub { color: var(--texto-2); margin: 0 0 4px; }
.vazio { color: var(--texto-2); padding: 24px 0; }

.secao {
  margin: 36px 0 16px; padding-bottom: 8px; border-bottom: 2px solid currentColor;
  font-size: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: .01em;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.conteudo > .secao:first-child, .conteudo > .tops:first-child .secao { margin-top: 0; }
.secao.vermelho { color: var(--vermelho); }
.secao.escuro { color: var(--escuro); }
.secao.ambar { color: var(--ambar); }
.secao .ver-todos { font-size: 12px; font-weight: 700; color: var(--texto-2); white-space: nowrap; flex: none; }
.secao .ver-todos:hover { color: var(--texto); }

/* Banner rotativo (logo + patrocinadores) */
.banners {
  position: relative; aspect-ratio: 3 / 1; margin-bottom: 28px;
  border-radius: var(--raio); overflow: hidden; background: var(--escuro);
}
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.slide.ativo { opacity: 1; visibility: visible; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pontos-banner { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 8px; }
.pontos-banner button {
  width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .45); box-shadow: 0 0 3px rgba(0, 0, 0, .5);
}
.pontos-banner button.ativo { background: var(--amarelo); }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }

/* Capas */
.capa {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--raio);
  background: var(--painel-2); display: block;
}
.sem-capa {
  display: grid; place-items: center; font-weight: 800; font-size: 32px; color: rgba(255, 255, 255, .92);
  background: linear-gradient(135deg, hsl(var(--h) 70% 45%), hsl(calc(var(--h) + 50) 70% 25%));
}

/* Cartões e grade */
.grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 22px 18px; }
.cartao { display: flex; flex-direction: column; gap: 2px; min-width: 0; position: relative; }
.cartao .capa { margin-bottom: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); transition: transform .15s; }
.cartao:hover .capa { transform: translateY(-3px); }
.cartao strong, .cartao span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cartao strong { font-size: 14px; }
.cartao span { color: var(--texto-2); font-size: 13px; }
.tipo { font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--vermelho); }
.cartao span.quando {
  position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 999px;
  background: var(--amarelo, #f9e20e); color: #1a1a1a; font-size: 11px; font-weight: 800;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}

/* Carrossel de destaques */
.carrossel { position: relative; }
.carrossel-trilho {
  display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px;
  scrollbar-width: none;
}
.carrossel-trilho::-webkit-scrollbar { display: none; }
.carrossel-trilho > * { scroll-snap-align: start; }
.seta {
  position: absolute; top: 90px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .95); box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
  display: grid; place-items: center; font-size: 22px; cursor: pointer; z-index: 2;
}
.seta[hidden] { display: none; }
.seta.esq { left: -14px; }
.seta.dir { right: -14px; }


/* Tops (listas numeradas) */
/* Top CDs / Top Singles em cartões */
.top-bloco { margin: 30px 0; padding: 16px 16px 10px; border-radius: 12px; background: var(--painel); box-shadow: 0 1px 4px rgba(0, 0, 0, .06); }
.top-cabeca { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; padding-bottom: 10px; border-bottom: 2px solid var(--vermelho); }
.top-cabeca h2 { margin: 0; font-size: 20px; font-weight: 800; text-transform: uppercase; color: var(--vermelho); }
.top-periodos { display: flex; align-items: center; gap: 6px; }
.top-periodos span { color: var(--texto-2); }
.top-periodos button { border: 0; background: none; padding: 2px; cursor: pointer; color: var(--texto-2); font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: .03em; }
.top-periodos button.ativo { color: var(--vermelho); font-size: 17px; font-weight: 800; }
.top-cabeca select {
  padding: 7px 30px 7px 14px; border-radius: 999px; border: 1.5px solid var(--vermelho); color: var(--vermelho);
  background: var(--painel); font: inherit; font-weight: 700; cursor: pointer;
}
.top-cabeca .ver-todos { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--texto-2); }
.top-setas { display: flex; gap: 6px; }
.top-setas button {
  width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--texto-2); background: none; color: var(--texto-2);
  display: grid; place-items: center; cursor: pointer;
}
.top-setas button:hover { border-color: var(--vermelho); color: var(--vermelho); }
.top-trilho, .top-grade { list-style: none; margin: 14px 0 6px; padding: 0; }
.top-trilho { display: grid; grid-auto-flow: column; grid-auto-columns: 168px; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.top-trilho::-webkit-scrollbar { display: none; }
.top-trilho li { scroll-snap-align: start; }
.top-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 22px 18px; }
.top-cartao { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.top-capa { position: relative; width: 100%; }
.top-capa .capa { border-radius: 4px; box-shadow: 0 3px 10px rgba(0, 0, 0, .18); transition: transform .15s; }
.top-cartao:hover .capa { transform: translateY(-3px); }
.top-num {
  position: absolute; top: 0; left: 0; min-width: 38px; height: 38px; padding: 0 6px; display: grid; place-items: center;
  background: var(--vermelho); color: #fff; font-weight: 800; font-size: 20px; border-radius: 4px 0 4px 0;
}
.top-nome {
  margin-top: 4px; font-size: 13px; line-height: 1.35; color: var(--vermelho); font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em;
}
.top-artista { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.top-numeros { font-size: 12px; color: var(--texto-2); font-weight: 700; }
.top-numeros b { color: var(--texto); }
.tops { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.ranking { list-style: none; margin: 0; padding: 0; }
.ranking li { border-bottom: 1px solid var(--borda); }
.ranking a { display: grid; grid-template-columns: 34px 52px 1fr auto; gap: 12px; align-items: center; padding: 8px 4px; }
.ranking a:hover { background: var(--painel-2); }
.ranking .pos { font-size: 22px; font-weight: 800; color: #b9b9c2; text-align: center; }
.ranking li:nth-child(-n+3) .pos { color: var(--vermelho); }
.ranking .capa { width: 52px; height: 52px; font-size: 15px; border-radius: 4px; }
.ranking .textos { min-width: 0; display: flex; flex-direction: column; }
.ranking strong, .ranking .textos span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ranking .textos span { color: var(--texto-2); font-size: 13px; }

/* Estilos musicais */
.estilos { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.estilo {
  height: 92px; border-radius: var(--raio); padding: 14px; color: #fff; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(135deg, hsl(var(--h) 75% 48%), hsl(calc(var(--h) + 40) 75% 30%));
}
.estilo strong { font-size: 18px; text-transform: uppercase; line-height: 1.1; }
.estilo span { font-size: 12px; opacity: .85; }
.estilo:hover { filter: brightness(1.08); }

/* Artistas */
.artistas { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 20px; }
.artista { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; min-width: 0; }
.artista .capa { border-radius: 50%; width: 110px; height: 110px; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); font-size: 28px; }
.artista strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

/* Botões */
.botoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.botao {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 999px;
  border: 1px solid var(--borda); background: var(--painel); cursor: pointer; font-weight: 800;
  text-transform: uppercase; font-size: 13px; letter-spacing: .03em;
}
.botao:hover { border-color: var(--texto-2); }
.botao.principal { background: var(--vermelho); border-color: var(--vermelho); color: #fff; }
.botao.principal:hover { background: var(--vermelho-escuro); }
.botao.amarelo { background: var(--amarelo); border-color: #e6cf00; color: #1d1d1f; }
.botao.amarelo:hover { background: #ffe92e; }
.compartilhar { display: flex; gap: 8px; margin-top: 12px; }
.botao-rede { width: 42px; height: 42px; border-radius: 8px; border: 0; display: inline-grid; place-items: center; color: #fff; cursor: pointer; transition: transform .15s, filter .15s; }
.botao-rede svg { width: 22px; height: 22px; fill: currentColor; }
.botao-rede:hover { transform: translateY(-2px); filter: brightness(1.1); }
.botao-rede.compartilhar-link { background: #ff2d87; }
.botao-rede.whatsapp { background: #25d366; }
.botao-rede.x { background: #000; }
.botao-rede.facebook { background: #1877f2; }

/* Página do CD / artista */
.cabecalho-cd {
  display: grid; grid-template-columns: 240px 1fr; gap: 30px; align-items: end; margin-bottom: 26px;
  padding: 22px; border-radius: var(--raio); background: linear-gradient(120deg, #fbe9ea, var(--painel-2) 70%);
}
.cabecalho-cd .capa { box-shadow: 0 6px 20px rgba(0, 0, 0, .2); }
.cabecalho-cd .sub a { color: var(--vermelho); font-weight: 700; }
.detalhes { color: var(--texto-2); font-size: 14px; }
.descricao { color: #45454c; max-width: 62ch; }

.faixas { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--borda); }
.faixa {
  display: flex; gap: 10px; align-items: center;
  padding: 6px 10px; border-bottom: 1px solid var(--borda);
}
.faixa:nth-child(even) { background: var(--painel-2); }
.faixa:hover { background: #fdeeee; }
/* número -> ▶ ao passar o mouse -> barrinhas animadas na que está tocando */
.faixa .num {
  width: 34px; height: 34px; flex: none; display: grid; place-items: center; border: 0; background: none; cursor: pointer;
  color: var(--texto-2); font-weight: 700; border-radius: 50%; padding: 0;
}
.faixa .num > span { grid-area: 1 / 1; }
.faixa .icone-tocar, .faixa .barras { display: none; }
.faixa .icone-tocar svg { width: 26px; height: 26px; padding: 4px; border: 2px solid var(--vermelho); border-radius: 50%; color: var(--vermelho); }
.faixa:hover .n { display: none; }
.faixa:hover .icone-tocar { display: block; }
.faixa.tocando .n, .faixa.tocando:hover .icone-tocar { display: none; }
.faixa.tocando .barras { display: flex; }
.barras { align-items: flex-end; gap: 2px; height: 14px; }
.barras i { width: 3px; background: var(--vermelho); border-radius: 1px; animation: barra 0.9s ease-in-out infinite; }
.barras i:nth-child(2) { animation-delay: -.3s; } .barras i:nth-child(3) { animation-delay: -.6s; }
@keyframes barra { 0%, 100% { height: 4px; } 50% { height: 14px; } }
body:not(.tocando-agora) .barras i { animation-play-state: paused; }
.faixa .titulo-faixa {
  flex: 1; min-width: 0; background: none; border: 0; padding: 8px 0; text-align: left; cursor: pointer; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: uppercase; font-size: 14px; color: var(--texto);
}
.faixa .titulo-faixa small { display: block; text-transform: none; font-weight: 400; color: var(--texto-2); font-size: 12px; }
.faixa .duracao { color: var(--texto-2); font-size: 13px; font-variant-numeric: tabular-nums; flex: none; }
.faixa.tocando .titulo-faixa { color: var(--vermelho); }
.faixa.destacada { outline: 2px solid var(--amarelo); outline-offset: -2px; }
.faixa-acoes { display: flex; align-items: center; gap: 2px; flex: none; }
.faixa-acoes .botao-icone { width: 34px; height: 34px; color: var(--texto-2); }
.faixa-acoes .botao-icone:hover { color: var(--vermelho); }
/* em computador, coração / ＋ / ⋮ aparecem ao passar o mouse (ou na que está tocando) */
@media (hover: hover) {
  .faixa-acoes .botao-icone, .faixa-acoes .curtir:not(.curtido) { opacity: 0; transition: opacity .15s; }
  .faixa:hover .faixa-acoes > *, .faixa.tocando .faixa-acoes > *, .faixa-acoes > :focus-visible { opacity: 1; }
}
.botao-baixar {
  flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 6px;
  border: 1px solid var(--borda); background: var(--painel); color: var(--texto); font-size: 13px; font-weight: 600;
}
.botao-baixar svg { width: 16px; height: 16px; }
.botao-baixar:hover, .faixa.tocando .botao-baixar { background: var(--vermelho); border-color: var(--vermelho); color: #fff; }
/* menu ⋮ e janela de playlist */
.menu-faixa {
  position: absolute; z-index: 60; min-width: 220px; padding: 6px; border-radius: 10px; background: var(--topo, #fff);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22); border: 1px solid var(--borda);
}
.menu-faixa button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 6px;
  background: none; color: var(--texto); font: inherit; font-size: 14px; text-align: left; cursor: pointer;
}
.menu-faixa button:hover { background: var(--painel-2); }
.menu-faixa svg { width: 18px; height: 18px; color: var(--texto-2); }
.janela-site { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .55); }
.janela-caixa {
  position: relative; width: min(420px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 22px;
  border-radius: 14px; background: var(--topo, #fff); color: var(--texto); display: flex; flex-direction: column; gap: 10px;
}
.janela-caixa h2 { margin: 0; font-size: 20px; }
.janela-sub { margin: 0; color: var(--texto-2); font-size: 13px; }
.janela-fechar { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--painel-2); color: var(--texto); cursor: pointer; }
.janela-lista { display: flex; flex-direction: column; gap: 6px; }
.janela-lista button {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--borda);
  background: var(--painel-2); color: var(--texto); font: inherit; font-weight: 600; cursor: pointer; text-align: left;
}
.janela-lista button:hover { border-color: var(--vermelho); }
.janela-lista span { flex: 1; } .janela-lista small { color: var(--texto-2); }
.janela-lista svg { width: 18px; height: 18px; color: var(--vermelho); }
.janela-nova { display: flex; gap: 8px; }
.janela-nova input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--borda); background: var(--painel-2); color: var(--texto); font: inherit; }
.cartao-nova { border: 0; background: none; cursor: pointer; font: inherit; text-align: left; color: inherit; padding: 0; }
.cartao-nova .capa { font-size: 48px; --h: 0; }
.aviso-rapido {
  position: fixed; left: 50%; bottom: calc(var(--altura-player, 0px) + 18px); transform: translateX(-50%); z-index: 90;
  padding: 10px 16px; border-radius: 10px; background: #1d1d1f; color: #fff; font-weight: 600; font-size: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3); max-width: calc(100vw - 32px);
}
/* botões extras do player */
.player-extras { display: flex; align-items: center; gap: 2px; flex: none; }
.player-extras .botao-icone { width: 34px; height: 34px; color: #a9a9b2; }
.player-extras .botao-icone:hover { color: #fff; }
.player-extras .botao-icone.ativo { color: var(--vermelho); }
.player-extras svg { width: 20px; height: 20px; }

/* Curtidas, plays e visualizações */
.curtir {
  display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; border-radius: 999px;
  border: 0; background: none; color: var(--texto-2); cursor: pointer; font-size: 13px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.curtir svg { font-size: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.curtir:hover { color: var(--vermelho); background: #fdeeee; }
.curtir.curtido { color: var(--vermelho); }
.curtir.curtido svg { fill: currentColor; }
.curtir.grande { padding: 9px 18px; border: 1px solid var(--borda); background: var(--painel); font-size: 14px; }
.curtir.grande.curtido { border-color: var(--vermelho); background: #fdeeee; }
.plays {
  display: inline-flex; align-items: center; gap: 3px; color: var(--texto-2);
  font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.plays svg { font-size: 13px; }
.estatisticas { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 8px 0 0; color: var(--texto-2); font-size: 13px; }
.estatisticas span { display: inline-flex; align-items: center; gap: 5px; }
.estatisticas svg { font-size: 16px; }
.botao-icone {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: none; color: var(--texto-2); cursor: pointer; font-size: 20px;
}
.botao-icone:hover { color: var(--texto); background: rgba(0, 0, 0, .06); }

/* ---- Página da rádio ---- */
.radio {
  border-radius: 12px; overflow: hidden; color: #fff;
  background: radial-gradient(circle at 30% 20%, #4a0f13, var(--escuro) 60%);
}
.radio-topo { display: flex; align-items: center; gap: 14px; padding: 26px 28px 0; flex-wrap: wrap; }
.radio-topo h1 { font-size: 26px; text-transform: uppercase; margin: 0; }
.selo-vivo {
  display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px;
  background: #ff2a2a22; color: #ff6b6b; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
}
.selo-vivo[hidden] { display: none; }
.selo-online {
  display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); color: #e6e6ea; font-size: 12px; font-weight: 700;
}
.selo-online::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #2fd36b; box-shadow: 0 0 0 3px #2fd36b33; }
.selo-online[hidden] { display: none; }
#radio-apoiador { margin-left: auto; }
.cartao-apoiador { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 14px; max-width: 260px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #fff; text-decoration: none; font: inherit; text-align: left; cursor: default; transition: background .15s, transform .15s; }
a.cartao-apoiador, button.cartao-apoiador { cursor: pointer; }
a.cartao-apoiador:hover, button.cartao-apoiador:hover { background: rgba(255, 255, 255, .13); transform: translateY(-1px); }
.apoiador-foto { overflow: hidden; width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 20px; font-weight: 800; color: #fff;
  background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); box-shadow: 0 0 0 2px #1d1d1f, 0 0 0 4px #d62976; }
.convite .apoiador-foto { background: var(--amarelo); box-shadow: none; }
.apoiador-textos { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.apoiador-textos b, .apoiador-info { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apoiador-rotulo { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--amarelo); }
.apoiador-info { font-size: 12px; color: #b5b5bd; }
.radio .botoes { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.radio .curtir.grande { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.radio .curtir.grande:hover, .radio .curtir.grande.curtido { background: #ff2a2a26; border-color: #ff6b6b; color: #ff6b6b; }
.radio-agora { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; padding: 24px 28px 28px; }
.radio-agora .capa { box-shadow: 0 8px 24px rgba(0, 0, 0, .5); }
.radio-agora .rotulo { color: var(--amarelo); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.radio-agora h2 { font-size: 26px; margin: 4px 0 2px; line-height: 1.2; }
.radio-agora .artista-radio { color: #d6d6dc; }
.radio-agora .artista-radio a { color: #fff; font-weight: 700; }
.barra-radio { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .15); margin: 16px 0 6px; overflow: hidden; }
.barra-radio div { height: 100%; background: var(--amarelo); width: 0; }
.tempo-radio { font-size: 12px; color: #b5b5bd; display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.a-seguir { background: rgba(0, 0, 0, .25); padding: 18px 28px 22px; }
.a-seguir h3 { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #b5b5bd; }
.a-seguir ol { list-style: none; margin: 0; padding: 0; }
.a-seguir li { display: grid; grid-template-columns: 54px 1fr; gap: 12px; padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.credito { opacity: .5; font-weight: 400; }
.a-seguir .hora { color: var(--amarelo); font-weight: 700; font-variant-numeric: tabular-nums; }
.a-seguir li span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- Tela de entrada (quando o navegador bloqueia o som automático) ---- */
.entrada {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px;
  background: radial-gradient(circle at 50% 35%, rgba(90, 10, 16, .92), rgba(12, 12, 14, .96) 70%);
  backdrop-filter: blur(6px);
}
.entrada[hidden] { display: none; }
.entrada-caixa {
  width: 100%; max-width: 520px; text-align: center; color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.entrada-caixa img { width: 100%; max-width: 440px; height: auto; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .6)); }
.entrada-vivo {
  display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 0;
  font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--amarelo);
}
.entrada-agora { margin: 0 0 10px; color: #d6d6dc; font-size: 15px; min-height: 1.5em; }
.entrada-botao { font-size: 17px; padding: 16px 34px; box-shadow: 0 8px 24px rgba(208, 16, 26, .45); }
.entrada-botao svg { font-size: 24px; }
.entrada-sem-som {
  margin-top: 6px; border: 0; background: none; color: #a9a9b2; cursor: pointer;
  font-size: 14px; text-decoration: underline; padding: 8px;
}
.entrada-sem-som:hover { color: #fff; }
body.com-entrada { overflow: hidden; }

/* ---- Player fixo ---- */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; flex-direction: column; background: #1b1d22; color: #f2f2f3; border-top: 3px solid var(--vermelho);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .35);
}
.player[hidden] { display: none; }
#p-capa, #p-titulo { cursor: pointer; }

/* Tocando agora em tela cheia */
.tela-player { position: fixed; inset: 0; z-index: 60; background: #121214; color: #fff; overflow: hidden; }
.tela-player[hidden] { display: none; }
body.com-tela-player { overflow: hidden; }
.tp-fundo { position: absolute; inset: -40px; filter: blur(40px) brightness(.45) saturate(1.3); }
.tp-fundo .capa { width: 100%; height: 100%; border-radius: 0; }
.tp-conteudo { position: relative; height: 100%; max-width: 480px; margin: 0 auto; padding: 14px 22px 22px;
  display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.tp-topo { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em; color: #e6e6ea; }
.tp-icone { width: 44px; height: 44px; border: 0; background: none; color: #fff; display: grid; place-items: center;
  border-radius: 50%; cursor: pointer; flex: none; }
.tp-icone svg { width: 26px; height: 26px; fill: currentColor; }
.tp-icone:hover { background: rgba(255, 255, 255, .12); }
.tp-icone.ativo { color: var(--amarelo); }
.tp-icone.tp-grande svg { width: 38px; height: 38px; }
.tp-capa { width: 100%; max-width: 380px; margin: 4px auto 0; aspect-ratio: 1; }
.tp-capa .capa { width: 100%; height: 100%; border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, .55); font-size: 48px; }
.tp-info { display: flex; align-items: center; gap: 8px; }
.tp-textos { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tp-textos strong { font-size: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-textos a { color: #d6d6dc; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-info .curtir { background: none; border-color: rgba(255, 255, 255, .3); color: #fff; }
#tp-barra { width: 100%; accent-color: var(--amarelo); }
.tp-tempos { display: flex; justify-content: space-between; font-size: 12px; color: #c9c9d0; margin-top: -10px;
  font-variant-numeric: tabular-nums; }
.tp-controles { display: flex; align-items: center; justify-content: space-between; }
.tp-play { width: 72px; height: 72px; border-radius: 50%; border: 0; background: #fff; color: #121214;
  display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .4); }
.tp-play svg { width: 34px; height: 34px; fill: currentColor; }
.tp-redes .compartilhar { justify-content: center; gap: 14px; margin: 4px 0 0; padding: 12px;
  background: rgba(0, 0, 0, .3); border-radius: 16px; }
.player-barra {
  display: flex; align-items: center; gap: 14px; width: 100%; max-width: 1400px; margin: 0 auto; padding: 8px 20px;
}
.player-barra > #p-capa .capa { width: 46px; height: 46px; font-size: 15px; border-radius: 4px; }
.player-hora { font-size: 12px; color: #a9a9b2; font-variant-numeric: tabular-nums; flex: none; }
.player-meio { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.player-meio input { width: 100%; }
.player-textos { display: flex; justify-content: center; gap: 4px; min-width: 0; font-size: 13px; color: #c9c9d0; }
.player-textos strong { font-weight: 600; }
.player-textos strong, .player-textos a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-textos a { color: #a9a9b2; }
.player-traco { color: #6b6b74; }
.player-botoes { display: flex; align-items: center; gap: 6px; flex: none; }
/* a fila com as músicas do CD, em cartões */
.player-fila { position: relative; width: 100%; background: #14161a; padding: 10px 20px 12px; }
.player-fila[hidden] { display: none; }
.player-fila-trilho {
  list-style: none; margin: 0 auto; padding: 0; max-width: 1400px; display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 290px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.player-fila-trilho::-webkit-scrollbar { display: none; }
.player-fila-trilho li { scroll-snap-align: start; }
.fila-cartao {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 6px; border: 0; text-align: left;
  background: #262a31; color: #f2f2f3; cursor: pointer; font: inherit;
}
.fila-cartao:hover { background: #30353e; }
.fila-cartao.tocando { background: var(--vermelho); }
.fila-cartao .capa { width: 64px; height: 64px; flex: none; font-size: 15px; border-radius: 4px; }
.fila-textos { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fila-textos strong, .fila-textos span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fila-textos strong { font-size: 13px; }
.fila-textos span { font-size: 12px; color: #c9c9d0; }
.fila-textos small { font-size: 11px; color: #8d8f97; }
.fila-cartao.tocando .fila-textos span, .fila-cartao.tocando .fila-textos small { color: #ffe3e4; }
.player-fila-seta {
  position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: rgba(0, 0, 0, .55); color: #fff; display: grid; place-items: center; cursor: pointer;
}
.player-fila-seta.esq { left: 6px; } .player-fila-seta.dir { right: 6px; }
.player-fila-seta[hidden] { display: none; }
.player .botao-icone { color: #c9c9d0; }
.player .botao-icone:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.player.modo-radio #p-ant, .player.modo-radio #p-prox { display: none; }
.botao-play {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: #fff; color: #000; cursor: pointer; font-size: 22px;
}
.player-volume { display: flex; align-items: center; gap: 6px; flex: none; color: #c9c9d0; }
.player-volume svg { width: 20px; height: 20px; }
.player-volume input { width: 100px; }
input[type=range] { accent-color: var(--vermelho); }

/* ---- Rodapé ---- */
.rodape { background: var(--escuro); color: #b5b5bd; }
.rodape-dentro {
  max-width: var(--largura); margin: 0 auto; padding: 28px 20px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px 32px; font-size: 13px;
}
.rodape img { height: 56px; width: auto; }
.rodape p { justify-self: end; text-align: right; }
.rodape-redes { display: flex; justify-content: center; gap: 22px; }
.rodape-redes:empty { display: none; }
.rodape-redes a { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #d6d6dc; font-size: 11px; font-weight: 700; }
.rodape-redes a:hover { color: #fff; }
.rede-icone {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35); transition: transform .15s, box-shadow .15s;
}
.rodape-redes a:hover .rede-icone { transform: translateY(-3px) scale(1.06); box-shadow: 0 8px 20px rgba(0, 0, 0, .45); }
.youtube .rede-icone { background: #ff0000; }
.instagram .rede-icone { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.email .rede-icone { background: #fff; }
.rede-icone svg { width: 24px; height: 24px; fill: currentColor; }
.email .rede-icone svg { width: 26px; height: 26px; }
.rodape p { margin: 0 0 0 auto; }

/* ---- Apoie: faixa do último apoio, janela e página de obrigado ---- */
.faixa-apoio { background: linear-gradient(90deg, #f9e20e, #ffd000); color: #1a1a1a; }
.faixa-apoio[hidden] { display: none; }
.faixa-apoio-dentro {
  max-width: var(--largura); margin: 0 auto; padding: 6px 20px; min-height: 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px;
}
.faixa-apoio-texto { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.faixa-apoio-texto a { font-weight: 700; text-decoration: underline; }
.faixa-apoio-quando { color: #5a4d00; }
.botao-apoie {
  flex: none; border: 0; border-radius: 999px; padding: 6px 16px; cursor: pointer;
  background: #1a1a1a; color: #fff; font-weight: 800; font-size: 13px;
}
.botao-apoie:hover { background: var(--vermelho); }
.apoio-fundo {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px;
  background: rgba(0, 0, 0, .6); backdrop-filter: blur(3px);
}
.apoio-fundo[hidden] { display: none; }
.apoio-caixa {
  position: relative; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 16px;
  background: var(--topo, #fff); color: var(--texto); box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}
.apoio-caixa h2 { margin: 0; font-size: 22px; }
.apoio-sub, .apoio-nota { margin: 0; color: var(--texto-2); font-size: 13px; }
.apoio-nota { text-align: center; }
.apoio-foto { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.apoio-foto-previa { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  background: var(--fundo-2, rgba(127, 127, 127, .15)); font-size: 20px; }
.apoio-foto-previa img, .apoiador-foto img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.apoio-foto-textos { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.apoio-foto-textos span { color: var(--texto-2); font-size: 12px; }
.apoio-foto-botao { border: 1px solid var(--borda, rgba(127, 127, 127, .4)); background: transparent; color: inherit; border-radius: 8px;
  padding: 7px 12px; font: inherit; font-weight: 700; cursor: pointer; }
.apoio-caixa label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 700; }
.apoio-caixa input {
  font: inherit; font-weight: 400; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--borda);
  background: var(--painel-2); color: var(--texto);
}
.apoio-caixa input:focus { outline: 2px solid var(--vermelho); outline-offset: 1px; }
.apoio-fechar {
  position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; border: 0;
  background: var(--painel-2); color: var(--texto); cursor: pointer; font-size: 15px;
}
.apoio-valores { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.apoio-valores button {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--borda); background: var(--painel-2);
  color: var(--texto); font-weight: 800; cursor: pointer;
}
.apoio-valores button.ativo { background: var(--amarelo); border-color: #d6b800; color: #1a1a1a; }
.apoio-caixa .apoio-outro { flex-direction: row; align-items: center; gap: 6px; font-weight: 700; }
.apoio-outro input { width: 80px; padding: 7px 10px; }
.apoio-erro { margin: 0; color: var(--vermelho); font-weight: 700; font-size: 13px; }
.apoio-pagar { justify-content: center; font-size: 16px; padding: 12px; }
.obrigado { text-align: center; padding: 50px 10px; }
.obrigado-icone { font-size: 64px; }
.obrigado-icone.carregando { animation: ab-pulso-icone 1.4s ease-in-out infinite; }
@keyframes ab-pulso-icone { 50% { transform: scale(.85); opacity: .6; } }
.obrigado-botoes { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.obrigado-botoes[hidden] { display: none; }

/* ---- Abertura animada (uma vez por visita; "Pular" ou clique encerra) ---- */
.abertura {
  position: fixed; inset: 0; z-index: 100; background: #1c1d21; overflow: hidden; cursor: pointer;
  transition: opacity .45s;
}
.abertura[hidden] { display: none; }
.abertura.saindo { opacity: 0; }
.ab-cena { position: absolute; inset: 0; width: 100%; height: 100%; }
.ab-cena g { transform-box: view-box; transform-origin: 0 0; }
.ab-estrada { animation: ab-some .5s 2.9s both; }
.ab-faixas { animation: ab-faixas .45s linear infinite; }
.ab-placa { animation: ab-placa 3.2s cubic-bezier(.5, 0, .9, .6) both; }
.ab-carro { animation: ab-carro 3.2s ease-in both; }
.ab-mapa { animation: ab-aparece .5s 2.9s both; }
.ab-zoom { animation: ab-zoom 2.2s 3.1s ease-in-out both; }
.ab-pulso { transform-box: fill-box !important; transform-origin: center !important; animation: ab-pulso 1s ease-out infinite; }
.ab-logo {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 20px; text-align: center; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(10, 10, 12, .75), rgba(10, 10, 12, .2) 60%, transparent 80%);
  animation: ab-logo .7s 4.7s both;
}
.ab-logo img { width: min(560px, 86vw); height: auto; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .7)); }
.ab-pular {
  position: absolute; right: 16px; bottom: 16px; padding: 8px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .35); color: #fff; font-weight: 700;
}
@keyframes ab-some { to { opacity: 0; } }
@keyframes ab-aparece { from { opacity: 0; } to { opacity: 1; } }
@keyframes ab-faixas { to { stroke-dashoffset: -60; } }
/* a placa fica do lado de lá da saída e vem chegando */
@keyframes ab-placa {
  0% { transform: translate(830px, 562px) scale(.05); }
  75% { transform: translate(1270px, 580px) scale(.72); }
  100% { transform: translate(1750px, 560px) scale(1.5); }
}
/* o Uno segue na estrada e pega a primeira saída, à direita */
@keyframes ab-carro {
  0% { transform: translate(800px, 870px) scale(1); }
  55% { transform: translate(805px, 845px) scale(.95); }
  80% { transform: translate(1040px, 735px) scale(.6) rotate(-3deg); }
  100% { transform: translate(1400px, 630px) scale(.32) rotate(-4deg); }
}
@keyframes ab-zoom { from { transform: scale(1.4); } to { transform: scale(5.5); } }
@keyframes ab-pulso { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
@keyframes ab-logo { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
.ab-rotulo { animation: ab-some .4s 4.6s both; }
/* celular em pé: a cena é cortada dos lados, então a placa para mais perto da estrada */
@media (max-aspect-ratio: 1/1) {
  .ab-cena .ab-estrada { transform: translateX(-150px); }      /* mostra a saída da direita */
  .ab-placa { animation-name: ab-placa-estreito; }
  @keyframes ab-placa-estreito {
    0% { transform: translate(815px, 562px) scale(.05); }
    75% { transform: translate(1075px, 596px) scale(.44); }
    100% { transform: translate(1260px, 600px) scale(.8); }
  }
}
@media (prefers-reduced-motion: reduce) { .abertura { display: none; } }

/* ---- Celular ---- */
@media (max-width: 760px) {
  .topo-dentro { flex-wrap: wrap; gap: 10px 12px; padding: 8px 14px 12px; }
  .logo { height: 48px; }
  .busca { order: 3; max-width: none; flex-basis: 100%; }
  .radio-mini { max-width: 168px; gap: 6px; padding-right: 6px; }
  .faixa-apoio-dentro { padding: 6px 14px; font-size: 13px; }
  .topo-dentro { column-gap: 8px; }
  .radio-mini-capa { display: none; }
  .botao-tema { width: 34px; height: 34px; }
  .botao-tema svg { width: 17px; height: 17px; }
  .menu-dentro { justify-content: flex-start; padding: 0 24px 0 0; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .menu a { padding: 12px 14px; }
  .conteudo { padding: 16px 16px 32px; }
  .grade { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
  .carrossel-trilho { grid-auto-columns: 46%; }
  .seta { display: none; }
  .tops { grid-template-columns: 1fr; }
  .cabecalho-cd { grid-template-columns: 1fr; padding: 16px; }
  .cabecalho-cd .capa { max-width: 220px; margin: 0 auto; }
  h1 { font-size: 23px; }
  .secao { font-size: 15px; gap: 10px; }
  .secao .ver-todos { font-size: 11px; }
  .faixa { padding: 4px 4px; gap: 4px; }
  .faixa .plays, .faixa .duracao { display: none; }
  .faixa .num { width: 28px; }
  .faixa .titulo-faixa { font-size: 13px; }
  .faixa-acoes .botao-icone { width: 30px; }
  .botao-baixar { padding: 6px 8px; }
  .botao-baixar span { display: none; }
  .player-extras #p-link, .player-extras #p-add { display: none; }
  .player-extras { order: 4; width: 100%; justify-content: center; }
  .radio-agora { grid-template-columns: 1fr; padding: 20px; }
  .radio-agora .capa { max-width: 200px; margin: 0 auto; }
  .radio-topo { padding: 20px 20px 0; }
  #radio-apoiador { margin-left: 0; width: 100%; }
  .cartao-apoiador { max-width: none; }
  .a-seguir { padding: 16px 20px 20px; }
  .rodape p { margin: 0; justify-self: center; text-align: center; }
  .rodape-dentro { grid-template-columns: 1fr; justify-items: center; }
  /* celular: capa, nome e play/próxima numa linha; a barra de tempo fina embaixo; a fila menor */
  .player-barra { gap: 10px; padding: 8px 12px; flex-wrap: wrap; }
  .player-hora, .player-volume, #p-ant { display: none; }
  .player-meio { order: 2; }
  .player-botoes { order: 3; }
  .player-textos { justify-content: flex-start; flex-direction: column; gap: 0; }
  .player-traco { display: none; }
  .player-fila { padding: 8px 12px 10px; }
  .player-fila-trilho { grid-auto-columns: 230px; gap: 8px; }
  .fila-cartao .capa { width: 50px; height: 50px; }
  .player-fila-seta { display: none; }
  .top-trilho { grid-auto-columns: 138px; gap: 14px; }
  .top-setas { display: none; }
  .top-cabeca h2 { font-size: 18px; }
  .top-cabeca select { padding: 6px 26px 6px 10px; font-size: 13px; }
}
