/* ------------------GAME PAGES------------------ */

/* Beta Button */
[class*="libraryhome_BetaBar_"] {
  margin-top: 5px !important;
  margin-right: 30px !important;
  border-radius: var(--Corner3) !important;
  background: var(--lightgrey) !important;
}

/* Removes Play Button Glow */
[class*="appdetailsoverview_Glassy_"] > div {
  z-index: 1 !important;
}

[class*="libraryassetimage_LandscapeImage_"] [class*="libraryassetimage_Image_"], [class*="libraryassetimage_LandscapeImage_"] [class*="libraryassetimage_Image_"] {
  border-radius: var(--Corner1) !important;
}

[class*="appdetailscommunityfeed_Guide_"] [class*="appdetailscommunityfeed_Preview_"] {
  border-radius: var(--Corner1) !important;
}
 
[class*="appactivityday_PartnerEvent_"] {
  border: none !important;
  border-image-source: none !important;
  background: var(--backdropblur) !important;
}

[class*="appdetailssection_AppDetailsSection_"] {
  margin-bottom: 0 !important;
}

/* Context menu itself */
[class*="contextmenu_contextMenu_"] {
	background: var(--menudrop) !important;
	border-radius: var(--Corner1) !important;
	margin-left: 0 !important;
}

/* Context menu items */
[class*="contextmenu_contextMenuItem_"] {
	border-top: 0 !important;
	border-bottom: 0 !important;
}

:not([class*="library_ContextMenuAction_"])[class*="contextmenu_contextMenuItem_"]:hover,
:not([class*="library_ContextMenuAction_"])[class*="contextmenu_contextMenuItem_"][class*="contextmenu_active_"] {
	background: var(--darkgrey) !important;
	border-radius: var(--Corner0) !important;
	color: var(--white) !important;
}

[class*="contextmenu_contextMenuItem_"]:first-child:hover,
[class*="contextmenu_contextMenuItem_"][class*="contextmenu_active_"]:first-child {
	border-radius: var(--Corner1) var(--Corner1) var(--Corner0) var(--Corner0) !important;
}

[class*="contextmenu_contextMenuItem_"]:last-child:hover,
[class*="contextmenu_contextMenuItem_"][class*="contextmenu_active_"]:last-child {
	border-radius: var(--Corner0) var(--Corner0) var(--Corner1) var(--Corner1) !important;
}

[class*="contextmenu_contextMenuItem_"]:only-child:hover,
[class*="contextmenu_contextMenuItem_"][class*="contextmenu_active_"]:only-child {
	border-radius: var(--Corner1) !important;
}

/* Context menu green (Play etc.) buttons */
[class*="library_ContextMenuAction_"].Stream,
[class*="library_ContextMenuAction_"].Connect,
[class*="library_ContextMenuAction_"].Launch,
[class*="library_ContextMenuAction_"].PlayMusic,
[class*="library_ContextMenuAction_"].Play {
	background: linear-gradient(to right, var(--ButtonPlay) 0%, var(--ButtonPlay2)) 60% !important;
	border-radius: var(--Corner1) var(--Corner1) var(--Corner0) var(--Corner0) !important;
}
[class*="library_ContextMenuAction_"].Stream:hover,
[class*="library_ContextMenuAction_"].Connect:hover,
[class*="library_ContextMenuAction_"].Launch:hover,
[class*="library_ContextMenuAction_"].PlayMusic:hover,
[class*="library_ContextMenuAction_"].Play:hover {
	background: linear-gradient(to right, var(--ButtonPlayHover) 0%, var(--ButtonPlayHover2)) 60% !important;
}
/* Context menu blue (Download etc.) buttons */
[class*="library_ContextMenuAction_"].Download,
[class*="library_ContextMenuAction_"].Update,
[class*="library_ContextMenuAction_"].PreLoad,
[class*="library_ContextMenuAction_"].Resume,
[class*="library_ContextMenuAction_"].Pause,
[class*="library_ContextMenuAction_"].BorrowApp,
[class*="library_ContextMenuAction_"].Stop,
[class*="library_ContextMenuAction_"].Cancel,
[class*="library_ContextMenuAction_"].Install,
[class*="library_ContextMenuAction_"].PurchaseApp {
	background: linear-gradient(to right, var(--ButtonInstall) 0%, var(--ButtonInstall2)) 60% !important;
	border-radius: var(--Corner1) var(--Corner1) var(--Corner0) var(--Corner0) !important;
}
[class*="library_ContextMenuAction_"].Download:hover,
[class*="library_ContextMenuAction_"].Update:hover,
[class*="library_ContextMenuAction_"].PreLoad:hover,
[class*="library_ContextMenuAction_"].Resume:hover,
[class*="library_ContextMenuAction_"].Pause:hover,
[class*="library_ContextMenuAction_"].BorrowApp:hover,
[class*="library_ContextMenuAction_"].Stop:hover,
[class*="library_ContextMenuAction_"].Cancel:hover,
[class*="library_ContextMenuAction_"].Install:hover,
[class*="library_ContextMenuAction_"].PurchaseApp:hover {
	background: linear-gradient(to right, var(--ButtonInstallHover) 0%, var(--ButtonInstallHover2)) 60% !important;
}

