/* 定义全局字体 */
@font-face {
    font-family: 'HarmonyOS Sans';
    src: url('../fonts/HarmonyOS_Sans_SC_Black.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* 设置全局字体 */
body {
    font-family: 'HarmonyOS Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* 开屏动画视频样式 - 全屏置顶 */
#splash-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

#splash-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
}

/* 移除所有可能的滚动条 */
html.splash-active {
    overflow: hidden;
    height: 100%;
}

body.splash-active {
    overflow: hidden;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* 表格悬停效果 */
.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

/* 积分徽章样式 */
.badge-score {
    font-size: 0.9em;
    padding: 0.5em 0.75em;
    border-radius: 20px;
}

/* 图表容器样式 */
.chart-container {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 加载遮罩样式 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* 响应式调整 */
@media (max-width: 768px) {
    #splash-video-container {
        width: 90%;
        max-height: 300px;
    }
}