Use UIColor.secondarySystemGroupedBackground / tertiarySystemFill so the segmented control adapts correctly to light and dark mode; darken the shadow in dark mode so the selected pill is still visible. Co-Authored-By: Kutesir <kutesir@provoc.ug> Co-Authored-By: Sentry <sentry@provoc.ug>