/* =====================================
   FIFA WORLD CUP TICKER
   IPTV SAFE VERSION
   ===================================== */

#worldcup-ticker {
    position: relative;

    width: 100%;
    height: 60px;

    overflow: hidden;

    background: rgba(0,0,0,.9);
    color: #fff;

    border-top: 1px solid #333;
    border-bottom: 1px solid #333;

    font-family: Arial, Helvetica, sans-serif;

    box-sizing: border-box;

    /* Prevent children affecting page layout */
    contain: content;

    /* Prevent horizontal page growth */
    max-width: 100vw;
}

#worldcup-ticker *,
#worldcup-ticker *::before,
#worldcup-ticker *::after {
    box-sizing: border-box;
}

#worldcup-ticker .ticker-track {

    position: absolute;

    left: 0;
    top: 0;

    height: 100%;

    display: flex;
    align-items: center;

    /* DO NOT use width:max-content */

    white-space: nowrap;

    will-change: transform;

    transform: translate3d(0,0,0);
}

#worldcup-ticker .ticker-item {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding-right: 60px;

    white-space: nowrap;

    font-size: 18px;
}

#worldcup-ticker .status {

    font-weight: 700;

    padding: 4px 10px;

    border-radius: 4px;

    line-height: 1;
}

#worldcup-ticker .live {
    background: #d40000;
    color: #fff;
}

#worldcup-ticker .finished {
    background: #00a651;
    color: #fff;
}

#worldcup-ticker .upcoming {
    background: #ffb000;
    color: #000;
}

#worldcup-ticker .news {
    background: #0066cc;
    color: #fff;
}

#worldcup-ticker .weather {
    background: #7b1fa2;
    color: #fff;
}

#worldcup-ticker .team {
    font-weight: 600;
}

#worldcup-ticker .score {
    font-size: 22px;
    font-weight: 700;
}

#worldcup-ticker .update-time {

    position: absolute;

    top: 2px;
    right: 8px;

    font-size: 10px;

    color: rgba(255,255,255,.7);

    z-index: 2;

    pointer-events: none;
}

/* Tablet */

@media (max-width: 768px) {

    #worldcup-ticker {
        height: 50px;
    }

    #worldcup-ticker .ticker-item {
        font-size: 14px;
        padding-right: 40px;
    }

    #worldcup-ticker .score {
        font-size: 16px;
    }

    #worldcup-ticker .status {
        font-size: 11px;
        padding: 3px 6px;
    }

    #worldcup-ticker .update-time {
        display: none;
    }
}

/* Mobile */

@media (max-width: 480px) {

    #worldcup-ticker {
        height: 56px;
    }

    #worldcup-ticker .ticker-item {
        font-size: 16px;
        gap: 8px;
        padding-right: 35px;
    }

    #worldcup-ticker .score {
        font-size: 18px;
        font-weight: 700;
    }

    #worldcup-ticker .status {
        padding: 4px 8px;
        font-size: 12px;
    }

    #worldcup-ticker .update-time {
        display: none;
    }
}

@media (max-width: 380px) {

    #worldcup-ticker {
        height: 60px;
    }

    #worldcup-ticker .ticker-item {
        font-size: 18px;
    }

    #worldcup-ticker .score {
        font-size: 20px;
    }

    #worldcup-ticker .status {
        font-size: 13px;
    }
}
#worldcup-ticker .goal {
    background: #ff0000;
    color: #fff;
    font-weight: bold;

    animation: worldCupPulse .5s infinite;
}