/* =========================================================
   LETRAS — portal de letras de canciones
   Tokens: azul #2E6FE0 · marfil #F7F5F0 · tinta #16181D
           coral #FF5D73 · verde #23B26D
   ========================================================= */

:root {
  --azul: #2e6fe0;
  --azul-dim: #4c85ea;
  --tinta: #16181d;
  --tinta-suave: #454b57;
  --marfil: #f7f5f0;
  --card: #ffffff;
  --linea: #e4e1d8;
  --muted: #767c88;
  --coral: #ff5d73;
  --verde: #23b26d;

  --radius: 10px;
  --radius-lg: 16px;
  --container: 1040px;

  --display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

html[data-theme="dark"] {
  --azul: #5b93ff;
  --azul-dim: #7fa8ff;
  --tinta: #f2f1ec;
  --tinta-suave: #b7bcc6;
  --marfil: #14161a;
  --card: #1d2025;
  --linea: #2b2e35;
  --muted: #8c919c;
  --coral: #ff7a8f;
  --verde: #2fd485;
}

* { box-sizing: border-box; }

html { background: var(--marfil); }

body {
  margin: 0;
  background: var(--marfil);
  color: var(--tinta);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  transition: background .2s ease, color .2s ease;
}

/* ---------- Switch de tema ---------- */
.theme-switch {
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.25);
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transition: background .2s ease;
}
.theme-switch-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  color: var(--azul);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: transform .2s ease;
}
.theme-switch-thumb svg { width: 13px; height: 13px; display: block; }
.ts-icon { position: absolute; }
.ts-moon { display: none; color: #2e6fe0; }
html[data-theme="dark"] .ts-sun { display: none; }
html[data-theme="dark"] .ts-moon { display: block; }
html[data-theme="dark"] .theme-switch { background: rgba(0,0,0,0.35); }
html[data-theme="dark"] .theme-switch-thumb { transform: translateX(20px); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--azul);
  color: #fff;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
}

.icon-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 8px;
}
.icon-btn:hover { background: rgba(255,255,255,0.15); }
.icon-btn svg { width: 19px; height: 19px; }

.logo {
  font-family: var(--display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 1px;
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

.search-bar {
  display: none;
  padding: 0 18px 12px;
  max-width: var(--container);
  margin: 0 auto;
}
.search-bar.is-open { display: block; }
.search-bar input[type="text"] {
  width: 100%;
  padding: 9px 14px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  background: rgba(255,255,255,0.92);
}

.search-tabs {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}
.search-tab {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  background: transparent;
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
}
.search-tab.is-active {
  background: #fff;
  color: var(--azul);
  border-color: #fff;
}

/* ---------- Espacio publicitario ---------- */

.ad-slot {
  max-width: var(--container);
  margin: 10px auto;
  padding: 10px;
  text-align: center;
  border: 1px dashed var(--linea);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 12px;
}

/* ---------- Menú lateral ---------- */

.menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 260px;
  background: var(--card);
  z-index: 100;
  transform: translateX(-100%);
  transition: transform .2s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 2px 0 20px rgba(0,0,0,0.15);
}
.menu-drawer.is-open { transform: translateX(0); }

.menu-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--linea);
  font-family: var(--display);
  font-weight: 900;
  color: var(--azul);
}
.menu-drawer-head .icon-btn { color: var(--tinta); }

.menu-drawer a {
  padding: 13px 18px;
  border-bottom: 1px solid var(--linea);
  color: var(--tinta);
  font-weight: 600;
  font-size: 14px;
}
.menu-drawer a:hover { background: var(--marfil); color: var(--azul); }

.menu-drawer-follow {
  margin-top: auto;
  padding: 16px 18px;
  border-top: 1px solid var(--linea);
}
.menu-drawer-follow p {
  margin: 0 0 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.menu-drawer-social {
  display: flex;
  gap: 10px;
}
.menu-drawer-social a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--marfil);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tinta-suave);
}
.menu-drawer-social a:hover { background: var(--azul); color: #fff; }
.menu-drawer-social svg { width: 15px; height: 15px; }

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 90;
  display: none;
}
.drawer-overlay.is-open { display: block; }

