/**
 * @author: Jicc(103698177)
 * @date: 2026-04-01
 * @phone: 13790890981
 * ==== 小黄鸭调试法，永无BUG ====
 *                            ||
 *      .-"O"-.               ||
 *   _/ a      -._._._.-';    ||
 *  '-.                ,/     ||
 *     )     \_////>  ';      ||
 *     \                |     ||
 *      '--------------'      ||
 *  ~~~~~~~~~~~~~~~~~~~~~~~~~ ||
 */
.page-wrapper{
    width: 1080px;
    margin: 0 auto;
    padding: 0 0 40px;
    display: flex;
}
.fixtures-wrapper{
    display: flex;
    flex-direction: column;
    width: 100%;
}
.tab-box{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 40px 0 20px;
    background-color: #fff;
    position: sticky;
    top: 50px;
    z-index: 99;
}
.tab-box span{
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 38px;
    padding: 0 24px;
    margin: 0 6px;
    color: #2D2D2D;
    font-size: 16px;
    border: 1px solid #DDE2E9;
    border-radius: 50px;
    cursor: pointer;
}
.tab-box span.active{
    background-color: #324FFF;
    border-color: #324FFF;
    color: #fff;
}

.live-match-header {
    position: sticky;
    top: 150px;
    z-index: 99;
}

.live-match-header, .live-match-item{
    display: grid;
    grid-template-areas: 'date stage home score away btn';
    grid-template-columns: 120px 120px 1fr 120px 1fr 240px;
    grid-auto-flow: column;
    justify-content: flex-start;
    justify-items: center;
    align-items: center;
}
.live-date{
    grid-area: date;
}
.live-stage{
    grid-area: stage;
}
.live-half-m{
    display: none;
}
.live-home{
    grid-area: home;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}
.live-score{
    grid-area: score;
}
.live-away{
    grid-area: away;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}
.live-corner{
    grid-area: corner;
    display: flex;
}
.live-corner span:nth-child(2){
    display: block;
}
.live-corner span:nth-child(3){
    display: none;
}
.live-half{
    grid-area: half;
}
.live-odds{
    grid-area: odds;
}
.live-btn{
    grid-area: btn;
}
.live-match-header{
    height: 42px;
    background-color: #F7F8FA;
    color: #666;
}
.live-match-item{
    border-bottom: 1px solid #E6E6E6;
}
.live-match-item{
    min-height: 48px;
    font-size: 14px;
}
.live-match-item .live-date, .live-match-item .live-stage{
    color: #333;
}
.live-match-item .live-score{
    font-size: 14px;
}

.live-home-name a, .live-away-name a{
    color: #2D2D2D;
    font-size: 14px;
}
.live-score a span.live-score-m{
    display: none;
}
.live-match-item .live-score a:hover, .live-home-name a:hover, .live-away-name a:hover{
    text-decoration: underline;
}
.live-home-flag, .live-away-flag{
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    margin-left: 8px;
    overflow: hidden;
}
.live-away-flag{
    margin-left: 0;
    margin-right: 8px;
}
.live-home-flag img, .live-away-flag img{
    width: 25px;
    height: auto;
}
.live-btn{
    display: flex;
    align-items: center;
    justify-content: center;
}
.analyse-btn, .odds-btn, .tips-btn{
    font-size: 0;
    display: flex;
    width: 16px;
    height: 16px;
    margin: 0 4px;
}
.analyse-btn{
    background: url('/2026worldcup/static/images/live/analyse-icon.png') no-repeat center center;
    background-size: cover;
}
.odds-btn{
    background: url('/2026worldcup/static/images/live/odds-icon.png') no-repeat center center;
    background-size: cover;
}
.tips-btn{
    background: url('/2026worldcup/static/images/live/tips-icon.png') no-repeat center center;
    background-size: cover;
}

.page-zh .analyse-btn, .page-zh .odds-btn, .page-zh .tips-btn{
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin: 0 4px;
    background: none;
    border-radius: 2px;
}
.page-zh .analyse-btn{
    color: #446BEB;
    border: 1px solid #6F94F7;
}
.page-zh .odds-btn{
    color: #01C0A1;
    border: 1px solid #48D9B7;
}
.page-zh .tips-btn{
    color: #F55663;
    border: 1px solid #FF7077;
}

@media screen and (max-width: 767px) {
    .page-wrapper{
        width: 100%;
        padding: 0;
    }

    .tab-box{
        padding: .1rem .06rem;
        top: 0.4rem;
    }
    .tab-box span{
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: auto;
        width: 50%;
        height: .26rem;
        padding: 0;
        margin: 0 .06rem;
        font-size: .12rem;
    }
    .tab-box span.active{
        background-color: transparent;
        border-color: #324FFF;
        color: #324FFF;
    }

    .live-match-header, .live-match-item{
        display: grid;
        grid-template-areas: 'date stage' 'score home' 'score away';
        grid-template-columns: .7rem 1fr;
        grid-auto-flow: column;
        justify-content: flex-start;
        justify-items: center;
        align-items: center;
        gap: 0 .08rem;
    }
    .live-date{
        grid-area: date;
    }
    .live-stage{
        grid-area: stage;
        display: flex;
        justify-content: flex-start;
        width: 100%;
    }
    .live-home{
        grid-area: home;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
    }
    .live-score{
        grid-area: score;
    }
    .live-away{
        grid-area: away;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
    }
    .live-btn{
        grid-area: btn;
    }
    .live-match-header{
        display: none;
    }
    .live-match-item{
        height: auto;
        padding: .1rem .12rem;
        font-size: .12rem;
        border-top: 0.01rem solid #E6E6E6;
        border-bottom: 0;
    }
    .live-match-item .live-date, .live-match-item .live-stage{
        color: #666;
        margin-bottom: .05rem;
    }
    .live-match-item .live-score{
        font-size: .14rem;
    }

    .live-home-name{
        order: 1;
    }
    .live-home-name a, .live-away-name a{
        font-size: .14rem;
    }
    .live-score{
        display: flex;
        height: 100%;
    }
    .live-score a{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    .live-score a span.live-score-m{
        display: flex;
        align-items: center;
        width: 100%;
        height: 50%;
        font-size: .14rem;
    }
    .live-score a span.live-score{
        display: none;
    }
    .live-match-info .live-score a:hover, .live-home-name a:hover, .live-away-name a:hover{
        text-decoration: underline;
    }
    .live-home-flag, .live-away-flag{
        display: none;
    }
    .live-home-flag, .live-away-flag{
        display: none;
    }
    .live-card{
        display: flex;
        align-items: center;
        justify-content: center;
        flex: none;
    }
    .red-card, .yellow-card{
        width: .11rem;
        height: .13rem;
        border-radius: .02rem;
    }
    .live-home .live-card{
        order: 2;
        margin-right: .02rem;
    }
    .live-home .live-card span{
        margin-left: .02rem;
    }
    .live-away .live-card{
        margin-left: .02rem;
    }
    .live-away .live-card span{
        margin-right: .02rem;
    }

    .live-odds{
        flex: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 0;
    }
    .odds-ah, .odds-ou, .odds-1x2{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    .odds-ah span, .odds-ou span, .odds-1x2 span{
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 .02rem;
        margin-right: .06rem;
        color: #333;
        font-size: .11rem;
        font-weight: 400;
    }
    .odds-ah span:last-child, .odds-ou span:last-child, .odds-1x2 span:last-child{
        margin-right: 0;
    }
    .live-btn{
        display: none;
        align-items: center;
        justify-content: center;
    }
}