.qmsg.qmsg-wrapper{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: rgba(0, 0, 0, .55);
    font-size: .2rem;
    font-variant: tabular-nums;
    line-height: 1;
    list-style: none;
    font-feature-settings: "tnum";
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    z-index: 10100000;
    width: 100%;
    pointer-events: none;
}
.qmsg.qmsg-wrapper *,
.qmsg.qmsg-wrapper *::before,
.qmsg.qmsg-wrapper *::after{
    box-sizing: border-box;
}
.qmsg .qmsg-item{
    padding: .08rem;
    text-align: center;
    -webkit-animation-duration: .3s;
    animation-duration: .3s;
    position: relative;
}
.qmsg .qmsg-item .qmsg-count{
    text-align: center;
    position: absolute;
    left: -.04rem;
    top: -.04rem;
    background-color: red;
    color: #fff;
    font-size: .2rem;
    line-height: .2rem;
    border-radius: .02rem;
    display: inline-block;
    min-width: .2rem;
    height: .2rem;
    -webkit-animation-duration: .3s;
    animation-duration: .3s;
}
.qmsg .qmsg-item:first-child{
    margin-top: -.08rem;
}
.qmsg .qmsg-content{
    text-align: left;
    position: relative;
    display: inline-block;
    padding: .1rem .16rem;
    background: rgba(0, 0, 0, .8);
    color: #fff;
    border-radius: .04rem;
    box-shadow: 0 .04rem .12rem rgba(0, 0, 0, .15);
    pointer-events: all;
    max-width: 80%;
    min-width: .8rem;
    line-height: 1.4;
}
.qmsg .qmsg-content [class^="qmsg-content-"]{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.qmsg .qmsg-content .qmsg-content-with-close{
    padding-right: .2rem;
}
.qmsg .qmsg-icon{
    display: inline-block;
    color: inherit;
    font-style: normal;
    line-height: 0;
    text-align: center;
    text-transform: none;
    vertical-align: -.125em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    top: .01rem;
    margin-right: .08rem;
    font-size: .2rem;
}
.qmsg .qmsg-icon svg{
    display: inline-block;
    width: 1em;
    height: 1em;
    /* vertical-align: middle; */
}

.qmsg .qmsg-content-info .qmsg-icon{
    color: #1890ff;
    user-select: none;
}
.qmsg .qmsg-icon-close{
    position: absolute;
    top: .11rem;
    right: .05rem;
    padding: 0;
    overflow: hidden;
    font-size: .2rem;
    line-height: .2rem;
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    color: rgba(255, 255, 255, .65);
    transition: color .3s;
}
.qmsg .qmsg-icon-close:hover{
    color: rgba(255, 255, 255, 1);
}
.qmsg .qmsg-icon-close:hover>svg path{
    stroke: rgba(255, 255, 255, 1);
}
.qmsg .animate-turn{
    animation:MessageTurn 1s linear infinite;  
    -webkit-animation: MessageTurn 1s linear infinite;
}
@keyframes MessageTurn{
    0%{transform: rotate(0deg);}
    25%{transform: rotate(90deg);}
    50%{transform: rotate(180deg);}
    75%{transform: rotate(270deg);}
    100%{transform: rotate(360deg);}
}
@-webkit-keyframes MessageTurn{
    0%{-webkit-transform:rotate(0deg);}
    25%{-webkit-transform:rotate(90deg);}
    50%{-webkit-transform:rotate(180deg);}
    75%{-webkit-transform:rotate(270deg);}
    100%{-webkit-transform:rotate(360deg);}
}

@-webkit-keyframes MessageMoveOut {
    0% {
        max-height: 1.5rem;
        padding: .08rem;
        opacity: 1
    }

    to {
        max-height: 0;
        padding: 0;
        opacity: 0
    }
}

@keyframes MessageMoveOut {
    0% {
        max-height: 1.5rem;
        padding: .08rem;
        opacity: 1
    }

    to {
        max-height: 0;
        padding: 0;
        opacity: 0
    }
}


@-webkit-keyframes MessageMoveIn {
    
    0% {
        transform: translateY(-100%);
        opacity: 0
    }

    to {
        transform: translateY(0);
        opacity: 1
    }
}

@keyframes MessageMoveIn {
    0% {
        transform: translateY(-100%);
        opacity: 0
    }

    to {
        transform: translateY(0);
        opacity: 1
    }
}
@-webkit-keyframes MessageShake {
    0%,
    100% {
      transform: translateX(0px);
      opacity: 1;
    }
  
    25%,
    75% {
        transform: translateX(-4px);
      opacity: 0.75;
    }
  
    50% {
        transform: translateX(4px);
        opacity: 0.25;
    }
  }
@keyframes MessageShake {
    0%,
    100% {
      transform: translateX(0px);
      opacity: 1;
    }
  
    25%,
    75% {
        transform: translateX(-4px);
      opacity: 0.75;
    }
  
    50% {
        transform: translateX(4px);
        opacity: 0.25;
    }
  }

@media (prefers-reduced-motion: reduce) {
    .qmsg .qmsg-item,
    .qmsg .qmsg-item .qmsg-count,
    .qmsg .animate-turn{
        animation: none !important;
        -webkit-animation: none !important;
        transition: none !important;
    }
}
