Refine media queries.