/* 游戏组件样式 */
.game-container {
    margin-bottom: 10px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.game-tabs .layui-tab {
    margin: 0;
}

.game-tabs .layui-tab-title {
    height: 50px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #f0f0f0;
}

.game-tabs .layui-tab-title li {
    line-height: 50px;
    font-size: 15px;
    min-width: 80px;
    color: #666;
}

.game-tabs .layui-tab-title .layui-this {
    color: var(--primary-color);
}

.game-tabs .layui-tab-title .layui-this:after {
    height: 3px;
    background-color: var(--primary-color);
}

.game-tabs .layui-tab-content {
    padding: 0;
}

.game-info {
    padding: 20px;
}

.game-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.game-period {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.game-date {
    color: #999;
}

.game-numbers {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.number-ball {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 60px;
    border-radius: 4px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.number-ball .number {
    font-size: 22px;
    margin-bottom: 2px;
    font-family: Arial, sans-serif;
}

.number-ball .zodiac {
    font-size: 12px;
    opacity: 0.9;
    font-family: "Microsoft YaHei", sans-serif;
}

.number-ball.red {
    background: #f5222d;
}

.number-ball.blue {
    background: #1890ff;
}

.number-ball.green {
    background: #52c41a;
}

.game-actions {
    text-align: center;
    margin-bottom: 15px;
}

.game-countdown {
    text-align: center;
    color: #666;
    font-size: 14px;
}

.countdown-time {
    font-weight: bold;
    color: #f5222d;
}

/* 游戏历史记录样式 */
.history-numbers {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.history-ball {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .game-tabs .layui-tab-title li {
        min-width: 60px;
        font-size: 14px;
    }
    
    .game-numbers {
        gap: 5px;
    }
    
    .number-ball {
        width: 40px;
        height: 50px;
    }
    
    .number-ball .number {
        font-size: 18px;
    }
    
    .number-ball .zodiac {
        font-size: 10px;
    }
    
    .history-ball {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
} 