/* AMM 367: Render-light visuals targeting observed real-user INP bottlenecks.
   Only public homepage cosmetics and the sticky navigation are affected.
   Do not change auth, catalogue, route history, or licensing operations. */
.topbar {
  /* The previous 24px full-width backdrop filter repainted behind the sticky header. */
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  background:linear-gradient(120deg,rgba(10,14,30,.985),rgba(9,21,36,.985))!important;
}
#home .amm33-hero:before {
  /* Preserve the layered aurora appearance without an endlessly rotating blurred repaint. */
  animation:none!important;
  transform:rotate(12deg);
}
#home .amm33-signal b {
  /* Original animation changed height, a layout/paint property, 40 times continuously.
     Keep the waveform shape and animate only selected bars using transforms. */
  animation:none!important;
  transform-origin:center bottom;
}
#home .amm33-hero.amm367-visible:not(.amm367-still) .amm33-signal b:nth-child(4n + 1) {
  animation:amm367-wave-transform calc(1.6s + var(--d)) ease-in-out infinite alternate!important;
  animation-delay:var(--delay)!important;
}
@keyframes amm367-wave-transform {
  0%{transform:scaleY(.5);opacity:.70}
  100%{transform:scaleY(1);opacity:1}
}
#home .amm33-disc {animation-play-state:paused!important}
#home .amm33-hero.amm367-visible:not(.amm367-still) .amm33-disc{animation-play-state:running!important}
/* Hide cosmetic animation during page navigation, tab changes or offscreen viewing. */
#home .amm33-hero.amm367-still .amm33-signal b,
#home .amm33-hero:not(.amm367-visible) .amm33-signal b{animation-play-state:paused!important}
@media (max-width:830px),(pointer:coarse),(prefers-reduced-motion:reduce) {
  #home .amm33-hero.amm367-visible:not(.amm367-still) .amm33-signal b:nth-child(4n + 1),
  #home .amm33-hero .amm33-signal b,
  #home .amm33-hero.amm367-visible:not(.amm367-still) .amm33-disc,
  #home .amm33-hero .amm33-disc{animation:none!important}
}
/* Preserve the universal navigation's readability without its costly blur pass. */
.amm-universal-history{background:rgba(5,11,21,.975)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
