/* ═══════════════════════════════════════════════════════════
   YeaMusic — tema claro v3 (fase 1: só aparência)
   Ligado por plataforma.php DEPOIS dos outros estilos.
   Para voltar atrás: apagar a linha <link ... yea_v3.css> do plataforma.php
   ═══════════════════════════════════════════════════════════ */

:root {
    color-scheme: light;
    --ink:#FAF6EE;            /* fundo */
    --ink2:#FFFFFF;           /* cartões / modais */
    --cream:#231F1D;          /* texto principal */
    --gold:#C94B10;           /* rótulos / acentos escuros */
    --gold2:#E2582A;
    --rose:#D6336C;
    --muted:#7A6E63;
    --muted2:#6B5F54;
    --border:#E6DEC8;
    --yea:#E85D1A;
    --yea2:#F47224;
    --yea-bg:rgba(226,88,42,.08);
    --yea-border:rgba(226,88,42,.28);
    --verde:#466B4E;
    --sombra:0 2px 14px rgba(80,50,20,.08);
    --raio:18px;
    --titulos:'Plus Jakarta Sans','DM Sans',sans-serif;
}

body { background:var(--ink); color:var(--cream); padding-bottom:calc(var(--player-h) + var(--safe-b) + 40px) }
::-webkit-scrollbar-thumb { background:rgba(110,80,50,.25) }

