/* Taken from Obsidian */

:root {
  --obsidian-main-color: #111;
  --obsidian-button-glow: #ffffff90;
}

/*
HOME PAGE
*/

/* Turn the header art to grayscale */
.gamepadhomerecentgames_RecentGamesBackground_1SRox {
  filter: grayscale(1);
}
/* Turn backgrounds black */
.gamepadui_BasicHome_3LYP1.gamepadui_OpaqueBackground_b084m {
  background: var(--obsidian-main-color) !important;
}
.gamepadhome_TabbedContent_cE1Sa {
  background: var(--obsidian-main-color) !important;
}
.gamepadhomerecentgames_RecentGamesBackgroundFadeGradient_1ksIq {
  background: none;
}

/*
LIBRARY
*/
/* Turn backgrounds black */
.gamepadlibrary_GamepadLibrary_ZBBhe {
  background: var(--obsidian-main-color) !important;
}
.steamdeckcompatfilter_CompatFilterDialog_21qvB {
  background: var(--obsidian-main-color) !important;
}
.allcollections_Collection_3IWn- {
  background: var(--obsidian-main-color) !important;
}

/*
GAME DETAILS
*/

/* Turn backgrounds black */
.basicappdetailssectionstyler_AppDetailsRoot_3fp5y {
  background: var(--obsidian-main-color) !important;
}
.DeckVerifiedModalDialogClient .DialogContent,
.DeckVerifiedModalDialog .DialogContent {
  background: var(--obsidian-main-color) !important;
}

/* 
STEAM INPUT
*/

/* Make hovered buttons glow white instead of blue */
.controllerconfiguratorchoosebinding_TriggerButton_2MjBd.gpfocus,
.controllerconfiguratorchoosebinding_BumperButton_2swvc.gpfocus {
  filter: drop-shadow(0px 0px 10px var(--obsidian-button-glow));
}
.controllerconfiguratorchoosebinding_SelectButton_3i-XV.gpfocus,
.controllerconfiguratorchoosebinding_StartButton_3s28A.gpfocus {
  filter: drop-shadow(0px 0px 10px var(--obsidian-button-glow));
}
.controllerconfiguratorchoosebinding_MouseKey_19SMS.gpfocus {
  filter: drop-shadow(0px 0px 10px var(--obsidian-button-glow));
}
.controllerconfiguratorchoosebinding_KeyboardKey_NoRFS.gpfocus {
  filter: drop-shadow(0px 0px 10px var(--obsidian-button-glow));
}
.controllerconfiguratorchoosebinding_ControllerActionKey_3yP_p.gpfocus {
  filter: drop-shadow(0px 0px 10px var(--obsidian-button-glow));
}
.controllerconfiguratorchoosebinding_ControllerActionKey_3yP_p.gpfocus {
  filter: drop-shadow(0px 0px 10px var(--obsidian-button-glow));
}
/* Turn backgrounds black */
.controllerconfigurator_TopSection_20sN9 {
  background: var(--obsidian-main-color) !important;
}
.controllerconfigurator_ControllerConfiguratorMain_APY6j {
  background: var(--obsidian-main-color) !important;
}
.controllerconfigurator_BottomSection_3RsRf {
  background: var(--obsidian-main-color) !important;
}
.gamepadpagedsettings_PagedSettingDialog_ContentColumn_3JPle {
  background: var(--obsidian-main-color) !important;
}
.gamepadpagedsettings_PagedSettingsDialog_PageListColumn_2EZ3o {
  background: var(--obsidian-main-color) !important;
}
.gamepadpage_GamepadPage_2FqpD.gamepadpage_DialogBackground_2msTK {
  background: var(--obsidian-main-color) !important;
}
.controllerconfigurator_interstitial_ConfiguratorInterstitialContainer_3FS5u {
  background: var(--obsidian-main-color) !important;
}
.controllerconfiguratorsummary_ControllerConfiguratorSummary_3TvBV {
  background: var(--obsidian-main-color) !important;
}

