.live-section1{
    width: 100%;
}

/* 比賽信息頭部 */
.match-info-header {
    background: #ffffff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 頂部導航和時間行 */
.header-top-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
    border-bottom: solid 1px #E6E6E6;
    padding-bottom: 12px;
}

.aitips-demo h3{
    font-size: 18px;
}

/* 麵包屑導航 */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.breadcrumb-nav a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.breadcrumb-nav a:hover {
    color: #CC0303;
}

.breadcrumb-nav .separator {
    color: #999;
    margin: 0 5px;
}

.breadcrumb-nav .current {
    color: #CC0303;
    font-size: 14px;
}

/* 賽事時間信息 */
.match-datetime {
    display: flex;
    align-items: center;
    text-align: center;
    color: #000;
    font-size: 16px;
}

.league-name {
}

.match-time {
}

/* 對戰雙方行 */
.teams-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

/* 主隊樣式 */
.team-home {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 39%;
    justify-content: flex-end;
}

/* 客隊樣式 */
.team-away {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 39%;
}

/* 隊伍名稱 */
.team-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* 隊徽容器 */
.team-logo-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    transition: border-color 0.3s;
    overflow: hidden;
}

.team-home .team-logo-wrapper {
    border-color: #CC0303;
}

.team-away .team-logo-wrapper {
    border-color: #000000;
}

.cr-text{
    font-size: 13px; color: #666;
}

.ht-text{
    font-size: 12px; color: #666; margin-top: 5px;
}
.cr-text img{
    height: 14px; margin-right: 5px;
}

/* 隊徽圖片 */
.team-logo {
    max-width: 40px;
    height: auto;
    object-fit: contain;
    padding: 3px;
    max-height: 42px;
}

/* VS 區域 */
.vs-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.vs-text {
    font-size:40px;
    font-weight: bold;
    color: #000;
    padding: 0 20px;
}

.vs-status{
    color: #cc0303;
    font-size: 16px;
    margin-bottom: 2px;
}


.team-head-score{
    font-size: 40px;
    font-weight: bold;
    color: #000;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    padding: 0 20px;
}


@media (min-width:1380px) {
    .match-datetime {
        /* width:calc(100% - 1000px); */
        justify-content: center;
        gap: 15px;
        width: 32%;
    }

    .breadcrumb-nav{
        width: 500px;
    }

    .live-section2 .menu-box ul li{
        flex:1;
    }
}

@media (min-width:1180px) and (max-width: 1379px) {
    .match-datetime {
        width:calc(100% - 800px);
        justify-content: center;
        gap: 15px;
    }

    .breadcrumb-nav{
        width: 400px;
    }

    .breadcrumb-nav .current {
        font-size: 13px;
    }

}



/* 手機端適配 */
@media (max-width: 768px) {
    .match-info-header {
        padding:25px 15px;
        margin-bottom: 15px;
    }

    .header-top-row {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
        gap: 10px;
    }

    .match-datetime {
        justify-content: center;
        width: 100%;
        font-size: 14px;
        padding: 5px 0px;
    }

    .breadcrumb-nav {
        display: none;
    }



    .teams-row {
        gap: 20px;
        flex-wrap: wrap;
    }

    .team-name {
        font-size: 16px;
    }

    .team-logo-wrapper {
        width: 50px;
        height: 50px;
    }

    .team-logo {
        width: 35px;
        height: 35px;
    }

    .vs-text {
        font-size: 20px;
        padding: 0 15px;
    }

    .team-head-score{
        font-size: 28px;
        padding: 0 10px;
    }

   
}

@media (max-width: 480px) {
    
    .live-section2{
        margin-bottom: 0 !important;
    }

    .teams-row {
        gap: 15px;
    }

    .team-home,
    .team-away {
        gap: 10px;
        flex-direction: column;
        width: 21%;
        text-align: center;
    }

    .ht-text{
        margin-top: 2px;
    }

    .team-name {
        font-size: 13px;
        order: 2;
    }

    .team-logo-wrapper {
        width: 40px;
        height: 40px;
        order: 1;
    }

    .team-logo {
        max-width: 26px;
        max-height: 26px;
        width: auto;
        height: auto;
    }

    .vs-text {
        font-size: 26px;
        padding: 0 7px;
    }

    .breadcrumb-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .separator {
        display: none;
    }

    .vs-status{
        font-size: 15px;
    }
    
    .match-datetime{
        font-size: 14px;
    }

    .league-name{
        margin-right: 6px;
    }
}

.main-container{
    flex-direction: column;
}


/*子導航*/
.live-section2{
    margin-bottom: 7px; overflow: hidden; width: 100%; background: white;
}

.live-section2 .menu-box{
    width: 100%; overflow-x: auto;
    /* 隱藏滾動條但保持滾動功能 */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* 隱藏 Webkit 瀏覽器的滾動條 */
.live-section2 .menu-box::-webkit-scrollbar {
    display: none;
}

.live-section2 .menu-box ul{
    display: flex; width: auto; min-width:100% ; align-items: center; background: white; margin-bottom: 0;
}

.live-section2 .menu-box ul li{
    min-width: 150px; padding: 0px 10px; color: #000000; font-size: 24px; text-align: center; line-height: 60px;
    cursor: pointer;
}

.live-section2 .menu-box ul li.red-text{
    color: #CC0303;
    font-weight: 500;
}

.live-section2 .menu-box ul li.active{
    background: #CC0303; color: white; border-radius: 6px 6px 0px 0px;
}

.live-section2 .menu-box ul li.active.red-text{
    color: #fff;
}

@media screen and (max-width: 1468px) {

    .live-section2 .menu-box ul li{
        line-height: 52px; font-size: 18px; min-width:120px; width:11.1%;
    }
}

@media screen and (max-width: 988px) {

    .live-section2 .menu-box ul li{
        line-height: 50px; font-size: 16px; min-width:80px;
    }
}


/*主體內容*/
.live-section3{
    min-height: 380px; overflow: hidden;
}

#content{
    width: 100%; border: none; min-height: 660px;
}