.fab {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #16213E;
  color: #fff;
  font-size: 0;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2500;
  box-shadow: 0 16px 34px rgba(22, 33, 62, .28);
  transition: opacity .2s ease, transform .25s ease, box-shadow .25s ease;
}

.fab.can-post {
  display: flex;
}

.fab::before,
.fab::after {
  content: none;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: #fff;
  transform: translate(-50%, -50%);
}

.fab::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.fab:active,
.fab.active {
  transform: scale(1.12);
  box-shadow: 0 20px 44px rgba(22, 33, 62, .34);
}

body.drawer-open .fab,
body.editor-open .fab {
  opacity: 0;
  pointer-events: none;
  transform: scale(.86);
}

.fab-circle {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #16213E;
  z-index: 1999;
  transform: scale(1);
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

.fab-circle.expand {
  transform: scale(60);
}