[class*="appactivityday_Event_"] {
  border-radius: var(--Corner0) !important;
  background: var(--backdropblur) !important;
}

[class*="appactivityday_PartnerEventMediumImage_Container_"]:hover {
  background:none;
}

[class*="appdetails_Header_"][class*="appdetail_HeaderLoaded_"] {
  z-index: -2 !important;
}

[class*="steamavatar_friendavatar_"] {
  margin-top: 3px !important;
  margin-left: 5px !important;
}

[class*="appactivityday_Event_"]:first-child {
  border-radius: var(--Corner0) !important;
  background: var(--backdropblur) !important;
}

[class*="appactivityday_PartnerEventMediumImage_Container_"] {
  background: none !important;
}

[class*="appactivityday_ScreenshotCaption_"][class*="appactivityday_HasCaption_"], [class*="appactivityday_VideoTitle_"][class*="appactivityday_HasCaption_"] {
  background-image: none !important;
  border-bottom-left-radius: var(--Corner0) !important;
  backdrop-filter: blur(50px)
}

/* Blurs The Backgrounds */
[class*="appdetailsoverview_Container_"] {
  backdrop-filter: var(--FuckBlur) !important;
  background: var(--FlatColor) !important;
  display: flex !important;
  z-index: 1 !important;
}

/* Blurs The Backgrounds */
[class*="appdetailsoverview_Glassy_"] [class*="appdetailsoverview_BackdropGlass_"] {
  backdrop-filter: var(--FuckBlur) !important;
  background: var(--FlatColor) !important;
}

/* Changes Blur Color & Depth For Games Page */
[class*="appdetailsoverview_Glassy_"] [class*="appdetailsoverview_ColumnContainer_"] {
  backdrop-filter: blur(0px) !important;
  background: var(--FlatColor) !important;
}

/* Game Page Launch Game Bar */
[class*="appdetailsplaysection_StickyHeader_"] [class*="appdetailsplaysection_Glassy_"] {
  backdrop-filter: var(--FuckBlur) !important;
  background: var(--FlatColor) !important;
  margin-left: -6px !important;
  border-bottom: 0 solid black !important;
}

[class*="appdetailscommunityfeed_ArtItem_"] [class*="appdetailscommunityfeed_BottomSection_"] {
  background: none !important;
  color: #2db9ff !important;
  backdrop-filter: blur(50px) !important;
}

[class*="appdetailsplaysection_DetailsProgressContainer_"] {
  border-radius: var(--Corner1) !important;
  background-color: var(--invisiblegrey) !important;
  margin-top: 0 !important;
}

[class*="appdetailsplaysection_DetailsProgressContainer_"] [class*="appdetailsplaysection_DetailsProgressBar_"] {
  border-radius: var(--Corner1) !important;
}

[class*="appdetailsachievementssection_AchievementProgressContainer_"] {
  background-color: var(--invisiblegrey) !important;
  border-radius: var(--Corner1) !important;
}

[class*="appdetailsachievementssection_AchievementProgressContainer_"] [class*="appdetailsachievementssection_AchievementProgress_"] {
  border-radius: var(--Corner1) !important;
}

[class*="appdetailsplaysection_GameStat_"] [class*="appdetailsplaysection_GameStatIcon_"] {
  margin: 0 !important;
}

/* Hover Over What's New Game */
[class*="libraryhomenewupdates_PartnerEventRowCapsule_Container_"][class*="libraryhomenewupdates_HoversEnabled_"]:hover [class*="libraryhomenewupdates_EventSummaryContainer_"] {
  background-color: transparent !important;
  border-radius: var(--Corner1) !important;
  backdrop-filter: blur(12px) !important;
}

