/* Last.fm: caixa de vincular no perfil (aba Sobre mim) e a seção "Mais tocadas dos Silelos" (lastfm.js) */
#menu-mais-tocadas[hidden] { display: none !important; }

/* ---------- perfil: vincular ---------- */
.lastfm-box { margin: 0 0 16px; padding: 10px 14px 12px; border: 1px solid #e3b9c0; border-radius: 8px; background: linear-gradient(#fff6f7, #f8dfe3); }
.lastfm-box legend { padding: 0 6px; font: 700 13px/1 var(--ui, 'Segoe UI', sans-serif); color: #7a2230; text-transform: uppercase; letter-spacing: .04em; }
.lastfm-logo { font: 700 17px/1 Arial, Helvetica, sans-serif; color: #d51007; text-transform: none; letter-spacing: -.02em; }
.lastfm-dica { margin: 0 0 8px; font-size: 12.5px; color: #5b3a40; }
.lastfm-linha { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 10px; }
.lastfm-linha[hidden] { display: none; }
.lastfm-campo { display: grid; gap: 3px; flex: 1 1 180px; min-width: 0; }
.lastfm-campo .aero-input { width: 100%; box-sizing: border-box; }
.lastfm-ligado-texto { flex: 1 1 auto; align-self: center; font-size: 14px; color: #3d1f25; }
.lastfm-ligado-texto a { color: #b10d06; font-weight: 700; }
.lastfm-msg { min-height: 1.2em; margin: 6px 0 0; font-size: 12.5px; color: #5b3a40; }
.lastfm-desligado .lastfm-dica { opacity: .7; }
.lastfm-desligado .lastfm-msg { font-weight: 600; color: #7a2230; }

/* ---------- seção: Mais tocadas dos Silelos ---------- */
.lastfm-silelos { padding: 22px clamp(12px, 3vw, 30px) 28px; text-align: center; background: radial-gradient(ellipse at 50% 0%, #ffffffcc, transparent 60%), linear-gradient(#e9f6ff, #c4e6fa); border-bottom: 1px solid #9cc9e6; }
.lastfm-titulo { margin: 0 0 8px; font: 700 clamp(22px, 3.6vw, 38px)/1.1 var(--bubbly, 'Fredoka', sans-serif); text-transform: uppercase; }
.lastfm-sub { max-width: 640px; margin: 0 auto 14px; font-size: 14px; color: #24485e; }
.lastfm-sub a { color: #0b5fa5; font-weight: 600; }

.lastfm-agora { display: flex; align-items: center; gap: 10px; max-width: 900px; margin: 0 auto 12px; padding: 7px 10px; border: 1px solid #8fc4e3; border-radius: 10px; background: linear-gradient(#ffffffe6, #e3f4fdcc); box-shadow: inset 0 1px #fff; text-align: left; overflow: hidden; }
.lastfm-agora[hidden] { display: none; }
.lfm-agora-rotulo { display: inline-flex; align-items: center; gap: 6px; flex: none; font: 700 11.5px 'Segoe UI', sans-serif; letter-spacing: .05em; text-transform: uppercase; color: #b10d06; }
.lfm-eq { width: 12px; height: 12px; background: linear-gradient(90deg, #d51007 0 3px, transparent 3px 4.5px, #d51007 4.5px 7.5px, transparent 7.5px 9px, #d51007 9px) bottom / 100% 60% no-repeat; animation: lfm-eq 1s steps(3) infinite alternate; }
@keyframes lfm-eq { to { background-size: 100% 100%; } }
.lfm-agora-lista { display: flex; gap: 8px; margin: 0; padding: 0 0 2px; list-style: none; overflow-x: auto; scrollbar-width: thin; }
.lfm-agora-lista li { display: flex; align-items: center; gap: 6px; flex: none; max-width: 300px; padding: 3px 9px 3px 4px; border: 1px solid #c3dbe9; border-radius: 16px; background: #fff; font-size: 12.5px; }
.lfm-agora-pessoa { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: #0f4a73; font: 600 12.5px 'Segoe UI', sans-serif; cursor: pointer; }
.lfm-agora-musica { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #24485e; }

.lastfm-janela { max-width: 900px; margin: 0 auto; border: 1px solid #7fa9c2; border-radius: 10px; overflow: hidden; background: linear-gradient(#f7fcffee, #dff1fbe6); box-shadow: 0 8px 26px #0b3b5c2e, inset 0 1px #fff; text-align: left; color: #173f5a; font: 14px/1.4 'Segoe UI', Tahoma, Arial, sans-serif; }
.lastfm-abas { display: flex; gap: 4px; padding: 8px 10px 0; border-bottom: 1px solid #9fc4d9; background: linear-gradient(#fdfeff, #e3f3fc 48%, #cfe9f7 50%, #e9f7fe); overflow-x: auto; }
.lastfm-abas [role="tab"] { flex: none; margin-bottom: -1px; padding: 7px 14px; border: 1px solid transparent; border-radius: 6px 6px 0 0; background: none; color: #24485e; font: 600 13px 'Segoe UI', sans-serif; cursor: pointer; }
.lastfm-abas [role="tab"][aria-selected="true"] { border-color: #9fc4d9; border-bottom-color: #f7fcff; background: #f7fcff; color: #0f4a73; }
.lastfm-abas [role="tab"]:focus-visible, .lfm-pessoa:focus-visible, .lfm-agora-pessoa:focus-visible { outline: 2px solid #126aab; outline-offset: 1px; }
.lastfm-corpo { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 12px; padding: 12px; }
.lastfm-lista { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.lastfm-item { display: grid; grid-template-columns: 30px 56px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 6px 8px; border: 1px solid #e0edf4; border-radius: 8px; background: #fff; }
.lastfm-item[data-pos="1"] { border-color: #e2b52f; background: linear-gradient(#fffdf0, #fff4bf); }
.lastfm-item[data-pos="2"] { border-color: #aebdca; background: linear-gradient(#fff, #e9eff3); }
.lastfm-item[data-pos="3"] { border-color: #c98546; background: linear-gradient(#fffaf4, #f7d9b8); }
.lfm-pos { font: 700 14px 'Segoe UI', sans-serif; color: #3d7196; text-align: center; }
.lfm-capa { position: relative; width: 56px; height: 56px; border-radius: 6px; overflow: hidden; background: radial-gradient(circle, #d9e6ef 0 14%, #2b2f33 15% 20%, #3a3f44 21% 66%, #1e2226 67%); box-shadow: 0 1px 3px #0b3b5c40; }
.lfm-capa img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lfm-info { display: grid; min-width: 0; }
.lfm-musica { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #0f4a73; font-weight: 700; text-decoration: none; }
.lfm-musica:hover { text-decoration: underline; }
.lfm-artista { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #24485e; }
.lfm-numeros { font-size: 12px; color: #4b6c80; }
.lfm-rostos { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; max-width: 150px; }
.lfm-pessoa { width: 30px; height: 30px; margin-left: -6px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: linear-gradient(#e9f7ff, #bfe4f7); box-shadow: 0 1px 2px #0b3b5c40; cursor: pointer; overflow: hidden; }
.lfm-pessoa:hover { transform: translateY(-2px); z-index: 1; }
.lfm-rosto { display: grid; place-items: center; width: 100%; height: 100%; font: 700 12px 'Segoe UI', sans-serif; color: #0f4a73; }
.lfm-agora-pessoa .lfm-rosto { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(#e9f7ff, #bfe4f7); overflow: hidden; }
.lfm-rosto canvas { display: block; width: 100%; height: auto; }
.lfm-mais { margin-left: 4px; font: 600 11.5px 'Segoe UI', sans-serif; color: #4b6c80; }
.lastfm-vazio { padding: 14px; border: 1px dashed #9fc4d9; border-radius: 8px; background: #ffffffb3; font-style: italic; color: #4b6c80; }
.lastfm-artistas { align-self: start; padding: 8px 10px; border: 1px solid #c3dbe9; border-radius: 8px; background: #ffffffb8; }
.lastfm-artistas[hidden] { display: none; }
.lastfm-artistas h3 { margin: 0 0 6px; font: 600 11.5px 'Segoe UI', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #3d7196; }
.lastfm-artistas ol { display: grid; gap: 4px; margin: 0; padding-left: 20px; }
.lastfm-artistas li { display: grid; }
.lfm-art-nome { color: #0f4a73; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.lfm-art-nome:hover { text-decoration: underline; }
.lfm-art-num { font-size: 12px; color: #4b6c80; }
.lastfm-rodape { margin: 0; padding: 6px 12px 9px; font-size: 11.5px; color: #4b6c80; text-align: right; }

@media (max-width: 760px) {
  .lastfm-corpo { grid-template-columns: minmax(0, 1fr); padding: 8px; }
  .lastfm-item { grid-template-columns: 22px 48px minmax(0, 1fr); gap: 8px; }
  .lfm-capa { width: 48px; height: 48px; }
  .lfm-rostos { grid-column: 2 / -1; justify-content: flex-start; max-width: none; padding-left: 6px; }
  .lastfm-agora { flex-direction: column; align-items: stretch; }
  .lfm-eq { animation: none; background-size: 100% 100%; }
  .lfm-pessoa:hover { transform: none; }
}
/* aba "Como participar" */
.lastfm-ajuda { padding: 16px 18px 18px; border-radius: 10px; background: linear-gradient(#ffffffd9, #eef8ffd9); border: 1px solid #b9d7ea; color: #1d3f58; font: 14px/1.55 'Segoe UI', Tahoma, sans-serif; }
.lastfm-ajuda[hidden], .lastfm-corpo[hidden] { display: none; }
.lastfm-ajuda h3 { margin: 0 0 10px; font-size: 18px; color: #b3122e; }
.lastfm-passos { margin: 0 0 12px; padding-left: 22px; }
.lastfm-passos li { margin-bottom: 8px; }
.lastfm-passos a, .lastfm-ajuda-dica a { color: #0e6aa8; font-weight: 600; }
.lastfm-ajuda-dica { margin: 0 0 14px; font-size: 13px; color: #4d6f8c; }
.lastfm-ajuda-botao { display: inline-block; text-decoration: none; }

/* ---------- comentários e reações nas músicas (lastfm.js) ---------- */
.lfm-coment-btn { justify-self: start; margin-top: 3px; padding: 1px 9px; border: 1px solid #9fc4d9; border-radius: 10px; background: linear-gradient(#fff, #e3f3fc); color: #0f4a73; font: 600 11.5px 'Segoe UI', sans-serif; cursor: pointer; }
.lfm-coment-btn:hover { background: linear-gradient(#fff, #cfe9f7); }
.lfm-coment-btn:focus-visible, .lfm-reacao:focus-visible, .lfm-coment-autor:focus-visible, .lfm-dialog-fechar:focus-visible { outline: 2px solid #126aab; outline-offset: 1px; }
.lfm-agora-lista .lfm-coment-btn { margin: 0; flex: none; }
.rp-lastfm .lfm-coment-btn { border-color: #e3b9c0; background: linear-gradient(#fff, #fbe9ec); color: #7a2230; }

.lfm-dialog { width: min(480px, calc(100vw - 24px)); max-height: min(86vh, 720px); padding: 0; border: 1px solid #6f9bb8; border-radius: 10px; background: linear-gradient(#f7fcff, #e3f3fc); box-shadow: 0 18px 50px #0b3b5c66, inset 0 1px #fff; color: #173f5a; font: 14px/1.4 'Segoe UI', Tahoma, Arial, sans-serif; overflow: hidden; }
.lfm-dialog[open] { display: flex; flex-direction: column; }
.lfm-dialog::backdrop { background: #0b2a4a59; }
.lfm-dialog-barra { display: flex; align-items: center; gap: 8px; padding: 7px 8px 7px 12px; border-bottom: 1px solid #9fc4d9; background: linear-gradient(#fdfeff, #e3f3fc 48%, #cfe9f7 50%, #e9f7fe); font: 600 13px 'Segoe UI', sans-serif; color: #0f4a73; }
.lfm-dialog-barra span { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lfm-dialog-fechar { width: 30px; height: 22px; border: 1px solid #a33; border-radius: 4px; background: linear-gradient(#f3b7a8, #d9533b 50%, #c33a22 51%, #e2775f); color: #fff; font: 700 15px/1 Arial, sans-serif; cursor: pointer; }
.lfm-dialog-corpo { display: grid; gap: 10px; padding: 12px; overflow-y: auto; }
.lfm-dialog-musica { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; align-items: center; }
.lfm-reacoes { display: flex; flex-wrap: wrap; gap: 6px; }
.lfm-reacao { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border: 1px solid #9fc4d9; border-radius: 14px; background: linear-gradient(#fff, #e3f3fc); color: #24485e; font: 600 12.5px 'Segoe UI', sans-serif; cursor: pointer; }
.lfm-reacao b { min-width: 1ch; font-weight: 700; color: #3d7196; }
.lfm-reacao[aria-pressed="true"] { border-color: #2d8fcd; background: linear-gradient(#e5f6ff, #9fd6f5 48%, #6fbde9 52%, #bfe6fb); color: #0b3b5c; box-shadow: inset 0 1px 2px #0b3b5c33; }
.lfm-reacao[aria-pressed="true"] b { color: #0b3b5c; }
.lfm-reacao:disabled { cursor: default; opacity: .75; }
.lfm-coment-form { display: grid; gap: 5px; }
.lfm-coment-form[hidden], .lfm-coment-entrar[hidden], .lfm-coment-avisar[hidden] { display: none; }
.lfm-coment-rotulo { font: 600 12px 'Segoe UI', sans-serif; color: #3d7196; }
.lfm-coment-form textarea { width: 100%; box-sizing: border-box; resize: vertical; min-height: 52px; font: 14px/1.4 'Segoe UI', sans-serif; }
.lfm-coment-acoes { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lfm-coment-avisar { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: #24485e; }
.lfm-coment-conta { margin-left: auto; font-size: 11.5px; color: #4b6c80; }
.lfm-coment-entrar { margin: 0; font-size: 13px; color: #24485e; }
.lfm-coment-entrar a { color: #0b5fa5; font-weight: 600; }
.lfm-coment-msg { min-height: 1.1em; margin: 0; font-size: 12.5px; color: #24485e; }
.lfm-coment-lista { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.lfm-coment { padding: 6px 9px; border: 1px solid #d3e6f0; border-radius: 8px; background: #fff; }
.lfm-coment-topo { display: flex; align-items: center; gap: 8px; }
.lfm-coment-autor { display: inline-flex; align-items: center; gap: 5px; min-width: 0; padding: 0; border: 0; background: none; color: #0f4a73; font: 600 13px 'Segoe UI', sans-serif; cursor: pointer; }
.lfm-coment-autor .lfm-rosto { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(#e9f7ff, #bfe4f7); overflow: hidden; flex: none; }
.lfm-coment-autor b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lfm-coment-autor:hover b { text-decoration: underline; }
.lfm-coment-tempo { font-size: 11.5px; color: #4b6c80; }
.lfm-coment-apagar { margin-left: auto; padding: 0 6px; border: 0; background: none; color: #a33; font: 600 11.5px 'Segoe UI', sans-serif; cursor: pointer; }
.lfm-coment-texto { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.lfm-coment-vazio { padding: 10px; border: 1px dashed #9fc4d9; border-radius: 8px; font-style: italic; color: #4b6c80; }
@media (max-width: 760px) {
  .lfm-dialog { max-height: 92vh; }
  .lfm-reacao { padding: 6px 12px; }
}