/* 
FRIENDS & CHAT
*/

/* Get rid of glow */
.SteamDeckChats.gpfocuswithin .chattabs_ChatTab_1WfqA {
  box-shadow: none;
}
/* Turn backgrounds black */
.GamepadMode.friendlist.gpfocuswithin .FriendsListSteamDeckTopSection {
  background: var(--obsidian-main-color) !important;
}
.GamepadMode.friendlist {
  background-color: var(--obsidian-main-color) !important;
  background: var(--obsidian-main-color) !important;
}
.GamepadMode.friendlist.gpfocuswithin {
  background-color: var(--obsidian-main-color) !important;
  background: var(--obsidian-main-color) !important;
}
.multiChatDialog.GamepadMode,
.GamepadMode .multiChatDialog {
  background: var(--obsidian-main-color) !important;
}
.multiChatDialog.GamepadMode.gpfocuswithin,
.GamepadMode .multiChatDialog.gpfocuswithin {
  background-color: var(--obsidian-main-color) !important;
  background: var(--obsidian-main-color) !important;
}

/*
DOWNLOADS
*/

/* Disable blue glow on hero */
.downloadgraph_HeroAndLogo_3mZ2r
  .downloadgraph_HeroContainer_3WauY
  .downloadgraph_HeroGradient_edQzw {
  background: none;
}
/* Turn backgrounds black */
.downloads_DownloadsPage_1bq4x {
  background: var(--obsidian-main-color) !important;
}
.downloadgraph_HeroAndLogo_3mZ2r.downloadgraph_Empty_pHDI1 {
  background: var(--obsidian-main-color) !important;
}
.downloadgraph_GraphAndStats_3KDkL {
  background: var(--obsidian-main-color) !important;
}
.BasicUI .libraryassetimage_GreyBackground_2E7G8 {
  background: var(--obsidian-main-color) !important;
}
.downloads_SectionItem_1VNuY.downloads_Active_IbePL {
  background: var(--obsidian-main-color) !important;
}

/*
SETTINGS
*/

/* Turn backgrounds black */
.BasicUI .librarysettings_LibrarySettings_2nsOY {
  background: var(--obsidian-main-color) !important;
}
.BasicUI .contentmanagement_ContentManagement_3wk64 {
  background: var(--obsidian-main-color) !important;
}

/*
QUICK ACCESS
*/

/* Turn backgrounds black */
.quickaccessmenu_QuickAccessMenu_V0cr- {
  background: var(--obsidian-main-color) !important;
}
.quickaccessmenu_Tab_1S76C.quickaccessmenu_Selected_2QHMu {
  background-color: #22262b !important;
}
.quickaccessmenu_Tab_1S76C {
  background-color: var(--obsidian-main-color) !important;
}
.quickaccessmenu_Title_34nl5 {
  background: var(--obsidian-main-color) !important;
  box-shadow: none;
}
.GamepadMode.friendlist {
  background: var(--obsidian-main-color) !important;
}
.GamepadMode.friendlist .FriendsListSteamDeckTabs {
  background-color: var(--obsidian-main-color) !important;
}

/*
OTHER
*/

/* Navigation */
.mainmenu_Menu_23IDi {
  background: var(--obsidian-main-color) !important;
}
/* Power menu */
.gamepadui_GamepadDialogOverlay_34Euf .ModalOverlayBackground {
  background: var(--obsidian-main-color) 000dd !important;
}
/* Search */
.gamepadsearch_GamepadSearch_P_AlE {
  background: var(--obsidian-main-color) !important;
}
/* Media upload */
.gamepaddialog_ModalPosition_30VHl > .gamepaddialog_GamepadDialogContent_3joNk {
  background: var(--obsidian-main-color) !important;
}
/* Lock screen */
.lockscreen_Container_3rFFU {
  background: var(--obsidian-main-color) !important;
}
