:root {
  --motion-out: cubic-bezier(0.19, 0.86, 0.27, 1);
  --motion-spring: cubic-bezier(0.18, 0.93, 0.32, 1.15);
}
@keyframes dialog-arrive {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.958);
  }
  68% {
    opacity: 1;
    transform: translateY(-2px) scale(1.007);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes backdrop-arrive {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes popup-arrive {
  from {
    opacity: 0;
    transform: translateY(7px) scale(0.975);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes drawer-left {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes drawer-right {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes nav-marker {
  from {
    transform: scaleY(0.48);
    opacity: 0.4;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}
#dialog[open] {
  animation: dialog-arrive 310ms var(--motion-out) both;
}
#dialog[open]::backdrop {
  animation: backdrop-arrive 220ms ease-out both;
}
#dialog {
  transform-origin: center 38%;
}
@supports (transition-behavior: allow-discrete) {
  #dialog:not([open]) {
    opacity: 0;
    transform: translateY(9px) scale(0.977);
    transition:
      opacity 145ms ease,
      transform 145ms ease,
      display 145ms allow-discrete,
      overlay 145ms allow-discrete;
    pointer-events: none;
  }
  #dialog:not([open])::backdrop {
    pointer-events: none;
    opacity: 0;
    transition:
      opacity 145ms ease,
      display 145ms allow-discrete,
      overlay 145ms allow-discrete;
  }
}
.server-dropdown {
  animation: none;
}
.server-dropdown.dismissing {
  pointer-events: none;
}
#profileCard:not([hidden]),
#ringCard:not([hidden]) {
  animation: popup-arrive 245ms var(--motion-spring) both;
}
#ringCard {
  transform-origin: top right;
}
#scrim:not([hidden]) {
  animation: backdrop-arrive 240ms ease-out both;
}
.rail-add .ico,
.serverhead > .ico,
.sendbtn .ico,
.desk-close .ico {
  transition: transform 230ms var(--motion-spring);
}
.serverhead[aria-expanded="true"] > .ico {
  transform: rotate(180deg);
}
.sendbtn:not(:disabled):active .ico {
  transform: translate(2px, -2px) scale(0.88);
}
.rail-add:hover .ico {
  transform: rotate(90deg);
}
.desk-close:hover .ico {
  transform: rotate(12deg);
}
#rail .tile {
  transition:
    translate 220ms var(--motion-spring),
    scale 200ms var(--motion-out),
    border-radius 250ms var(--motion-out),
    background-color 190ms ease;
}
#rail .tile:hover {
  translate: 0 -2px;
}
#rail .tile:active {
  scale: 0.94;
}
#rail .tile.selected::before {
  animation: nav-marker 225ms var(--motion-out) both;
}
button.primary,
button.soft,
button.linebtn,
.navrow,
.ftab,
.desk-link,
.request-entry {
  transition:
    background-color 165ms ease,
    color 165ms ease,
    border-color 165ms ease,
    translate 220ms var(--motion-spring),
    scale 190ms var(--motion-out),
    box-shadow 200ms ease;
}
button.primary:active,
button.soft:active,
button.linebtn:active {
  scale: 0.976;
}
.navrow:active,
.ftab:active,
.desk-link:active {
  translate: 1px 0;
}
.invite-content .primary:hover {
  box-shadow: 0 3px 13px #77f2d13a;
}
#callbar.call-open {
  animation: popup-arrive 260ms var(--motion-out) both;
}
.call-tile {
  transition:
    border-color 170ms ease,
    background-color 170ms ease;
}
.call-tile:hover {
  border-color: #99a6d4;
}
@media (max-width: 1000px) {
  body.detail-open #details {
    animation: drawer-right 295ms var(--motion-out) both;
  }
}
@media (max-width: 700px) {
  body.nav-open #rail,
  body.nav-open #sidebar,
  body.studio-menu .desk-nav {
    animation: drawer-left 295ms var(--motion-out) both;
  }
}
@media (prefers-reduced-motion: reduce) {
  #dialog,
  #dialog::backdrop,
  #profileCard,
  #ringCard,
  #scrim,
  #callbar.call-open,
  #rail .tile.selected::before,
  body.nav-open #rail,
  body.nav-open #sidebar,
  body.detail-open #details,
  body.studio-menu .desk-nav {
    animation: none !important;
    transition: none !important;
  }
}
.quiet-motion #dialog,
.quiet-motion #dialog::backdrop,
.quiet-motion #profileCard,
.quiet-motion #ringCard,
.quiet-motion #scrim,
.quiet-motion #callbar.call-open,
.quiet-motion #rail .tile.selected::before,
.quiet-motion body.nav-open #rail,
.quiet-motion body.nav-open #sidebar,
.quiet-motion body.detail-open #details,
.quiet-motion body.studio-menu .desk-nav {
  animation: none !important;
  transition: none !important;
}
