#comment-barrage {
    position: fixed;
    bottom: 40px;
    right: 51px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: flex-end;
    z-index: 999;
    transition: 0.3s;
    user-select: none;
    -webkit-user-select: none;
}

@media screen and (max-width: 768px) {
    #comment-barrage {
        display:none!important
    }
}

.comment-barrage-item {
    min-width: 300px;
    max-width: 300px;
    width: fit-content;
    min-height: 80px;
    max-height: 150px;
    margin: 4px;
    padding: 8px 14px;
    background: var(--card-bg);
    border-radius: 8px;
    color: #363636;
    animation: barrageIn .6s cubic-bezier(.42,0,.3,1.11);
    transition: .3s;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(144,147,153,0.31);
    position: fixed;
    box-shadow: 0 8px 16px -4px #2c2d300c;
    overflow: hidden
}

.comment-barrage-item:hover {
    border: 1px solid var(--btn-hover-color)!important;
    box-shadow: 0 8px 12px -3px #1d2d5123!important
}

.comment-barrage-item.out {
    opacity: 0;
    animation: barrageOut .6s cubic-bezier(.42,0,.3,1.11)
}

.comment-barrage-item.hovered {
    opacity: 0
}

.comment-barrage-item .comment-barrage-close {
    color: rgba(60, 60, 67, 0.8);
    cursor: pointer;
    line-height: 1;
    margin: 4px
}

.comment-barrage-item .comment-barrage-close:hover {
    color: var(--btn-hover-color)!important
}

.comment-barrage-item .comment-barrage-close .heoblogIcon {
    font-size: 18px!important;
    color: #363636;
    transition: .3s
}

.comment-barrage-item .comment-barrage-close:hover .heoblogIcon {
    color: var(--btn-hover-color)!important
}

.comment-barrage-item pre {
    display: none
}

.comment-barrage-item li {
    display: none
}

.comment-barrage-item p img:not(.tk-owo-emotion) {
    display: none
}

.comment-barrage-item p img.tk-owo-emotion {
    width: 16px;
    padding: 0;
    margin: 0;
    transform: translateY(2px)
}

.comment-barrage-item blockquote {
    display: none
}

.comment-barrage-item br {
    display: none
}

.comment-barrage-item .barrageHead {
    height: 30px;
    padding: 0;
    line-height: 30px;
    font-size: 12px;
    border-bottom: 1px solid rgba(144,147,153,0.31);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    padding-bottom: 6px
}

.comment-barrage-item .barrageHead .barrageTitle {
    color: #fff;
    margin-right: 8px;
    background: #363636;
    line-height: 1;
    padding: 4px;
    border-radius: 4px;
    white-space: nowrap
}

.comment-barrage-item .barrageHead .barrageTitle:hover {
    background: var(--btn-hover-color)!important;
    color: #fff
}

.barrageNick{
    color: var(--font-color);
}

.comment-barrage-item .barrageAvatar {
    width: 20px;
    height: 20px;
    margin: 0;
    margin-left: auto;
    margin-right: 8px;
    border-radius: 50%;
    background: #f7f7f9
}

.comment-barrage-item .barrageContent {
    font-size: 14px!important;
    font-weight: 400!important;
    height: calc(100% - 30px);
    color: var(--font-color);
    overflow: hidden;
    width: fit-content;
    max-height: 48px
}

.comment-barrage-item .barrageContent:hover{
    color: var(--btn-hover-color);
}

.comment-barrage-item .barrageContent a {
    pointer-events: none;
    font-size: 14px!important
}

.comment-barrage-item .barrageContent::-webkit-scrollbar {
    height: 0;
    width: 4px
}

.comment-barrage-item .barrageContent::-webkit-scrollbar-button {
    display: none
}

.comment-barrage-item p {
    margin: 8px 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    font-size: 14px;
    max-width: 270px
}

.comment-barrage-item .barrageContent h1,.comment-barrage-item .barrageContent h2,.comment-barrage-item .barrageContent h3,.comment-barrage-item .barrageContent h4 {
    font-size: 14px!important;
    font-weight: 400!important;
    margin: 8px 0!important
}

@keyframes barrageIn {
    0% {
        transform: translateY(20px);
        opacity: 0
    }

    100% {
        transform: translateY(0);
        opacity: 1
    }
}

@keyframes barrageOut {
    0% {
        transform: translateY(0);
        opacity: 1
    }

    100% {
        transform: translateY(20px);
        opacity: 0
    }
}
