/* MUSICOTECA V12 — PADRÃO MESTRE DA PÁGINA DE ÁLBUM
   Escopo exclusivo: AlbumPage mobile.
   NÃO altera web-player-container, mini-player ou navegação inferior. */

@media (max-width: 600px) {
  /* =========================================================
     1. CABEÇALHO / RÓTULO
     ========================================================= */
  header.musicoteca-album-page-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-top: 14px !important;
    gap: 0 !important;
  }

  header.musicoteca-album-page-header::before {
    content: "Álbum Brasileiro" !important;
    display: block !important;
    width: calc(100% - 78px) !important;
    margin: 0 auto 42px !important;
    padding: 0 20px 11px !important;
    box-sizing: border-box !important;
    border-bottom: 1px solid rgba(226,168,82,.38) !important;
    color: #e6b86d !important;
    text-align: center !important;
    font-size: 16px !important;
    line-height: 1.1 !important;
    font-weight: 500 !important;
    letter-spacing: .02em !important;
    position: relative !important;
  }

  header.musicoteca-album-page-header::after {
    content: "" !important;
    position: absolute !important;
    top: 70px !important;
    left: 11.5% !important;
    width: 77% !important;
    height: 1px !important;
    background: rgba(226,168,82,.38) !important;
    pointer-events: none !important;
  }

  /* =========================================================
     2. CAPA — proporção do modelo aprovado
     ========================================================= */
  header.musicoteca-album-page-header img.rounded-card,
  header.musicoteca-album-page-header img[class*="rounded-card"] {
    display: block !important;
    width: 67vw !important;
    height: 67vw !important;
    max-width: 462px !important;
    max-height: 462px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    margin: 0 auto !important;
    border-radius: 30px !important;
    box-shadow: 0 12px 30px rgba(43,23,16,.16) !important;
  }

  /* =========================================================
     3. TÍTULO / ARTISTA / METADADOS
     ========================================================= */
  header.musicoteca-album-page-header h1 {
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 25px 0 0 !important;
    padding: 0 16px !important;
    text-align: center !important;
    font-size: clamp(30px, 7.8vw, 42px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.025em !important;
    text-shadow: none !important;
    filter: none !important;
  }

  header.musicoteca-album-page-header h1 + div {
    margin: 10px auto 0 !important;
    justify-content: center !important;
    text-align: center !important;
  }

  header.musicoteca-album-page-header h1 + div + div {
    margin: 14px auto 0 !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
  }

  /* =========================================================
     4. AÇÕES DO ÁLBUM — sem atingir o player
     ========================================================= */
  header.musicoteca-album-page-header + div {
    margin-top: 29px !important;
    margin-bottom: 45px !important;
  }

  header.musicoteca-album-page-header + div > div {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    width: 100% !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
  }

  header.musicoteca-album-page-header + div > div > button,
  header.musicoteca-album-page-header + div > div > a {
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
  }

  /* Botão principal: proporção visual do modelo. */
  header.musicoteca-album-page-header + div > div > button:first-child {
    width: 245px !important;
    max-width: calc(100vw - 260px) !important;
    min-width: 0 !important;
    height: 68px !important;
    padding: 0 30px !important;
    border-radius: 999px !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    box-sizing: border-box !important;
  }

  /* Ações circulares. */
  header.musicoteca-album-page-header + div > div > button:not(:first-child),
  header.musicoteca-album-page-header + div > div > a {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    min-height: 64px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  header.musicoteca-album-page-header + div > div > button svg,
  header.musicoteca-album-page-header + div > div > a svg {
    width: 22px !important;
    height: 22px !important;
    flex-shrink: 0 !important;
  }

  /* =========================================================
     5. FICHA TÉCNICA — apenas o conteúdo imediatamente após ações
     ========================================================= */
  header.musicoteca-album-page-header + div + div {
    margin-top: 0 !important;
  }

  /* Não estilizar nenhum elemento fora do AlbumPage acima. */
}
