/* Mini-lecteur Apple Music (lecture intégrée) et boutons ▶ des listes de titres. */
.ambar{position:fixed;z-index:40;left:var(--bv-s3);right:var(--bv-s3);bottom:calc(var(--bv-bottom-h) + env(safe-area-inset-bottom) + var(--bv-s2));display:flex;align-items:center;gap:var(--bv-s3);padding:var(--bv-s2) var(--bv-s3);background:var(--bv-card);color:var(--bv-ink);border:1px solid var(--bv-line);border-left:3px solid var(--bv-apple);border-radius:var(--bv-r-card);box-shadow:var(--bv-shadow)}
.ambar[hidden]{display:none}
.ambar-art{width:44px;height:44px;flex:none;border-radius:6px;object-fit:cover;background:var(--bv-card-2)}
.ambar-t{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
.ambar-t b,.ambar-t small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ambar-t b{font-size:15px}
.ambar-t small{font-size:var(--bv-fs-meta);color:var(--bv-mute)}
.ambar-p{display:block;height:3px;margin-top:4px;background:var(--bv-line);border-radius:2px;overflow:hidden}
.ambar-p i{display:block;height:100%;width:0;background:var(--bv-apple)}
.ambar-c{display:flex;align-items:center;gap:2px;flex:none}
.ambar-b{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:0;border-radius:50%;background:transparent;color:var(--bv-ink);cursor:pointer}
.ambar-b:hover:not(:disabled){background:var(--bv-card-2)}
.ambar-b:disabled{opacity:.35;cursor:default}
.ambar-b.is-main{width:44px;height:44px;background:var(--bv-ink);color:var(--bv-bg)}
.ambar-b.is-main:hover{filter:brightness(1.1);background:var(--bv-ink)}
.ambar-b.is-main .bv-icon{fill:currentColor}
body.bv-playing:not(.locked){padding-bottom:calc(var(--bv-bottom-h) + env(safe-area-inset-bottom) + 76px)}
body.bv-playing:not(.locked) .toast{bottom:calc(var(--bv-bottom-h) + env(safe-area-inset-bottom) + 84px)}
body.locked .ambar{display:none}
@media(min-width:1024px){
  .ambar{left:calc(var(--bv-side-w) + var(--bv-s4));right:var(--bv-s4);bottom:var(--bv-s4);max-width:760px;margin:0 auto}
  body.bv-playing:not(.locked){padding-bottom:88px}
  body.bv-playing:not(.locked) .toast{bottom:96px}
}
@media(max-width:420px){.ambar-c [data-c=prev]{display:none}}

/* bouton ▶ dans le top 20 et la tracklist */
.amp .bv-icon{fill:currentColor}
.t20.has-amp>li{grid-template-columns:34px 44px minmax(0,1fr) 44px auto}
.album-tracklist.has-amp li{grid-template-columns:32px 36px minmax(0,1fr) auto auto}
.album-tracklist.has-amp .songbox{grid-column:3/-1}
@media(max-width:719px){.album-tracklist.has-amp li{grid-template-columns:26px 36px minmax(0,1fr) auto auto}}
@media(max-width:600px){.t20.has-amp>li{grid-template-columns:26px 44px minmax(0,1fr) 44px}.t20.has-amp .sp{grid-column:3}}
