Hi @DavidLeeJr
As the script editor web part is not supported in modern SharePoint, We have SPFx based react script editor web part to add custom CSS or JavaScript to modern SharePoint Online pages. Here are the documents about not support in sharepoint modern page
https://learn.microsoft.com/en-us/sharepoint/modernize-classic-team-site
Since there is no script editor web part in sharepoint modern page. We can create a custom spfx web part to deploy javascript and CSS. Please refer to the nice article to build your spfx webpart
https://www.sharepointdiary.com/2020/11/add-custom-css-to-sharepoint-online-modern-page.html
For more details about spfx please refer to the document
https://learn.microsoft.com/en-us/sharepoint/dev/spfx/sharepoint-framework-overview
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.