.Dialog-container {
    transition: opacity .5s cubic-bezier(0.3, 1.3, 0.3, 1);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background-color: rgba(0, 0, 0, .5);
    z-index: 100000;
    user-select: none;
    opacity: 1
}

.Dialog-container.hide {
    left: -9999px;
    top: -9999px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none
}

@media screen and (min-width: 2240px) {
    .Dialog-container {
        margin: 0 calc(50vw - $maxScreenWidth / 2)
    }
}

.Dialog__wrap {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    overflow: auto
}

.Dialog-lockscroll {
    overflow: hidden;
    height: 100%
}

html .ant-message,
body .ant-message {
    position: fixed;
    z-index: 100010;
    top: calc(50% - 80px);
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    opacity: 1;
    animation-name: MessageMoveIn;
    animation-duration: .3s;
    animation-timing-function: ease-in
}

html .ant-message .ant-message-notice.move-up-leave.move-up-leave-active,
body .ant-message .ant-message-notice.move-up-leave.move-up-leave-active {
    animation-name: MessageMoveOut;
    animation-duration: .3s;
    animation-timing-function: ease-in
}

html .ant-message .ant-message-notice-content,
body .ant-message .ant-message-notice-content {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 2px;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .08);
    border: solid 1px #e1e1e3;
    background-color: var(--view-background-primary);
    font-size: 14px;
    color: var(--content-primary);
    text-align: left
}

html .ant-message .ant-message-notice-content i,
html .ant-message .ant-message-notice-content span,
body .ant-message .ant-message-notice-content i,
body .ant-message .ant-message-notice-content span {
    vertical-align: middle
}

html .ant-message .ant-message-notice-content svg,
body .ant-message .ant-message-notice-content svg {
    margin-right: 8px;
    vertical-align: middle;
    height: 16px;
    width: 16px
}

html .ant-message .ant-message-custom-content,
body .ant-message .ant-message-custom-content {
    line-height: 24px
}

@keyframes MessageMoveOut {
    0% {
        opacity: 1
    }

    100% {
        opacity: 0
    }
}

@keyframes MessageMoveIn {
    0% {
        top: 50%;
        opacity: 0
    }

    100% {
        top: calc(50% - 80px);
        opacity: 1
    }
}