/* ---------- Menú de cuenta (lateral derecho) ---------- */

.user-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 270px;
  background: var(--card);
  z-index: 100;
  transform: translateX(100%);
  transition: transform .2s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -2px 0 20px rgba(0,0,0,0.15);
  overflow-y: auto;
}
.user-drawer.is-open { transform: translateX(0); }

.user-drawer-who {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
  color: var(--tinta);
}
.user-initial--lg { width: 30px; height: 30px; font-size: 14px; flex-shrink: 0; }

.user-drawer a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--linea);
  color: var(--tinta);
  font-weight: 600;
  font-size: 13.5px;
}
.user-drawer a svg { width: 17px; height: 17px; flex-shrink: 0; }
.user-drawer a:hover { background: var(--marfil); color: var(--azul); }

.user-drawer-link--pronto {
  color: var(--muted) !important;
  cursor: default;
  pointer-events: none;
}
.pronto-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  background: var(--marfil);
  color: var(--muted);
  padding: 2px 7px;
  border-radius: 20px;
}

.user-drawer-link--logout {
  margin-top: auto;
  color: #d1355a !important;
}
.user-drawer-link--logout:hover { background: #fdecef; color: #d1355a; }

/* ---------- Modal de acceso ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 110;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease;
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }

.auth-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: 92%;
  max-width: 360px;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -12px rgba(0,0,0,0.35), 0 0 0 1px var(--linea);
  z-index: 120;
  visibility: hidden;
  opacity: 0;
  overflow: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.auth-modal.is-open { visibility: visible; opacity: 1; transform: translate(-50%, -50%) scale(1); }

.auth-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--linea);
  font-weight: 700;
  font-size: 13px;
}
.auth-head .icon-btn { color: var(--tinta); width: 28px; height: 28px; }
.auth-head .icon-btn:hover { background: var(--marfil); }
.auth-head .icon-btn svg { width: 16px; height: 16px; }

.auth-body { padding: 18px; }
.auth-subhead { margin: 0 0 12px; font-weight: 700; font-size: 15px; }

.auth-btn {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--linea);
  background: var(--card);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 8px;
}
.auth-btn:hover { border-color: var(--azul); }
.auth-next, .auth-register {
  background: var(--azul);
  color: #fff;
  border-color: var(--azul);
}
.auth-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--tinta);
}
.auth-social svg { flex-shrink: 0; }

.auth-toast {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  background: var(--tinta);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.auth-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(-4px); }

.auth-divider {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin: 10px 0;
  position: relative;
}
.auth-divider::before, .auth-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  border-top: 1px solid var(--linea);
}
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

.auth-label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.auth-input {
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid var(--linea);
  margin-bottom: 10px;
  font-size: 13px;
}
.auth-alt { text-align: center; font-size: 12px; color: var(--muted); margin: 10px 0 8px; }

.auth-page {
  max-width: 380px;
  margin: 32px auto;
  background: var(--card);
  border: 1px solid var(--linea);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.auth-page h1 { margin: 0 0 4px; font-size: 20px; }
.auth-page .auth-alt { margin-top: 14px; }
.auth-page .auth-alt a { color: var(--azul); font-weight: 600; }
.auth-error {
  background: #fdecea;
  color: #b3261e;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  margin-bottom: 12px;
}
.auth-exito {
  background: #e6f4ea;
  color: #1e7e34;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  margin-bottom: 12px;
}
.user-initial {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--azul);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Tira de géneros ---------- */

.genre-strip {
  background: var(--card);
  border-bottom: 1px solid var(--linea);
}
.genre-strip-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 18px;
  scrollbar-width: none;
}
.genre-strip-inner::-webkit-scrollbar { display: none; }
.genre-strip-inner a {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--linea);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--tinta-suave);
}
.genre-strip-inner a:hover,
.genre-strip-inner a.is-active {
  background: var(--azul);
  border-color: var(--azul);
  color: #fff;
}

