#zm-trade-barrage {
    position: fixed;
    right: var(--zm-tb-right, 20px);
    bottom: var(--zm-tb-bottom, 10px);
    z-index: 9998;
    width: 320px;
    pointer-events: auto;
}

#zm-trade-barrage .zm-tb-item {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    margin-top: 10px;
    padding: 8px 12px 8px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(22, 34, 51, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.65);
    color: #45556c;
    font-size: 13px;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(18px) scale(.98);
    transition: opacity .45s ease, transform .45s ease, margin .35s ease;
}

#zm-trade-barrage .zm-tb-item.zm-tb-show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

#zm-trade-barrage .zm-tb-item.zm-tb-hide {
    opacity: 0;
    transform: translateY(-12px) scale(.98);
}

#zm-trade-barrage .zm-tb-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
    border: 2px solid rgba(255, 255, 255, .85);
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

#zm-trade-barrage .zm-tb-text {
    display: block;
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#zm-trade-barrage .zm-tb-money {
    color: #ff6a3d;
    font-weight: 700;
}

.dark-theme #zm-trade-barrage .zm-tb-item,
:root.dark #zm-trade-barrage .zm-tb-item,
html[data-theme="dark"] #zm-trade-barrage .zm-tb-item {
    background: rgba(38, 40, 46, .82);
    border-color: rgba(255,255,255,.08);
    color: var(--main-color, #e5eef7);
    box-shadow: 0 8px 24px rgba(0,0,0,.28);
}

@media (max-width: 768px) {
    #zm-trade-barrage {
        display: none;
    }
}
