tweaks.css
/* Make Play button smaller */
#itemDetailPage .childrenItemsContainer.itemsContainer.vertical-list .listItem .paper-icon-button-light[data-action=resume] {
  border-radius: 10px!important;
  font-size: 1.25em;
}

.cardOverlayContainer>.cardOverlayFab-primary {
    background-color: rgba(0, 0, 0, .5);
}
	
/* Make title background more transparent on details page */
.detailRibbon {
 background: rgba(0, 0, 0, 0)!important;
}

/* Transparent top bar */

.skinHeader.focuscontainer-x.skinHeader-withBackground.skinHeader-blurred {
background: none;
background-color: rgba(0, 0, 0, 0);
}
.skinHeader.focuscontainer-x.skinHeader-withBackground.skinHeader-blurred.noHomeButtonHeader {
background: none;
background-color: rgba(0, 0, 0, 0);
}

.osdHeader {
  background: linear-gradient(180deg, hsla(0, 0%, 6%, .75), hsla(0, 0%, 6%, 0))!important;
}

.cardContent-button,
.itemDetailImage {
border-radius: 0.25em;
}

/* Narrow the login form */
#loginPage .readOnlyContent,
#loginPage form {
max-width: 22em;
}

/* Hide "please login" text, margin is to prevent login form moving too far up */
#loginPage h1 {
display: none;
}
#loginPage .padded-left.padded-right.padded-bottom-page {
margin-top: 50px;
}

/* Hide "manual" and "forgot" buttons */
#loginPage .raised.cancel.block.btnManual.emby-button {
display: none;
}
#loginPage .raised.cancel.block.btnForgotPassword.emby-button {
display: none;
}

/* Shrink and square (or round) cast thumnails */
#guestCastContent .card.overflowPortraitCard.personCard.card-hoverable.card-withuserdata,
#castContent .card.overflowPortraitCard.personCard.card-hoverable.card-withuserdata {
	width: 4.2cm !important;
	font-size: 90% !important;
}

#guestCastContent .card.overflowPortraitCard.personCard.card-withuserdata,
#castContent .card.overflowPortraitCard.personCard.card-withuserdata {
	width: 4.2cm !important;
	font-size: 90% !important;
}

/* Correct image aspect ratio behaviour, set border-radius to zero for square tiles */
#castContent .cardContent-button.cardImageContainer.coveredImage.cardContent.cardContent-shadow.itemAction.lazy,
#castContent .cardContent-button.cardImageContainer.coveredImage.defaultCardBackground.defaultCardBackground1.cardContent.cardContent-shadow.itemAction,
#castContent .cardContent-button.cardImageContainer.coveredImage.defaultCardBackground.defaultCardBackground2.cardContent.cardContent-shadow.itemAction,
#castContent .cardContent-button.cardImageContainer.coveredImage.defaultCardBackground.defaultCardBackground3.cardContent.cardContent-shadow.itemAction,
#castContent .cardContent-button.cardImageContainer.coveredImage.defaultCardBackground.defaultCardBackground4.cardContent.cardContent-shadow.itemAction,
#castContent .cardContent-button.cardImageContainer.coveredImage.defaultCardBackground.defaultCardBackground5.cardContent.cardContent-shadow.itemAction {
	background-size: cover !important;
	border-radius: 2.5cm;
}

#guestCastContent .cardContent-button.cardImageContainer.coveredImage.cardContent.cardContent-shadow.itemAction.lazy,
#guestCastContent .cardContent-button.cardImageContainer.coveredImage.defaultCardBackground.defaultCardBackground1.cardContent.cardContent-shadow.itemAction,
#guestCastContent .cardContent-button.cardImageContainer.coveredImage.defaultCardBackground.defaultCardBackground2.cardContent.cardContent-shadow.itemAction,
#guestCastContent .cardContent-button.cardImageContainer.coveredImage.defaultCardBackground.defaultCardBackground3.cardContent.cardContent-shadow.itemAction,
#guestCastContent .cardContent-button.cardImageContainer.coveredImage.defaultCardBackground.defaultCardBackground4.cardContent.cardContent-shadow.itemAction,
#guestCastContent .cardContent-button.cardImageContainer.coveredImage.defaultCardBackground.defaultCardBackground5.cardContent.cardContent-shadow.itemAction {
	background-size: cover !important;
	border-radius: 2.5cm;
}

#castContent .cardScalable,
#guestCastContent .cardScalable {
	width: 3.8cm !important;
	height: 3.8cm !important;
	border-radius: 2.5cm;
}

#castContent .cardOverlayContainer.itemAction,
#guestCastContent .cardOverlayContainer.itemAction {
	border-radius: 2.5cm;
}

/* Center the mouseover buttons */
#castContent .cardOverlayButton-br,
#guestCastContent .cardOverlayButton-br {
	bottom: 4%;
	right: 15%;
	width: 70%;
}

#castContent .cardOverlayButton.cardOverlayButton-hover.itemAction.paper-icon-button-light,
#guestCastContent .cardOverlayButton.cardOverlayButton-hover.itemAction.paper-icon-button-light {
	margin: auto;
}

