/* 强制立即显示页面内容，防止黑屏 */
body, .container, .content {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

#view-home {
    display: block;
    opacity: 1;
    visibility: visible;
}

#loading-indicator {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* 强制确保 match-info 可以点击 */
.match-info {
    cursor: pointer !important;
    position: relative !important;
    z-index: 9999 !important;
    pointer-events: auto !important;
}

.match-info * {
    position: relative !important;
    z-index: 10000 !important;
    pointer-events: auto !important;
}

.match-card {
    position: relative !important;
}

.match-card > *:not(.watermark-overlay) {
    position: relative !important;
    z-index: 1000 !important;
}

.watermark-overlay,
.watermark-overlay * {
    pointer-events: none !important;
    user-select: none !important;
    touch-action: none !important;
}

/* 全局背景色和z-index设置 */
body {
    background-color: #15151e !important;
}

.container {
    background-color: #15151e !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    z-index: 1 !important;
    position: relative !important;
}

/* 轮播图和新闻容器样式 */
.carousel-news-container {
    z-index: 1 !important;
    position: relative !important;
    padding: 0 5px !important;
    margin-top: 2px !important;
    clear: both !important;
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    display: block !important;
}

/* 新闻容器响应式布局 */
.news-container {
    display: none !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
}

/* 大屏幕时显示为flex布局，新闻框在轮播图右边，显示为一列 */
@media (min-width: 1451px) {
    .navbar-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .carousel-news-container {
        display: flex !important;
        gap: 40px !important;
        padding: 0 10px !important;
        height: 600px !important;
    }
    
    .carousel-container {
        flex: 7 !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    .news-container {
        flex: 4 !important;
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        justify-content: space-between !important;
        gap: 5px !important;
    }
    
    .carousel-news-container .news-item {
        flex: 0 0 112px !important;
        min-height: 112px !important;
        max-height: 112px !important;
        margin: 0 !important;
    }
    
    .carousel-news-container .news-item img {
        width: 100px !important;
        height: 100px !important;
        margin: 6px !important;
    }
    
    #view-team-detail {
        padding: 0;
        max-width: 1800px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .team-nav-bar {
        padding: 10px 5px !important;
    }
    
    .team-top-section {
        padding: 20px 5px 40px !important;
    }
    
    .drivers-section {
        padding: 40px 5px !important;
    }
}

/* 轮播图样式 */
.carousel-container {
    width: 100% !important;
    overflow: hidden !important;
}

.carousel {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    height: 100% !important;
}

.embla {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
}

.embla__slide {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    overflow: hidden !important;
}

.embla__slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* 新闻项样式 */
.news-item {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    border-radius: 8px !important;
    border: none !important;
    transition: transform 0.2s ease !important;
    box-sizing: border-box !important;
    height: 112px !important;
    margin: 0 !important;
    background-color: #000 !important;
}



.news-item:hover {
    transform: translateY(-2px) !important;
}

.news-item img {
    width: 100px !important;
    height: 100px !important;
    margin: 6px !important;
    object-fit: cover !important;
    object-position: left !important;
    border-radius: 4px !important;
}

/* 大屏范围 (1451px以上) 的响应式设计 */
@media (min-width: 1451px) {
    /* 大屏显示5个新闻框 - 仅应用于首页新闻容器 */
    .carousel-news-container .news-item:nth-child(n+6) {
        display: none !important;
    }
}

/* 中屏范围 (1200px-1450px) 的响应式设计 */
@media (min-width: 1201px) and (max-width: 1450px) {
    /* 中屏显示4个新闻框 - 仅应用于首页新闻容器 */
    .carousel-news-container .news-item:nth-child(n+5) {
        display: none !important;
    }
    
    .carousel-news-container {
        padding: 0 5px !important;
        display: grid !important;
        gap: 10px !important;
    }
    
    .carousel-container {
        width: 100% !important;
        height: 500px !important;
    }
    
    .news-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
        grid-template-rows: repeat(2, auto) !important;
        max-height: 230px !important;
    }
    
    .news-item {
        min-height: 112px !important;
        max-height: 112px !important;
    }
    
    .news-item img {
        width: 100px !important;
        height: 100px !important;
        margin: 6px !important;
    }
    
    #view-team-detail {
        padding: 0;
        max-width: 1800px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .team-nav-bar {
        padding: 10px 5px !important;
    }
    
    .team-top-section {
        padding: 20px 5px 40px !important;
    }
    
    .drivers-section {
        padding: 40px 5px !important;
    }
}

