Spec: https://drafts.csswg.org/mediaqueries-5/#custom-mq
The spec doesn't seem to address how multiple definitions of a given custom media query should be handled.
Example:
@custom-media --my-mq (min-width: 1em);
@custom-media --my-mq (min-width: 1000em);
@media (--my-mq) {
/* do styles in here apply at 1em, or at 1000em ? */
}