.yg-mask {
  &-container {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 900;
    -webkit-overflow-scrolling: touch;
    outline: 0;
    // animation: fadeOpacity 1s cubic-bezier(0.3, 1.3, 0.3, 1);
  }
  &-wrap {
    width: 100%;
    // height: 100%;
    // position: relative;
    position: absolute;
    &.bottom {
      bottom: 0;
    }
    &.center {
      left: 50%;
      top: 50%;
      bottom: initial;
      transform: translate(-50%, -50%);
    }
  }
  &-layer {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    animation: fadeOpacity 0.8s cubic-bezier(0.3, 1.3, 0.3, 1);
    &.blur {
      // background: rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(10px);
    }
  }
  @keyframes fadeOpacity {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}