/* ---------- Hero ---------- */

.hero {
  padding: 34px 0 10px;
}
.hero-eyebrow {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--azul);
}
.hero h1 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 34px;
  letter-spacing: -0.5px;
}
.hero-sub {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- Secciones ---------- */

.section { padding: 28px 0 6px; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}
.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 21px;
}
.section-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--azul);
}

.empty { color: var(--muted); font-size: 13.5px; }

/* ---------- Grilla de canciones (novedades) ---------- */

.song-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.song-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .15s ease, transform .15s ease;
}
.song-card:hover { border-color: var(--azul); transform: translateY(-2px); }

.song-cover {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
}
.song-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--coral);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

/* ---------- Lista de canciones (top / género / artista) ---------- */

.song-list {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--linea);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.song-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--linea);
}
.song-row:last-child { border-bottom: none; }
.song-row:hover { background: var(--marfil); }

.song-rank {
  width: 20px;
  flex-shrink: 0;
  font-family: var(--display);
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.song-cover-sm {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  flex-shrink: 0;
}

.artist-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  background: var(--marfil);
}
.artist-avatar-fallback {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(135deg,#2e6fe0,#63b3ff);
}

/* ---------- Selector de país para el TOP Artistas ---------- */

.paises-top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 4px;
}
.pais-top-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--linea);
  background: var(--card);
  color: var(--tinta);
  text-decoration: none;
  flex-shrink: 0;
  transition: border-color .15s ease, background .15s ease, transform .1s ease;
}
.pais-top-link:hover { border-color: var(--azul); transform: translateY(-1px); }
.pais-top-link.activo {
  background: var(--azul);
  border-color: var(--azul);
}
.pais-top-bandera {
  display: block;
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
}
.pais-top-bandera-mundial {
  font-size: 17px;
  line-height: 1;
}

/* ---------- TOP Artistas (grilla de 2 columnas tipo ranking) ---------- */

.top-artistas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 560px) {
  .top-artistas-grid { grid-template-columns: 1fr; }
}
.top-artista-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  padding: 8px 12px 8px 0;
  overflow: hidden;
  transition: border-color .15s ease;
}
.top-artista-card:hover { border-color: var(--azul); }
.top-artista-rank {
  flex-shrink: 0;
  width: 30px;
  text-align: center;
  font-family: var(--display);
  font-size: 13px;
  color: var(--muted);
  background: var(--marfil);
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-artista-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  flex-shrink: 0;
  object-fit: cover;
  background: var(--marfil);
}
.top-artista-thumb-fallback {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(135deg,#2e6fe0,#63b3ff);
}
.top-artista-nombre {
  font-weight: 700;
  font-size: 13.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.song-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.song-title {
  font-weight: 700;
  font-size: 13.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.song-artist {
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.song-views {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--muted);
}

/* ---------- Lista compacta de letras (perfil de artista, 2 columnas) ---------- */

.song-list--compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 10px;
  background: none;
  border: none;
  border-radius: 0;
  overflow: visible;
}
@media (max-width: 460px) {
  .song-list--compact { grid-template-columns: 1fr; }
}
.song-list--compact .song-row {
  background: var(--card);
  border: 1px solid var(--linea);
  border-left: 3px solid var(--azul);
  border-radius: 6px;
  padding: 9px 10px;
}
.song-list--compact .song-row:hover { background: var(--marfil); border-left-color: var(--coral); }
.song-list--compact .song-rank,
.song-list--compact .song-cover-sm,
.song-list--compact .song-views,
.song-list--compact .song-artist { display: none; }
.song-list--compact .song-title { white-space: normal; }

/* ---------- Relacionados con foto (2 columnas) ---------- */

.related-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.related-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  padding: 8px;
  transition: border-color .15s ease, transform .15s ease;
}
.related-card:hover { border-color: var(--azul); transform: translateY(-2px); }
.related-card-photo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--display);
  font-size: 16px;
}
.related-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.related-card-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--tinta);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Colores de portada (placeholders) ---------- */

