Parse @mixin rule lists like normal rule list by excluding them from at-rule parsing.
Clean up convoluted logic and properly decrement one level after processing an @media block.