/* 全屏模式专用CSS文件 */

/* 全屏模式基础样式 - 优化背景渐变 */
:fullscreen {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    overflow: hidden;
    position: relative;
}

:fullscreen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 219, 98, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

:-webkit-full-screen {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    overflow: hidden;
    position: relative;
}

:-webkit-full-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 219, 98, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

:-moz-full-screen {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    overflow: hidden;
    position: relative;
}

:-moz-full-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 219, 98, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

:-ms-fullscreen {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    overflow: hidden;
    position: relative;
}

:-ms-fullscreen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 219, 98, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* 辅助全屏模式样式类 - 优化背景 */
.fullscreen-mode {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%) !important;
    overflow: hidden !important;
    position: relative !important;
}

.fullscreen-mode::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%) !important,
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%) !important,
        radial-gradient(circle at 40% 40%, rgba(255, 219, 98, 0.2) 0%, transparent 50%) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}
    z-index: 1 !important;
}

.fullscreen-mode .container {
    max-width: 95% !important;
    width: 95% !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 30px 20px !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 2 !important;
}

/* 全屏模式标题样式 */
.fullscreen-mode h1 {
    font-size: 3.5em !important;
    margin-bottom: 15px !important;
    text-align: center !important;
    width: 100% !important;
    color: #ffffff !important;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.5) !important,
        0 0 40px rgba(255, 255, 255, 0.3) !important,
        0 0 60px rgba(255, 255, 255, 0.2) !important;
    font-weight: bold !important;
    letter-spacing: 2px !important;
    animation: titleGlow 3s ease-in-out infinite alternate !important;
}

/* 全屏模式副标题样式 */
.fullscreen-mode .subtitle {
    font-size: 1.8em !important;
    margin-bottom: 30px !important;
    text-align: center !important;
    width: 100% !important;
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 
        0 0 15px rgba(255, 255, 255, 0.4) !important,
        0 0 30px rgba(255, 255, 255, 0.2) !important;
    font-weight: 300 !important;
    letter-spacing: 1px !important;
    animation: subtitleGlow 3s ease-in-out infinite alternate !important;
    animation-delay: 0.5s !important;
}

@keyframes subtitleGlow {
    0% {
        text-shadow: 
            0 0 15px rgba(255, 255, 255, 0.4) !important,
            0 0 30px rgba(255, 255, 255, 0.2) !important;
        opacity: 0.9;
    }
    100% {
        text-shadow: 
            0 0 25px rgba(255, 255, 255, 0.6) !important,
            0 0 40px rgba(255, 255, 255, 0.3) !important;
        opacity: 1;
    }
}

/* 全屏模式底部文字样式 */
.fullscreen-mode .footer {
    font-size: 1.4em !important;
    margin-top: 30px !important;
    text-align: center !important;
    width: 100% !important;
    color: rgba(255, 255, 255, 0.8) !important;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.3) !important,
        0 0 20px rgba(255, 255, 255, 0.2) !important;
    font-weight: 300 !important;
    letter-spacing: 1px !important;
    animation: footerGlow 3s ease-in-out infinite alternate !important;
    animation-delay: 1s !important;
}

@keyframes footerGlow {
    0% {
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.3) !important,
            0 0 20px rgba(255, 255, 255, 0.2) !important;
        opacity: 0.8;
    }
    100% {
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 0.5) !important,
            0 0 30px rgba(255, 255, 255, 0.3) !important;
        opacity: 0.9;
    }
}

/* 全屏模式标题样式 */
.fullscreen-mode h1 {
    font-size: 3.5em !important;
    margin-bottom: 15px !important;
    text-align: center !important;
    width: 100% !important;
    color: #ffffff !important;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.5) !important,
        0 0 40px rgba(255, 255, 255, 0.3) !important,
        0 0 60px rgba(255, 255, 255, 0.2) !important;
    font-weight: bold !important;
    letter-spacing: 2px !important;
    animation: titleGlow 3s ease-in-out infinite alternate !important;
}

/* 全屏模式副标题样式 */
.fullscreen-mode .subtitle {
    font-size: 1.8em !important;
    margin-bottom: 30px !important;
    text-align: center !important;
    width: 100% !important;
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 
        0 0 15px rgba(255, 255, 255, 0.4) !important,
        0 0 30px rgba(255, 255, 255, 0.2) !important;
    font-weight: 300 !important;
    letter-spacing: 1px !important;
    animation: subtitleGlow 3s ease-in-out infinite alternate !important;
    animation-delay: 0.5s !important;
}

