body {
    /*background-color: #26117A;*/
}

.worldcup-header {
    width: 100%;
    max-width: 1400px;
    margin: 100px auto 40px;
}

.worldcup-header .worldcup-logo {
    width: 100%;
    text-align: center;
}

.worldcup-header .worldcup-logo img {
    width: 650px;
    height: 136px;
}

/* 世界杯Banner区域 */
.worldcup-banner {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    /*overflow: hidden;*/
}

.worldcup-banner-content {
    /*倒计时*/
    background: url("/static/img/worldcup/countdown_bg_1.png") no-repeat bottom / 100% 100%;
    position: relative;
    z-index: 3;
    width: 100%;
    /*max-width: 1400px;*/
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
    pointer-events: none;
}

/* 倒计时区域 */
.worldcup-countdown {
    background: url("/static/img/worldcup/countdown_bg_2.png") no-repeat bottom / 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
    position: relative;
    z-index: 3;
    pointer-events: auto;
    width: 100%;
    max-width: 1400px;
}

.countdown-title {
    font-family: SourceHanSansCN, 'PingFang SC', sans-serif;
    font-weight: 500;
    font-size: 42px;
    line-height: 1.399999981834775em;
    color: #FFFFFF;
    text-align: center;
    letter-spacing: 0;
    margin: 0;
}

.countdown-timer {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 7px;
    flex-wrap: nowrap;
    position: relative;
    margin-bottom: 15px;
}

.countdown-item {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 1px;
    white-space: nowrap;
}

/* 根据Figma设计，为时、分、秒设置固定宽度以确保对齐 */
.countdown-item:nth-child(3) {
    width: 111px;
}

.countdown-item:nth-child(5) {
    width: 118px;
}

.countdown-item:nth-child(7) {
    width: 120px;
}

.countdown-number {
    font-family: 'DIN', 'Arial', sans-serif;
    font-weight: 700;
    font-size: 83px;
    line-height: 1.2209999360233905em;
    color: #FFFFFF;
    text-align: center;
    letter-spacing: 0;
}

.countdown-unit {
    font-family: SourceHanSansCN, 'PingFang SC', sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 1.4em;
    color: #FFFFFF;
    text-align: center;
    width: 26px;
    letter-spacing: 0;
}

.countdown-separator {
    width: 8px;
    height: 8px;
    background: #FEE197;
    /* border-radius: 50%; */
    flex-shrink: 0;
    display: inline-block;
    transform: rotate(45deg);
    margin-bottom: 8px;
}

/* 公告栏 */
.worldcup-notice {
    margin: 0 auto;
    max-width: 1400px;
    width: 100%;
    box-sizing: border-box;
    height: 41px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    padding: 0 20px 0 0;
    z-index: 4;
    border-radius: 0;
}

.notice-icon {
    height: 100%;
    margin-right: 6px;
    flex-shrink: 0;
    display: inline-block;
    object-fit: contain;
}

.notice-icon[src=""],
.notice-icon:not([src]) {
    display: none;
}

.notice-content {
    flex: 1;
    overflow: hidden;
    height: 22px;
    position: relative;
    margin-left: 6px;
}

.notice-text {
    font-family: SourceHanSansCN, 'PingFang SC', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: #FFFFFF;
    white-space: nowrap;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    animation: scroll-notice 30s linear infinite;
    padding-right: 50px;
}

@keyframes scroll-notice {
    0% {
        transform: translate(100%, -50%);
    }

    100% {
        transform: translate(-100%, -50%);
    }
}

/* 轮播区域 */
.worldcup-carousel {
    width: 100%;
    max-width: 1400px;
    height: 100%;
    min-height: 688px;
    z-index: 1;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    padding: 0 65px;
    box-sizing: border-box;
}

.worldcup-carousel .swiper-container {
    width: 100%;
    height: 100%;
    min-height: 688px;

    overflow: unset;
    display: flex;
    align-items: center;
    /*padding: 0 65px;*/
    overflow: hidden;
    box-sizing: border-box;
}

