#ZeusAssistant {
  --zeus-dialog-shade: #0203039e;
}

#ZeusFinderResult {
  --zeus-dialog-shade: #0b0908d9;
}

@media (prefers-reduced-motion: no-preference) {
  body :is(#ZeusAssistant, #ZeusFinderResult)[data-zeus-motion="enter"]::backdrop {
    animation: zeus-dialog-shade-in 260ms cubic-bezier(.22, 1, .36, 1) both;
  }

  body :is(#ZeusAssistant, #ZeusFinderResult)[data-zeus-motion="exit"]::backdrop {
    animation: zeus-dialog-shade-out 180ms cubic-bezier(.4, 0, 1, 1) both;
  }

  body :is(#ZeusAssistant, #ZeusFinderResult)[data-zeus-motion="switch-in"]::backdrop {
    animation: zeus-dialog-shade-switch 260ms cubic-bezier(.22, 1, .36, 1) both;
  }

  @keyframes zeus-dialog-shade-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes zeus-dialog-shade-out {
    from { opacity: 1; }
    to { opacity: 0; }
  }

  @keyframes zeus-dialog-shade-switch {
    from { background-color: var(--zeus-previous-shade); }
    to { background-color: var(--zeus-dialog-shade); }
  }
}
