Simply add
|> opt_css(css = " .gt_column_spanner { border-bottom-style: solid !important; border-bottom-width: 3px !important; }")