[++] prefer `mask` from globals, then require