.fm-overlay {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  padding-bottom: env(safe-area-inset-bottom);
  -webkit-overflow-scrolling: touch;
}
.fm-popup {
  position: fixed;
  max-height: 100%;
  z-index: 999;
  background-color: #fff;
  padding-bottom: env(safe-area-inset-bottom);
  -webkit-overflow-scrolling: touch;
}
.fm-popup--center {
  top: 50%;
  left: 50%;
  -webkit-transform: translate3d(-50%, -50%, 0);
          transform: translate3d(-50%, -50%, 0);
}
.fm-popup--top {
  top: 0;
  left: 0;
  width: 100%;
}
.fm-popup--bottom {
  bottom: 0;
  left: 0;
  width: 100%;
}
.fm-popup--left {
  top: 0;
  left: 0;
  height: 100%;
}
.fm-popup--right {
  top: 0;
  right: 0;
  height: 100%;
}
