/* Início (05/10/2026, arte do Gabriel): topo com pílula de localização e
   sino, e as seções em carrossel: Rolando agora, Para você, Artistas para
   seguir, Estilos que você curte e Hoje à noite. Só o que é da página; o
   resto (busca, mapa mini, prova social, barra) continua no app.css. */

/* ---------- topo ---------- */
.ini-topo { display: flex; align-items: center; gap: 8px; padding: 12px 0 8px; }
.ini-topo .logo { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; color: var(--fg); text-decoration: none; letter-spacing: -0.02em; margin-right: auto; }
.ini-topo .logo em { font-style: normal; color: var(--marca); }
.ini-local { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; background: var(--surface-1); border: 1px solid var(--line); color: var(--fg); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; max-width: 60vw; }
.ini-local .ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--fg-muted); flex: 0 0 8px; }
.ini-local.ok .ponto { background: var(--live); box-shadow: 0 0 0 3px rgba(var(--live-rgb), 0.25); }
.ini-local .txt { overflow: hidden; text-overflow: ellipsis; }
.ini-local .chev { color: var(--fg-muted); font-size: 11px; }
.ini-sino { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--fg); text-decoration: none; }
.ini-sino .bolinha { position: absolute; top: 9px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--marca); border: 2px solid var(--bg); display: none; }
.ini-sino.novo .bolinha { display: block; }

/* ---------- cabeçalho de seção ---------- */
.ini-cab { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin: 22px 0 12px; }
.ini-cab h2 { margin: 0; font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; letter-spacing: -0.01em; }
.ini-cab h2 .vivo-pt { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--live); margin-right: 8px; vertical-align: 2px; box-shadow: 0 0 0 3px rgba(var(--live-rgb), 0.25); }
.ini-cab p { margin: 3px 0 0; color: var(--fg-muted); font-size: 13px; }
.ini-cab a { flex: 0 0 auto; color: var(--accent); text-decoration: none; font-size: 13px; font-weight: 700; padding: 2px 0; min-height: 24px; white-space: nowrap; }
.ini-secao[hidden] { display: none; }

/* ---------- carrossel (sangra até a borda da tela) ---------- */
.ini-faixa { display: flex; gap: 12px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scroll-snap-type: x mandatory; scroll-padding-left: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ini-faixa::-webkit-scrollbar { display: none; }
.ini-faixa > * { scroll-snap-align: start; flex: 0 0 auto; }

/* ---------- cartão grande (Rolando agora / Hoje à noite) ---------- */
.ini-grande { position: relative; display: block; width: min(88vw, 440px); aspect-ratio: 4 / 3; min-height: 230px; border-radius: 20px; overflow: hidden; background: var(--surface-1); border: 1px solid var(--line); color: var(--fg); text-decoration: none; }
.ini-grande .foto, .ini-medio .foto { position: absolute; inset: 0; background-size: cover; background-position: center; background-color: var(--surface-2); }
.ini-grande .foto.vazia, .ini-medio .foto.vazia { background: linear-gradient(160deg, #2a2438, #100c14); }
.ini-grande .veu, .ini-medio .veu { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,15,20,0.05) 0%, rgba(13,15,20,0.25) 40%, rgba(13,15,20,0.92) 100%); }
.ini-grande .corpo { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; align-items: flex-end; gap: 10px; }
.ini-grande .texto { flex: 1; min-width: 0; }
.ini-grande h3 { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.4rem; line-height: 1.1; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ini-grande .onde, .ini-medio .onde { display: flex; align-items: center; gap: 5px; color: rgba(242,239,232,0.85); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ini-grande .onde svg, .ini-medio .onde svg { flex: 0 0 auto; color: var(--accent); }
.ini-grande .pessoas { display: flex; align-items: center; gap: 6px; margin-top: 6px; color: rgba(242,239,232,0.85); font-size: 12px; }
.ini-grande .pessoas .avs { display: flex; }
.ini-grande .pessoas .avs span { width: 20px; height: 20px; border-radius: 50%; background: var(--surface-3); border: 2px solid rgba(13,15,20,0.9); margin-left: -6px; }
.ini-grande .pessoas .avs span:first-child { margin-left: 0; }
.ini-grande .ver { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: 14px; }
.ini-grande .ver svg { width: 16px; height: 16px; }

/* etiquetas no canto superior esquerdo */
.ini-tag { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; backdrop-filter: blur(6px); }
.ini-tag.vivo { background: rgba(var(--live-rgb), 0.9); color: #06281a; }
.ini-tag.vivo svg { width: 14px; height: 14px; }
.ini-tag.hoje { background: var(--accent); color: var(--on-accent); }
.ini-tag.km { left: auto; right: 12px; background: rgba(13,15,20,0.72); color: var(--fg); border: 1px solid rgba(255,255,255,0.14); text-transform: none; letter-spacing: 0; font-weight: 700; }

/* coração (o App.ligarSalvar troca ♡/♥ e a classe .sim) */
.ini-coracao { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--fg); font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0; text-shadow: 0 1px 4px rgba(0,0,0,0.6); }
.ini-coracao.sim { color: var(--accent); }
.ini-medio .ini-coracao { top: auto; bottom: 4px; right: 4px; width: 40px; height: 40px; font-size: 18px; }

/* ---------- cartão médio (Para você) ---------- */
.ini-medio { position: relative; display: block; width: min(62vw - 20px, 260px); min-width: 190px; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: var(--surface-1); border: 1px solid var(--line); color: var(--fg); text-decoration: none; }
.ini-medio .corpo { position: absolute; left: 12px; right: 44px; bottom: 12px; }
.ini-medio h3 { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.15; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ini-medio .onde { font-size: 12px; }
.ini-medio .quando { display: flex; align-items: center; gap: 5px; margin-top: 3px; color: rgba(242,239,232,0.85); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ini-medio .quando svg { flex: 0 0 auto; color: var(--accent); }

/* ---------- artistas para seguir ---------- */
.ini-artista { display: flex; align-items: center; gap: 10px; width: 276px; padding: 10px; border-radius: 16px; background: var(--surface-1); border: 1px solid var(--line); }
.ini-artista .quem { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; color: var(--fg); text-decoration: none; min-height: 44px; }
.ini-artista .av { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; background: var(--surface-3) center / cover no-repeat; border: 2px solid var(--accent); }
.ini-artista .corpo { min-width: 0; }
.ini-artista b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ini-artista small { display: block; color: var(--fg-muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ini-seguir { flex: 0 0 auto; min-height: 36px; min-width: 44px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--accent); background: transparent; color: var(--accent); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.ini-seguir.sim { background: var(--accent); color: var(--on-accent); }
.ini-seguir:disabled { opacity: 0.6; }

/* ---------- estilos que você curte ---------- */
.ini-estilos { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; }
.ini-estilos::-webkit-scrollbar { display: none; }
.ini-estilo { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--surface-1); border: 1px solid var(--line); color: var(--fg); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; text-decoration: none; }
.ini-estilo.sel { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 800; }
.ini-estilo.mais { width: 44px; padding: 0; justify-content: center; color: var(--accent); border-style: dashed; }

/* ---------- vazios e busca ---------- */
.ini-vazio { background: var(--surface-1); border: 1px dashed var(--line); border-radius: 16px; padding: 18px 16px; text-align: center; color: var(--fg-muted); font-size: 14px; }
.ini-vazio .btn { margin-top: 10px; }
#busca-achados[hidden] { display: none; }

@media (min-width: 560px) {
  .ini-grande { width: 440px; }
  .ini-medio { width: 240px; }
}
