/* Kisure v258: single-competition ticker cleanup */

/* When a single competition ticker is shown, it replaces the older tab/dropdown block. */
.football-header-leagues__ticker {
    --ticker-gap: 10px;
    display: flex;
    align-items: center;
    gap: var(--ticker-gap);
    width: 100%;
    margin: 0;
    padding: 7px;
    border-radius: 18px;
    background: linear-gradient(90deg, #731f12 0%, #15482c 48%, #2c1739 100%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 14px 36px rgba(13,27,42,.14);
    overflow: hidden;
}

.football-header-ticker__league {
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    min-height: 50px;
    padding: 0;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.98);
    color: #0f172a;
    text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .08);
}

.football-header-ticker__league img,
.football-header-ticker__league i {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.football-header-ticker__league span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.football-header-ticker__track {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 0 !important;
    scroll-snap-type: none !important;
}

.football-header-ticker__track::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.football-header-ticker__marquee {
    display: flex;
    align-items: center;
    width: max-content;
    min-width: max-content;
    animation: kisureHeaderTickerMarquee 36s linear infinite;
    will-change: transform;
}

.football-header-leagues__ticker:hover .football-header-ticker__marquee,
.football-header-leagues__ticker:focus-within .football-header-ticker__marquee {
    animation-play-state: paused;
}

.football-header-ticker__set {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: var(--ticker-gap);
    padding-right: var(--ticker-gap);
}

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

.football-header-ticker__date {
    flex: 0 0 auto;
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: .01em;
    padding: 0 14px 0 6px;
    opacity: .94;
    white-space: nowrap;
}

.football-header-ticker__match {
    flex: 0 0 auto;
    height: 46px;
    min-width: 150px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 7px 13px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,.14);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
    transition: transform .18s ease, background .18s ease;
    white-space: nowrap;
}

.football-header-ticker__match:hover {
    transform: translateY(-1px);
    background: rgba(255,255,255,.20);
}

.football-header-ticker__match.is-fixture { background: rgba(20,184,166,.22); }
.football-header-ticker__match.is-result { min-width: 118px; background: rgba(255,255,255,.12); }

.football-header-ticker__match > strong {
    font-size: .95rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.football-header-ticker__score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.football-header-ticker__score b {
    color: #fff;
    font-size: .92rem;
    line-height: 1;
    min-width: 24px;
    text-align: center;
    font-weight: 900;
}

.football-header-ticker__crest {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255,255,255,.96);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(15,23,42,.08);
}

.football-header-ticker__crest img,
.football-header-ticker__crest em,
.football-header-ticker__match img,
.football-header-ticker__match em {
    width: 23px;
    height: 23px;
    border-radius: 999px;
    object-fit: contain;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    color: #0f172a;
    font-size: .7rem;
    font-weight: 900;
    background: transparent;
}

/* The old league-tab block should never appear directly under an active single-league ticker. */
.football-header-leagues__ticker + .football-header-leagues__tabs,
.football-header-leagues__ticker ~ .football-header-leagues__mobile {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .football-header-ticker__marquee {
        animation: none;
        transform: none;
    }
}

@media (max-width: 720px) {
    .football-header-leagues__ticker {
        border-radius: 14px;
        gap: 8px;
        padding: 6px;
    }

    .football-header-ticker__league {
        width: 44px;
        height: 44px;
        min-height: 44px;
    }

    .football-header-ticker__league img,
    .football-header-ticker__league i {
        width: 28px;
        height: 28px;
    }

    .football-header-ticker__marquee {
        animation-duration: 28s;
    }

    .football-header-ticker__set {
        gap: 8px;
        padding-right: 8px;
    }

    .football-header-ticker__date {
        font-size: .92rem;
        padding: 0 8px 0 2px;
    }

    .football-header-ticker__match {
        height: 42px;
        min-width: 128px;
        padding: 6px 10px;
        gap: 7px;
        border-radius: 11px;
    }

    .football-header-ticker__match.is-result {
        min-width: 108px;
    }

    .football-header-ticker__crest {
        width: 25px;
        height: 25px;
    }

    .football-header-ticker__crest img,
    .football-header-ticker__crest em,
    .football-header-ticker__match img,
    .football-header-ticker__match em {
        width: 21px;
        height: 21px;
    }
}
