/* Descarga de la app (ver app-descarga.js). Solo se carga en /adivina-la-cancion. */

/* Pastilla de la cabecera: pequeña, para no tapar el nombre del juego. */
.app-pastilla {
  display: inline-flex; align-items: center; white-space: nowrap;
  padding: .35rem .6rem; border-radius: 999px;
  border: 1px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--text); font-size: .78rem; font-weight: 700; text-decoration: none;
}
.app-pastilla:active { transform: scale(.97); }

/* Botón grande, el mismo en el muro y en el aviso. */
.app-boton {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  width: 100%; min-height: 52px; padding: 0 1rem; border-radius: 12px;
  background: var(--accent); border: 1px solid var(--accent);
  color: #fff; font-size: 1.05rem; font-weight: 800; text-decoration: none;
}
.app-boton:active { transform: scale(.98); }

/* En "Has llegado al límite de hoy" el botón es lo único que se pide: separado del texto
   y con las dos ideas clave del mensaje en blanco. */
.bloqueo .app-boton { margin-top: 1rem; }
.bloqueo .carta-sub b { color: var(--text); }

/* El aviso: un diálogo corto y sin sorpresas. */
dialog.app-dialogo { position: relative; padding-top: 3.4rem; }   /* el título empieza debajo de la X */
dialog.app-dialogo h2 { padding: 0; }
.app-dialogo-texto { margin: .5rem 0 1.2rem; }
dialog.app-dialogo .app-no { display: block; margin: .75rem auto 0; min-height: 44px; }

@media (prefers-reduced-motion: reduce) {
  .app-pastilla:active, .app-boton:active { transform: none; }
}

/* ------------------------------------------- Adivina la canción: Juega por artistas (pequeño) */
.por-artistas { max-width: 40rem; margin: .9rem auto 0; padding: 0 1rem; text-align: center; }
.por-artistas-sub { margin: 0 0 .5rem; color: var(--muted); font-size: .78rem; line-height: 1.35; }
.artistas-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; }
.artista-chip {
  min-height: 36px; padding: .3rem .75rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel); color: var(--text);
  font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer;
}
.artista-chip:hover { border-color: var(--accent); }
.artista-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.artista-chip:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .artista-chip:active { transform: none; } }
