/* The settings share the existing quiet 44px theme control hit area. */
.nx-header .nx-header-settings {display:flex;align-items:center;gap:0;flex:0 0 auto}
.nx-header .nx-motion-toggle .nx-motion-play {display:none}
:root[data-nexin-motion="paused"] .nx-header .nx-motion-toggle .nx-motion-pause {display:none}
:root[data-nexin-motion="paused"] .nx-header .nx-motion-toggle .nx-motion-play {display:block}
:root[data-nexin-motion="paused"] .nx-header .nx-motion-toggle {color:var(--nx-material-accent,var(--nx-blue,var(--nx-light-blue-0030fd,#0030fd)))}
@media(max-width:720px) {.nx-header .nx-header-settings {order:2}}
@media(max-width:359px) {
  .nx-header .nx-menu-toggle {justify-content:center;gap:0;width:44px;min-width:44px;padding-inline:0}
  .nx-header .nx-menu-toggle > span {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
}

/* Decorative CSS sequences land on their last keyframe. Scene adapters seek
   their authored final poses and stop their own native clocks separately. */
:root[data-nexin-motion="paused"],
:root[data-nexin-motion="paused"] *,
:root[data-nexin-motion="paused"] *::before,
:root[data-nexin-motion="paused"] *::after {
  animation-duration:.001ms!important;
  animation-delay:-1ms!important;
  animation-iteration-count:1!important;
  animation-fill-mode:both!important;
  animation-play-state:paused!important;
  transition:none!important;
  scroll-behavior:auto!important;
}

/* Hide paused replay controls; their native entry gates retain the final pose. */
html[data-nexin-motion="paused"] .nx-card-motion-replay{display:none!important}
