.m-popup-mask {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.65);
  height: 100%;
  z-index: 1000;
}
.m-popup-box {
  position: fixed;
  z-index: 1000;
  max-width: 100%;
  max-height: 100%;
  overflow: auto;
  will-change: auto;
}
.m-popup.m-popup-center .m-popup-box {
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.m-popup.m-popup-left .m-popup-box,
.m-popup.m-popup-right .m-popup-box {
  height: 100%;
}
.m-popup.m-popup-top .m-popup-box,
.m-popup.m-popup-bottom .m-popup-box {
  width: 100%;
}
.m-popup.m-popup-left .m-popup-box,
.m-popup.m-popup-top .m-popup-box {
  top: 0;
  left: 0;
}
.m-popup.m-popup-right .m-popup-box {
  top: 0;
  right: 0;
}
.m-popup.m-popup-bottom .m-popup-box {
  bottom: 0;
  left: 0;
  background-color: #fff;
  padding-bottom: env(safe-area-inset-bottom);
}
.m-popup-title-bar {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  background-color: #fff;
  overflow: hidden;
  position: relative;
}
.m-popup-title-bar::after {
  content: '';
  position: absolute;
  background-color: #ebebeb;
  display: block;
  z-index: 1;
  top: auto;
  right: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  -webkit-transform-origin: 50% 100%;
      -ms-transform-origin: 50% 100%;
          transform-origin: 50% 100%;
  -webkit-transform: scaleY(0.5);
      -ms-transform: scaleY(0.5);
          transform: scaleY(0.5);
}
.m-popup-title-bar-center {
  -webkit-box-flex: 3;
  -webkit-flex: 3;
      -ms-flex: 3;
          flex: 3;
  text-align: center;
}
.m-popup-title-bar-left,
.m-popup-title-bar-right {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}
.m-popup-title-bar-left,
.m-popup-title-bar-right,
.m-popup-title-bar-center {
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
}
.m-popup-title-bar-right {
  color: #1e9eff;
}
.m-popup-title-bar-describe {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
}
