OptionButton popupmenu background styling

i assume you call setBackgroundTransparent() at _ready()?
then you will want to wait for the popup to be ready first
something like putting

await get_tree().physics_frame

on the first line of this script _ready() function will do