@keyframes subtitleGlow {
    0% {
        text-shadow: 
            0 0 15px rgba(255, 255, 255, 0.4) !important,
            0 0 30px rgba(255, 255, 255, 0.2) !important;
        opacity: 0.9;
    }
    100% {
        text-shadow: 
            0 0 25px rgba(255, 255, 255, 0.6) !important,
            0 0 40px rgba(255, 255, 255, 0.3) !important;
        opacity: 1;
    }
}

.fullscreen-mode #rankingContainer {
    flex: 1 !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin: 20px 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    justify-content: center !important;
}

.fullscreen-mode .ranking-wrapper {
    display: grid !important;
    grid-template-columns: 0.8fr 1fr !important;
    gap: 30px !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 70vh !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

.fullscreen-mode .left-column {
    display: grid !important;
    grid-template-rows: 2.5fr 1fr !important;
    gap: 25px !important;
    height: 100% !important;
}

.fullscreen-mode .right-column {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%) !important;
    border-radius: 25px !important;
    padding: 25px !important;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15) !important,
        0 0 0 1px rgba(255, 255, 255, 0.2) !important,
        inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    height: 100% !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    backdrop-filter: blur(20px) !important;
    position: relative !important;
}

.fullscreen-mode .right-column::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent) !important;
}

.fullscreen-mode .scroll-container {
    flex: 1 !important;
    overflow: visible !important;
    width: 100% !important;
    position: relative !important;
    height: 650px !important;
    overflow: visible !important;
    width: 100% !important;
}

.fullscreen-mode .ranking-list {
    width: 100% !important;
    height: 100% !important;
    overflow-y: auto !important;
    padding-right: 15px !important;
    padding-left: 5px !important;
}

/* 全屏模式自定义滚动条 */
.fullscreen-mode .ranking-list::-webkit-scrollbar {
    width: 8px !important;
}

.fullscreen-mode .ranking-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 4px !important;
    backdrop-filter: blur(10px) !important;
}

.fullscreen-mode .ranking-list::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.4) 100%) !important;
    border-radius: 4px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease !important;
}

.fullscreen-mode .ranking-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 100%) !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3) !important;
}

/* Firefox滚动条 */
.fullscreen-mode .ranking-list {
    scrollbar-width: thin !important;
    scrollbar-color: rgba(255, 255, 255, 0.6) rgba(255, 255, 255, 0.1) !important;
}

.fullscreen-mode .champion-area {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 25px !important;
    padding: 40px 20px !important;
    height: 100% !important;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
    border-radius: 25px !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    position: relative !important;
    overflow: hidden !important;
}

.fullscreen-mode .champion-area::before {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -50% !important;
    width: 200% !important;
    height: 200% !important;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent) !important;
    animation: championShine 3s linear infinite !important;
}

@keyframes championShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg) !important;
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg) !important;
    }
}

.fullscreen-mode .champion-avatar {
    width: 180px !important;
    height: 180px !important;
    border-radius: 50% !important;
    border: 8px solid #FFD700 !important;
    box-shadow: 
        0 0 40px rgba(255, 215, 0, 0.8) !important,
        0 0 80px rgba(255, 215, 0, 0.4) !important,
        inset 0 0 20px rgba(255, 215, 0, 0.2) !important;
    animation: avatarPulse 2s ease-in-out infinite !important;
    position: relative !important;
    z-index: 2 !important;
}

@keyframes avatarPulse {
    0%, 100% {
        transform: scale(1) !important;
        box-shadow: 
            0 0 40px rgba(255, 215, 0, 0.8) !important,
            0 0 80px rgba(255, 215, 0, 0.4) !important,
            inset 0 0 20px rgba(255, 215, 0, 0.2) !important;
    }
    50% {
        transform: scale(1.05) !important;
        box-shadow: 
            0 0 60px rgba(255, 215, 0, 1) !important,
            0 0 100px rgba(255, 215, 0, 0.6) !important,
            inset 0 0 30px rgba(255, 215, 0, 0.3) !important;
    }
}

.fullscreen-mode .champion-info {
    text-align: center !important;
    width: 100% !important;
}