.worldcup-carousel .swiper-wrapper {
    width: 100%;
    height: 100%;
}

.worldcup-carousel .swiper-wrapper .swiper-slide .swiper-content {
    position: relative;
    aspect-ratio: 16 / 9;
}

.worldcup-carousel .swiper-slide {
    /*width: 100%;*/
    /*height: 100%;*/
    aspect-ratio: 16 / 9;
    width: 1044px;
    /*height: 588px;*/
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.worldcup-carousel .swiper-slide img {
    width: 100%;
    /*height: 588px;*/
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 0;
}

/* 视频类型：DPlayer 容器（与首页 .video #dplayer 一致，支持直播流） */
/* .worldcup-carousel .video-poster {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 0;
} */

.worldcup-carousel .worldcup-slide-dplayer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* z-index: 1; */
    z-index: 0;
    /*background: #000;*/
}

.worldcup-carousel .worldcup-slide-dplayer .dplayer {
    width: 100% !important;
    height: 100% !important;
}

.worldcup-carousel .worldcup-slide-dplayer .dplayer .dplayer-video-wrap {
    width: 100%;
    height: 100%;
}

.worldcup-carousel .swiper-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 0;
}

.worldcup-carousel .swiper-slide a {
    display: flex;
    width: 100%;
    /*height: 100%;*/
    aspect-ratio: 16 / 9;
    text-decoration: none;
}

.worldcup-carousel .swiper-slide-active .swiper-content {
    width: 100%;
    z-index: 3;
}

.worldcup-carousel .swiper-wrapper .swiper-slide-active .swiper-content a {
    width: 95%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.carousel-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 12;
    transition: all 0.3s;
    pointer-events: auto;
}

.carousel-play-icon:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translate(-50%, -50%) scale(1.1);
}

.carousel-play-icon::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 18px solid #FFFFFF;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px;
}

/* 视频类型轮播卡片：悬停显示「进入直播间」（与首页 .video .go-live-room 效果一致） */
.worldcup-carousel .carousel-video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    width: 120px;
    height: 55px;
    border-radius: 5px;
    color: #fff;
    z-index: 10;
    line-height: 55px;
    text-align: center;
    box-shadow: 0 0 10px var(--theme-color-red, #E21C34);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.worldcup-carousel .swiper-slide[data-banner-type="video"]:hover .carousel-video-overlay {
    display: flex;
    border: 1px solid var(--theme-color-red, #E21C34);
    justify-content: center;
}

.worldcup-carousel .carousel-video-overlay a {
    color: inherit;
    text-decoration: none;
    font-size: 16px;
}

.worldcup-carousel .swiper-slide[data-banner-type="video"]:hover .carousel-video-overlay a {
    color: var(--theme-color-red, #E21C34);
    justify-content: center;
    height: 100%;
}

.worldcup-carousel .carousel-video-overlay:hover {
    display: flex;
    background: rgba(0, 0, 0, 0.5);
}

.worldcup-carousel .carousel-video-overlay:hover a {
    color: var(--theme-color-red, #E21C34);
}

.worldcup-carousel .swiper-pagination {
    bottom: 60px;
    z-index: 5;
}

.worldcup-carousel .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 4px;
    transition: all 0.3s;
}

.worldcup-carousel .swiper-pagination-bullet-active {
    background: #FFFFFF;
    width: 20px;
    border-radius: 4px;
}

.worldcup-carousel .swiper-button-next,
.worldcup-carousel .swiper-button-prev {
    color: #FFFFFF;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s;
    z-index: 5;
}

.worldcup-carousel .swiper-button-next:hover,
.worldcup-carousel .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.4);
}

.worldcup-carousel .swiper-button-next:after,
.worldcup-carousel .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

/* 内容区域 */
.worldcup-container {
    width: 100%;
    /*min-height: 600px;*/
    padding: 20px 0;
    box-sizing: border-box;
    min-height: calc(100vh - 80px - 379px);
}