.song-cover.g1, .song-cover-sm.g1, .song-cover-lg.g1, .playlist-cover.g1, .noticia-cover.g1 { background: linear-gradient(135deg,#ff5d73,#ff9472); }
.song-cover.g2, .song-cover-sm.g2, .song-cover-lg.g2, .playlist-cover.g2, .noticia-cover.g2 { background: linear-gradient(135deg,#2e6fe0,#63b3ff); }
.song-cover.g3, .song-cover-sm.g3, .song-cover-lg.g3, .playlist-cover.g3, .noticia-cover.g3 { background: linear-gradient(135deg,#23b26d,#7ee0ac); }
.song-cover.g4, .song-cover-sm.g4, .song-cover-lg.g4, .playlist-cover.g4, .noticia-cover.g4 { background: linear-gradient(135deg,#a860e0,#d59bff); }
.song-cover.g5, .song-cover-sm.g5, .song-cover-lg.g5, .playlist-cover.g5, .noticia-cover.g5 { background: linear-gradient(135deg,#f2b705,#ffe27a); }
.song-cover.g6, .song-cover-sm.g6, .song-cover-lg.g6, .playlist-cover.g6, .noticia-cover.g6 { background: linear-gradient(135deg,#ff8a3d,#ffc38a); }

/* ---------- Explorá por género ---------- */

.genre-explore { padding: 26px 0 6px; }
.genre-explore-list {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scrollbar-width: none;
}
.genre-explore-list::-webkit-scrollbar { display: none; }

.genre-explore-item {
  flex-shrink: 0;
  width: 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.genre-explore-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--linea);
  color: var(--azul);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 900;
  transition: border-color .15s ease, transform .15s ease;
}
.genre-explore-item:hover .genre-explore-circle {
  border-color: var(--azul);
  transform: translateY(-2px);
}
.genre-explore-item span:last-child {
  font-size: 11px;
  font-weight: 600;
  color: var(--tinta-suave);
}

/* ---------- Frase / letra del día ---------- */

.frase-dia {
  margin: 24px 0 4px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--linea);
  border-left: 4px solid var(--azul);
  border-radius: var(--radius);
}
.frase-dia h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 15px;
}
.frase-dia blockquote {
  margin: 0 0 8px;
  font-size: 14.5px;
  font-style: italic;
  color: var(--tinta-suave);
}
.frase-dia a {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--azul);
}

/* ---------- Más proyectos (footer) ---------- */

.more-ocio { margin-bottom: 20px; }
.more-ocio p {
  margin: 0 0 8px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.7);
}
.more-ocio a { font-weight: 700; color: #fff; }
.more-ocio a:hover { color: var(--azul-dim); }

/* ---------- Barra de compartir ---------- */

.share-bar {
  position: fixed;
  bottom: 14px;
  right: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--linea);
  border-radius: 999px;
  padding: 6px 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  z-index: 40;
}
.share-label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  display: none;
}
.share-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.share-btn svg { width: 14px; height: 14px; }
.share-wa { background: #25d366; }
.share-fb { background: #3762a7; }
.share-tw { background: #14171a; }

@media (min-width: 640px) {
  .share-label { display: inline; }
}

/* ---------- A-Z ---------- */

.az-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.az-grid a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--linea);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--tinta-suave);
}
.az-grid a:hover { border-color: var(--azul); color: var(--azul); }

/* ---------- Migas de pan ---------- */

.breadcrumb {
  padding: 16px 0 0;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.breadcrumb a { color: var(--azul); font-weight: 600; }
.breadcrumb span:not(:last-child) { color: var(--muted); }

/* ---------- Encabezado de playlist (género) ---------- */

.playlist-head {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 24px 0 8px;
}
.playlist-cover {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 32px;
  color: #fff;
}
.playlist-info h1 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 24px;
}
.playlist-info p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
}
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px 0 10px;
}
.pager-info { font-size: 12.5px; color: var(--muted); }
.playlist-links { display: flex; gap: 8px; }

.btn-mini {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--linea);
  font-size: 12px;
  font-weight: 700;
  color: var(--azul);
  background: var(--card);
}
.btn-mini:hover { background: var(--azul); color: #fff; border-color: var(--azul); }

.btn-mini--accent { border-color: var(--coral); color: var(--coral); }
.btn-mini--accent:hover { background: var(--coral); color: #fff; border-color: var(--coral); }

.btn-mini--activo { background: var(--azul); color: #fff; border-color: var(--azul); }

/* ---------- Medallero ---------- */

.medallero-links { display: flex; gap: 8px; }

.medallero-fila {
  padding: 14px 0;
  border-bottom: 1px solid var(--linea);
}
.medallero-fila:first-child { padding-top: 0; }
.medallero-num {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 13px;
  color: var(--muted);
}
.medallero-num a { color: var(--tinta); font-weight: 700; }
.medallero-cuerpo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.medallero-foto {
  flex-shrink: 0;
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
}
.medallero-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.medallero-foto-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  background: linear-gradient(135deg,#2e6fe0,#63b3ff);
}
.medallero-medallas { display: flex; gap: 8px; }
.medalla {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  color: #1a1a1a;
}
.medalla-oro { background: #ffd700; }
.medalla-plata { background: #cfd2d6; }
.medalla-bronce { background: #cd7f32; color: #fff; }
.medallero-texto {
  margin: 0;
  font-size: 13px;
  color: var(--tinta-suave);
  line-height: 1.5;
}

/* ---------- Bloque "+ Nombre" (submenú del artista) ---------- */

.artist-more-block h2 { margin-bottom: 12px; }
.artist-pill-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

/* ---------- Detalle de canción: bloque de encabezado ---------- */

.song-detail-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.song-detail-head .song-cover-lg { margin: 0; }
.song-detail-meta {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
}

#printBtn { margin: 4px 0 6px; border: none; }

/* ---------- Significado ---------- */

.significado {
  margin: 20px 0;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--linea);
  border-radius: var(--radius-lg);
}
.significado h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 16px;
}
.significado p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--tinta-suave);
}
.significado p:not(:last-child) { margin-bottom: 12px; }
.significado iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: 10px; margin: 4px 0 12px; }
.significado img { max-width: 100%; border-radius: 10px; }
.significado blockquote { margin: 0 0 12px; padding: 8px 16px; border-left: 3px solid var(--primary, #6c5ce7); }

/* ---------- Rating ---------- */

.rating-box {
  margin: 20px 0;
  padding: 18px 20px;
  border: 1px solid var(--linea);
  border-radius: var(--radius-lg);
  text-align: center;
}
.rating-box h2 { margin: 0 0 4px; font-family: var(--display); font-size: 16px; }
.rating-box p { margin: 0 0 10px; font-size: 12.5px; color: var(--muted); }
.rating-stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
}
.rating-stars button {
  font-size: 26px;
  color: var(--linea);
  line-height: 1;
}
.rating-stars button:hover,
.rating-stars button.is-active { color: #f2b705; }
.rating-summary { font-size: 12px; color: var(--muted); margin: 0; }

/* ---------- Más del artista / relacionados ---------- */

.dott-block {
  margin: 24px 0;
  padding-top: 20px;
  border-top: 1px solid var(--linea);
}
.dott-block h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 16px;
}

.artist-menu {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}

.related-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.related-item {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 70px;
  text-align: center;
}
.related-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--display);
  font-size: 18px;
}
.related-item span:last-child {
  font-size: 11px;
  color: var(--tinta-suave);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

/* ---------- Detalle de canción ---------- */

.song-detail {
  padding: 28px 0 40px;
  max-width: 640px;
}
.song-cover-lg {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}
.song-detail h1 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 28px;
}
.song-detail-artist {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}
.song-detail-artist a { color: var(--azul); font-weight: 600; }
.song-lyrics {
  white-space: pre-wrap;
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.8;
  background: var(--card);
  border: 1px solid var(--linea);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 0 0 12px;
}
.song-detail-note {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Perfil de artista ---------- */

.artist-header {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 26px 0 4px;
}
.artist-poster {
  width: 108px;
  height: 108px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.artist-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.artist-name {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.5px;
  line-height: 1.05;
}
.artist-meta {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.artist-social {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.artist-social a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--linea);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tinta-suave);
}
.artist-social a:hover { color: var(--azul); border-color: var(--azul); }
.artist-social svg { width: 14px; height: 14px; }

.artist-search {
  margin: 18px 0 4px;
  position: relative;
}
.artist-search input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--linea);
  background: var(--card);
  color: var(--tinta);
  font-size: 13.5px;
}
.artist-search input:focus { outline: none; border-color: var(--azul); }

.artist-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0 4px;
}
.stat-pill {
  background: var(--card);
  border: 1px solid var(--linea);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.stat-pill strong { color: var(--tinta); font-weight: 700; }

.artist-genre-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 4px 0 20px;
}

.artist-vote-box { text-align: left; }
.artist-vote-box p { margin: 0 0 10px; font-size: 13px; color: var(--tinta-suave); }
.artist-vote-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
}
.vote-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--marfil);
  font-size: 13px;
  font-weight: 700;
  color: var(--tinta-suave);
}
.vote-btn svg { width: 15px; height: 15px; }
.vote-up { border: 1px solid var(--verde); }
.vote-up:hover { background: var(--verde); color: #fff; }
.vote-down { border: 1px solid var(--coral); }
.vote-down:hover { background: var(--coral); color: #fff; }

.tag-novedad {
  background: var(--coral);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */

.footer {
  margin-top: 40px;
  padding: 30px 0 40px;
  background: #16181d;
  color: #fff;
}
.footer h2 {
  font-family: var(--display);
  font-size: 19px;
  margin: 0 0 16px;
}
.more-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.more-card {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.more-card:hover { background: rgba(255,255,255,0.12); }
.more-title { font-weight: 700; font-size: 13px; }
.more-desc { font-size: 11.5px; color: rgba(255,255,255,0.6); }
.footer-note {
  font-size: 11.5px;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* ---------- Responsive ---------- */

@media (min-width: 640px) {
  .song-grid { grid-template-columns: repeat(4, 1fr); }
  .more-grid { grid-template-columns: repeat(4, 1fr); }
  .hero h1 { font-size: 42px; }
}

/* ---------- Más Música (hub) ---------- */

.mm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 640px) {
  .mm-grid { grid-template-columns: repeat(3, 1fr); }
}
.mm-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--linea);
  border-radius: var(--radius-lg);
  padding: 16px 14px;
  transition: border-color .15s ease, transform .15s ease;
}
.mm-card:hover { border-color: var(--azul); transform: translateY(-2px); }
.mm-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  background: linear-gradient(135deg,#2e6fe0,#63b3ff);
}
.mm-card-title { font-weight: 700; font-size: 14.5px; }
.mm-card-desc { font-size: 12.5px; color: var(--muted); line-height: 1.35; }

/* ---------- Playlists (grilla por género) ---------- */

.playlist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 640px) {
  .playlist-grid { grid-template-columns: repeat(3, 1fr); }
}
.playlist-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  padding: 12px;
  transition: border-color .15s ease, transform .15s ease;
}
.playlist-card:hover { border-color: var(--azul); transform: translateY(-2px); }
.playlist-card-cover {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 18px;
  color: #fff;
}
.playlist-card-title { font-weight: 700; font-size: 13.5px; }
.playlist-card-desc { font-size: 12px; color: var(--muted); }

