body {
    padding-bottom: 54px;
}

.cb-trending-ticker {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48px;
    background: #111;
    border-top: 1px solid rgba(255,255,255,0.12);
    z-index: 99999;
    display: flex;
    align-items: center;
    overflow: hidden;
    font-family: Montserrat, Arial, sans-serif;
}

.cb-trending-label {
    height: 48px;
    min-width: 220px;
    padding: 0 18px;
    background: #000;
    color: #ffb300;
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 14px;
    white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,0.12);
}

.cb-trending-track-wrap {
    overflow: hidden;
    width: 100%;
}

.cb-trending-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: cbTickerMove 45s linear infinite;
}

.cb-trending-track:hover {
    animation-play-state: paused;
}

.cb-trending-item {
    height: 48px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 18px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,0.07);
}

.cb-trending-item:hover {
    background: rgba(255,179,0,0.10);
    color: #ffcc33;
}

.cb-trending-rank {
    color: #9bb2c8;
    font-size: 12px;
    font-weight: 700;
}

.cb-trending-item img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}

.cb-trending-item strong {
    color: #ffffff;
    font-size: 13px;
}

.cb-trending-item span {
    color: #b8c7d6;
    font-size: 12px;
}

.cb-trending-item em {
    color: #74D492;
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
}

@keyframes cbTickerMove {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 46px;
    }

    .cb-trending-ticker {
        height: 44px;
    }

    .cb-trending-label {
        height: 44px;
        min-width: 132px;
        padding: 0 8px;
        font-size: 11px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .cb-trending-item {
        height: 44px;
        gap: 5px;
        padding: 0 10px;
    }

    .cb-trending-item img {
        width: 20px;
        height: 20px;
    }

    .cb-trending-rank {
        display: inline !important;
        color: #ffb300;
        font-size: 11px;
        font-weight: 800;
    }

    .cb-trending-item strong {
        font-size: 11px;
        max-width: 72px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .cb-trending-item span:not(.cb-trending-rank) {
        display: none;
    }

    .cb-trending-votes {
        display: none;
    }
}