/**
 * @author: Jicc(103698177)
 * @date: 2026-03-30
 * @phone: 13790890981
 * ==== 小黄鸭调试法，永无BUG ====
 *                            ||
 *      .-"O"-.               ||
 *   _/ a      -._._._.-';    ||
 *  '-.                ,/     ||
 *     )     \_////>  ';      ||
 *     \                |     ||
 *      '--------------'      ||
 *  ~~~~~~~~~~~~~~~~~~~~~~~~~ ||
 */
 .page-wrapper{
    width: 1080px;
    margin: 0 auto;
    padding: 40px 0;
    display: flex;
}

.live-wrapper{
    display: flex;
    flex-direction: column;
    width: 100%;
}
.live-top-box{
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 32px;
    margin-bottom: 16px;
}
.live-top-title{
    font-size: 20px;
    color: #333;
}
.live-top-option{
    display: flex;
    align-items: center;
    margin-left: auto;
}
.live-refresh{
    display: flex;
    width: 24px;
    height: 24px;
    margin-right: 16px;
    background: url('/2026worldcup/static/images/live/refresh-icon.png') no-repeat center center;
    background-size: 20px 20px;
    cursor: pointer;
}
.live-company{
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    margin-right: 16px;
    height: 30px;
    border: 1px solid #333;
    border-radius: 30px;
    position: relative;
}
.live-company-name{
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 106px;
    padding: 0 44px 0 20px;
    color: #4B4B4B;
    font-size: 14px;
    cursor: pointer;
    position: relative;
}
.live-company-name::after{
    content: '';
    display: block;
    width: 6px;
    height: 4px;
    background: url('/2026worldcup/static/images/live/arr-icon.png') no-repeat center center;
    background-size: cover;
    position: absolute;
    bottom: 50%;
    right: 27px;
    transform: translateY(50%);
}
.pop-wrapper{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 40px;
    background-color: #fff;
    padding: 20px 16px;
    border-radius: 8px;
    box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.3);
}
.pop-wrapper::after{
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 0;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
    border-left: 8px solid transparent;
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
}
.pop-item{
    display: flex;
    flex-direction: column;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #F0F0F0;
}
.pop-item:nth-child(3){
    border-bottom: 0;
}
.pop-top{
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}
.pt-icon{
    display: flex;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    background: url('/2026worldcup/static/images/live/odds-icon.png') no-repeat center center;
    background-size: cover;
}
.pop-top h4{
    font-size: 13px;
    color: #666;
}
.pop-con{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}
.pop-con span{
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 106px;
    min-height: 28px;
    border: 1px solid #DDDDDD;
    border-radius: 50px;
    font-size: 12px;
    color: #4B4B4B;
    cursor: pointer;
}
.pop-con span.active{
    background-color: #446BEB;
    border: 1px solid #446BEB;
    color: #fff;
    font-weight: 700;
}
.pop-btn{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.pop-btn span{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    border-radius: 50px;
    background-color: #F7F8FA;
    color: #333;
    font-size: 14px;
    cursor: pointer;
}
.pop-btn span.pop-btn-confirm{
    background-color: #DBEBFF;
    color: #446BEB;
}

.live-match-header, .live-match-info{
    display: grid;
    grid-template-areas: 'date stage home score away corner half odds btn';
    grid-template-columns: 102px 80px 1fr 110px 1fr 60px 60px 148px 120px;
    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-top: 1px solid #E6E6E6;
}
.live-match-item:first-child{
    border-top: none;
}
.live-match-remark{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    font-size: 12px;
    color: #446BEB;
    background-color: #F5F7FF;
}
.live-match-info{
    min-height: 48px;
    font-size: 12px;
}
.live-match-info .live-date{
    color: #333;
}
.live-match-info .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-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: 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-card{
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}
.red-card, .yellow-card{
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 11px;
    height: 13px;
    border-radius: 2px;
    color: #fff;
}
.red-card{
    background-color: #FC4756;
}
.yellow-card{
    background-color: #FCB103;
}
.live-home .live-card{
    margin-right: 2px;
}
.live-home .live-card span{
    margin-left: 2px;
}
.live-away .live-card{
    margin-left: 2px;
}
.live-away .live-card span{
    margin-right: 2px;
}

.live-odds{
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 0;
}
.live-odds a{
    display: flex;
    flex-direction: column;
    width: 100%;
}
.odds-ah, .odds-ou, .odds-1x2{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.odds-ah a, .odds-ou a, .odds-1x2 a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.odds-ah span, .odds-ou span, .odds-1x2 span{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1px 2px;
    color: #333;
    font-weight: 700;
}

.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;
}
.result-title{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 36px;
    background-color: #FFFFE6;
    border-top: 1px solid #E6E6E6;
    color: #666;
    font-size: 14px;
}

.tips-pop-wrapper{
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 860px;
    z-index: 999;
}
.tips-pop-goal, .tips-pop-goal-cancel, .tips-pop-red{
    height: 115px;
    padding-top: 15px;
    margin-top: 10px;
}
.tips-pop-goal{
    background: url('/2026worldcup/static/images/live/pop-goal.png') no-repeat center center;
    background-size: cover;
}
.tips-pop-goal-cancel{
    background: url('/2026worldcup/static/images/live/pop-goal-cancel.png') no-repeat center center;
    background-size: cover;
}
.tips-pop-red{
    background: url('/2026worldcup/static/images/live/pop-red.png') no-repeat center center;
    background-size: cover;
}
.tips-pop-contant{
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 96px;
}
.tips-pop-time{
    min-width: 87px;
    padding: 3px 12px;
    margin-right: 35px;
    font-size: 18px;
    font-family: 'DIN';
    color: #fff;
    background-color: #111111;
    border-radius: 40px;
    text-align: center;
}
.tips-pop-box{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 424px;
}
.tips-pop-home, .tips-pop-away{
    font-size: 18px;
    color: #fff;
}
.tips-pop-vs{
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 80px;
    margin: 0 12px;
}
.tips-pop-vs span{
    font-size: 28px;
    font-family: 'DIN';
    color: #fff;
}
.tips-pop-vs span.tips-pop-line{
    font-size: 20px;
    margin: 0 10px;
}
.pop-player{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 18px;
    color: #fff;
}

.pop-mask-box{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 997;
}

.page-zh .live-company, .page-zh .live-odds{
    display: none;
}

.page-zh .live-match-header, .page-zh .live-match-info{
    grid-template-areas: 'date stage home score away corner half btn';
    grid-template-columns: 102px 80px 1fr 110px 1fr 60px 60px 120px;
}
.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;
    }

    .live-wrapper{
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .live-top-box{
        display: flex;
        flex-direction: row;
        align-items: center;
        height: auto;
        margin-bottom: 0;
        padding: 0.1rem 0.12rem;
    }
    .live-top-title{
        display: none;
    }
    .live-top-option{
        display: flex;
        align-items: center;
        width: 100%;
        margin-left: 0;
    }
    .live-refresh{
        width: .24rem;
        height: .24rem;
        margin-right: .12rem;
        background-size: .18rem .18rem;
    }
    .live-company{
        display: flex;
        align-items: center;
        justify-content: center;
        flex: none;
        margin-right: .24rem;
        width: 2.9rem;
        height: .28rem;
        padding: 0 .48rem 0 .2rem;
        border: 0;
        border-radius: .3rem;
        background-color: #F4F5F7;
    }
    .live-company::after{
        content: '';
        display: block;
        width: .07rem;
        height: .05rem;
        right: .28rem;
    }
    .live-company-name{
        min-width: 2.2rem;
        font-size: .14rem;
    }
    .pop-wrapper{
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 3.5rem;
        background-color: #fff;
        padding: .2rem .16rem;
        border-radius: .08rem;
        box-shadow: 0px 0px .16rem 0px rgba(0, 0, 0, 0.3);
        z-index: 998;
    }
    .pop-wrapper::after{
        display: none;
    }
    .pop-item{
        display: flex;
        flex-direction: column;
        padding-bottom: 16px;
        margin-bottom: 16px;
        border-bottom: 1px solid #F0F0F0;
    }
    .pop-item:nth-child(3){
        border-bottom: 0;
    }
    .pop-top{
        display: flex;
        align-items: center;
        margin-bottom: 12px;
    }
    .pt-icon{
        display: flex;
        width: .16rem;
        height: .16rem;
        margin-right: .06rem;
    }
    .pop-top h4{
        font-size: .13rem;
    }
    .pop-con{
        gap: .08rem;
    }
    .pop-con span{
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: .99rem;
        min-height: .28rem;
        border-radius: .5rem;
        font-size: .12rem;
    }
    .pop-btn{
        gap: .08rem;
    }
    .pop-btn span{
        height: .3rem;
        border-radius: .5rem;
        font-size: .14rem;
    }

    .live-match-header, .live-match-info{
        display: grid;
        grid-template-areas: 'date corner corner .' 'stage score home odds' 'stage score away odds';
        grid-template-columns: .7rem .17rem 1fr 1.1rem;
        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;
        flex-direction: column;
        align-items: center;
    }
    .live-half-m{
        display: block;
        color: #6A6A6A;
    }
    .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-corner{
        grid-area: corner;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        background: url('/2026worldcup/static/images/live/corner-icon.png') no-repeat 0 center;
        background-size: .12rem .12rem;
        padding-left: .14rem;
        margin-bottom: .05rem;
    }
    .live-corner span:nth-child(2){
        display: none;
    }
    .live-corner span:nth-child(3){
        display: block;
    }
    .live-half{
        grid-area: half;
        display: none;
    }
    .live-odds{
        grid-area: odds;
    }
    .live-btn{
        grid-area: btn;
    }
    .live-match-header{
        display: none;
    }
    .live-match-item{
        border-top: 0.01rem solid #E6E6E6;
    }
    .live-match-item:first-child{
        border-top: 0.01rem solid #E6E6E6;
    }
    .live-match-remark{
        display: flex;
        align-items: center;
        justify-content: center;
        width: fit-content;
        margin: 0 auto .1rem;
        padding: 0 .12rem;
        height: .24rem;
        font-size: .12rem;
        border-radius: .2rem;
    }
    .live-match-info{
        height: auto;
        padding: .1rem .12rem;
        font-size: .12rem;
    }
    .live-match-info .live-date{
        color: #666;
        margin-bottom: .05rem;
    }
    .live-match-info .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-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{
        margin: .01rem 0;
    }
    .odds-ah span, .odds-ou span, .odds-1x2 span{
        padding: 0.01rem .02rem;
        font-size: .11rem;
        font-weight: 400;
    }
    .live-btn{
        display: none;
        align-items: center;
        justify-content: center;
    }
    
    .result-title{
        height: .36rem;
        font-size: .14rem;
    }

    .tips-pop-wrapper{
        position: fixed;
        bottom: .2rem;
        left: 50%;
        transform: translateX(-50%);
        width: 3.51rem;
        z-index: 999;
    }
    .tips-pop-goal, .tips-pop-goal-cancel, .tips-pop-red{
        height: 0.89rem;
        padding-top: .29rem;
    }
    .tips-pop-goal{
        background: url('/2026worldcup/static/images/live/pop-goal-m.png') no-repeat center center;
        background-size: cover;
    }
    .tips-pop-goal-cancel{
        background: url('/2026worldcup/static/images/live/pop-goal-cancel-m.png') no-repeat center center;
        background-size: cover;
    }
    .tips-pop-red{
        background: url('/2026worldcup/static/images/live/pop-red-m.png') no-repeat center center;
        background-size: cover;
    }
    .tips-pop-contant{
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 100%;
        padding: 0 .16rem;
    }
    .tips-pop-time{
        min-width: .53rem;
        padding: .015rem .06rem;
        margin-right: auto;
        font-size: .11rem;
        border-radius: .4rem;
    }
    .tips-pop-box{
        width: 2.59rem;
    }
    .tips-pop-home, .tips-pop-away{
        font-size: .12rem;
    }
    .tips-pop-vs{
        display: flex;
        align-items: center;
        justify-content: center;
        flex: none;
        width: .44rem;
        margin: 0 .04rem;
    }
    .tips-pop-vs span{
        font-size: .16rem;
    }
    .tips-pop-vs span.tips-pop-line{
        font-size: .12rem;
        margin: 0 .05rem;
    }
    .pop-player{
        font-size: .14rem;
    }

    .page-zh .live-match-header, .page-zh .live-match-info{
        grid-template-areas: 'date corner corner' 'stage score home' 'stage score away';
        grid-template-columns: .7rem .17rem 1fr;
        grid-auto-flow: column;
        justify-content: flex-start;
        justify-items: center;
        align-items: center;
        gap: 0 .08rem;
    }
    .page-zh .live-refresh{
        margin-left: auto;
    }
}