/* Background Hover Over What's New Game */
[class*="libraryhomenewupdates_PartnerEventRowCapsule_Container_"] [class*="libraryhomenewupdates_PartnerEventRowCapsule_MainImageContainer_"] {
  background-color: transparent !important;
}

/* Remove Collections Line */
[class*="allcollections_ScrollContainer_"] [class*="allcollections_Header_"] [class*="allcollections_Rule_"] {
  display: none !important;
}
  
/* Game Page Category Background */
[class*="collectionview_OuterContainer_"] {
  background: var(--librarybg) !important;
}
  
/* Game Page Background */
[class*="libraryhome_InnerContainer_"] {
  background: var(--librarybg) !important;
}
  
/* Game Page What's New Line */
[class*="pageablecontainer_HeaderPageControls_"] [class*="pageablecontainer_Rule_"] {
  display: none !important;
}
  
/* Game Page Buttons */
[class*="pageablecontainer_PageClickContainer_"] [class*="pageablecontainer_PageLeft_"], [class*="pageablecontainer_PageClickContainer_"] [class*="pageablecontainer_PageRight_"] {
  width: 18px !important;
  height: 18px !important;
  padding: 5px !important;
  font-size: 0 !important;
  background: var(--lightgrey) !important;
  border-radius: var(--Corner4) !important;
}
  
/* Game Tags Title Line */
[class*="collectionview_Container_"] [class*="collectionview_Header_"] [class*="collectionview_Rule_"] {
  display: none !important;
}
  
/* Game Page Game Collection Tags */
[class*="gamelistsearchbar_SearchFilterInput_"] [class*="gamelistsearchbar_FilterTag_"] {
  background-color: var(--black) !important;
  border-radius: var(--Corner0) !important;
}
  
/* Your Collection Page */
[class*="allcollections_ScrollContainer_"] {
  background: var(--librarybg) !important;}
  
/* Your Collection Page Tile Backgrounds */
[class*="allcollections_Collection_"] {
  background: var(--black) !important;
}
  
/* Recent Friend Activity Game Images */
[class*="libraryhomefriendsactivity_HeroImageClipper_"] {
  border-radius: var(--Corner0) !important;
}
  
/* Changes Blur Color For Games Page */
[class*="appdetails_ScrollContainer_"] {
  background-color: var(--librarybg) !important;
}
  
/* Changes Blur Color For Games Page */
[class*="appdetails_Glassy_"][class*="appdetails_ScrollContainer_"] {
  background-image: none !important;
  background: var(--librarybg) !important;
}

  /* Changes Background Game Page Community Photos */
  [class*="appdetailscommunityfeed_CommunityItem_"] {
  background-color: var(--backdropblur) !important;
}

  [class*="comment_thread_ActivityCommentThread_"] {
  background: transparent !important;
}

[class*="appactivityday_PartnerEventLargeImage_Container_"] {
  background: transparent !important;
  border: 0 !important;
  border-image-source: none !important;
}

[class*="spotlightgameplaysummary_SummaryCarouselContainer_"] {
  background: transparent !important;
}

[class*="spotlightgameplaysummary_SummaryCarouselContainer_"]:after {
  box-shadow: none !important;
}

[class*="appdetailsspotlight_NewDLCContainer_"] {
  background: transparent !important;
}

[class*="appactivityday_PartnerEventLargeImage_Container_"]:hover {
  background: transparent !important;
}

[class*="posttextentry_PostTextEntry_"] [class*="posttextentry_Controls_"] [class*="posttextentry_PostButton_"] {
  background-color: var(--backdropblur) !important;
  border-radius: var(--Corner0) !important;
}

[class*="posttextentry_PostTextEntry_"] [class*="posttextentry_Controls_"] button[class*="posttextentry_EmoticonButton_"] {
  background-color: var(--backdropblur) !important;
  border-radius: var(--Corner0) !important;
}

[class*="posttextentry_PostTextEntry_"] [class*="posttextentry_PostTextEntryArea_"] {
  background: var(--backdropblur) !important;
}

[class*="posttextentry_PostTextEntry_"] [class*="posttextentry_PostTextEntryArea_"]:focus {
  background: var(--backdropblur) !important;
}

/* Changes Background Game Page Community Guide */
[class*="appdetailscommunityfeed_Guide_"] [class*="appdetailscommunityfeed_TopSectionInner_"] {
  background: transparent !important;
}

/* Removes Background Game Page Community Photos */
[class*="appdetailscommunityfeed_AuthorSection_"] {
  background: transparent !important;
  padding: 0 !important;
}