.playlist-card-cover.g1 { background: linear-gradient(135deg,#ff5d73,#ff9472); }
.playlist-card-cover.g2 { background: linear-gradient(135deg,#2e6fe0,#63b3ff); }
.playlist-card-cover.g3 { background: linear-gradient(135deg,#23b26d,#7ee0ac); }
.playlist-card-cover.g4 { background: linear-gradient(135deg,#a860e0,#d59bff); }
.playlist-card-cover.g5 { background: linear-gradient(135deg,#f2b705,#ffe27a); }
.playlist-card-cover.g6 { background: linear-gradient(135deg,#ff8a3d,#ffc38a); }

/* ---------- Trivial de Música ---------- */

.trivia-card {
  max-width: 520px;
}
.trivia-pregunta {
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 16px;
}
.trivia-opciones {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.trivia-opcion {
  display: block;
  background: var(--card);
  border: 2px solid var(--linea);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
a.trivia-opcion:hover { background: var(--azul); border-color: var(--azul); color: #fff; }
.trivia-opcion--resuelta { cursor: default; }
.trivia-opcion--correcta { border-color: var(--verde); background: rgba(35,178,109,0.12); color: var(--verde); }
.trivia-opcion--incorrecta { border-color: var(--coral); background: rgba(255,93,115,0.12); color: var(--coral); }
.trivia-feedback {
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 16px;
}
.trivia-feedback--ok { color: var(--verde); }
.trivia-feedback--mal { color: var(--coral); }

/* ---------- Votaciones Artistas (duelo VS) ---------- */

.vs-duelo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 520px;
  margin: 0 auto;
}
.vs-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 2px solid var(--linea);
  border-radius: var(--radius-lg);
  padding: 14px 10px;
  text-align: center;
  transition: border-color .15s ease, transform .15s ease;
}
a.vs-card:hover { border-color: var(--azul); transform: translateY(-2px); }
.vs-card--elegida { border-color: var(--verde); background: rgba(35,178,109,0.1); }
.vs-card-foto {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--marfil);
}
.vs-card-foto-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 30px;
  color: #fff;
  background: linear-gradient(135deg,#2e6fe0,#63b3ff);
}
.vs-card-nombre { font-weight: 700; font-size: 13.5px; }
.vs-card-tag { font-size: 11px; color: var(--verde); font-weight: 700; }
.vs-versus {
  font-family: var(--display);
  font-size: 20px;
  color: var(--coral);
  flex-shrink: 0;
}
.vs-empate {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}
.vs-empate a.btn-mini { margin-top: 8px; }

/* ---------- Noticias (sección de música: chismes, novedades, premios, conciertos) ---------- */

.noticia-cats {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 14px 18px 4px;
  scrollbar-width: none;
}
.noticia-cats::-webkit-scrollbar { display: none; }
.noticia-cat-tab {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--linea);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--tinta-suave);
  background: var(--card);
}
.noticia-cat-tab:hover,
.noticia-cat-tab.is-active {
  background: var(--azul);
  border-color: var(--azul);
  color: #fff;
}

.noticia-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.noticia-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .15s ease, transform .15s ease;
}
.noticia-card:hover { border-color: var(--azul); transform: translateY(-2px); }
.noticia-cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
}
.noticia-cat-tag {
  align-self: flex-start;
  margin: 10px 0 0 10px;
  background: var(--azul);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
}
.noticia-card-body {
  padding: 8px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.noticia-card-title {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
}
.noticia-card-resumen {
  font-size: 12.5px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.noticia-card-meta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.noticia-detalle { padding: 18px 0 8px; }
.noticia-detalle h1 {
  margin: 8px 0 6px;
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.25;
}
.noticia-detalle-meta {
  margin: 0 0 14px;
  font-size: 12.5px;
  color: var(--muted);
}
.noticia-detalle-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  display: block;
  margin-bottom: 16px;
}
.noticia-detalle-resumen {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 14px;
}
.noticia-detalle-cuerpo {
  font-size: 14.5px;
  line-height: 1.7;
}
.noticia-detalle-cuerpo p { margin: 0 0 14px; }
.noticia-detalle-cuerpo iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: 10px; margin: 4px 0 14px; }

/* Páginas legales (privacidad, términos, contacto): títulos y listas. */
.legal-page .noticia-detalle-cuerpo h2 { font-size: 18px; margin: 26px 0 10px; }
.legal-page .noticia-detalle-cuerpo h2:first-child { margin-top: 0; }
.legal-page .noticia-detalle-cuerpo ul { margin: 0 0 14px; padding-left: 20px; }
.legal-page .noticia-detalle-cuerpo li { margin-bottom: 6px; }
.legal-page .noticia-detalle-cuerpo code { background: #f2f1fb; padding: 2px 6px; border-radius: 4px; font-size: 13px; }
.noticia-detalle-cuerpo img { max-width: 100%; border-radius: 10px; }
.noticia-detalle-cuerpo blockquote { margin: 0 0 14px; padding: 8px 16px; border-left: 3px solid var(--primary, #6c5ce7); color: #555; }

/* Alineación de texto guardada por el editor clásico (Quill: clases
   ql-align-*). Sin esto, centrar/alinear a la derecha en el editor no se
   veía reflejado en la página pública. */
.noticia-detalle-cuerpo .ql-align-center,
.significado .ql-align-center { text-align: center; }
.noticia-detalle-cuerpo .ql-align-right,
.significado .ql-align-right { text-align: right; }
.noticia-detalle-cuerpo .ql-align-justify,
.significado .ql-align-justify { text-align: justify; }

@media (min-width: 720px) {
  .noticia-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
  .noticia-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Barra de tabs de "Mi cuenta" (estilo musica.com) ---- */
.cuenta-page {
  max-width: 640px;
  margin: 28px auto;
}
.cuenta-page .cuenta-card {
  margin: 0;
  max-width: none;
}
.cuenta-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--borde, #eee);
}
.cuenta-tab {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 68px;
  padding: 8px 4px 6px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--texto-suave, #666);
  font-size: 11px;
  text-align: center;
}
.cuenta-tab svg { width: 22px; height: 22px; }
.cuenta-tab span { line-height: 1.15; }
.cuenta-tab:hover { background: var(--marfil, #f6f6f6); }
.cuenta-tab--activo { color: var(--azul); font-weight: 700; }
.cuenta-tab--pronto { opacity: .45; cursor: default; pointer-events: none; }
.cuenta-tab-badge {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 8px;
  padding: 0 5px;
  margin-left: 2px;
}

/* ---- Preguntas de música (comunidad) ---- */
.pregunta-login-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
  margin: 10px 0 18px;
}
.pregunta-respuestas {
  border-top: 1px solid var(--linea);
}
.pregunta-respuesta {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--linea);
  font-size: 13.5px;
  line-height: 1.6;
}
.pregunta-respuesta strong { color: var(--azul); }

.az-index { display: flex; justify-content: center; }
.az-list { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.az-list a {
  min-width: 30px;
  text-align: center;
  padding: 6px 8px;
  border: 1px solid var(--linea);
  border-radius: 6px;
  text-decoration: none;
  color: var(--tinta);
  font-size: 13px;
}
.az-list a:hover { border-color: var(--azul); }

/* ---- Puntuar Artistas (escala 1-10) ---- */
.puntuar-form { text-align: center; margin-top: 18px; }
.puntuar-escala {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  max-width: 420px;
  margin: 0 auto;
}
.puntuar-num {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--linea);
  background: #fff;
  color: var(--tinta);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.puntuar-num:hover { border-color: var(--azul); color: var(--azul); }