/* Darken background, only works with blue radiance */
.backgroundContainer {
background-color: #000000;
filter: brightness(50%);
}

/* .backdropImage {filter: blur(2px)!important;} */

/*
@media all and (min-width: 50em) {
.homePage .emby-scroller {
  margin-right: 0;
}
.homePage .emby-scrollbuttons {
  display: none;
}
.homePage .itemsContainer {
  flex-wrap: wrap;
}
}

/* Make title background more transparent on details page */
.detailRibbon {
background: rgba(0, 0, 0, 0);
}

/* Indicators */
.cardIndicators,.listItemIndicators {
    right: 0!important;
    top: 0!important
}

.cardIndicators .indicator,.listItemIndicators .indicator {
    background: linear-gradient(130deg,var(--accent1-light),var(--accent2-light));
    border-radius: 0 10px 0 10px;
    box-shadow: 0 0 5px rgba(0,0,0,.7);
}

/* Make watched icon more transparent */
.cardIndicators .indicator, .listItemIndicators, .indicator, .playedIndicator {
    opacity: 0.9 !important;
}

/* Hide Tags */
.itemTags {display: none !important;}

/* Remove big spaces between different tags, links etc. */
#itemDetailPage .button-link.emby-button {
	margin-right: 0 !important;
}

#itemDetailPage .mainDetailButtons > .emby-button {
	margin-right: .4em !important;
}

/* Fix long episode descriptions */
.listItem-overview > bdi {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
}

/* Add more padding to episode list */

@media (min-width: 50em) {
  #itemDetailPage .listItem {
      margin-bottom: .35em;
      margin-top: .35em;
	  border-radius: 6px !important;

  }
}

/* Dashboard transparent header */
.MuiBox-root > header {
  background: transparent;
  box-shadow: none;
}


/* Make card overlay buttons (favourite, watched etc) smaller */
.cardOverlayButton-br > button {
    font-size: 0.8em !important;
}

/* Horizontal My Media */
#indexPage .section2 .itemsContainer {
  flex-wrap: nowrap !important;
}

#indexPage .section2 .emby-scrollbuttons {
  display: block !important;
}

* {
  mask-image: none !important;
  -webkit-mask-image: none !important;
}

/* Jellyskin Colors */

:root {
    --accent1-light: #a95bc2;
    --accent1-dark: #3f2348;
    --accent1-light-opacity1: rgba(169, 91, 194, .4);
    --accent2-light: #00a4db;
    --accent2-dark: #003d52
}
/* Skip Intro Button */

.skip-button {
  background: rgba(42, 67, 87, 1)!important;
  border: none;
  border-radius: 0.5em;
  bottom: 6em;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);
  color: #fff!important;
  font-family: sans-serif !important;
  font-size: 1em;
  font-weight: normal;
  overflow: hidden;
  padding: 0.8em 1.2em;
  right: 6em;
}

.skip-button:hover {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.skip-button:after {
  background: linear-gradient(130deg,var(--accent1-light),var(--accent2-light));
  content: "";
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  transition: opacity .1s linear;
  width: 100%;
  z-index: 0;
}

.skip-button .paper-icon-button-light {
  color: #fff!important;
  z-index: 1
}

.skip-button:focus:after,.skip-button:hover:after {
  opacity: 0.85
}


/* Progress Bar 

.innerCardFooter {
    border-radius: 0;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    width: 100%
}

.innerCardFooter .itemProgressBar {
    background: hsla(0, 0%, 100%, .3);
    height: .4em;
}

.innerCardFooter .itemProgressBar .itemProgressBarForeground {
    background: linear-gradient(130deg, var(--accent1-light), var(--accent2-light));
	border-radius: 2em;
}

/* Don't push down 'Home' and 'Favourites' tabs on smaller screens*/
@media (max-width: 100em) {
    .sectionTabs {
		-webkit-align-items: center;
        align-items: center;
        -webkit-align-self: center;
        align-self: center;
        -webkit-justify-content: center;
        justify-content: center;
        margin-top: -4.3em;
        position: relative;
        width: auto;
    }
}

/* Add margins to 'Play all' and three dots buttons */

.itemsViewSettingsContainer>.button-flat {
    margin-left: .75em!important;
}


/* Change heart and watched button colors from red to blue
.ratingbutton-icon-withrating, 
.playstatebutton-icon-played {
    color: var(--accent2-light) !important;
}
*/

/* Fix hover button stuff */
@media (hover: hover) and (pointer: fine) {
    .cardOverlayButton:not(.cardOverlayFab-primary):hover:not(:disabled),
	.detailButton:hover:not(:disabled)	{
        color: #00a4dc;
        background-color: rgba(0, 164, 220, 0.2) !important;
		border-radius: 10px;
    }
}

/*Modify subtitle settings page*/
.subtitleappearance-preview {
  background: linear-gradient(140deg,#444,#111) !important;
}

/* Shrink fullscreen dialog to a windows */
@media (max-width: 80em), (max-height: 45em) {
    .dialog-fixedSize {
		height: 80% !important;
        width: 60% !important;
		position: relative !important;
    }
	.dialog-fullscreen-lowres {
		position: relative !important;
    }
}

/* Display logos correctly */

.cardScalable > a[style*="Logo"] {
	background-size: contain !important;
	background-color: transparent !important;
}

/* Display disc art correctly */
.cardBox:has(.cardScalable > a[style*="Disc"]) {
    background: rgba(0, 0, 0, 0) !important;
}

.cardScalable:has(a[style*="Disc"]), .cardScalable:has(a[style*="Logo"]) {
	box-shadow: none !important;
}

/* Dont underline 'Next Up' title on hover
.sectionTitleTextButton > .sectionTitle {
	text-decoration: none !important;
}

/* Item detail page play button tweaks */
#itemDetailPage .emby-button[title=Play]:hover, #itemDetailPage .emby-button[title=Resume]:hover {
    /*background: #adc6ff !important;*/
	box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.3);
}

