/* Contienda motion: short, interruptible and independent of application state. */
@keyframes ce-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@keyframes ce-sheet-in{from{opacity:0;transform:translateY(32px)}to{opacity:1;transform:translateY(0)}}
@keyframes ce-dialog-in{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes ce-backdrop-in{from{opacity:0}to{opacity:1}}
@keyframes ce-nav-in{from{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:translateX(0)}}
@media(prefers-reduced-motion:no-preference){
  body :is(.ce-app,.ce-landing) :is(button,.ce-btn,.ce-nav a,.ce-tile-actions a,.ce-community-actions a),body.login :is(.button,input){transition:background-color 180ms ease,border-color 180ms ease,color 180ms ease,box-shadow 180ms ease,transform 180ms cubic-bezier(.2,.75,.25,1)}
  body .ce-app :is(input,select,textarea){transition:border-color 180ms ease,box-shadow 180ms ease,background-color 180ms ease}
  body :is(.ce-app,.ce-landing) :is(button,.ce-btn):active:not(:disabled),body.login .button:active{transform:scale(.975)}
  body .ce-app .ce-mobile-nav :is(a,button){transition:background-color 180ms ease,color 180ms ease,transform 150ms ease}
  body .ce-app .ce-mobile-nav svg{transition:transform 180ms cubic-bezier(.2,.75,.25,1)}
  body .ce-app .ce-mobile-nav :is(a,button):active svg{transform:translateY(-2px)}
  body .ce-app :is(.ce-home-welcome,.ce-competition-hero,.ce-dashboard-welcome,.ce-community-hero)>:not(dialog),body .ce-landing .ce-hero-body>*{animation:ce-rise 480ms cubic-bezier(.2,.75,.25,1) backwards}
  body .ce-app :is(.ce-home-welcome,.ce-competition-hero,.ce-dashboard-welcome,.ce-community-hero)>:nth-child(2),body .ce-landing .ce-hero-body>:nth-child(2){animation-delay:50ms}
  body .ce-app :is(.ce-home-welcome,.ce-competition-hero,.ce-dashboard-welcome,.ce-community-hero)>:nth-child(3),body .ce-landing .ce-hero-body>:nth-child(3){animation-delay:100ms}
  body .ce-landing .ce-hero-body>:nth-child(n+4){animation-delay:150ms}
  body .ce-app dialog[open]{animation:ce-dialog-in 230ms cubic-bezier(.2,.75,.25,1)}
  body .ce-app dialog[open]::backdrop{animation:ce-backdrop-in 180ms ease-out}
  body .wp-site-blocks>header .wp-block-navigation__responsive-container.is-menu-open{animation:ce-backdrop-in 180ms ease-out}
  body .wp-site-blocks>header .is-menu-open .wp-block-navigation-item{animation:ce-nav-in 300ms cubic-bezier(.2,.75,.25,1) backwards}
  body .wp-site-blocks>header .is-menu-open .wp-block-navigation-item:nth-child(2){animation-delay:40ms}
  body .wp-site-blocks>header .is-menu-open .wp-block-navigation-item:nth-child(n+3){animation-delay:80ms}
  body.login .ce-login-intro,body.login #login>form{animation:ce-rise 450ms cubic-bezier(.2,.75,.25,1) backwards}
  body.login #login>form{animation-delay:70ms}
  body.login .ce-login-story{animation:ce-rise 550ms cubic-bezier(.2,.75,.25,1) 100ms backwards}
  @media(max-width:700px){body .ce-app dialog[open]{animation-name:ce-sheet-in;animation-duration:260ms}}
  @media(hover:hover) and (pointer:fine){
    body .ce-app :is(.ce-dashboard-actions a,.ce-player-tile,.ce-community-actions a),body .ce-landing .ce-community-identity{transition:transform 220ms cubic-bezier(.2,.75,.25,1),border-color 220ms ease,box-shadow 220ms ease}
    body .ce-app :is(.ce-dashboard-actions a,.ce-player-tile,.ce-community-actions a):hover,body .ce-landing .ce-community-identity:hover{transform:translateY(-3px);box-shadow:0 10px 26px #03060b33}
    body :is(.ce-app,.ce-landing) .ce-btn:hover{transform:translateY(-1px)}
  }
}
/* Also neutralize older hover effects when the device asks for less movement. */
@media(prefers-reduced-motion:reduce){
  body :is(.ce-app,.ce-landing) *,body :is(.ce-app,.ce-landing) *::before,body :is(.ce-app,.ce-landing) *::after,body.login *,body .wp-site-blocks>header *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  body .ce-app dialog::backdrop{animation:none!important;transition:none!important}
  body .ce-app :is(.ce-dashboard-actions a,.ce-player-tile,.ce-community-actions a,.ce-qr-orbit,.ce-mobile-nav a,.ce-mobile-nav button):is(:hover,:active),body .ce-landing .ce-community-identity:hover{transform:none!important}
}
