/* Promote only the few moving layers in a visible, enabled scene. */
.motion-active .hero-token,.motion-active .token-orbit,.motion-active .notice-track{will-change:transform}
.motion-paused,.motion-paused *,.motion-paused::before,.motion-paused::after,.motion-paused *::before,.motion-paused *::after{animation-play-state:paused!important;will-change:auto!important}
.precision-revealed{animation-fill-mode:backwards}
/* Static surfaces with an opacity overlay replace repeated color repainting. */
.protocol-node{position:relative;isolation:isolate}
.protocol-node::before{content:'';position:absolute;inset:-1px;border:1px solid var(--protocol-active);border-radius:inherit;background:var(--protocol-tint);z-index:-1;opacity:0;pointer-events:none;animation:protocol-tint 10s ease-in-out var(--node-delay) infinite}
.token-node::before{content:'';position:absolute;inset:-1px;border:1px solid color-mix(in srgb,var(--token-accent) 65%,var(--precision-line));border-radius:inherit;opacity:0;pointer-events:none;animation:token-node-glow 9s ease-in-out var(--token-delay) infinite}
.motion-active .protocol-node::before,.motion-active .token-node::before{will-change:opacity}
@keyframes protocol-tint{0%,33%,100%{opacity:0}10%,18%{opacity:1}}
/* Keep the main motion on small screens; make ambient layers stationary. */
.motion-compact .token-aura,.motion-compact .token-shadow,.motion-compact .token-contours,.motion-compact .community-orbit.inner{animation:none}
.motion-compact .protocol-node{animation:none}
.motion-compact .protocol-node::before,.motion-compact .token-node::before{animation-duration:14s}
.token-hero .hero-art.motion-compact>.hero-token{animation-name:token-roll-compact!important;animation-duration:18s!important}
@keyframes token-roll-compact{0%,100%{transform:translateY(0) rotateY(-10deg) rotateZ(-4deg) scale(.98)}50%{transform:translateY(-2%) rotateY(10deg) rotateZ(4deg) scale(1)}}
.visual-motion-off .protocol-node::before,.visual-motion-off .token-node::before{animation:none!important;opacity:0}
.token-hero.visual-motion-off .hero-art>.hero-token,.token-hero .hero-art.visual-motion-off>.hero-token{animation:none!important;will-change:auto!important}
@media(prefers-reduced-motion:reduce){.motion-active *{will-change:auto!important}.protocol-node::before,.token-node::before{animation:none!important;opacity:0}.token-hero .hero-art.motion-compact>.hero-token{animation:none!important;will-change:auto!important}}