/* Removes Padding Social Background */
[class*="appdetailsprimarylinkssection_LinksSection_"] {
  margin-bottom: 0 !important;
}
  
/* Removes Image Blur */
[class*="appdetailssection_AppDetailsSectionContainer_"][class*="appdetailssection_RightColumnSection_"] {
  border: 1px solid transparent !important;
  background: none !important;
}

[class*="appdetailssection_AppDetailsSectionContainer_"] {
  z-index: 1 !important;
}

[class*="spotlight_MajorEventContainer_"]{
  border: 1px solid transparent !important;
  border-image-source: none !important;
}

[class*="spotlight_MajorEventBackground_"] {
  border-radius: var(--Corner1) !important;
}

[class*="spotlight_MajorEventHeader_"] {
  background-color: transparent !important;
}
  
/* Removes Game Page Social Background */
[class*="appdetailsprimarylinkssection_LinksSection_"] > div {
  background: none !important;
}
  
/* Removes Game Page Community Header Background */
[class*="appdetailscommunityfeed_HeaderStyles_"] {
  background: none !important;
  color: white !important;
}
  
/* Removes Play/Install Header Background */
[class*="appdetailsplaysection_Glassy_"][class*="appdetailsplaysection_PlayBar_"] {
  background: var(--FlatColor) !important;
}
  
/* Game Page Content Background */
[class*="appactivityday_Event_"] [class*="appactivityday_EventBody_"] {
  background: none !important;
  border-radius: var(--Corner0) !important;
  padding-left: 5px !important;
}

[class*="appdetailsplaysection_StickyHeaderShadow_"] {
  display: none !important;
}
  
/* Game Page Achievements Background */
[class*="appdetailssection_Highlight_"] {
  background: none !important;
}

[class*="appdetailsspotlight_ReviewContainer_"] {
  background-color: transparent !important;
  margin-bottom: 15px !important;
}

[class*="writereview_RatingContainer_"] { 
  background-color: transparent !important;
}

[class*="appactionbutton_Green_"] > [class*="appactionbutton_ButtonChild_"] {
  background: linear-gradient(to right, var(--ButtonPlay) 0%, var(--ButtonPlay2)) 60% !important;
  border-radius: var(--Corner0) !important;
}

[class*="appactionbutton_Green_"] > [class*="appactionbutton_ButtonChild_"][class*="appactionbutton_StreamingSelector_"] {
  background: linear-gradient(to right, var(--ButtonPlay) 0%, var(--ButtonPlay2)) 100% !important;
  display: var(--DrowdownPlay) !important;
  border-radius: var(--Corner0) !important;
}

[class*="appactionbutton_ButtonChild_"][class*="appactionbutton_StreamingSelector_"] {
  display: var(--DrowdownPlay) !important;
  border-radius: var(--Corner0) !important;
}

:not([class*="appactionbutton_Disabled_"]) > [class*="appactionbutton_Green_"] > [class*="appactionbutton_ButtonChild_"]:hover {
  background: linear-gradient(to right, var(--ButtonPlayHover) 0%, var(--ButtonPlayHover2)) 100% !important;
}

:not([class*="appactionbutton_Disabled_"]) > [class*="appactionbutton_Green_"] > [class*="appactionbutton_ButtonChild_"]:hover svg {
  fill: white !important; 
}

[class*="appactionbutton_Green_"] > [class*="appactionbutton_ButtonChild_"] svg {
  fill: white !important; 
}

[class*="appactionbutton_ButtonChild_"] {
  background: linear-gradient(to right, var(--ButtonInstall) 0%, var(--ButtonInstall2)) 60% !important;
  border-radius: var(--Corner0) !important;
}

[class*="appactionbutton_ButtonChild_"][class*="appactionbutton_StreamingSelector_"] {
  background: linear-gradient(to right, var(--ButtonInstallHover) 0%, var(--ButtonInstallHover2)) 100% !important;
  border-radius: var(--Corner0) !important;
}

:not([class*="appactionbutton_Disabled_"]) > [class*="appactionbutton_ButtonChild_"]:hover {
  background: linear-gradient(to right, var(--ButtonInstallHover) 0%, var(--ButtonInstallHover2)) 100% !important;
}

:not([class*="appactionbutton_Disabled_"]) > [class*="appactionbutton_ButtonChild_"] svg {
  fill: white !important;
}

:not([class*="appactionbutton_Disabled_"]) > [class*="appactionbutton_ButtonChild_"] svg path {
  stroke: white !important; 
}

