.voltera-live-markets {
    width: 100%;
    padding: 0.5rem 0 0;
}

.voltera-live-markets__head {
    text-align: center;
    margin-bottom: 1.5rem;
}

.voltera-live-markets__title {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: #0f2923;
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

.voltera-live-markets__title strong {
    color: #01a66b;
}

.voltera-live-markets__updated {
    margin: 0;
    font-size: 0.9rem;
    color: #5f6b68;
}

.voltera-live-markets__ticker {
    overflow: hidden;
    border-radius: 16px;
    background: #0f2923;
    border: 1px solid rgba(1, 166, 107, 0.25);
    box-shadow: 0 16px 40px rgba(15, 41, 35, 0.12);
}

.voltera-live-markets__viewport {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.voltera-live-markets__track {
    display: flex;
    width: max-content;
    animation: volteraTickerScroll 40s linear infinite;
}

.voltera-live-markets__track:hover {
    animation-play-state: paused;
}

.voltera-live-markets__item {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease;
}

.voltera-live-markets__item:hover {
    background: rgba(1, 166, 107, 0.12);
}

.voltera-live-markets__logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fff;
    object-fit: contain;
    padding: 4px;
}

.voltera-live-markets__symbol {
    font-weight: 800;
    letter-spacing: 0.03em;
}

.voltera-live-markets__name {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.85rem;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.voltera-live-markets__price {
    font-weight: 700;
}

.voltera-live-markets__change {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
}

.voltera-live-markets__change.is-up {
    background: rgba(159, 232, 112, 0.16);
    color: #9fe870;
}

.voltera-live-markets__change.is-down {
    background: rgba(255, 120, 120, 0.16);
    color: #ff9b9b;
}

.voltera-live-markets__loading {
    padding: 1.25rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

@keyframes volteraTickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 767px) {
    .voltera-live-markets__name {
        display: none;
    }

    .voltera-live-markets__item {
        padding: 0.85rem 1rem;
        gap: 0.5rem;
    }
}
