Flatpak application suddently stopped following dark mode, and reverted to gtk-3 adwaita theme

hello everyone,

seemingly at random, today something very weird started happening: suddently all my flatpak gtk4 applications started appearing like this, and i really really have no clue what could be causing this. i have no idea what else i should include but just ask and ill be glad to send over any logs, config files, and such that might be required. thanks to anyone that is willing to help me.

here are screenshots of helvum, secrets and fractal, the last one looking like its encountering some permission problem that i really cant wrap my head around. thanks again, i hope this is the right place to ask for help.

i am on fedora 39, hyprland version 0.39.1.

also, for some reason some flatpak applications work just fine. i really dont know what to make of this…

this is bottles