:not([class*="appactionbutton_Disabled_"]) > [class*="appactionbutton_ButtonChild_"] svg line, :not([class*="appactionbutton_Disabled_"]) > [class*="appactionbutton_ButtonChild_"] svg polygon {
  stroke: white !important;
  fill: white !important;
}

[class*="appdetailsplaysection_DetailsProgressContainer_"] [class*="appdetailsplaysection_DetailsProgressBar_"] {
  background-color: var(--progressbar) !important;
}

[class*="appdetailsachievementssection_AchievementProgressContainer_"] [class*="appdetailsachievementssection_AchievementProgress_"] {
  background-color: var(--progressbar) !important;
}
[class*="miniprofile_miniProfileVideoBackgroundContainer_"],
[class*="sharedappdetailsheader_ImgSrc_"][class*="sharedappdetailsheader_ImgBlurBackdrop_"] {
  display: var(--BackgroundBlur) !important;

}

[class*="sharedappdetailsheader_TopCapsule_"][class*="sharedappdetailsheader_TopCapsule_"] {
  overflow: var(--ImageBlur) !important;
}

/* Game Header Background Image Corners */
[class*="sharedappdetailsheader_ImgSrc_"][class*="sharedappdetailsheader_ImgBlurBackdrop_"], [class*="sharedappdetailsheader_ImgSrc_"][class*="sharedappdetailsheader_ImgBlur_"] {
  border-radius: var(--Corner0) !important;
}

/* Game Header Background Image */
[class*="sharedappdetailsheader_TopCapsule_"][class*="sharedappdetailsheader_TopCapsule_"], [class*="sharedappdetailsheader_HeaderBackgroundImage_"] {
  max-height: var(--ImageHeight) !important;
}


/* NEW CHANGES */

[class*="appdetails_PlayBar_"][class*="appdetails_ShowPlayBar_"] {
  display: var(--GamePlayHeader) !important;
}

[class*="appdetailsgameinfocontainer_AppGameInfoContainer_"][class*="appdetailsgameinfocontainer_AppDetailsExpanded_"] > div:not([class*="appdetailsgameinfocontainer_GameInfoShadow_"]) {
  border-radius: var(--Corner1) !important;
}

[class*="appdetailsspotlight_ReviewContainer_"] [class*="appdetailsspotlight_RatingContainer_"] {
  border-radius: var(--Corner3) !important;
}

[class*="writereview_RatingContainer_"] [class*="writereview_LeftContainer_"] [class*="writereview_Playtime_"] {
  color: var(--Corner3) !important;
}

[class*="writereview_RatingContainer_"] {
  background-color: var(--invisiblegrey) !important;
}

[class*="writereview_ReviewThumbButton_"] {
  border-radius: var(--Corner3) !important;
  background: var(--invisiblegrey) !important;
  color: var(--white) !important;
}

[class*="writereview_CompactThumbButton_"] {
  border-radius: var(--Corner3) !important;
  background: var(--invisiblegrey) !important;
  color: var(--white) !important;
}

[class*="writereview_ThumbIcon_"][class*="writereview_Up_"] {
  fill: var(--green) !important;
}

[class*="writereview_ThumbIcon_"][class*="writereview_Down_"] {
  fill: var(--red) !important;
}

[class*="writereview_ThumbIcon_"] {
  fill: var(--white) !important;
}

[class*="steamavatar_avatarHolder_"] {
  margin: 5px -10px 0 5px !important;
}

/* Achievement Corner */
[class*="appdetailsachievementssection_Icon_"] {
  border-radius: var(--Corner0) !important;
}

/* Achievement Corner + Background */
[class*="appdetailsachievementssection_AdditionalItem_"] {
  background-color: var(--invisiblegrey) !important;
  border-radius: var(--Corner0) !important;
}

/* Friends Hover Color */
[class*="appdetailsfriendssection_AvatarAndLabel_"]:hover {
  background-color: var(--invisiblegrey) !important;
  border-radius: var(--Corner1) !important;
}

/* DLC Images Corners */
[class*="libraryassetimage_LandscapeImage_"] [class*="libraryassetimage_Image_"], [class*="appdetailsdlcsection_DLCArt_"] [class*="appdetailsdlcsection_Gloss_"] {
  border-radius: var(--Corner1) !important;
}

[class*="appactivityday_PartnerEventMediumImage_Image_"] {
  border-radius: var(--Corner0) !important;
}
