.safebox-ticker-wrap {
    overflow: hidden;
    white-space: nowrap;
    line-height: 1;
    padding: 8px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: sticky;
    top: 0;
    z-index: 9999;
}

.safebox-ticker-track {
    display: inline-flex;
    white-space: nowrap;
}

.safebox-ticker-track.safebox-ticker-animate {
    animation-name: safebox-ticker-scroll;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.safebox-ticker-content {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.safebox-ticker-item {
    display: inline-block;
    padding: 0 8px;
}

.safebox-ticker-sep {
    display: inline-block;
    padding: 0 12px;
    opacity: 0.5;
    font-size: 0.8em;
}

@keyframes safebox-ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(var(--safebox-scroll-distance));
    }
}

/* Pause on hover */
.safebox-ticker-wrap:hover .safebox-ticker-track {
    animation-play-state: paused;
}