/* ── Topo ── */
.topo-bar {
    background:rgba(250,247,242,.92);
    -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
    border-bottom:1px solid var(--border); border-image:none;
    box-shadow:0 2px 16px rgba(80,50,20,.06);
}
.topo-logo { color:var(--cream) }
.side-menu-toggle { background:#fff; border:1px solid var(--border); color:var(--cream) }
.side-menu-toggle:hover { border-color:var(--yea); background:var(--yea-bg); box-shadow:0 0 0 4px rgba(226,88,42,.10) }
.online-count { color:var(--muted) }
.topo-link-texto { background:#fff !important; border:1px solid var(--border) !important; color:var(--cream) !important; box-shadow:var(--sombra) }
.topo-link-texto:hover { background:var(--yea-bg) !important; border-color:var(--yea) !important; box-shadow:0 6px 18px rgba(226,88,42,.18) }
a.topo-link-texto:not(.btn-prefs) { background:linear-gradient(135deg,var(--yea),var(--yea2)) !important; border-color:transparent !important; color:#fff !important; box-shadow:0 4px 16px rgba(226,88,42,.30) }
#btnPesquisa { background:#fff !important; border:1px solid var(--border) !important; color:var(--cream) !important; box-shadow:var(--sombra) }
#btnPesquisa:hover { border-color:var(--yea) !important; background:var(--yea-bg) !important }

/* ── Hero (cartão arredondado com a capa que está a tocar) ── */
.hero {
    width:calc(100% - 32px); max-width:1244px; margin:14px auto 0;
    aspect-ratio:16/10; max-height:44vh;
    border-radius:24px; background:#EADFD1;
    box-shadow:0 10px 34px rgba(80,50,20,.18);
}
.hero-gradient { background:linear-gradient(to top,rgba(38,20,8,.88) 0%,rgba(38,20,8,.35) 48%,rgba(38,20,8,0) 100%) }
.hero-info { padding:18px 22px }
.hero-badge { background:var(--yea); color:#fff; padding:4px 11px; border-radius:99px; letter-spacing:1.5px; font-weight:600; margin-bottom:10px }
.hero-dot { background:#fff }
.hero-titulo { font-family:var(--titulos); font-weight:800; color:#fff; text-shadow:0 2px 14px rgba(0,0,0,.5) }
.hero-autor { color:rgba(255,255,255,.88); font-size:14px }
.hero-genero { color:#FFD9A8 }
.hero-streams { color:rgba(255,255,255,.78) !important }

/* ── Secções (cartões) ── */
.section { background:#fff; border:1px solid var(--border); border-radius:var(--raio); box-shadow:var(--sombra); margin:14px 16px }
.section-header { background:#fff; border-bottom:1px solid var(--border); padding:14px 16px }
.section-label { font-family:var(--titulos); font-size:14px; letter-spacing:.2px; text-transform:none; color:var(--cream); font-weight:700 }
.section-label::before { content:''; display:inline-block; width:4px; height:15px; border-radius:2px; background:var(--yea); margin-right:9px; vertical-align:-2px }
.section-status, .section-arrow { color:var(--muted) }

/* ── Fila "A seguir" ── */
.queue-item { border-bottom:1px solid rgba(110,80,50,.08); padding:10px 16px }
.queue-item:hover { background:rgba(226,88,42,.05) }
.queue-item.active { background:var(--yea-bg) }
.queue-item.active .queue-num { color:var(--yea) }
.queue-item.active .queue-info h4 { color:var(--gold); font-weight:600 }
.queue-cover { background:#EFE6DA; border-radius:10px }
.queue-info h4 { color:var(--cream) }
.btn-acao { border:1px solid var(--border); color:var(--muted2) }
.btn-acao:hover { border-color:var(--yea); color:var(--yea) }
.btn-menu { color:var(--muted2) }
.btn-menu:hover { color:var(--yea) }

/* ── Notícias ── */
.noticias-search { background:var(--yea-bg); border-bottom:1px solid var(--border) }
.noticias-input { color:var(--cream) }
.btn-search { background:#fff; border:1px solid var(--border); color:var(--muted2) }
.btn-search:hover { border-color:var(--yea); color:var(--yea) }
.ticker-wrap { background:rgba(226,88,42,.05) }
.ticker-item { color:var(--cream) }
.ticker-item:hover { color:var(--yea) }
.ticker-sep, .ticker-time { color:var(--yea) }
.noticias-footer { border-top:1px solid var(--border) }

/* ── Locutor ── */
.locutor-wrap { background:var(--yea-bg); border:1px solid var(--yea-border); border-radius:var(--raio) }
.locutor-nome { color:var(--gold) }
.locutor-texto { color:var(--muted2) }

/* ── Painel "O que é meu" ── */
.col-meu { background:#fff; border:1px solid var(--border) !important; border-radius:var(--raio) !important; box-shadow:var(--sombra) }
.meu-header { background:var(--yea-bg); border-bottom:1px solid var(--yea-border) }
.meu-titulo { font-family:var(--titulos); font-weight:700; color:var(--gold) }
.meu-saldo-val { color:var(--yea) }
.btn-carregar, .btn-entrar { border-radius:99px; background:var(--yea); color:#fff }
.btn-entrar { padding:10px 26px }
.btn-carregar:hover, .btn-entrar:hover { background:var(--yea2) }
.meu-section-title { color:var(--gold) }
.album-card, .incentivo-item { border-bottom:1px solid rgba(110,80,50,.08) }
.album-capa { background:#EFE6DA; border-radius:10px }
.album-card:hover .album-card-titulo { color:var(--yea) }
.pub-sim { background:var(--yea-bg); color:var(--gold) }
.pub-nao { background:rgba(110,80,50,.08); color:var(--muted) }
.incentivo-cr { color:var(--yea) }
.btn-criar-album { border-radius:12px; background:#fff; border:1px solid var(--yea-border); color:var(--gold) }
.btn-criar-album:hover { background:var(--yea-bg) }
.btn-criar-album span:first-child { color:var(--muted2) !important }
.radio-footer a { color:var(--muted) }
.radio-footer a:hover { color:var(--yea) }

/* ── Leitor fixo em baixo (cartão flutuante) ── */
.mini-player {
    left:12px; right:12px; bottom:calc(10px + var(--safe-b));
    padding:0 14px; border-radius:22px; overflow:hidden;
    background:rgba(255,255,255,.96);
    -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px);
    border:1px solid var(--border);
    box-shadow:0 10px 36px rgba(80,50,20,.22);
}
.mini-progress { height:4px; background:rgba(110,80,50,.12); margin:0 -14px; width:auto }
.mini-cover { background:#EFE6DA; border-radius:12px }
.mini-titulo { color:var(--cream); font-weight:600 }
.mini-autor, .mini-times, .mini-volume-icon { color:var(--muted2) }
.btn-mini { color:var(--muted2) }
.btn-mini:hover { color:var(--yea); background:var(--yea-bg) }
.btn-play-mini { background:var(--yea); box-shadow:0 6px 18px rgba(226,88,42,.40) }
.btn-play-mini:hover { background:var(--yea2) }
input[type=range] { background:rgba(110,80,50,.18) }
@media(min-width:768px) {
    .mini-player { left:50%; right:auto; width:min(1244px,calc(100% - 48px)); transform:translateX(-50%) }
    .hero { max-width:1044px; aspect-ratio:21/9; max-height:380px }
}
@media(min-width:1200px) { .hero { max-width:1224px } }

/* ── Anúncio ── */
.anuncio-modal { background:#fff; border:1px solid var(--yea-border); bottom:calc(var(--player-h) + 40px + var(--safe-b)); border-radius:16px; box-shadow:0 10px 30px rgba(80,50,20,.25) }
.anuncio-footer { background:var(--yea-bg); border-top:1px solid var(--yea-border) }
.anuncio-link:hover { color:var(--gold) }

/* ── Pesquisa ── */
.pesquisa-wrap { background:#fff; border-bottom:1px solid var(--border) }
.pesquisa-input-row { background:var(--ink); border:1px solid var(--border); border-radius:14px; padding:10px 14px }
.pesquisa-input-row input { color:var(--cream) }
.pesquisa-item { border-radius:12px }
.pesquisa-item:hover { background:rgba(226,88,42,.06) }
.pesquisa-capa { border-radius:10px }
.pesquisa-fechar:hover { color:var(--yea) }

/* ── Menu lateral ── */
.side-overlay { background:rgba(43,33,24,.45) }
.side-drawer { background:#fff; box-shadow:4px 0 28px rgba(80,50,20,.22) }
.side-drawer-head { border-bottom:1px solid var(--border) }
.side-drawer-close { color:var(--cream) }
.side-drawer-close:hover { background:var(--yea-bg) }
.side-menu-item { color:var(--cream) }
.side-menu-item:hover { background:rgba(226,88,42,.07) }
.side-menu-item .chev { color:rgba(110,80,50,.35) }
.side-menu-item:hover .chev { color:var(--yea) }
.side-drawer-foot { border-top:1px solid var(--border); color:var(--muted) }

/* ── Folha de opções (···) e modais ── */
.sheet-overlay { background:rgba(43,33,24,.45) }
.sheet { background:#fff; border-top:1px solid var(--border); border-radius:22px 22px 0 0; box-shadow:0 -10px 40px rgba(80,50,20,.2) }
.sheet-handle { background:rgba(110,80,50,.25) }
.sheet-item:hover, .sheet-item:active { background:rgba(226,88,42,.06) }
.modal-overlay { background:rgba(43,33,24,.5) }
.modal-box { background:#fff; border:1px solid var(--border); border-radius:22px; box-shadow:0 20px 60px rgba(80,50,20,.3) }
.modal-titulo { font-family:var(--titulos); font-weight:700 }
.modal-album-item { border-radius:12px }
.btn-modal-cancel, .btn-modal-confirm { border-radius:99px; padding:9px 20px }
.btn-modal-cancel:hover { border-color:var(--yea); color:var(--yea) }

/* ── Acertos ── */
.side-drawer { box-shadow:none }
.side-drawer.open { box-shadow:4px 0 28px rgba(80,50,20,.22) }
.album-card { color:var(--cream) }
.album-card-titulo { color:var(--cream) }
@media(max-width:600px) { .mini-volume { display:none } }

/* ═══════════ FASE 2 — página inicial ═══════════ */
.yea-wrap { width:100%; margin:0 auto; padding:0 16px }
@media(min-width:768px)  { .yea-wrap { max-width:1100px; padding:0 28px } }
@media(min-width:1200px) { .yea-wrap { max-width:1280px } }

/* a faixa antiga do hero deixa de ter margem própria: vive dentro da grelha */
.yea-agora .hero { width:100%; max-width:none; margin:0; aspect-ratio:auto; height:100%; min-height:240px; max-height:none }

.yea-topo { display:grid; gap:14px; margin-top:14px; grid-template-columns:1fr }
@media(min-width:900px) { .yea-topo { grid-template-columns:5fr 4fr 3fr; align-items:stretch } }

/* banner */
.yea-banner {
    background:linear-gradient(125deg,#F6E9D7 0%,#EFE2CE 52%,#E3D3BA 100%) center/cover;
    border:1px solid var(--border); border-radius:24px; padding:24px 26px;
    display:flex; flex-direction:column; justify-content:space-between; gap:20px; min-height:240px;
}
.yea-banner h1 { font-family:var(--titulos); font-weight:800; font-size:clamp(23px,3.4vw,30px); line-height:1.15; color:var(--cream); max-width:420px }
.yea-banner h1 em { font-style:normal; color:var(--yea) }
.yea-banner__lema { margin-top:10px; font-size:13px; font-weight:600; color:rgba(35,31,29,.8); letter-spacing:.3px }
.yea-banner__btns { display:flex; flex-wrap:wrap; gap:10px }
.yea-btn { display:inline-flex; align-items:center; gap:8px; padding:11px 20px; border-radius:99px; font-size:13px; font-weight:700; text-decoration:none; cursor:pointer; border:1px solid transparent; font-family:'DM Sans',sans-serif; transition:filter .15s,background .15s }
.yea-btn--cheio { background:linear-gradient(90deg,#F26E22,#D94E1F); color:#fff; box-shadow:0 4px 14px rgba(232,93,26,.35) }
.yea-btn--cheio:hover { filter:brightness(1.07) }
.yea-btn--claro { background:rgba(255,255,255,.85); color:var(--cream); border-color:var(--border) }
.yea-btn--claro:hover { background:#fff }

/* 3 cartões */
.yea-cartoes { display:grid; grid-template-columns:repeat(3,1fr); gap:10px }
.yea-cartao {
    display:flex; flex-direction:column; align-items:center; justify-content:space-between; text-align:center;
    gap:8px; padding:16px 10px; border-radius:24px; color:#fff; text-decoration:none; border:0; cursor:pointer;
    font-family:'DM Sans',sans-serif; min-height:170px; transition:transform .15s,box-shadow .15s;
    box-shadow:0 2px 10px rgba(80,50,20,.12);
}
.yea-cartao:hover { transform:translateY(-3px); box-shadow:0 10px 24px rgba(80,50,20,.22) }
.yea-cartao--laranja { background:linear-gradient(180deg,#F47224,#CE4914) }
.yea-cartao--verde   { background:linear-gradient(180deg,#557B5D,#36543D) }
.yea-cartao--ouro    { background:linear-gradient(180deg,#F0AC2B,#CE8814) }
.yea-cartao__ico { width:44px; height:44px; border-radius:14px; background:rgba(255,255,255,.18); display:grid; place-items:center; font-size:24px }
.yea-cartao__t { font-family:var(--titulos); font-weight:800; font-size:15px; line-height:1.15 }
.yea-cartao__s { font-size:10.5px; line-height:1.3; opacity:.9 }
.yea-cartao__seta { width:30px; height:30px; border-radius:50%; background:#fff; color:var(--yea); display:grid; place-items:center; font-weight:800; font-size:15px }
.yea-cartao--verde .yea-cartao__seta { color:#36543D }
.yea-cartao--ouro  .yea-cartao__seta { color:#C78212 }
@media(max-width:520px) { .yea-cartao { min-height:150px; padding:12px 6px } .yea-cartao__t { font-size:13px } .yea-cartao__s { display:none } }

/* cartões de secção */
.yea-card { background:#FFFDF9; border:1px solid var(--border); border-radius:24px; box-shadow:var(--sombra); padding:18px 20px; margin-top:14px }
.yea-card__cab { display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin-bottom:14px }
.yea-card__cab h2 { font-family:var(--titulos); font-weight:800; font-size:16px; color:var(--cream) }
.yea-card__cab h2::before { content:''; display:inline-block; width:4px; height:15px; border-radius:2px; background:var(--yea); margin-right:9px; vertical-align:-2px }
.yea-card__cab span { font-size:12px; color:var(--muted) }
.yea-duas { display:grid; gap:0 14px; grid-template-columns:1fr }
@media(min-width:900px) { .yea-duas { grid-template-columns:1fr 1fr } }

/* artistas */
.yea-artistas { display:grid; grid-template-columns:repeat(2,1fr); gap:12px }
@media(min-width:700px) { .yea-artistas { grid-template-columns:repeat(4,1fr) } }
.yea-artista { background:var(--ink); border:1px solid var(--border); border-radius:18px; padding:10px; text-align:left; cursor:pointer; font-family:'DM Sans',sans-serif; display:flex; flex-direction:column; gap:3px; transition:transform .15s,box-shadow .15s; color:var(--cream) }
.yea-artista:hover { transform:translateY(-2px); box-shadow:0 8px 20px rgba(80,50,20,.15) }
.yea-artista__capa { position:relative; display:block; aspect-ratio:1; border-radius:14px; overflow:hidden; margin-bottom:6px }
.yea-artista__capa img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover }
.yea-artista__ouvir { position:absolute; right:8px; bottom:8px; font-size:11px; font-weight:700; color:#fff; background:rgba(0,0,0,.45); padding:3px 9px; border-radius:99px; opacity:0; transition:opacity .15s }
.yea-artista:hover .yea-artista__ouvir { opacity:1 }
@media(hover:none) { .yea-artista__ouvir { opacity:1 } }
.yea-artista__nome { font-family:var(--titulos); font-weight:700; font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.yea-artista__meta { font-size:11px; color:var(--muted) }

/* géneros */
.yea-generos { display:grid; grid-template-columns:repeat(2,1fr); gap:10px }
@media(min-width:520px) { .yea-generos { grid-template-columns:repeat(4,1fr) } }
@media(min-width:900px) and (max-width:1199px) { .yea-generos { grid-template-columns:repeat(2,1fr) } }
.yea-genero { min-height:92px; border:0; border-radius:18px; padding:12px; color:#fff; text-align:left; display:flex; flex-direction:column; justify-content:space-between; cursor:pointer; font-family:'DM Sans',sans-serif; transition:transform .15s }
.yea-genero:hover { transform:scale(1.03) }
.yea-genero__nome { font-family:var(--titulos); font-weight:700; font-size:13px; line-height:1.2; word-break:break-word }
.yea-genero__n { font-size:10.5px; opacity:.85 }

/* mais ouvidas */
.yea-top { list-style:none; display:flex; flex-direction:column; gap:4px }
.yea-top__item { width:100%; display:flex; align-items:center; gap:12px; padding:8px; border:0; background:transparent; border-radius:14px; cursor:pointer; text-align:left; font-family:'DM Sans',sans-serif; color:var(--cream); transition:background .15s }
.yea-top__item:hover { background:rgba(232,93,26,.07) }
.yea-top__n { width:16px; text-align:center; font-weight:800; font-size:12px; color:var(--muted) }
.yea-top__capa { width:42px; height:42px; border-radius:12px; overflow:hidden; background:linear-gradient(135deg,#E85D1A,#6E2D12); flex-shrink:0; position:relative }
.yea-top__capa img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover }
.yea-top__txt { flex:1; min-width:0; display:flex; flex-direction:column }
.yea-top__txt strong { font-size:13px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.yea-top__txt small { font-size:11px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.yea-top__plays { font-size:11px; color:var(--muted); font-weight:600; flex-shrink:0 }

/* novidades */
.yea-novas { display:grid; grid-template-columns:1fr; gap:10px }
@media(min-width:600px) { .yea-novas { grid-template-columns:repeat(2,1fr) } }
@media(min-width:1000px) { .yea-novas { grid-template-columns:repeat(4,1fr) } }
.yea-nova { display:flex; align-items:center; gap:12px; padding:10px; border:1px solid var(--border); border-radius:18px; background:var(--ink); cursor:pointer; text-align:left; font-family:'DM Sans',sans-serif; color:var(--cream); transition:background .15s }
.yea-nova:hover { background:#F3ECE0 }
.yea-nova__capa { position:relative; width:64px; height:64px; border-radius:14px; overflow:hidden; flex-shrink:0 }
.yea-nova__capa img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover }
.yea-nova__txt { min-width:0; display:flex; flex-direction:column; gap:2px }
.yea-nova__txt strong { font-family:var(--titulos); font-size:13px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.yea-nova__txt small { font-size:11px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis }

/* espaço entre o topo novo e a fila existente */
.main-wrap { margin-top:6px }

/* ── Acertos fase 2 ── */
.yea-artista__capa { aspect-ratio:4/3 }
.yea-artistas { gap:10px }