.worldcup-content {
    /*max-width: 1400px;*/
    margin: 0 auto;
    /*padding: 0 20px;*/
}

/* 参赛队伍选择区 */
.team-selector-wrapper {
    position: relative;
    margin: 40px 0;
}

.team-selector {
    padding: 20px 30px;
    background-size: cover;
    background: url('/static/img/worldcup/team-selector-bg.png') no-repeat;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0px -2px 4px 0px #FFFFFF6B inset;
}

.team-selector-flag {
    width: 76px;
    height: 52px;
    object-fit: cover;
    border-radius: 4px;
}

.team-selector-name {
    font-family: SourceHanSansCN, 'PingFang SC', sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #FFFFFF;
    flex: 1;
}

.team-selector-btn {
    width: 110.63px;
    height: 47px;
    background: rgba(14, 29, 114, 0.48);
    border: 2px solid rgba(255, 255, 255, 0.16);
    border-radius: 2px;
    color: #FFFFFF;
    font-family: SourceHanSansCN, 'PingFang SC', sans-serif;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(11.8px);
}

.team-selector-btn:hover {
    background: rgba(14, 29, 114, 0.6);
}

/* 队伍选择下拉菜单 */
.team-selector-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-radius: 0 0 8px 8px;
    box-shadow: 0px 4px 13.7px 0px rgba(255, 255, 255, 0.59);
    z-index: 1000;
    max-height: 424px;
    overflow: hidden;
}

.team-selector-dropdown.show {
    display: block;
}

.team-selector-dropdown-content {
    padding: 24px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    max-height: 424px;
    overflow-y: auto;
    background: url('/static/img/worldcup/team-selector-dropdown-bg.png') no-repeat center;
    background-size: cover;
    box-sizing: border-box;
}

/* 队伍选项 */
.team-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 11px 0;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 7px;
    background: transparent;
    border: 2px solid transparent;
    margin-bottom: 0;
    flex: 1 1 auto;
    min-width: calc(100% / 10);
    box-sizing: border-box;
}

.team-option:hover {
    background: rgba(213, 209, 255, 0.3);
}

.team-option.active {
    background: #D5D1FF;
    border: 2px solid #201CB9;
}

.team-option-flag {
    width: 64px;
    height: 44px;
    object-fit: cover;
    border-radius: 2px;
}

.team-option-name {
    font-family: SourceHanSansCN, 'PingFang SC', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    color: #333333;
    text-align: center;
}

.team-option.active .team-option-name {
    color: #333333;
}

/* 主队选择弹窗 */
.main-team-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.main-team-modal.show {
    display: flex;
}

.main-team-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.main-team-modal-content {
    position: relative;
    width: 1024px;
    height: 790px;
    max-height: 65vh;
    border-radius: 16px;
    box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    /*overflow: hidden;*/
    z-index: 10001;
    background: url('/static/img/worldcup/team-selector-pop-bg.png') no-repeat center / 100%;
}

.main-team-modal-overlay::before {
    content: '';
    position: absolute;
    width: 434px;
    height: 330px;
    top: calc(((100% - 65vh) / 2) - 180px);
    z-index: 0;
    right: calc((100% - 1024px) / 2);
    background: url('/static/img/worldcup/main_team_modal_decor.png') no-repeat center / 100%;
}

.main-team-modal-title {
    position: absolute;
    width: 435px;
    height: 114px;
    right: 0;
    top: -42px;
}

.main-team-modal-header {
    padding: 32px 32px 0 76px;
    text-align: left;
    position: relative;
    /*border-bottom: 1px solid #E5E5E5;*/
}

.main-team-modal-title {
    font-family: SourceHanSansCN, 'PingFang SC', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #333333;
    margin: 0 0 8px 0;
}

.main-team-modal-subtitle {
    font-family: SourceHanSansCN, 'PingFang SC', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #666666;
    margin: 0;
}

.main-team-modal-body {
    flex: 1;
    padding: 24px 34px;
    overflow-y: auto;
}