.news-item .news-content,
#view-news .news-item .news-content,
.carousel-news-container .news-item .news-content {
    flex: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.news-content h4 {
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    text-align: left !important;
}

.news-content .news-meta {
    font-size: 12px !important;
    color: #888888 !important;
    margin: 4px 0 0 0 !important;
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.news-content .news-author {
    font-weight: 500 !important;
}

.news-content .news-date {
    display: block !important;
}

/* 中等屏幕时调整轮播图左右间隔 */
@media (max-width: 1200px) {
    /* 小屏显示4个新闻框 - 仅应用于首页新闻容器 */
    .carousel-news-container .news-item:nth-child(n+5) {
        display: none !important;
    }
    
    .navbar-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .carousel-news-container {
        padding: 0 5px !important;
        display: grid !important;
        gap: 10px !important;
    }
    
    .carousel-container {
        width: 100% !important;
        height: 500px !important;
    }
    
    .news-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
        grid-template-rows: repeat(2, auto) !important;
        max-height: 230px !important;
    }
    
    .news-item {
        min-height: 112px !important;
        max-height: 112px !important;
    }
    
    .news-item img {
        width: 100px !important;
        height: 100px !important;
        margin: 6px !important;
    }
}

/* 小屏幕时减少轮播图左右间隔 */
@media (max-width: 768px) {
    .navbar-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .carousel-news-container {
        padding: 0 5px !important;
        display: grid !important;
        gap: 10px !important;
    }
    
    .carousel-container {
        width: 100% !important;
        height: 400px !important;
    }
    
    .news-item {
        padding: 0 !important;
        min-height: 112px !important;
        max-height: 112px !important;
    }
    
    .news-item img {
        width: 100px !important;
        height: 100px !important;
        margin: 6px !important;
        object-fit: cover !important;
        object-position: left !important;
        border-radius: 4px !important;
    }
    
    .news-content h4 {
        font-size: 14px !important;
        line-height: 1.4 !important;
        text-align: left !important;
    }
    
    .news-container {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        width: 100% !important;
        max-height: 400px !important;
    }
}

/* 通知栏z-index设置 */
.notification-bar {
    z-index: 100 !important;
    position: relative !important;
}

/* 主内容区域z-index设置 */
.content {
    z-index: 1 !important;
    position: relative !important;
}

/* 队伍页面的 container 需要紧贴导航栏 */
.container {
    margin-top: 0 !important;
    padding-top: 20px !important;
    background-color: #15151e !important;
    min-height: 100vh !important;
    height: 100vh !important;
}

.navbar {
    background-color: #15151e !important;
    color: white !important;
}

.navbar h1 {
    color: white !important;
}

/* 内容容器背景色和z-index设置 */
#total-content,
#detail-content,
#team-content {
    background-color: #15151e !important;
    z-index: 1 !important;
    position: relative !important;
}

/* 直播内容z-index设置 */
#view-live {
    z-index: 1 !important;
    position: relative !important;
}

/* 排行榜内容z-index设置 */
#view-total {
    z-index: 1 !important;
    position: relative !important;
}

/* match-card 背景色 - 使用更具体的选择器 */
#total-content .match-card,
#detail-content .match-card,
#team-content .match-card {
    background-color: #15151e !important;
    border-color: #333333 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
}

/* 确保所有match-card都使用正确的背景色和z-index设置 */
.match-results .match-card {
    background-color: #15151e !important;
    border-color: #333333 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
    z-index: 1 !important;
    position: relative !important;
}

/* 确保 toggle-arrow 可以点击 */
.toggle-arrow {
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 10001 !important;
}

/* 导航栏按钮靠左 - 强制覆盖 */
.navbar {
    justify-content: space-between !important;
    padding: 0 20px !important;
}

.navbar-left {
    flex: 0 0 auto !important;
}

.navbar-right {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* 新闻列表页面样式 */
#view-news {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: none;
    margin: 0;
    padding: 40px 10px;
}

/* 队伍介绍页面样式 */
#view-team-detail {
    display: none;
    width: 100%;
    min-height: 100vh;
    background: #15151e;
    color: white;
    padding: 0;
    margin: 0;
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
}