.fullscreen-mode .runner-area {
    display: flex !important;
    justify-content: space-around !important;
    gap: 35px !important;
    padding: 25px !important;
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
    border-radius: 20px !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.fullscreen-mode .runner-avatar {
    width: 90px !important;
    height: 90px !important;
    border-radius: 50% !important;
    border: 5px solid #C0C0C0 !important;
    box-shadow: 
        0 0 20px rgba(192, 192, 192, 0.6) !important,
        0 0 40px rgba(192, 192, 192, 0.3) !important,
        inset 0 0 15px rgba(192, 192, 192, 0.2) !important;
    transition: transform 0.3s ease !important;
}

.fullscreen-mode .runner-avatar:hover {
    transform: scale(1.1) !important;
    box-shadow: 
        0 0 30px rgba(192, 192, 192, 0.8) !important,
        0 0 50px rgba(192, 192, 192, 0.4) !important,
        inset 0 0 20px rgba(192, 192, 192, 0.3) !important;
}

.fullscreen-mode .runner-info {
    text-align: center !important;
    flex: 1 !important;
}

.fullscreen-mode .title {
    font-size: 3.5em !important;
    margin-bottom: 40px !important;
    text-align: center !important;
    width: 100% !important;
    color: #ffffff !important;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.5) !important,
        0 0 40px rgba(255, 255, 255, 0.3) !important,
        0 0 60px rgba(255, 255, 255, 0.2) !important;
    font-weight: bold !important;
    letter-spacing: 2px !important;
    animation: titleGlow 3s ease-in-out infinite alternate !important;
}

@keyframes titleGlow {
    0% {
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 0.5) !important,
            0 0 40px rgba(255, 255, 255, 0.3) !important,
            0 0 60px rgba(255, 255, 255, 0.2) !important;
    }
    100% {
        text-shadow: 
            0 0 30px rgba(255, 255, 255, 0.8) !important,
            0 0 50px rgba(255, 255, 255, 0.5) !important,
            0 0 70px rgba(255, 255, 255, 0.3) !important;
    }
}

.fullscreen-mode .ranking-table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 1.1em !important;
}

.fullscreen-mode .ranking-table tr {
    height: 50px !important;
}

.fullscreen-mode .ranking-table td,
.fullscreen-mode .ranking-table th {
    padding: 15px 10px !important;
}

.fullscreen-mode .ranking-item {
    padding: 18px 20px !important;
    margin-bottom: 15px !important;
    font-size: 1.15em !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 100%) !important;
    border-radius: 15px !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.fullscreen-mode .ranking-item::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
    transition: left 0.5s ease !important;
}

.fullscreen-mode .ranking-item:hover::before {
    left: 100% !important;
}

.fullscreen-mode .ranking-item:hover {
    transform: translateY(-2px) !important;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1) !important,
        0 0 20px rgba(255, 255, 255, 0.3) !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%) !important;
}

