Safari web inspector breaks media queries
I also have experienced this problem. After doing some research I finally manage to solve the problem. 

Backup and remove ~/Library/WebKit/com.apple.Safari folder. 

A problem should disappear after that operation. Enjoy :D