/* 队伍宣传页样式 */
#view-team-detail {
    padding: 0 !important;
    margin-top: 0 !important;
    position: relative;
    top: 0;
    z-index: 1;
    margin-bottom: 0;
}

/* 队伍宣传页的container样式 */
#view-team-detail .container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* 取消match-results的margin-top */
.match-results {
    margin-top: 0 !important;
    padding: 40px 10px;
}

/* 移除队伍宣传页的container padding */
#view-team-detail .container {
    padding-top: 0 !important;
}

/* 队伍导航栏 */
.team-nav-bar {
    background: #15151e;
    padding: 10px 5px !important;
    display: flex;
    align-items: center;
    margin-top: 0;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 1000;
    margin-bottom: 0;
}

/* 返回按钮样式已移除 */

/* 队伍顶部区域 */
.team-top-section {
    background: #15151e;
    padding: 20px 5px 40px !important;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.back-to-teams-btn {
    background: #15151e;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: center;
    min-width: 120px;
    pointer-events: auto;
}



.team-logo-container {
    margin-bottom: 30px;
}

.team-logo-container img {
    max-width: 800px;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.team-name {
    font-size: 36px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.team-city {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

/* 选手信息区域 */
.drivers-section {
    padding: 40px 5px !important;
    background-color: #15151e;
}

.drivers-title {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-align: left;
}

.drivers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 2864px;
    margin: 0 auto;
}

/* 小屏幕响应式样式 */
@media (max-width: 768px) {
    .drivers-grid {
        grid-template-columns: 1fr;
    }
}

.driver-card {
    background: #15151e;
    border-radius: 12px;
    padding: 0;
    display: flex;
    height: 256px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid #333333;
}



.driver-info {
    flex: 3;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}.driver-name {
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
}

.driver-number {
    font-size: 32px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.driver-team {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
}

.driver-image {
    flex: 7;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#view-news h2 {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 20px;
    color: #e0e0e0;
}

/* 新闻列表页面新闻框图片样式 */
#view-news .news-item {
    height: 112px !important;
}

#view-news .news-item img {
    margin: 6px;
}

/* 新闻列表页面响应式样式 */
@media (max-width: 768px) {
    #view-news {
        grid-template-columns: 1fr !important;
        padding: 40px 5px;
    }
}

.nav-buttons {
    display: flex !important;
    gap: 0 !important;
    height: 100% !important;
    align-items: stretch !important;
}

/* 日期显示样式 */
.navbar-date {
    color: #e0e0e0 !important;
    font-size: 14px !important;
    font-family: 'Formula1', sans-serif !important;
    margin-left: 20px !important;
    padding: 0 10px !important;
    min-width: 220px !important;
    width: 220px !important;
    text-align: right !important;
    letter-spacing: 0.5px !important;
    text-rendering: optimizeSpeed !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
    line-height: 60px !important;
    vertical-align: middle !important;
    font-variant-numeric: tabular-nums !important;
}

/* 小屏幕样式 */
@media (max-width: 768px) {
    .navbar-date {
        display: none !important;
    }
}

/* 确保团队下拉菜单在大屏幕上可见 */
.team-dropdown {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #15151e;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    padding: 20px;
    margin: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    opacity: 0;
    visibility: hidden;
    border-radius: 0;
    min-height: 200px;
    max-height: 80vh;
    width: 100vw;
    max-width: 100vw;
    overflow-y: auto;
    box-sizing: border-box;
}

/* 确保下拉菜单容器正确定位 */
.dropdown {
    position: relative;
    display: inline-block;
    z-index: 10001;
}

/* 确保媒体和成果下拉菜单在大屏幕上可见 */
.dropdown-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #15151e;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    padding: 20px;
    margin: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    opacity: 0;
    visibility: hidden;
    border-radius: 0;
    min-height: 200px;
    max-height: 80vh;
    width: 100vw;
    max-width: 100vw;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* 媒体下拉菜单样式 */
.dropdown-menu .btn {
    background: linear-gradient(135deg, #00b894, #00cec9);
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    display: block;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    color: white !important;
    font-size: 1.5rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.dropdown-menu .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #00cec9, #00b894);
}

.dropdown-menu .btn:nth-child(2) {
    background: linear-gradient(135deg, #e17055, #fd79a8);
}

.dropdown-menu .btn:nth-child(2):hover {
    background: linear-gradient(135deg, #fd79a8, #e17055);
}

.dropdown-menu .btn:nth-child(3) {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
}

.dropdown-menu .btn:nth-child(3):hover {
    background: linear-gradient(135deg, #e17055, #fdcb6e);
}

/* 下拉菜单箭头样式 */
.dropdown-arrow {
    margin-left: 2px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* 下拉菜单箭头SVG样式 */
.dropdown-arrow svg {
    width: 12px !important;
    height: 12px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    vertical-align: middle !important;
}

/* 确保下拉菜单按钮垂直对齐 */
.dropdown-toggle {
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
}

/* 新闻下拉菜单样式 */
.news-dropdown-content {
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    margin: 0 !important;
    min-height: auto !important;
}

/* 新闻下拉菜单主容器 */
.news-dropdown-main {
    padding: 5px 20px 0 20px !important;
    display: flex !important;
    gap: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
}

/* 左边新闻区域 - 占比5:3 */
.news-dropdown-news-section {
    flex: 5 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

/* 分隔线 */
.news-dropdown-divider {
    width: 1px !important;
    background-color: #333333 !important;
    margin: 0 20px !important;
}

/* 右边视频区域 - 占比5:2 */
.news-dropdown-video-section {
    flex: 3 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

/* 新闻下拉菜单标题 */
.news-dropdown-header h3 {
    margin: 0 !important;
    color: #e0e0e0 !important;
    font-size: 18px !important;
    font-weight: bold !important;
    margin-bottom: 10px !important;
}

/* 新闻下拉菜单容器 */
.news-dropdown-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    grid-auto-rows: auto !important;
    min-height: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
}

/* 视频下拉菜单项样式 */
.news-dropdown-video-item {
    display: flex !important;
    flex-direction: column !important;
    background-color: #15151e !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
    height: 180px !important;
    position: relative !important;
}

.news-dropdown-video-item img {
    width: 100% !important;
    height: 120px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 0 !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    aspect-ratio: 16/9 !important;
}

.news-dropdown-video-item > div {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 12px 8px 8px 8px !important;
}

.news-dropdown-video-item h4 {
    margin: 0 !important;
    font-size: 14px !important;
    color: #e0e0e0 !important;
    line-height: 1.4 !important;
    flex: 1 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    width: 100% !important;
    word-wrap: break-word !important;
    text-align: left !important;
}

.news-dropdown-video-item .news-meta {
    font-size: 12px !important;
    color: #888888 !important;
    margin: 4px 0 0 0 !important;
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

/* 视频时长标签 */
.video-duration {
    position: absolute !important;
    bottom: 10px !important;
    right: 8px !important;
    background-color: rgba(0, 0, 0, 0.8) !important;
    color: white !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    font-size: 10px !important;
    font-weight: bold !important;
}

/* 视频播放图标 */
.video-play-icon {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 40px !important;
    height: 40px !important;
    background-color: rgba(0, 0, 0, 0.7) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0.8 !important;
    transition: opacity 0.3s ease !important;
}

.video-play-icon::after {
    content: '▶' !important;
    color: white !important;
    font-size: 16px !important;
    margin-left: 2px !important;
}

.news-dropdown-video-item:hover .video-play-icon {
    opacity: 1 !important;
}

/* 更多按钮样式 */
.more-news-btn,
.more-videos-btn {
    background-color: transparent !important;
    border: 2px solid white !important;
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 25px !important;
    font-size: 14px !important;
    cursor: pointer !important;
    align-self: flex-start !important;
    margin-top: auto !important;
    font-weight: normal !important;
}

.more-news-btn:hover,
.more-videos-btn:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

/* 中等屏幕样式 */
@media (max-width: 1200px) {
    .news-dropdown-main {
    padding: 5px 20px 0 20px !important;
        flex-direction: row !important;
        gap: 20px !important;
    }
    
    .news-dropdown-divider {
        width: 1px !important;
        height: auto !important;
        margin: 0 20px !important;
    }
    
    .news-dropdown-news-section,
    .news-dropdown-video-section {
        flex: 1 !important;
    }
    
    /* 新闻容器一行显示一个 */
    .news-dropdown-news-section .news-dropdown-container {
        grid-template-columns: 1fr !important;
    }
    
    /* 视频容器一行显示两个 */
    .news-dropdown-video-section .news-dropdown-container {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* 中屏时新闻框高度与视频框一致 */
    .news-dropdown-news-item {
        height: 176px !important;
        flex-direction: column !important;
    }
    
    .news-dropdown-news-item img {
        width: 100% !important;
        height: 120px !important;
        object-fit: cover !important;
        object-position: center !important;
        border-radius: 0 !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
        aspect-ratio: 16/9 !important;
    }
    
    .news-dropdown-news-item > div {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 8px !important;
    }
    
    .news-dropdown-news-item h4 {
        margin: 0 !important;
        font-size: 14px !important;
        color: #e0e0e0 !important;
        line-height: 1.4 !important;
        flex: 1 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        width: 100% !important;
        word-wrap: break-word !important;
        text-align: left !important;
    }
    
    .news-dropdown-news-item .news-meta {
        font-size: 12px !important;
        color: #888888 !important;
        margin: 4px 0 0 0 !important;
        display: flex !important;
        gap: 12px !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }
}

/* 小屏幕样式 */
@media (max-width: 768px) {
    .news-dropdown-main {
    padding: 5px 20px 0 20px !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    .news-dropdown-divider {
        width: 100% !important;
        height: 1px !important;
        margin: 10px 0 !important;
    }
    
    .news-dropdown-news-section,
    .news-dropdown-video-section {
        flex: none !important;
    }
    
    /* 新闻容器一行显示一个 */
    .news-dropdown-news-section .news-dropdown-container {
        grid-template-columns: 1fr !important;
    }
    
    /* 视频容器一行显示两个 */
    .news-dropdown-video-section .news-dropdown-container {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .news-dropdown-news-item {
        height: 96px !important;
    }
    
    .news-dropdown-news-item img {
        width: 84px !important;
        height: 84px !important;
        object-fit: cover !important;
        object-position: left !important;
        border-radius: 4px !important;
        margin: 6px 0 6px 6px !important;
        flex-shrink: 0 !important;
        aspect-ratio: 1/1 !important;
    }
    
    .news-dropdown-video-item {
        height: 160px !important;
    }
    
    .news-dropdown-video-item img {
        height: 100px !important;
    }
    
    .video-duration {
        bottom: 10px !important;
    }
}



/* 新闻下拉菜单项样式 */
.news-dropdown-news-item {
    display: flex !important;
    flex-direction: row !important;
    background-color: #000 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
    height: 96px !important;
}

.news-dropdown-news-item > div {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.news-dropdown-news-item:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.news-dropdown-news-item img {
    width: 84px !important;
    height: 84px !important;
    object-fit: cover !important;
    object-position: left !important;
    border-radius: 4px !important;
    margin: 6px !important;
    flex-shrink: 0 !important;
    aspect-ratio: 1/1 !important;
}

.news-dropdown-news-item h4 {
    margin: 0 16px 8px 16px !important;
    font-size: 16px !important;
    color: #e0e0e0 !important;
    line-height: 1.4 !important;
    flex: 1 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    width: 100% !important;
    word-wrap: break-word !important;
    text-align: left !important;
}

.news-dropdown-news-item .news-meta {
    font-size: 12px !important;
    color: #888888 !important;
    margin: 0 16px 0 16px !important;
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
    justify-content: flex-start !important;
}



/* 小屏幕样式 */
@media (max-width: 768px) {
    .news-dropdown-news-item {
        height: 96px !important;
        flex-direction: row !important;
    }
    
    .news-dropdown-news-item img {
        width: 84px !important;
        height: 84px !important;
        object-fit: cover !important;
        object-position: left !important;
        border-radius: 4px !important;
        margin: 6px 0 6px 6px !important;
        flex-shrink: 0 !important;
        aspect-ratio: 1/1 !important;
    }
}

.news-dropdown-news-item .news-author {
    font-weight: 500 !important;
}

.news-dropdown-news-item .news-date {
    display: block !important;
}

/* 按钮容器样式 */
.news-button-container {
    margin-top: auto !important;
    padding-top: 15px !important;
    border-top: 1px solid #333333 !important;
    width: 100% !important;
    text-align: left !important;
}

/* 全部新闻按钮样式 */
.more-news-btn {
    background-color: transparent !important;
    border: 2px solid white !important;
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 25px !important;
    font-size: 14px !important;
    cursor: pointer !important;
    display: inline-block !important;
    font-weight: normal !important;
}

.more-news-btn:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    color: white !important;
}

/* 暗色调样式 */
body {
    background-color: #15151e !important;
    color: #e0e0e0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.navbar {
    background-color: #15151e !important;
    border-bottom: none !important;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100%;
}

.navbar-logo {
    height: 75px !important;
    width: auto !important;
    max-height: 75px !important;
    min-height: 75px !important;
}

.container {
    background-color: #15151e !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
}

.content h2 {
    color: #e0e0e0 !important;
}

.content p {
    color: #b0b0b0 !important;
}

.match-card {
    background-color: #15151e !important;
    border-color: #333333 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
}

.match-info h3 {
    color: #e0e0e0 !important;
}

.match-info p {
    color: #b0b0b0 !important;
}

.btn {
    background-color: transparent !important;
    color: #e0e0e0 !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 20px !important;
    height: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    text-decoration: none !important;
    border-bottom: 1px solid transparent !important;
    border-top: 1px solid transparent !important;
    transition: border-color 0.3s ease !important;
    z-index: 10 !important;
    overflow: visible !important;
}

.btn:hover {
    background-color: transparent !important;
    color: #ffffff !important;
}

.navbar .nav-buttons .btn.active {
    background-color: transparent !important;
    color: #ffffff !important;
    font-weight: bold !important;
    border-bottom: 1px solid #ff0000 !important;
    z-index: 20 !important;
}

.no-scores {
    color: #999999 !important;
}

.toggle-arrow {
    color: #b0b0b0 !important;
}

.score-list {
    background: transparent !important;
}

.loading-indicator {
    background-color: rgba(21, 21, 30, 1) !important;
    z-index: 100000 !important;
    display: none !important;
}

/* 移动端菜单按钮修复 */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px !important;
    height: 40px !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 99999 !important;
    margin-left: auto !important;
    transition: margin 0.3s ease !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    pointer-events: auto !important;
}

.menu-toggle.active {
    margin-left: auto !important;
    margin-right: 0 !important;
}

.menu-toggle span {
    display: block !important;
    width: 24px !important;
    height: 2px !important;
    background-color: #e0e0e0 !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    transition: all 0.3s ease !important;
}

.menu-toggle span:nth-child(1) {
    top: 10px !important;
}

.menu-toggle span:nth-child(2) {
    top: 19px !important;
}

.menu-toggle span:nth-child(3) {
    bottom: 10px !important;
}

.menu-toggle.active span:nth-child(1) {
    top: 19px !important;
    transform: translateX(-50%) rotate(45deg) !important;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0 !important;
}

.menu-toggle.active span:nth-child(3) {
    bottom: 19px !important;
    transform: translateX(-50%) rotate(-45deg) !important;
}

.mobile-menu {
    position: fixed !important;
    top: 60px !important;
    left: 0 !important;
    width: 100vw !important;
    height: calc(100vh - 60px) !important;
    background-color: #15151e !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3) !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.3s ease !important;
    z-index: 9999 !important;
}

.mobile-menu.active {
    max-height: calc(100vh - 60px) !important;
}

.mobile-nav-buttons {
    display: flex !important;
    flex-direction: column !important;
    padding: 20px !important;
    gap: 15px !important;
}

.mobile-nav-buttons .btn {
    width: 100% !important;
    text-align: center !important;
    padding: 15px !important;
    font-size: 1.1rem !important;
    color: #e0e0e0 !important;
    background-color: transparent !important;
    border: 1px solid #333333 !important;
    border-radius: 8px !important;
}

.mobile-nav-buttons .btn:hover,
.mobile-nav-buttons .btn.active {
    background-color: #2a2a38 !important;
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .nav-buttons {
        display: none !important;
    }
    
    .menu-toggle {
        display: flex !important;
    }
}

@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
}

.error-container {
    background-color: rgba(21, 21, 30, 1) !important;
    z-index: 100000 !important;
}

.error-message {
    background-color: #15151e !important;
    border-color: #333333 !important;
}

.error-message h3 {
    color: #e74c3c !important;
}

.error-message p {
    color: #b0b0b0 !important;
}

.live-message {
    background-color: #15151e !important;
}

.live-message h3 {
    color: #e0e0e0 !important;
}

.live-message p {
    color: #b0b0b0 !important;
}

.live-link {
    color: #3498db !important;
}

.live-note {
    color: #888888 !important;
}

.ranking-section h3 {
    color: white !important;
}

.ranking-section th,
.ranking-section td {
    height: 50px !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
    line-height: 26px !important;
    white-space: nowrap !important;
}

/* 首页样式 */
.home-content {
    text-align: center;
    padding: 0 10px 40px 10px;
}

/* 小屏幕响应式样式 */
@media (max-width: 768px) {
    .home-content {
        padding: 0 5px 40px 5px;
    }
    
    .match-results {
        padding: 40px 5px;
    }
}

.home-content h2 {
    color: #e0e0e0 !important;
    margin-bottom: 20px;
    font-size: 2rem;
}

.home-content p {
    color: #b0b0b0 !important;
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.home-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background-color: #15151e !important;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.feature-item h3 {
    color: #e0e0e0 !important;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-item p {
    color: #b0b0b0 !important;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.5;
}

/* 队伍详情模态框样式 */
.team-details-modal {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

.team-details-content {
    background-color: #15151e !important;
}

.team-details-content h3 {
    color: #e0e0e0 !important;
}

.back-button {
    background-color: #2a2a38 !important;
    color: #e0e0e0 !important;
}

.team-details-content button {
    background-color: #2a2a38 !important;
    color: #e0e0e0 !important;
}

.team-details-content button:hover {
    background-color: #3a3a48 !important;
    color: #ffffff !important;
}

/* 得分流水样式 */
.group-container {
    background-color: #15151e !important;
    border-color: #4CAF50 !important;
}

/* 新闻详情页面容器样式 */
#view-news-detail {
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 0 10px 20px 10px !important;
    background-color: #15151e !important;
}

.news-detail-content {
    width: 100% !important;
    max-width: 800px !important;
    margin: 0 auto !important;
}

.news-detail-body {
    width: 100% !important;
    max-width: 800px !important;
    margin: 0 auto !important;
}

/* 新闻详情页面图片样式 */
#news-detail-image,
.news-detail-body img {
    max-width: 500px !important;
    max-height: 500px !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 15px auto !important;
    border-radius: 8px !important;
    object-fit: contain !important;
}

/* 小屏幕下的图片样式 */
@media (max-width: 768px) {
    #news-detail-image,
    .news-detail-body img {
        max-width: 100% !important;
        max-height: 300px !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 10px auto !important;
        border-radius: 8px !important;
        object-fit: contain !important;
    }
}

/* 新闻详情主图片容器样式 */
.news-detail-image {
    margin-bottom: 15px !important;
    text-align: center !important;
}

.group-header h4 {
    color: #e0e0e0 !important;
}

.group-arrow {
    color: #b0b0b0 !important;
}

.group-scores {
    background: transparent !important;
}

.score-item {
    background-color: #15151e !important;
    border-color: #333333 !important;
}

.score-header {
    color: #e0e0e0 !important;
}

.team-name {
    color: #e0e0e0 !important;
}

.score-value {
    color: #e0e0e0 !important;
}

.vs {
    color: #b0b0b0 !important;
}

/* 媒体下拉菜单网格样式 */
.media-dropdown {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #15151e;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    padding: 20px;
    margin: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    opacity: 0;
    visibility: hidden;
    border-radius: 0;
    min-height: 200px;
    max-height: 80vh;
    width: 100vw;
    max-width: 100vw;
    overflow-y: auto;
    box-sizing: border-box;
}

.media-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.media-card {
    background: linear-gradient(135deg, #00b894, #00cec9);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    min-height: 150px;
}

.media-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.media-card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.media-card-title {
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
}

/* 照片卡片渐变色 */
.media-card[data-view="photos"] {
    background: linear-gradient(135deg, #e17055, #fd79a8);
}

.media-card[data-view="photos"]:hover {
    background: linear-gradient(135deg, #fd79a8, #e17055);
}

/* 直播卡片渐变色 */
.media-card[data-view="live"] {
    background: linear-gradient(135deg, #00b894, #00cec9);
}

.media-card[data-view="live"]:hover {
    background: linear-gradient(135deg, #00cec9, #00b894);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .media-dropdown-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .media-card {
        min-height: 120px;
        padding: 25px 15px;
    }
    
    .media-card-icon {
        font-size: 2.5rem;
    }
    
    .media-card-title {
        font-size: 1.3rem;
    }
}
