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;
    }
}

/* =========================================
   TOKENROCKET - ROCKET TRENDING TICKER
   Bright cartoon/space treatment
========================================= */

.cb-trending-ticker {
    height: 52px !important;
    background:
        radial-gradient(circle at 18% 20%, rgba(255,255,255,.75) 0 1px, transparent 2px),
        radial-gradient(circle at 42% 70%, rgba(255,214,10,.55) 0 1px, transparent 2px),
        radial-gradient(circle at 72% 28%, rgba(255,255,255,.55) 0 1px, transparent 2px),
        linear-gradient(90deg, #172033 0%, #0F172A 45%, #172033 100%) !important;
    border-top: 3px solid #FFD60A !important;
    box-shadow: 0 -6px 22px rgba(15, 23, 42, .18) !important;
}

.cb-trending-label {
    position: relative;
    height: 52px !important;
    min-width: 238px !important;
    padding: 0 20px 0 54px !important;
    background: linear-gradient(135deg, #FFD60A 0%, #FF9F0A 100%) !important;
    color: #151515 !important;
    border-right: 0 !important;
    font-weight: 900 !important;
    letter-spacing: .02em;
    text-shadow: 0 1px 0 rgba(255,255,255,.35);
    overflow: visible !important;
}

/* Cartoon rocket icon without changing Blade/HTML */
.cb-trending-label::before {
    content: "🚀";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%) rotate(-8deg);
    font-size: 27px;
    line-height: 1;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,.20));
    animation: trRocketBounce 1.8s ease-in-out infinite;
}

/* Pointed rocket-label tail */
.cb-trending-label::after {
    content: "";
    position: absolute;
    top: 0;
    right: -18px;
    width: 0;
    height: 0;
    border-top: 26px solid transparent;
    border-bottom: 26px solid transparent;
    border-left: 18px solid #FF9F0A;
    z-index: 3;
}

.cb-trending-track-wrap {
    padding-left: 20px;
}

.cb-trending-item {
    height: 52px !important;
    color: #F8FAFC !important;
    border-right: 1px solid rgba(255,214,10,.15) !important;
    transition: background .18s ease, transform .18s ease;
}

.cb-trending-item:hover {
    background: rgba(255,214,10,.12) !important;
    color: #FFD60A !important;
    transform: translateY(-1px);
}

.cb-trending-item img {
    width: 26px !important;
    height: 26px !important;
    border: 2px solid rgba(255,214,10,.75);
    box-shadow: 0 0 0 2px rgba(255,214,10,.10);
}

.cb-trending-rank {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 25px;
    height: 25px;
    padding: 0 5px;
    border-radius: 999px;
    background: #FFD60A;
    color: #151515 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
}

.cb-trending-item strong {
    color: #FFFFFF !important;
    font-weight: 800;
}

.cb-trending-item span {
    color: #CBD5E1 !important;
}

.cb-trending-item em {
    color: #4ADE80 !important;
}

@keyframes trRocketBounce {
    0%, 100% {
        transform: translateY(-50%) rotate(-8deg) translateX(0);
    }
    50% {
        transform: translateY(-55%) rotate(-8deg) translateX(3px);
    }
}

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

    .cb-trending-ticker {
        height: 48px !important;
    }

    .cb-trending-label {
        height: 48px !important;
        min-width: 145px !important;
        padding: 0 7px 0 38px !important;
        font-size: 10px !important;
    }

    .cb-trending-label::before {
        left: 9px;
        font-size: 22px;
    }

    .cb-trending-label::after {
        right: -14px;
        border-top-width: 24px;
        border-bottom-width: 24px;
        border-left-width: 14px;
    }

    .cb-trending-track-wrap {
        padding-left: 15px;
    }

    .cb-trending-item {
        height: 48px !important;
        padding: 0 9px !important;
    }

    .cb-trending-item img {
        width: 22px !important;
        height: 22px !important;
    }

    .cb-trending-rank {
        min-width: 21px;
        height: 21px;
        font-size: 10px !important;
    }
}