/* TV rating symbol */
#itemDetailPage .mediaInfoItem.mediaInfoOfficialRating {
   background: hsla(0, 0%, 100%, 0.8);
   border: none;
   border-radius: 10px;
   color: #000;
   font-weight: 600;
   white-space: nowrap;
}

/* Change Header LOGO 
.pageTitleWithDefaultLogo {
    background-image: url(../../assets/img/banner-light.png) !important;
}

/* Subtitle dropdown menu styling */
.trackSelections > .selectContainer > .detailTrackSelect:not(:disabled) {
	border: none !important;
    box-shadow: 0 0 .1em rgba(0, 0, 0, .25);
    border-bottom: .01em solid rgba(0, 0, 0, 0.25) !important;
	background-color: rgba(32, 49, 75, 0.75);
    border-radius: .5em!important;
    /*backdrop-filter: blur(5px);*/
	padding: .5em .5em;
}
.trackSelections > .selectContainer > .detailTrackSelect:disabled {padding: 0!important;}

/*Glow accent on hover
.raised.homeLibraryButton {
    border: solid 1px var(--accent2-light) !important;
}


.cardOverlayContainer {
  outline: 4px solid var(--accent2-light)!important;
  box-shadow: 0 0 5px rgb(var(--accent2-light))!important;
}

.cardOverlayContainer {
    background: rgba(0, 0, 0, 0)!important;
}

/* Hide Card Buttons 
.libraryPage .cardOverlayButton,
.cardOverlayButton-br {
	display: none!important;
}
*/

/* Dashboard top right user menu thing */
.css-jg702w {
	border-radius: 10px;
}

/* Declutter Media Player UI */

/* Hide Skip Chapter buttons */
.btnPreviousChapter, .btnNextChapter {
	display: none !important;
}

/* Thumbnail for seekbar */
.chapterThumbText {
    margin: 0;
    opacity: 1;
    padding-bottom: 0 !important;
    text-align: center !important;
}
/*
.chapterThumbWrapper {
	width: 204px !important;
    height: 153px !important;
}
*/

/* Make person pages without images look better 

#itemDetailPage .cardScalable:not(:has(.blurhash-canvas))::before {
    content: "\e7fd";
    font-family: 'Material Icons Round' !important;
	font-size: 20rem;
	background: linear-gradient(130deg, var(--accent1-light), var(--accent2-light));
    background-clip: text;
	color: transparent;
	opacity: 75%;
    position: absolute;
    right: 0;
    margin-right: 2rem;
    margin-top: 2rem;
}
/*


/* Collections */

/*.squareCard:not(:has(a[style*="Disc"]))*/
 
 @media (min-width: 87.5em) {
    .collectionItemsContainer > .portraitCard, .smallBackdropCard {
        width: 22%;
    }
}
@media (min-width: 75em) {
    .collectionItemsContainer > .portraitCard, .smallBackdropCard {
        width: 22%;
    }
}
@media (min-width: 50em) {
    .collectionItemsContainer > .portraitCard, .smallBackdropCard {
        width: 22%;
    }
}

.sectionTitleContainer > .sectionTitle {
	padding-bottom: .33em;
}

/* Episode Collections force 16:9 thumbnails */

#itemDetailPage .collectionItemsContainer > .card[data-type*="Episode"] > div > .cardScalable {
	aspect-ratio: 16/9 !important;
}

 @media (min-width: 87.5em) {
    .collectionItemsContainer > .card[data-type*="Episode"] {
        width: 30%;
    }
}
@media (min-width: 75em) {
    .collectionItemsContainer > .card[data-type*="Episode"] {
        width: 30%;
    }
}
@media (min-width: 50em) {
    .collectionItemsContainer > .card[data-type*="Episode"] {
        width: 30%;
    }
}

/* Disc images in favourties tab etc edgecase sceneario */


/* Better library page */
@media (min-height: 31.25em) {
    [dir=ltr] .padded-right-withalphapicker {
        padding-right: 3.3% !important;
        padding-right: max(env(safe-area-inset-right), 3.3%) !important;
    }
}
