#node-zill-danmu {
    position: fixed;
    z-index: 99;
    max-width: 400px;
    max-height: 148px;
    overflow: hidden;
    bottom: 0;
    pointer-events: auto;
}

#node-zill-danmu.node-zill-position-right {
    right: 0;
}

#node-zill-danmu.node-zill-position-left {
    left: 0;
}

#node-zill-danmu li {
    display: flex;
    align-items: center;
    opacity: 0;
    color: #fff;
    font-size: 13px;
    padding: 3px 10px 3px 4px;
    height: 31px;
    line-height: 31px;
    clear: both;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

#node-zill-danmu.node-zill-position-left li {
    border-radius: 0 20px 20px 0;
    float: left;
}

#node-zill-danmu.node-zill-position-right li {
    border-radius: 20px 0 0 20px;
    float: right;
}

#node-zill-danmu li a,
#node-zill-bilibili-danmu a,
#node-zill-tag-rain-danmu a {
    color: inherit;
    font-weight: 700;
    margin-left: 4px;
    text-decoration: none;
}

#node-zill-danmu li img,
#node-zill-bilibili-danmu img,
#node-zill-tag-rain-danmu img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    margin-right: 6px;
    object-fit: cover;
}

.node-zill-danmu-text {
    display: inline-flex;
    align-items: center;
}

#node-zill-bilibili-danmu {
    position: fixed;
    z-index: 98;
    left: 0;
    right: 0;
    pointer-events: none;
    overflow: hidden;
}

#node-zill-bilibili-danmu.node-zill-bilibili-top {
    top: 64px;
    height: 168px;
}

#node-zill-bilibili-danmu.node-zill-bilibili-middle {
    top: 36vh;
    height: 180px;
}

#node-zill-bilibili-danmu.node-zill-bilibili-bottom {
    bottom: 72px;
    height: 168px;
}

#node-zill-bilibili-danmu.node-zill-bilibili-full {
    top: 0;
    bottom: 0;
}

.node-zill-bilibili-item {
    position: absolute;
    left: 100vw;
    display: inline-flex;
    align-items: center;
    min-width: max-content;
    padding: 4px 12px 4px 5px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .28);
    font-size: 14px;
    line-height: 26px;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
    will-change: left;
}

#node-zill-tag-rain-danmu {
    position: fixed;
    z-index: 97;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.node-zill-tag-rain-item {
    position: absolute;
    display: inline-flex;
    align-items: center;
    max-width: 360px;
    padding: 5px 12px 5px 5px;
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    line-height: 26px;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
    will-change: top, opacity;
}

@media (max-width: 768px) {
    #node-zill-danmu {
        max-width: 70%;
    }

    .node-zill-hide-mobile {
        display: none !important;
    }

    .node-zill-bilibili-item,
    .node-zill-tag-rain-item {
        max-width: 78vw;
        font-size: 12px;
    }
}
