
body:has(.ticker-wrapper) {
    margin-top: 42px;
}

.ticker-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 42px;
    background: linear-gradient(135deg, #FFF5F1 0%, #FFE8DD 50%, #FFF0EB 100%);
    border-bottom: 2px solid rgba(255, 107, 53, 0.12);
    overflow: hidden;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.08),
                0 2px 4px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(10px);
}

/* Effet de dégradé sur les bords pour smooth transition */
.ticker-wrapper::before,
.ticker-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.ticker-wrapper::before {
    left: 0;
    background: linear-gradient(to right,
        rgba(255, 245, 241, 1) 0%,
        rgba(255, 245, 241, 0) 100%);
}

.ticker-wrapper::after {
    right: 0;
    background: linear-gradient(to left,
        rgba(255, 240, 235, 1) 0%,
        rgba(255, 240, 235, 0) 100%);
}

/* Container sans animation CSS - géré par JS */
.ticker-container {
    display: inline-flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    padding: 0 22px;
    white-space: nowrap;
    font-size: 13.5px;
    color: #2c2c2c;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease;
}

.ticker-item:hover {
    transform: scale(1.02);
}

/* Icônes avec design amélioré */
.icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 9px;
    flex-shrink: 0;
    position: relative;
}

.icon.icon-scenario {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 30px;
    height: 30px;
}


/* Icône Fire avec effet brillant */
.icon-fire {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C5A 100%);
    box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4),
                0 2px 6px rgba(255, 107, 53, 0.3);
    animation: glow-fire 2.5s ease-in-out infinite;
}

.icon-fire::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}

/* Icône User avec pulse doux */
.icon-user {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4),
                0 2px 6px rgba(76, 175, 80, 0.2);
    animation: pulse-green 2.8s ease-in-out infinite;
}

.icon-user::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

/* Icône Activity avec effet ripple */
.icon-activity {
    background: linear-gradient(135deg, #00BCD4 0%, #26C6DA 100%);
    box-shadow: 0 0 0 0 rgba(0, 188, 212, 0.4),
                0 2px 6px rgba(0, 188, 212, 0.2);
    animation: pulse-blue 3s ease-in-out infinite;
}

.icon-activity::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

@keyframes glow-fire {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4),
                    0 2px 6px rgba(255, 107, 53, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(255, 107, 53, 0),
                    0 2px 10px rgba(255, 107, 53, 0.5);
        transform: scale(1.15);
    }
}

@keyframes pulse-green {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4),
                    0 2px 6px rgba(76, 175, 80, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(76, 175, 80, 0),
                    0 2px 8px rgba(76, 175, 80, 0.4);
        transform: scale(1.15);
    }
}

@keyframes pulse-blue {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 188, 212, 0.4),
                    0 2px 6px rgba(0, 188, 212, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(0, 188, 212, 0),
                    0 2px 8px rgba(0, 188, 212, 0.4);
        transform: scale(1.15);
    }
}

/* Nombres avec style premium */
.number {
    font-weight: 700;
    color: #FF6B35;
    font-size: 14.5px;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 2px rgba(255, 107, 53, 0.1);
    margin-right: 5px;
}

/* Séparateurs élégants */
.divider {
    display: inline-block;
    width: 4px;
    height: 4px;
    background: linear-gradient(135deg,
        rgba(255, 107, 53, 0.25) 0%,
        rgba(255, 107, 53, 0.15) 100%);
    border-radius: 50%;
    margin: 0 16px;
    box-shadow: 0 1px 2px rgba(255, 107, 53, 0.1);
}

/* Responsive improvements */
@media (max-width: 380px) {
    .ticker-item {
        font-size: 12.5px;
        padding: 0 18px;
    }

    .number {
        font-size: 13.5px;
    }

    .icon {
        width: 7px;
        height: 7px;
    }
}