.fullscreen-mode .rank-number {
    font-size: 1.5em !important;
    min-width: 45px !important;
    font-weight: bold !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: #667eea !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.fullscreen-mode .player-name {
    font-size: 1.25em !important;
    font-weight: 600 !important;
    color: #2d3748 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.fullscreen-mode .player-score {
    font-size: 1.35em !important;
    font-weight: bold !important;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: #f093fb !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* 全屏模式响应式优化 */
@media (max-width: 1600px) {
    .fullscreen-mode .container {
        max-width: 98% !important;
        width: 98% !important;
        padding: 25px 15px !important;
    }
    
    .fullscreen-mode .title {
        font-size: 3em !important;
        margin-bottom: 35px !important;
    }
    
    .fullscreen-mode .champion-avatar {
        width: 160px !important;
        height: 160px !important;
    }
    
    .fullscreen-mode .runner-avatar {
        width: 80px !important;
        height: 80px !important;
    }
}

@media (max-width: 1200px) {
    .fullscreen-mode .ranking-wrapper {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        max-height: 80vh !important;
    }
    
    .fullscreen-mode .left-column {
        grid-template-rows: 3fr 1fr !important;
    }
    
    .fullscreen-mode .title {
        font-size: 2.5em !important;
    }
}

/* 全屏模式入场动画 */
.fullscreen-mode .container {
    animation: fadeInScale 0.6s ease-out !important;
}

@keyframes fadeInScale {
    0% {
        opacity: 0 !important;
        transform: scale(0.9) !important;
    }
    100% {
        opacity: 1 !important;
        transform: scale(1) !important;
    }
}

.fullscreen-mode .ranking-item {
    animation: slideInUp 0.6s ease-out !important;
    animation-fill-mode: both !important;
}

.fullscreen-mode .ranking-item:nth-child(1) { animation-delay: 0.1s !important; }
.fullscreen-mode .ranking-item:nth-child(2) { animation-delay: 0.15s !important; }
.fullscreen-mode .ranking-item:nth-child(3) { animation-delay: 0.2s !important; }
.fullscreen-mode .ranking-item:nth-child(4) { animation-delay: 0.25s !important; }
.fullscreen-mode .ranking-item:nth-child(5) { animation-delay: 0.3s !important; }
.fullscreen-mode .ranking-item:nth-child(6) { animation-delay: 0.35s !important; }
.fullscreen-mode .ranking-item:nth-child(7) { animation-delay: 0.4s !important; }
.fullscreen-mode .ranking-item:nth-child(8) { animation-delay: 0.45s !important; }
.fullscreen-mode .ranking-item:nth-child(9) { animation-delay: 0.5s !important; }
.fullscreen-mode .ranking-item:nth-child(10) { animation-delay: 0.55s !important; }

@keyframes slideInUp {
    0% {
        opacity: 0 !important;
        transform: translateY(30px) !important;
    }
    100% {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

/* 全屏模式下禁止body和html滚动 */
:fullscreen body,
:fullscreen html {
    overflow: hidden !important;
    height: 100vh !important;
    width: 100vw !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
}



:-moz-full-screen body,
:-moz-full-screen html {
    overflow: hidden !important;
    height: 100vh !important;
    width: 100vw !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
}

:-ms-fullscreen body,
:-ms-fullscreen html {
    overflow: hidden !important;
    height: 100vh !important;
    width: 100vw !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
}



/* 全屏模式下保留设置按钮，但调整位置 */
:fullscreen .settings-button {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 10000;
}





/* Firefox滚动条 */
.fullscreen-mode .ranking-list {
    scrollbar-width: thin !important;
    scrollbar-color: rgba(255, 255, 255, 0.6) rgba(255, 255, 255, 0.1) !important;
}

/* 全屏模式微交互效果 */
.fullscreen-mode .champion-name,
.fullscreen-mode .champion-score {
    transition: all 0.3s ease !important;
}

.fullscreen-mode .champion-area:hover .champion-name {
    transform: scale(1.05) !important;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8) !important;
}

.fullscreen-mode .champion-area:hover .champion-score {
    transform: scale(1.05) !important;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8) !important;
}

/* 全屏模式底部信息优化 */
.fullscreen-mode .footer {
    font-size: 1.4em !important;
    margin-top: 30px !important;
    text-align: center !important;
    width: 100% !important;
    color: rgba(255, 255, 255, 0.8) !important;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.3) !important,
        0 0 20px rgba(255, 255, 255, 0.2) !important;
    font-weight: 300 !important;
    letter-spacing: 1px !important;
    animation: footerGlow 3s ease-in-out infinite alternate !important;
    animation-delay: 1s !important;
}

@keyframes footerGlow {
    0% {
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.3) !important,
            0 0 20px rgba(255, 255, 255, 0.2) !important;
        opacity: 0.8;
    }
    100% {
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 0.5) !important,
            0 0 30px rgba(255, 255, 255, 0.3) !important;
        opacity: 0.9;
    }
}

/* 全屏模式副标题优化 */
.fullscreen-mode .subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.3em !important;
    margin-bottom: 20px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    animation: subtitleFadeIn 1s ease-out 0.3s both !important;
}

@keyframes subtitleFadeIn {
    0% {
        opacity: 0 !important;
        transform: translateY(-20px) !important;
    }
    100% {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

/* 全屏模式设置按钮优化 */
.fullscreen-mode .settings-button {
    z-index: 1000 !important;
}

.fullscreen-mode .settings-button button {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    transition: all 0.3s ease !important;
}

.fullscreen-mode .settings-button button:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
}

/* 全屏模式设置面板优化 */
.fullscreen-mode #settingsPanel {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3) !important,
        0 0 0 1px rgba(255, 255, 255, 0.2) !important;
}

/* 全屏模式性能优化 */
.fullscreen-mode * {
    will-change: transform, opacity !important;
}

.fullscreen-mode .ranking-item,
.fullscreen-mode .champion-avatar,
.fullscreen-mode .runner-avatar {
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
    perspective: 1000px !important;
}