.barrage {
    position: fixed;
    bottom: 70px;
    right: -500px;
    display: inline-block;
    width: 500px;
    z-index: 99;
}

.barrage_box {
    background-image: url("../../../../img/barbg1.png");
    background-repeat: no-repeat;
    background-size: calc(100% - 25px) 100%;
    background-position: 25px 0;
    padding-right: 8px;
    height: 44px;
    display: inline-block;
    transition: all .3s;
}

.barrage_box .portrait {
    width: 60px;
}

.barrage_box .portrait .quan {
    position: absolute;
    width: 70px;
    height: 70px;
    top: -13px;
    left: -10px;
    animation: quanani 5s linear infinite;
}

.barrage_box .portrait .headimg {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    top: -3px;

}

.barrage_box div.p .barrageinfo {
    margin-right: 40px;
    font-size: 20px;
    color: #fff;
    line-height: 44px;
    margin-left: 60px;
    display: inline-block;
    white-space: nowrap;
    text-decoration: none;
}

.barrage_box div.p img {
    height: 26px;
    margin-bottom: -5px;
}

.emoji {
    margin-top: 12px;
}

.barrage_box .close {
    visibility: hidden;
    opacity: 0;
    text-align: center;
    width: 25px;
    height: 25px;
    margin-left: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    margin-top: 20px;
    background-image: url(close.png);
}

.barrage_box:hover .close {
    visibility: visible;
    opacity: 1;
}

.barrage_box .close a {
    display: block;
}

.barrage_box .close .icon-close {
    font-size: 14px;
    color: rgba(255, 255, 255, .5);
    display: inline-block;
    margin-top: 5px;
}

/**==========================================*/
/**动画*/
@keyframes quanani {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}
