/* A measured entrance and exit, with one duration shared by CSS and the controller. */
body{--aoh-menu-enter:1100ms;--aoh-menu-exit:900ms;--aoh-menu-ease:cubic-bezier(.45,0,.2,1)}
body .aoh-menu-panel{transition:transform var(--aoh-menu-enter) var(--aoh-menu-ease);will-change:transform}
body .aoh-menu[data-state="closing"] .aoh-menu-panel{transition-duration:var(--aoh-menu-exit)}
body .aoh-menu::backdrop{transition:opacity 850ms cubic-bezier(.4,0,.2,1);backdrop-filter:blur(7px)}
body .aoh-menu[data-state="closing"]::backdrop{transition-duration:var(--aoh-menu-exit)}
body .aoh-menu-link{opacity:0;translate:16px 0;transition:opacity 700ms ease,translate 850ms var(--aoh-menu-ease),color 300ms,border-color 300ms,background-color 300ms;transition-delay:0ms}
body .aoh-menu[data-state="open"] .aoh-menu-link{opacity:1;translate:0 0;transition-delay:calc(220ms + var(--aoh-menu-order,0)*45ms),calc(220ms + var(--aoh-menu-order,0)*45ms),0ms,0ms,0ms}
body .aoh-menu[data-state="closing"] .aoh-menu-link{transition-duration:300ms;opacity:0;translate:8px 0}
body .aoh-menu[data-state="closed"] .aoh-menu-panel{will-change:auto}
body .aoh-menu-link:focus-visible{opacity:1;translate:0 0}
body .aoh-menu-socials{gap:0 20px}
body .aoh-menu-socials>a{font-family:var(--aoh-ui-font);font-size:.78rem;letter-spacing:.035em;border-bottom:1px solid var(--player-line);padding-block:12px}

/* Phone means one release per row, in every composition and both player modes.
   Internal cover/metadata arrangements keep their design; no second release shares a row. */
@media(max-width:700px){
 body[class*="template-"] :is(#alben,#singles) .releases{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-flow:row!important;
  grid-auto-rows:auto!important;gap:28px!important;column-count:1!important;column-width:auto!important;
  width:100%!important;max-width:100%!important;margin-inline:0!important;padding-inline:0!important;
 }
 body[class*="template-"] :is(#alben,#singles) .releases>.release-card{
  grid-column:1/-1!important;grid-row:auto!important;align-self:start;min-width:0!important;
  max-width:100%!important;width:100%!important;margin:0!important;transform:none!important;
 }
 body[class*="template-"] :is(.collection-columns,.collection-stagger) .releases>.release-card{padding-top:0!important}
 body[class*="template-"] .collection-stack .release-card:last-child{display:flex!important;gap:0!important;flex-direction:column}
 body[class*="template-"] .collection-polaroid .releases{padding-inline:5px!important}
 body[class*="template-"] .collection-columns .release-card{padding-inline:0!important;border-right:0!important}
 body[class*="template-"] .collection-vinyl .release-info{padding-top:20px}
 body .aoh-carousel[data-mobile-layout="stack"] .aoh-viewport{overflow:visible!important;touch-action:pan-y;cursor:auto;padding-block:0!important}
 body .aoh-carousel[data-mobile-layout="stack"] .aoh-track{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-flow:row!important;
  height:auto!important;min-height:0!important;width:100%!important;gap:32px!important;
 }
 body .aoh-carousel[data-mobile-layout="stack"] .aoh-track>.aoh-slide{
  position:relative!important;inset:auto!important;grid-column:1/-1!important;grid-row:auto!important;
  width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;
  flex:none!important;transform:none!important;will-change:auto!important;
 }
 body .aoh-carousel[data-mobile-layout="stack"] .aoh-slide>article{
  width:100%!important;max-width:100%!important;min-width:0!important;
 }
 body .aoh-carousel[data-mobile-layout="stack"] .aoh-nav{display:none!important}
 body .artistpage-offline-root :is(#alben,#singles){min-width:0;max-width:100%}
 body .aoh-roadhouse-card{max-width:100%!important;width:100%!important}
 body[class*="template-"] .collection-poster .release-info{padding:18px 52px 18px 18px}
 body[class*="template-"] .collection-poster .release-title{font-size:clamp(1.4rem,6vw,2rem)}
}
@media(prefers-reduced-motion:reduce){
 body .aoh-menu-panel,body .aoh-menu::backdrop,body .aoh-menu-link{transition:none!important;animation:none!important}
 body .aoh-menu-link{translate:none!important;opacity:1!important}
}
