CSS vars holding arrays should've expanded into multiple parameters for --function calls. Especially because there's a syntax to prevent it.
~~What a bummer!~~
Bummer averted! There's a spread operator coming to restore the behavior optionally 🎉
https://jsfiddle.net/wdmnockj/1/
https://github.com/w3c/csswg-drafts/issues/11190#issuecomment-2596276757
https://issues.chromium.org/issues/390205875
https://drafts.csswg.org/css-values-5/#comma-containing-productions:~:text=For%20example%2C%20font%2Dfamily%3A%20random%2Ditem(%2D%2Dx%2C%20%7Bvar(%2D%2Dlist1)%7D%2C%20monospace)%20will%20work%20correctly%20regardless%20of%20whether%20the%20%2D%2Dlist1%20custom%20property%20contains%20a%20comma%2Dseparated%20list%20or%20not.