.main-team-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    /*gap: 16px;*/
}

.main-team-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 4px 25px;
    cursor: pointer;
    border-radius: 8px;
    border: 2px solid transparent;
    background: none;
    transition: all 0.3s;
}

.main-team-item:hover {
    background: #44FF4A9E;
    border: 2px solid #00FF5D;
    /*transform: translateY(-2px);*/
}

.main-team-item.selected {
    background: #44FF4A9E;
    border: 2px solid #00FF5D;
}

.main-team-item-flag {
    width: 64px;
    height: 44px;
    object-fit: cover;
    border-radius: 4px;
}

.main-team-item-name {
    font-family: SourceHanSansCN, 'PingFang SC', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #fff;
    text-align: center;
}

.main-team-item.selected .main-team-item-name {
    font-weight: 600;
}

.main-team-modal-footer {
    padding: 24px 32px;
    /*border-top: 1px solid #E5E5E5;*/
    display: flex;
    justify-content: center;
}

.main-team-modal-btn {
    min-width: 200px;
    height: 48px;
    border: none;
    border-radius: 8px;
    font-family: SourceHanSansCN, 'PingFang SC', sans-serif;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.main-team-modal-btn-confirm {
    background: url('/static/img/worldcup/btn-confirm-bg.png') no-repeat center / 100%;
    color: #FFFFFF;
    width: 375px;
    height: 76px;
}

.main-team-modal-btn-confirm:disabled {
    /*background: #CCCCCC;*/
    /*color: #999999;*/
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .main-team-modal-content {
        width: 95%;
        max-height: 85vh;
    }

    .main-team-modal-header {
        padding: 24px 20px 0 16px;
    }

    .main-team-modal-title {
        font-size: 20px;
    }

    .main-team-modal-body {
        padding: 20px 16px;
    }

    .main-team-list {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 12px;
    }

    .main-team-item {
        padding: 12px 8px;
    }

    .main-team-item-flag {
        width: 56px;
        height: 38px;
    }

    .main-team-modal-footer {
        padding: 20px 16px;
    }

    .main-team-modal-btn {
        min-width: 160px;
        height: 44px;
        font-size: 14px;
    }
}

/* 内容区块通用样式 */
.content-section {
    margin: 16px 0 25px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.section-title-container {
    display: flex;
    align-items: center;
}

.section-title {
    font-family: 'Alimama FangYuanTi VF', SourceHanSansCN, 'PingFang SC', sans-serif;
    font-weight: 400;
    font-size: 32px;
    color: #FFFFFF;
    margin: 0;
}

.section-icon {
    width: 32px;
    height: 32px;
    margin-right: 4px;
    object-fit: cover;
}

.section-more-btn {
    width: 143.07px;
    /*height: 36px;*/
    background: #0000004D;
    /*border: 1px solid rgba(255, 255, 255, 0.3);*/
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    color: #FFFFFF;
    font-family: SourceHanSansCN, 'PingFang SC', sans-serif;
    cursor: pointer;
    transition: all 0.3s;

    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    padding: 6px 17px;


    display: flex;
    align-items: center;
    justify-content: center;
}
.section-more-btn img{
    width: 20px;
    height: 20px;
    margin-left: 8px;
}
.section-more-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 视频卡片 */
.video-list {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.video-list::-webkit-scrollbar {
    height: 6px;
}

.video-list::-webkit-scrollbar-track {
    background: transparent;
}

.video-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

/* 球队集锦区域特殊样式 - 2行4列网格布局 */
.team-videos-section .video-list {
    display: grid;
    grid-template-columns: repeat(4, 332px);
    /* grid-template-rows: repeat(2, 200px); */
    gap: 24px;
    width: 100%;
    max-width: 1400px;
    overflow: visible;
    padding-bottom: 0;
}

/* 世界杯小课堂：按UI使用网格排版（避免继承默认横向滚动样式） */
.classroom-videos-list {
    display: grid;
    grid-template-columns: repeat(4, 332px);
    gap: 24px;
    width: 100%;
    max-width: 1400px;
    overflow: visible;
    padding-bottom: 0;
}

.video-card {
    width: 332px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.video-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 332/200;
    border-radius: 12px;
    overflow: hidden;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-card-cover {
    width: 100%;
    /*height: 100%;*/
    aspect-ratio: 332/200;
    object-fit: cover;
}

.video-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.video-card-play::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 18px solid #FFFFFF;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px;
}

.video-card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    color: #FFFFFF;
}

.video-card-title {
    font-family: SourceHanSansCN, 'PingFang SC', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.4em;
}

.video-card-subtitle {
    font-family: SourceHanSansCN, 'PingFang SC', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.399999976158142em;
    opacity: 0.8;
}

/* 热队时讯区 */
.hot-news-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.hot-news-list {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 332px);
    gap: 20px;
    min-width: 0;
    justify-content: start;
}

.news-card {
    width: 332px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card-media {
    position: relative;
    width: 100%;
    /*height: 200px;*/
    aspect-ratio: 332 / 200;
    border-radius: 12px;
    overflow: hidden;
}

.news-card-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 按UI：信息区在图片下方（非叠加在图片上） */
.news-card-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    gap: 10px;
    color: #FFFFFF;
}

.news-card-tag {
    display: inline-block;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-family: SourceHanSansCN, 'PingFang SC', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #FFFFFF;
    align-self: flex-start;
}

.news-card-title {
    font-family: SourceHanSansCN, 'PingFang SC', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.4em;
    color: #FFFFFF;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* 热榜 */
.hot-ranking {
    width: 332px;
    min-width: 332px;
    border-radius: 12px;
    padding: 20px;
    box-sizing: border-box;
    background: linear-gradient(330.19deg, rgba(4, 31, 185, 0.52) 13.39%, rgba(86, 3, 225, 0.52) 100%);
    box-shadow: 0 -2px 4px 0 #FFFFFF6B inset;
}

.hot-ranking-title {
    font-family: SourceHanSansCN, 'PingFang SC', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.4em;
    color: #FFFFFF;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    height: 50px;
}

.hot-ranking-title::after {
    content: '';
    position: absolute;
    width: 48px;
    height: 50px;
    background: url('/static/img/worldcup/new_title_left.png') no-repeat center / 100%;
    left: 0;
    top: 0px;
}

.hot-ranking-title::before {
    content: '';
    position: absolute;
    width: 48px;
    height: 50px;
    background: url('/static/img/worldcup/new_title_right.png') no-repeat center / 100%;
    right: 0;
    top: 0;
}

.hot-ranking-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hot-ranking-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: opacity 0.3s;
    padding: 4px 0;
}

.hot-ranking-item:hover {
    opacity: 0.8;
}

.hot-ranking-rank {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: SourceHanSansCN, 'PingFang SC', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
    flex-shrink: 0;
}

.hot-ranking-rank.rank-1 {
    background: url('/static/img/worldcup/rank1.png') no-repeat center / 100%;
}

.hot-ranking-rank.rank-2 {
    background: url('/static/img/worldcup/rank2.png') no-repeat center / 100%;
}

.hot-ranking-rank.rank-3 {
    background: url('/static/img/worldcup/rank3.png') no-repeat center / 100%;
}

.hot-ranking-text {
    flex: 1;
    font-family: SourceHanSansCN, 'PingFang SC', sans-serif;
    font-size: 16px;
    color: #FFFFFF;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hot-ranking-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* 交流群区 */
.chat-groups {
    display: flex;
    /*flex-direction: column;*/
    gap: 20px;
}

.chat-group-card {
    width: 688px;
    background: #FFFFFF;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-sizing: border-box;
}

.chat-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-group-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-group-name {
    font-family: SourceHanSansCN, 'PingFang SC', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #333333;
}

.chat-group-members {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-group-avatars {
    display: flex;
    gap: -10px;
}

.chat-group-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    margin-left: -8px;
}

.chat-group-avatar:first-child {
    margin-left: 0;
}

.chat-group-count {
    font-family: SourceHanSansCN, 'PingFang SC', sans-serif;
    font-size: 14px;
    color: #86909C;
}

.chat-group-join-btn {
    width: 80px;
    height: 36px;
    background: linear-gradient(180deg, #5E00E5 0%, #3D00A3 100%);
    border-radius: 35px;
    border: none;
    color: #FFFFFF;
    font-family: SourceHanSansCN, 'PingFang SC', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.chat-group-join-btn:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.chat-group-preview {
    font-family: SourceHanSansCN, 'PingFang SC', sans-serif;
    font-size: 14px;
    color: #333333;
    line-height: 1.5;
}

/* 小组赛积分表 */
.group-tables-wrapper {
    margin-top: 30px;
}

.group-tabs {
    display: flex;
    /* gap: 12px; */
    margin-bottom: 30px;
}

.group-tab {
    padding: 12px 24px;
    /* border-radius: 8px; */
    font-family: 'Alimama FangYuanTi VF', SourceHanSansCN, 'PingFang SC', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    position: relative;
    white-space: nowrap;
    width: 50%;
    box-sizing: border-box;

    font-weight: 400;
    font-size: 32px;
    line-height: 40px;

}

.group-tab.active {
    background: linear-gradient(90deg, #5E00E5 3.06%, #0120B8 100%);
    color: #FFFFFF;
}

.group-tab:not(.active) {
    background: #7C7B7B;
    color: #FFFFFF;
}

.group-tab:hover:not(.active) {
    background: rgba(124, 123, 123, 0.8);
}

.group-tab.active:hover {
    background: rgba(94, 0, 229, 0.9);
}

.group-tables {
    display: grid;
    grid-template-columns: repeat(auto-fit, 332px);
    gap: 24px;
    justify-content: center;
}

.group-table {
    width: 332px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-sizing: border-box;
}

.group-table-header {
    padding: 12px 15px;
    font-family: SourceHanSansCN, 'PingFang SC', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #FFFFFF;
    text-align: center;
}

.group-table-content {
    /*padding: 15px 0;*/
}

.group-table-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
}

.group-table-table thead {
    display: table-header-group;
    border-radius: 4px;
    height: 55px;
}

.group-table-table tbody {
    display: table-row-group;
    background-color: #fff;
}

.group-table-table tr {
    display: table-row;
}

.is_qualified,
.group-table-rank-num {
    position: relative;
}

.is_qualified .group-table-qualified {
    position: absolute;
    top: -18px;
    left: -8px;
    display: inline-block;
    width: 27px;
    height: 11px;
    line-height: 11px;
    padding: 0;
    background: linear-gradient(90deg, #FFF94C 0%, #ED8A00 100%);
    border-radius: 2px 2px 4px 2px;
    font-size: 10px;
    color: #fff;
    font-weight: 600;
    text-align: center;
    margin-left: 4px;
}

.group-table-line {
    position: absolute;
    background-color: #86909C;
    width: 300px;
    height: 1px;
    bottom: -18px;
    opacity: 0.3;
}

.group-table-table th .group-table-table th,
.group-table-table td {
    display: table-cell;
    padding: 18px 4px;
    font-family: SourceHanSansCN, 'PingFang SC', sans-serif;
    font-size: 14px;
    color: #FFFFFF;
    vertical-align: middle;
}

.group-table-table tbody tr:last-child td {
    border-bottom: none;
}

.group-table-header-row {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.group-table-header-row th {
    text-align: center;
    font-size: 12px;
    padding: 10px 0;
}

.group-table-header-row th:nth-child(3) {
    /*text-align: left;*/
}

.group-table-table td {
    box-sizing: border-box;
    color: #333;
}

.group-table-table th:first-child {
    width: auto;
    text-align: left;
    padding: 10px 8px;
    box-sizing: border-box;
    font-size: 18px;
}

.group-table-table td:first-child {
    width: 24px;
    text-align: center;
}

.group-table-rank {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.group-table-flag-cell {
    text-align: center;
    padding: 0 4px;
}

.group-table-flag {
    width: 25px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
    margin: 0 auto;
}

.group-table-team {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
    min-width: 0;
}

.group-table-data {
    text-align: center;
    font-size: 14px;
    white-space: nowrap;
}

/* 淘汰赛对阵图 */
.knockout-bracket {
    width: 100%;
    background: #000;
    padding: 60px 20px;
    box-sizing: border-box;
    overflow-x: auto;
    border-radius: 12px;
}

.bracket-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 1300px;
    margin: 0 auto;
    position: relative;
}

.bracket-column {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 800px;
    /* 固定高度以便对齐 */
}

.bracket-column.round-16 {
    width: 180px;
}

.bracket-column.round-8 {
    width: 180px;
}

.bracket-column.round-4 {
    width: 180px;
}

.bracket-column.center {
    width: 240px;
}

/* 比赛卡片样式 */
.match-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    margin: 10px 0;
    position: relative;
}

.match-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 4px;
}

.round-name {
    color: #00FF5D;
}

.match-status {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 4px;
}

.team-row {
    display: flex;
    align-items: center;
    padding: 4px 0;
    color: #fff;
    font-size: 14px;
}

.team-row.winner {
    font-weight: bold;
}

.team-flag {
    width: 24px;
    height: 16px;
    margin-right: 8px;
    border-radius: 2px;
}

.team-flag-placeholder {
    width: 24px;
    height: 16px;
    margin-right: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.team-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-score {
    width: 20px;
    text-align: right;
}

/* 决赛特化样式 */
.bracket-column.center {
    justify-content: center;
    gap: 40px;
}

.final-header {
    text-align: center;
    margin-bottom: 20px;
}

.large-flag {
    width: 80px;
    height: 54px;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.round-title {
    font-weight: bold;
    font-size: 16px;
}

.round-title.gold {
    color: #FFD700;
}

.round-title.bronze {
    color: #CD7F32;
}

/* 左右布局调整 */
.bracket-column.right .team-row {
    flex-direction: row-reverse;
}

.bracket-column.right .team-flag,
.bracket-column.right .team-flag-placeholder {
    margin-left: 8px;
    margin-right: 0;
}

.bracket-column.right .team-score {
    text-align: left;
}

.bracket-column.right .match-header {
    flex-direction: row-reverse;
}

/* 连接线逻辑 (简化版) */
.match-card::after {
    content: '';
    position: absolute;
    border-color: #00FF5D;
    border-style: solid;
    border-width: 0;
    pointer-events: none;
}

/* 实际连接线需要更复杂的 CSS 或 SVG，此处先实现基础布局 */
.mvp-section {
    margin: 60px 0;
}

.mvp-carousel {
    position: relative;
    overflow: hidden;
}

.mvp-carousel .swiper-container {
    overflow: visible;
}

.mvp-carousel .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.mvp-carousel .swiper-slide {
    width: auto;
    height: auto;
}

.mvp-card {
    position: relative;
    /*width: 260px;*/
    /*height: 320px;*/
    width: 100%;
    aspect-ratio: 260 / 320;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mvp-card:hover {
    /*transform: scale(1.01);*/
    /*box-shadow: 0 4px 12px rgba(255, 255, 255, .44);*/
}

.mvp-card-image {
    width: 100%;
    aspect-ratio: 260 / 320;
    /*height: 280px;*/
    object-fit: cover;
    display: block;
}

.mvp-carousel .swiper-button-next,
.mvp-carousel .swiper-button-prev {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    color: #FFFFFF;
    margin-top: -20px;
}

.mvp-carousel .swiper-button-next:after,
.mvp-carousel .swiper-button-prev:after {
    font-size: 18px;
    font-weight: 700;
}

.mvp-carousel .swiper-button-next:hover,
.mvp-carousel .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.7);
}

@media (max-width: 1920px) {}

@media (max-width: 1024px) {
    .hot-news-wrapper {
        flex-direction: column;
        gap: 24px;
    }

    .hot-news-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        justify-content: stretch;
    }

    .hot-ranking {
        width: 100%;
        max-width: 332px;
    }

    .news-card {
        width: 100%;
        max-width: 100%;
    }

    .news-card-media {
        width: 100%;
        max-width: 100%;
    }

    .chat-group-card {
        width: 100%;
    }

    .group-tables {
        grid-template-columns: 1fr;
        justify-content: stretch;
    }

    .group-table {
        width: 100%;
        max-width: 100%;
    }

    .group-table-table th,
    .group-table-table td {
        padding: 8px 2px;
        font-size: 12px;
    }

    .group-table-rank {
        font-size: 12px;
    }

    .group-table-team {
        font-size: 12px;
    }

    .group-table-data {
        font-size: 12px;
    }

    .mvp-carousel {
        padding: 0 30px;
    }

    .mvp-card {
        width: 240px;
        height: 320px;
    }

    .mvp-card-image {
        height: 240px;
    }

    .mvp-card-name {
        font-size: 18px;
    }

    .mvp-carousel .swiper-button-next,
    .mvp-carousel .swiper-button-prev {
        width: 32px;
        height: 32px;
    }

    .mvp-carousel .swiper-button-next:after,
    .mvp-carousel .swiper-button-prev:after {
        font-size: 14px;
    }
}

@media (max-width: 1400px) {
    .worldcup-header {
        max-width: 1200px;
    }

    .worldcup-carousel {
        max-width: 1200px;
    }

    .worldcup-notice {
        max-width: 1200px;
    }

    .worldcup-carousel .swiper-slide {
        width: calc((1200/1400) *1044px);
    }

    /*.worldcup-carousel .swiper-slide img{*/
    /*    width: calc((1200/1400) * 1044px);*/
    /*}*/
    .worldcup-carousel .swiper-wrapper .swiper-slide-active .swiper-content a {
        width: calc((1200/1400) * 1000px);
    }

    .worldcup-countdown {
        max-width: 1200px;
    }

    .team-videos-section .video-list {
        grid-template-columns: repeat(4, 1fr);
        max-width: 100%;
    }

    .team-videos-section .video-list .video-card {
        width: 100%;
    }

    .hot-news-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .news-card {
        width: 100%;
    }

    .classroom-videos-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .classroom-videos-list .video-card {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .team-videos-section .video-list {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
}

@media (max-width: 768px) {
    .team-selector-wrapper {
        margin: 20px 0;
    }

    .team-selector {
        flex-direction: column;
        text-align: center;
        padding: 15px 20px;
    }

    .team-selector-dropdown-content {
        padding: 15px;
        max-height: 300px;
    }

    .team-option {
        padding: 8px 0;
    }

    .team-option-flag {
        width: 48px;
        height: 32px;
    }

    .section-title {
        font-size: 24px;
    }

    .video-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .team-videos-section .video-list {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .video-card {
        width: 100%;
        max-width: 332px;
    }

    .hot-news-list {
        grid-template-columns: 1fr;
        gap: 15px;
        justify-content: stretch;
    }

    .news-card {
        width: 100%;
        max-width: 100%;
    }

    .news-card-media {
        width: 100%;
        max-width: 100%;
    }

    .hot-ranking {
        width: 100%;
        max-width: 100%;
    }

    .group-tables {
        grid-template-columns: 1fr;
        justify-content: stretch;
    }

    .group-table {
        width: 100%;
        max-width: 100%;
    }

    .group-table-table th,
    .group-table-table td {
        padding: 8px 2px;
        font-size: 12px;
    }

    .group-table-rank {
        font-size: 12px;
    }

    .group-table-team {
        font-size: 12px;
    }

    .group-table-data {
        font-size: 12px;
    }
}