/* Spotlight Section Styles */ .spotlight-section { position: relative; width: calc(100% - (2 * max(env(safe-area-inset-left), 3.3%))); margin: 2em 0; } .spotlight-banner-container { position: relative; height: 450px; overflow: hidden; border-radius: 8px; } .layout-mobile .spotlight-banner-container { display: flex; justify-items: center; align-items: center; justify-content: center; } /* Size variants */ /* .spotlight-section[data-layout="Borderless"][data-size="full"][data-order="1"] .spotlight-banner-container { height: 94vh !important; } */ .spotlight-section[data-size="full"] .spotlight-banner-container { height: 94vh !important; } .layout-mobile .spotlight-section[data-size="full"] .spotlight-banner-container { height: 80vh !important; } .spotlight-items-container { position: relative; width: 100%; height: 100%; } .spotlight-item { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; transition: opacity 0.8s ease-in-out; contain: paint; isolation: isolate; } .spotlight-item:not([data-active]):not([data-fade-out]) { display: none; } /* Crossfade: outgoing slide fades to 0 */ .spotlight-item[data-fade-out] { opacity: 0; pointer-events: none; } /* Crossfade: incoming slide starts at 0, then transitions to 1 when data-entering is removed */ .spotlight-item[data-active][data-entering] { opacity: 0; } .spotlight-item[data-active]:not([data-entering]) { opacity: 1; } /* Skeleton spotlight: single full-container placeholder; fill area and match layout/size */ .skeleton-spotlight-item { right: 0; bottom: 0; width: 100%; height: 100%; } .spotlight-section[data-layout="Border"] .skeleton-spotlight-item { border-radius: 8px; } /* Dual-backdrop background with masked crossfade */ .spotlight-background-dual { position: absolute; inset: 0; z-index: 1; overflow: hidden; } .spotlight-section[data-layout="Border"] .spotlight-background-dual { border-radius: 8px; } .spotlight-background-layer { position: absolute; top: 0; bottom: 0; overflow: hidden; } .spotlight-background-layer img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; } .spotlight-background-layer img.animate, .spotlight-background-single img.animate { filter: blur(0); transition: filter 0.3s ease-in-out; backface-visibility: hidden; -webkit-backface-visibility: hidden; transform-origin: center center; animation: var(--spotlight-slide-animation, kenBurnsZoomIn) 20s linear; } /* Single backdrop (when tileCount is 1 or only one image) */ .spotlight-background-single { position: absolute; inset: 0; z-index: 1; overflow: hidden; } .spotlight-background-single img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; } /* Cycle backdrops: two stacked layers for crossfade (same as slide transition) */ .spotlight-background-single.cycle-backdrops img { position: absolute; inset: 0; } .spotlight-background-single.cycle-backdrops img:first-child { z-index: 1; } .spotlight-background-single.cycle-backdrops img:last-child { z-index: 2; } @keyframes kenBurnsZoomIn { from { transform: scale3d(1, 1, 0); } to { transform: scale3d(1.12, 1.12, 0.1); } } @keyframes kenBurnsZoomOut { from { transform: scale3d(1.15, 1.15, 0.1); } to { transform: scale3d(1.02, 1.02, 1); } } /* Full-screen: start images pre-scaled so they extend past edges from the start (no hard edge before zoom) */ @keyframes kenBurnsZoomInFullscreen { from { transform: scale3d(1.08, 1.08, 0); } to { transform: scale3d(1.12, 1.12, 0.1); } } @keyframes kenBurnsZoomOutFullscreen { from { transform: scale3d(1.15, 1.15, 0.1); } to { transform: scale3d(1.08, 1.08, 1); } } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes fadeInUp { from { opacity: 0; transform: scale3d(1, 1, 1) translateY(30px); } to { opacity: 1; transform: scale3d(1, 1, 1) translateY(0); } } @keyframes fadeInDown { from { opacity: 0; transform: scale3d(1, 1, 1) translateY(-30px); } to { opacity: 1; transform: scale3d(1, 1, 1) translateY(0); } } @keyframes kenBurnsPanRight { from { transform: scale3d(1.1, 1.1, 1) translateX(-5%); } to { transform: scale3d(1.1, 1.1, 1) translateX(5%); } } @keyframes kenBurnsPanLeft { from { transform: scale3d(1.1, 1.1, 1) translateX(5%); } to { transform: scale3d(1.1, 1.1, 1) translateX(-5%); } } @keyframes kenBurnsPanUp { from { transform: scale3d(1.1, 1.1, 1) translateY(5%); } to { transform: scale3d(1.1, 1.1, 1) translateY(-5%); } } @keyframes kenBurnsDiagonal { from { transform: scale3d(1.08, 1.08, 1) translate(-5%, 5%); } to { transform: scale3d(1.13, 1.13, 1) translate(5%, -5%); } } @keyframes fadeInScale { from { opacity: 0; transform: scale3d(0.95, 0.95, 1); } to { opacity: 1; transform: scale3d(1, 1, 1); } } @keyframes parallaxFloat { 0%, 100% { transform: scale3d(1, 1, 1) translateY(0); } 50% { transform: scale3d(1, 1, 1) translateY(-12px); } } @keyframes depthPulse { 0%, 100% { transform: scale3d(1, 1, 1); } 50% { transform: scale3d(1.03, 1.03, 1); } } @keyframes slowRotate { from { transform: scale3d(1.15, 1.15, 1) rotate(0deg); } to { transform: scale3d(1.15, 1.15, 1) rotate(3deg); } } @keyframes breathe { 0%, 100% { transform: scale3d(1, 1, 1); opacity: 0.9; } 50% { transform: scale3d(1.04, 1.04, 1); opacity: 1; } } @keyframes heatHaze { 0%, 100% { transform: scale3d(1.05, 1.05, 1) skewX(0deg); } 25% { transform: scale3d(1.06, 1.06, 1) skewX(0.3deg); } 75% { transform: scale3d(1.05, 1.05, 1) skewX(-0.3deg); } } @keyframes colorWash { 0% { filter: saturate(1) brightness(1); } 50% { filter: saturate(1.2) brightness(1.05); } 100% { filter: saturate(1) brightness(1); } } @keyframes vignetteIn { from { box-shadow: inset 0 0 0px rgba(0,0,0,0); } to { box-shadow: inset 0 0 120px rgba(0,0,0,0.6); } } /* Layer masks for elegant crossfade - overlap in center (45-55%) */ .spotlight-background-layer-left { left: 0; width: 55%; -webkit-mask-image: linear-gradient( to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0.5) 90%, rgba(0, 0, 0, 0) 100% ); mask-image: linear-gradient( to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0.5) 90%, rgba(0, 0, 0, 0) 100% ); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; } .spotlight-background-layer-right { right: 0; width: 55%; -webkit-mask-image: linear-gradient( to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 8%, rgba(0, 0, 0, 0.5) 18%, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 1) 100% ); mask-image: linear-gradient( to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 8%, rgba(0, 0, 0, 0.5) 18%, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 1) 100% ); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; } /* Three-tile: center layer – symmetric soft fade on both edges for seamless left/center and center/right blend */ .spotlight-background-layer-center { left: 33.333%; width: 33.334%; -webkit-mask-image: linear-gradient( to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 8%, rgba(0, 0, 0, 0.5) 18%, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0.5) 82%, rgba(0, 0, 0, 0.25) 92%, rgba(0, 0, 0, 0) 100% ); mask-image: linear-gradient( to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 8%, rgba(0, 0, 0, 0.5) 18%, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0.5) 82%, rgba(0, 0, 0, 0.25) 92%, rgba(0, 0, 0, 0) 100% ); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; } .spotlight-section .spotlight-item .spotlight-background-dual { background: black; } .spotlight-section .spotlight-item:has(.spotlight-background-layer-center) .spotlight-background-layer { width: 37.5%; } /* Mobile: show only left backdrop (full width) */ .layout-mobile .spotlight-background-layer-center, .layout-mobile .spotlight-background-layer-right { display: none !important; } .layout-mobile .spotlight-background-layer-left { width: 100% !important; mask-image: none !important; } /* Logo section heights per size - fixed to prevent layout shift when sliding between items */ .spotlight-section { --spotlight-logo-height: 118px; } .spotlight-section[data-size="large"] { --spotlight-logo-height: 180px; } .spotlight-section[data-size="full"] { --spotlight-logo-height: 240px; } .spotlight-overlay { position: absolute; top: 0; bottom: 0; left: 0; width: 45%; background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 40%, transparent 100%); padding: 40px; color: white; display: grid; grid-template-rows: var(--spotlight-logo-height) auto 1fr minmax(48px, auto); grid-template-areas: "logo" "metadata" "overview" "buttons"; align-content: start; gap: 1em; z-index: 2; } .spotlight-overlay .spotlight-logo-section {grid-area: logo;height: 100%;min-height: 0;display: flex;align-items: flex-end;overflow: hidden;align-content: center;flex-wrap: wrap;} .spotlight-overlay .spotlight-metadata-section { grid-area: metadata; } .spotlight-overlay .spotlight-overview-section { grid-area: overview; display: flex; flex-direction: column; justify-content: flex-start; overflow: hidden; } .spotlight-overlay .spotlight-buttons-section { grid-area: buttons; display: flex; align-items: center; } .spotlight-overlay.has-title { padding: 50px 40px 20px 40px; } .spotlight-section-title { color: white; font-size: 18px; font-weight: 600; z-index: 10; padding: 8px 16px; letter-spacing: 2px; word-spacing: 2px; } .spotlight-section-title a { font-size: 1.1rem; } .spotlight-item-title { margin: 0; font-size: 3.5em; font-weight: bold; min-height: 0; display: flex; align-items: flex-end; overflow: hidden; } .spotlight-item-logo { height: 100%; width: 100%; object-fit: contain; margin: 0; background-size: contain; background-repeat: no-repeat; background-position: left; } .layout-mobile .spotlight-item-logo { background-position: bottom; } .spotlight-clearart { position: absolute; bottom: 0px; right: 0px; max-height: 70%; object-fit: contain; z-index: 5; opacity: 0.9; pointer-events: none; } .spotlight-rating-container { -webkit-align-items: center; align-items: center; display: -webkit-flex; display: flex; -webkit-justify-content: center; justify-content: center; vertical-align: middle; } .spotlight-rating-star { color: #f2b01e; font-size: 1.4em; height: auto !important; margin-right: .125em; width: auto !important; } .spotlight-rating-value { font-size: 20px; font-weight: 500; } .spotlight-rating-value.na { opacity: 0.7; } .spotlight-metadata-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14px; opacity: 0.9; overflow: visible; min-width: 0; } .spotlight-metadata-row .itemDetailsGroup, .spotlight-metadata-row .sectionTabs { flex-shrink: 0; } .spotlight-credits-row .spotlight-truncated-list { flex-shrink: 1; min-width: 0; } /* Keep each name on one line (no mid-name wrapping) */ .spotlight-credits-row .spotlight-person-link, .spotlight-credits-row .spotlight-truncated-list .detailsGroupItem > span:not(.spotlight-list-separator):not(.spotlight-truncated-list-label), .spotlight-credits-row .spotlight-truncated-list .emby-tab-button > span:not(.spotlight-list-separator):not(.spotlight-truncated-list-label) { white-space: nowrap; } /* Metadata row icons (end time, etc.) - same pattern as truncated list icons */ .spotlight-metadata-row .emby-tab-button[data-icon] { display: inline-flex; align-items: center; } .spotlight-metadata-row .emby-tab-button[data-icon]::before { content: attr(data-icon); font-family: 'Material Icons'; font-size: 1.1em; margin-right: 6px; opacity: 0.9; text-transform: none; } .spotlight-metadata-row .spotlight-studio { display: inline-flex; align-items: center; } .spotlight-metadata-row .spotlight-studio::before { content: '\ea40'; /* Material Icons 'apartment' codepoint */ font-family: 'Material Icons'; font-weight: normal; font-style: normal; font-size: 1.1em; margin-right: 6px; opacity: 0.9; } .metadata-container { display: flex; flex-direction: column; align-items: start; gap: 8px; overflow: visible; min-width: 0; width: 100%; } .spotlight-truncated-list { font-size: 14px; opacity: 0.9; position: relative; overflow: hidden; min-width: 0; max-width: 100%; } /* Allow tooltip to escape overflow when present */ .spotlight-truncated-list:has(.spotlight-truncated-list-tooltip) { overflow: visible; } /* Tooltip for truncated lists - full list on hover after 1s, no layout shift */ .spotlight-truncated-list-tooltip { position: absolute; bottom: 100%; left: 0; margin-bottom: 8px; padding: 12px 16px; background: rgba(0, 0, 0, 0.95); color: white; border-radius: 8px; font-size: 14px; line-height: 1.5; max-width: 400px; min-width: 200px; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; z-index: 1000; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); word-wrap: break-word; display: flex; flex-direction: column; gap: 4px; } .spotlight-truncated-list-tooltip-items { display: flex; flex-direction: column; gap: 4px; } .spotlight-truncated-list-tooltip-item { display: block; } .spotlight-truncated-list-tooltip.visible { opacity: 1; pointer-events: auto; /* Allow hovering tooltip to keep it visible */ } .spotlight-truncated-list-tooltip .spotlight-person-link, .spotlight-truncated-list-tooltip .spotlight-genre-link, .spotlight-truncated-list-tooltip .spotlight-studio-link { color: inherit; text-decoration: underline; cursor: pointer; } .spotlight-list-separator { opacity: 0.75; margin: 0 0.4em; user-select: none; } /* Overview: shown for all layouts with line clamping to avoid cut-off text */ .spotlight-overview { display: -webkit-box; margin: 0; font-size: 15px; font-style: normal; opacity: 0.9; line-height: 1.45; max-width: 75%; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; } .spotlight-section[data-size="large"] .spotlight-overview { -webkit-line-clamp: 4; } .spotlight-section[data-size="full"] .spotlight-overview { font-size: 1.05em; -webkit-line-clamp: 4; } .spotlight-buttons-container { display: flex; gap: 5px; align-items: center; margin-top: auto; } .spotlight-play-button { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.9); color: #000; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; transition: background 0.2s; } .spotlight-play-button:hover { background: rgba(255,255,255,1); } .spotlight-play-button .material-icons { font-size: 28px; } .spotlight-watchlist-button { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.2); color: white; border: 2px solid rgba(255,255,255,0.5); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; transition: all 0.2s; } .spotlight-watchlist-button:hover { background: rgba(255,255,255,0.3); } .spotlight-watchlist-button.watchlisted { border-color: #4CAF50; } .spotlight-watchlist-button.watchlisted .material-icons { color: #4CAF50; } .spotlight-watchlist-button:not(.watchlisted):hover { border-color: rgba(255,255,255,0.7); } .spotlight-watchlist-button .material-icons { font-size: 28px; color: white; } .spotlight-info-button { cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; position: relative; } .spotlight-overview-tooltip { position: absolute; text-align: left; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 12px; padding: 16px; background: rgba(0,0,0,0.95); color: white; border-radius: 8px; font-size: 14px; line-height: 1.6; max-width: 400px; min-width: 300px; opacity: 0; pointer-events: none; transition: opacity 0.2s; z-index: 1000; box-shadow: 0 4px 12px rgba(0,0,0,0.5); word-wrap: break-word; } .spotlight-info-button:hover .spotlight-overview-tooltip { opacity: 1; } .spotlight-nav-container { position: absolute !important; top: 0px; right: 0px; display: flex; gap: 8px; z-index: 10; } .spotlight-section[data-layout="Border"] .spotlight-nav-container { border-radius: 4px; top: 5px !important; right: 5px !important; } .spotlight-nav-button { background: transparent; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; margin: 0 !important; transition: background 0.2s; } .spotlight-nav-button:hover { background: rgba(255,255,255,0.2); } .spotlight-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; } .spotlight-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255,255,255,0.5); cursor: pointer; padding: 0; transition: background 0.2s; } .spotlight-dot.active { background: white; } /* Numeric slide state: "N / X" via data attributes */ .spotlight-dots.spotlight-dots-numeric { background: rgb(0 0 0 / 40%); border-radius: 5px; padding: 0.25rem 0.5rem; gap: 0; } .spotlight-dots.spotlight-dots-numeric .spotlight-dot { display: none; } .spotlight-dots.spotlight-dots-numeric::after { content: attr(data-index) " / " attr(data-total-items); font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.9); letter-spacing: 0.5px; } .spotlight-genre-link, .spotlight-person-link, .spotlight-studio-link { color: inherit; text-decoration: underline; cursor: pointer; } .spotlight-empty-writer-container { font-size: 14px; opacity: 0.9; height: 1em; } /* Mobile Styles */ @media (max-width: 768px) { .metadata-container { display: none !important; } .spotlight-nav-container { display: none !important; } .spotlight-pause-button { display: none !important; } .spotlight-clearart { display: none !important; } .spotlight-overlay { width: calc(100% - 2rem); padding: 5rem 1rem 3rem !important; align-items: center; background: rgba(0, 0, 0, 0.7); } .spotlight-tagline { max-height: 2.5em !important; -webkit-line-clamp: 1; bottom: 60px; } } .skeleton-card { margin-bottom: 45px !important; } /* Tagline always 1 line - Movie-specific override kept for any edge cases */ [data-item-type="Movie"] .spotlight-tagline { -webkit-line-clamp: 1; max-height: 2.5em; } // Remove this if we switch back to Jellyfin's default scroll buttons .emby-scrollbuttons.padded-right { -webkit-align-items: center; align-items: center; color: #fff; display: -webkit-flex; display: flex; -webkit-justify-content: center; justify-content: center; min-height: 24px; min-width: 104px; padding-top: .85em; position: absolute; top: 0; z-index: 1; } /* Blurhash placeholder canvas: fill card image area so it's visible until the real image loads */ /* .cardScalable { position: relative; } .cardScalable .blurhash-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; } .cardScalable .blurhash-canvas.lazy-hidden { display: none !important; } */ /* Progressive Section Reveal Animation */ .cardbuilder-section-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); } /* When section enters viewport, trigger animation */ .cardbuilder-section-reveal.in-viewport { opacity: 1; transform: translateY(0); } .show-all-button { margin-left: 10px; padding: 4px 8px; min-width: auto; background: transparent; border-radius: 4px; cursor: pointer; align-self: center; border: 1px solid rgba(255, 255, 255, 0.3) !important; color: rgba(255, 255, 255, 0.87) !important; opacity: 0.65; position: relative; display: none; /* Hidden by default */ } .custom-scroller-container h2.sectionTitle.sectionTitle-cards { align-items: center; text-align: left; } .custom-scroller-container .sectionTitleContainer { display: flex; align-items: center; } /* Expanded grid view styles */ .itemsContainer[data-expanded="true"] { display: flex !important; flex-wrap: wrap !important; white-space: normal !important; transform: none !important; transition: none !important; } /* Hide scroll buttons when expanded */ .emby-scroller-container:has(.itemsContainer[data-expanded="true"]) .emby-scrollbuttons { display: none !important; } /* Refresh Button Styles */ .section-refresh-button { margin-left: 8px; padding: 4px; min-width: auto; width: 32px; height: 32px; background: transparent; border: none; cursor: pointer; display: inline-block; align-items: center; justify-content: center; color: var(--main-text, rgba(255, 255, 255, 0.87)); border-radius: 50%; font-size: 18px; transition: transform 0.3s ease, color 0.3s ease, background 0.2s ease; opacity: 0.65; } .section-refresh-button:hover { background: rgba(255, 255, 255, 0.1); } /* Spinning animation when refreshing */ [data-refreshing="true"] .section-refresh-button { animation: spin 1s linear infinite; } /* Checkmark state - green color to indicate success */ .section-refresh-button.check_circle { animation: none; } /* Smooth transition when changing icons */ .section-refresh-button.refresh, .section-refresh-button.check_circle { transition: transform 0.3s ease, color 0.3s ease, background 0.2s ease; } /* Fade in/out transitions for icon changes */ .section-refresh-button::after { transition: opacity 0.2s ease; } .section-refresh-button.icon-fade-out::after { opacity: 0; } .section-refresh-button.icon-fade-in::after { opacity: 1; } @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } /* Ensure button remains visible when expanded (data-expandable takes precedence, but this ensures it) */ .emby-scroller-container:has(.itemsContainer[data-expanded="true"]) .show-all-button { display: initial !important; } /* Borderless layout: full width, no border, negative margins for overlap. Banner has NO padding so the background image overflows edge-to-edge; only content is inset. */ .spotlight-section[data-layout="Borderless"] { --spotlight-fullscreen-vertical: 4%; --spotlight-fullscreen-horizontal: max(env(safe-area-inset-left), env(safe-area-inset-right), 4%); padding: 0; width: 100%; margin-top: calc(-1 * calc(var(--spotlight-fullscreen-vertical) * 1)); margin-bottom: calc(-1 * calc(var(--spotlight-fullscreen-vertical) * 2)); } .spotlight-section[data-layout="Borderless"] .spotlight-banner-container { border-radius: 0; /* No padding: background fills full size so image extends edge-to-edge and into overlap zone */ position: relative; /* Wider mask so backdrop fades gradually at top/bottom (no visible solid edge during animation) */ -webkit-mask-image: linear-gradient( to bottom, transparent 0%, black calc(var(--spotlight-fullscreen-vertical) * 2), black calc(100% - calc(var(--spotlight-fullscreen-vertical) * 2)), transparent 100% ); mask-image: linear-gradient( to bottom, transparent 0%, black calc(var(--spotlight-fullscreen-vertical) * 2), black calc(100% - calc(var(--spotlight-fullscreen-vertical) * 2)), transparent 100% ); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-position: 0 0; mask-position: 0 0; } /* Dark gradient overlays at top and bottom (like left-side overlay): graceful fade and better visibility when content overlaps */ .spotlight-section[data-layout="Borderless"] .spotlight-banner-container::before, .spotlight-section[data-layout="Borderless"] .spotlight-banner-container::after { content: ''; position: absolute; left: 0; right: 0; width: 100%; height: 22%; pointer-events: none; z-index: 2; } .spotlight-section[data-layout="Borderless"] .spotlight-banner-container::before { top: 0; background: linear-gradient( to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 40%, transparent 100% ); } .spotlight-section[data-layout="Borderless"] .spotlight-banner-container::after { bottom: 0; background: linear-gradient( to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 40%, transparent 100% ); } .spotlight-section[data-layout="Borderless"] .spotlight-items-container, .spotlight-section[data-layout="Borderless"] .spotlight-item { /* Full bleed: fill banner so background extends to edges (and past negative margin) */ left: 0; right: 0; width: 100%; } /* Borderless: use pre-scaled animations so image never shows hard edge at top */ /* .spotlight-section[data-layout="Borderless"] .spotlight-background-single img.animate { animation: kenBurnsZoomInFullscreen 20s ease-out forwards; } .spotlight-section[data-layout="Borderless"] .spotlight-background-layer-left img.animate { animation: kenBurnsZoomOutFullscreen 20s ease-out forwards; } .spotlight-section[data-layout="Borderless"] .spotlight-background-layer-right img.animate { animation: kenBurnsZoomInFullscreen 20s ease-out forwards; } */ /* Overlay: same ~45% width as smaller spotlights for consistent gradient and content area. */ .spotlight-section[data-layout="Borderless"] .spotlight-overlay { left: 0; width: 45%; z-index: 3; padding: calc(var(--spotlight-fullscreen-vertical) * 2) var(--spotlight-fullscreen-horizontal) calc(var(--spotlight-fullscreen-vertical) * 2) var(--spotlight-fullscreen-horizontal); grid-template-rows: var(--spotlight-logo-height) auto 1fr minmax(48px, auto); gap: 1.5em; background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 70%, transparent 100%); } .spotlight-section[data-layout="Borderless"][data-size="full"] .spotlight-overlay { grid-template-rows: 1fr auto minmax(8em, auto) minmax(48px, auto); align-content: center; gap: 1.5em; } .spotlight-section[data-layout="Borderless"][data-size="full"] .spotlight-credits-row { flex-wrap: nowrap; flex-direction: row; } .spotlight-section[data-layout="Borderless"] .spotlight-overlay.has-title { padding: calc(var(--spotlight-fullscreen-vertical) * 2) var(--spotlight-fullscreen-horizontal) calc(var(--spotlight-fullscreen-vertical) * 2.5) var(--spotlight-fullscreen-horizontal); } /* Duplicate removed - already defined above for Borderless */ .spotlight-section[data-size="full"] .spotlight-item-title { width: auto; max-width: none; font-size: 4rem; } /* Duplicate removed - clearart display:none already set for Borderless above */ .spotlight-section[data-layout="Borderless"] .spotlight-section-title-container { left: var(--spotlight-fullscreen-horizontal); top: calc(var(--spotlight-fullscreen-vertical) * 2.5); } .spotlight-section[data-layout="Borderless"] .spotlight-nav-container { right: var(--spotlight-fullscreen-horizontal); top: calc(var(--spotlight-fullscreen-vertical) * 2.5); } .spotlight-section[data-layout="Borderless"] .spotlight-dots { bottom: calc(var(--spotlight-fullscreen-vertical) * 4.5); } .spotlight-section .spotlight-background-layer img, .spotlight-section .spotlight-background-single img { object-position: center 0%; } .spotlight-section[data-layout="Borderless"] .spotlight-clearart { display: none; } :has(.spotlight-section[data-layout="Borderless"]) .homeSectionsContainer > *:not(.spotlight-section) { z-index: 1; } /* Tagline at bottom center above navigation dots (all spotlights) - always 1 line max */ .spotlight-tagline { position: absolute !important; left: 50%; transform: translateX(-50%); width: fit-content; max-width: min(85%, 700px); max-height: 2.5em; text-align: center; font-style: italic; font-size: 1.05em; margin: 0; padding: 8px 16px; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; border-radius: 6px; z-index: 4; pointer-events: none; line-height: 1.4; } .spotlight-section:not(.hide) .spotlight-tagline p { font-weight: initial !important; transform: initial !important; width: 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; cursor: default; } /* Normal and large: tagline above dots (dots at bottom: 20px) */ .spotlight-section[data-layout="Border"] .spotlight-tagline { bottom: 40px; } .spotlight-section[data-layout="Borderless"] .spotlight-tagline { bottom: calc(var(--spotlight-fullscreen-vertical) * 4.5 + 40px); } /* Size full: modern stream-site metadata styles */ .spotlight-section[data-size="full"] .metadata-container { gap: 10px; } .spotlight-section[data-size="full"] .spotlight-metadata-row { font-size: 15px; gap: 10px; } /* Full-screen: uniform padding for all metadata pills (year, duration, genres, director, writer, series) */ /* .spotlight-section[data-size="full"] .spotlight-metadata-row .detailsGroupItem, .spotlight-section[data-size="full"] .metadata-container .detailsGroupItem { border-radius: 6px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2); } */ .spotlight-section[data-size="full"] .spotlight-genre-link { display: inline-block; transition: background 0.2s, border-color 0.2s; } /* Full-screen: director/writer use material icon instead of label text */ /* Director/writer: always use icon, never show "Directed by"/"Written by" text */ .spotlight-truncated-list[data-icon] .spotlight-truncated-list-label { display: none; } .spotlight-truncated-list .detailsGroupItem[data-icon], .spotlight-truncated-list .emby-tab-button[data-icon] { display: inline-flex; align-items: center; } .spotlight-truncated-list .detailsGroupItem[data-icon]::before, .spotlight-truncated-list .emby-tab-button[data-icon]::before { content: attr(data-icon); font-family: 'Material Icons'; font-size: 1.1em; margin-right: 6px; opacity: 0.9; text-transform: none; /* Prevent parent text-transform: capitalize (e.g. .spotlight-series-info) from breaking icon */ } .spotlight-truncated-list[data-icon] .detailsGroupItem[data-icon]::before, .spotlight-truncated-list[data-icon] .emby-tab-button[data-icon]::before { content: attr(data-icon); } /* Director/writer/series info: no extra padding - detailsGroupItem matches other metadata pills */ .spotlight-section[data-size="full"] .spotlight-truncated-list.itemDetailsGroup:has(>.detailsGroupItem), .spotlight-section[data-size="full"] .spotlight-truncated-list.sectionTabs:has(>.emby-tab-button) { font-size: large; display: flex; align-items: center; align-self: start; } .spotlight-section a:not(:hover) { text-decoration: none !important; } .spotlight-section[data-size="full"] .spotlight-buttons-container { margin-top: 0px !important; margin-bottom: 0px !important; display: flex; flex-direction: row; justify-content: start; } .spotlight-section[data-size="full"] .spotlight-item-logo { width: 95%; } /* Mobile spotlight: uniform layout TITLE -> gap -> LOGO -> METADATA -> OVERVIEW -> BUTTONS -> DOTS */ .layout-mobile .spotlight-tagline { display: none !important; } .layout-mobile .spotlight-overlay { width: calc(100% - 2rem) !important; background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.85) 100%) !important; padding: 4rem 1rem 2rem 1rem !important; align-items: start; align-content: start; grid-template-rows: auto auto 1fr minmax(48px, auto); grid-template-areas: "logo" "metadata" "overview" "buttons"; gap: 0.75rem; } .layout-mobile .spotlight-section .spotlight-section-title-container { top: 15px; max-width: calc(100% - 2rem); left: unset !important; justify-content: center; margin: 0 auto !important; } .layout-mobile .spotlight-section[data-layout="Borderless"] .spotlight-section-title-container { top: 3rem; } .layout-mobile .spotlight-section[data-layout="Borderless"]:not([data-size="Full"]) .spotlight-section-title-container { top: 2rem; } .layout-mobile .metadata-container { display: flex !important; } .layout-mobile .spotlight-logo-section { height: 100% !important; min-height: 0 !important; align-content: end; } .layout-mobile .spotlight-overview { max-width: 100%; } .spotlight-series-info { text-transform: capitalize; } .spotlight-section[data-size="full"] .metadata-container * { font-size: 1.1rem; } /* Native Jellyfin itemDetailsGroup structure for all spotlight metadata */ .spotlight-section .itemDetailsGroup:has(.detailsGroupItem:not(.hide)), .spotlight-section .sectionTabs:not(.spotlight-section-title):has(.emby-tab-button:not(.hide)) { margin: 0px !important; padding: 0px !important; width: initial !important; min-width: initial !important; } .spotlight-section .itemDetailsGroup:not(.hide) .detailsGroupItem, .spotlight-section .itemDetailsGroup:not(.hide) .emby-tab-button { margin: 0px !important; gap: 0px !important; } .spotlight-section .spotlight-buttons-container.mainDetailButtons .btnPlay { margin-right: 0px !important; right: 0px !important; } .spotlight-section .spotlight-buttons-container.mainDetailButtons { margin-left: 0px !important; margin-top: 0px !important; } .spotlight-section:not(.hide) .headerTabs, .spotlight-section:not(.hide) .sectionTabs { display: flex !important; height: initial !important; padding: 0px !important; margin-top: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; } .spotlight-section:not(.hide) .emby-tab-button { height: initial !important; padding: 0.5rem 0.5rem !important; margin: 0px !important; top: initial !important; transform: initial !important; } .spotlight-section-title.headerTabs.sectionTabs, .spotlight-nav-container.headerTabs.sectionTabs { display: flex !important; flex-direction: row !important; } .spotlight-section[data-layout="Border"] .spotlight-section-title-container { top: 0; } .spotlight-nav-buttons-container { display: flex !important; gap: 8px !important; font-size: 1.1rem !important; } .spotlight-section:not(.hide) span.emby-tab-button.emby-tab-button-active:not(:has(a)) { cursor: default; } .metadata-container *, .spotlight-tagline p { color: rgba(255, 255, 255, 0.9) !important; } .spotlight-nav-button span.material-icons { font-size: 24px !important; display: inline-block !important; top: initial !important; } .spotlight-section-title > * { font-size: 18px !important; } .spotlight-metadata-row *:not(a) { cursor: default; } .spotlight-section[data-layout="Borderless"][data-size="normal"] { margin-top: calc(-1 * calc(var(--spotlight-fullscreen-vertical) / 4)); margin-bottom: calc(-1 * calc(var(--spotlight-fullscreen-vertical) / 4)); } .spotlight-section[data-layout="Borderless"][data-size="normal"] .spotlight-banner-container { height: 45vh; } .spotlight-section[data-layout="Borderless"][data-size="normal"] .spotlight-overview-section { display: none !important; } .spotlight-section[data-layout="Borderless"][data-size="normal"] .spotlight-overlay { } .spotlight-section[data-layout="Borderless"][data-size="normal"] .spotlight-buttons-section { margin-top: -1.5em; } .spotlight-section[data-layout="Borderless"][data-size="large"] .spotlight-banner-container { height: 69vh; } .spotlight-section[data-layout="Borderless"][data-size="normal"] .spotlight-overlay.has-title { padding: calc(var(--spotlight-fullscreen-vertical) * 2.25) var(--spotlight-fullscreen-horizontal) calc(var(--spotlight-fullscreen-vertical) * 1.25) var(--spotlight-fullscreen-horizontal); } .spotlight-section[data-layout="Borderless"][data-size="normal"] { --spotlight-fullscreen-vertical: 3em; --spotlight-fullscreen-horizontal: max(env(safe-area-inset-left), env(safe-area-inset-right), 4%); } .spotlight-section[data-layout="Borderless"][data-size="normal"] .spotlight-section-title-container { left: var(--spotlight-fullscreen-horizontal); top: calc(var(--spotlight-fullscreen-vertical) * 1); } .spotlight-section[data-layout="Borderless"][data-size="normal"] .spotlight-tagline { bottom: calc(var(--spotlight-fullscreen-vertical) * 1.5 + 40px); } .spotlight-section[data-layout="Borderless"][data-size="normal"] .spotlight-dots { bottom: calc(var(--spotlight-fullscreen-vertical) * 1.5); } .spotlight-section[data-layout="Borderless"][data-size="normal"] .spotlight-nav-container { right: var(--spotlight-fullscreen-horizontal); top: calc(var(--spotlight-fullscreen-vertical) * 1); } .spotlight-section[data-layout="Borderless"][data-size="normal"] .spotlight-overlay { grid-template-rows: 1fr auto auto minmax(48px, auto); } .spotlight-section[data-size="normal"] .spotlight-overlay { grid-template-rows: var(--spotlight-logo-height) auto 1fr auto; } .spotlight-section[data-size="large"] .spotlight-overlay { grid-template-rows: 35% auto 1fr auto; } .spotlight-section[data-layout="Border"] .spotlight-overlay { padding: 85px 40px 45px 40px; } .spotlight-section[data-layout="Border"] .spotlight-section-title-container { top: 15px; left: 40px; } .spotlight-section[data-layout="Border"] .spotlight-nav-container { top: 15px !important; right: 40px !important; } .spotlight-section[data-layout="Border"][data-size="normal"] .spotlight-section-title a { font-size: 1rem !important; } .spotlight-section[data-layout="Border"] .spotlight-banner-container { border: 1px solid rgb(255 255 255 / 10%); } .spotlight-section[data-layout="Border"][data-size="large"] .spotlight-banner-container { height: 40rem; } .spotlight-section[data-layout="Border"][data-size="full"] .spotlight-banner-container { height: 70vh !important; } .spotlight-section[data-layout="Borderless"][data-size="large"] .spotlight-overview { -webkit-line-clamp: 3; } .spotlight-section[data-layout="Border"][data-size="normal"] .spotlight-overview { -webkit-line-clamp: 2; } .spotlight-section[data-size="normal"] .spotlight-background-single img, .spotlight-section[data-size="large"] .spotlight-background-single img { object-position: center 20%; } .layout-mobile .sectionTitleContainer-cards .sectionTitle-link > * { padding-top: 0 !important; } button.show-all-button::after { content: 'Expand'; } .emby-scroller-container:has(.itemsContainer[data-expanded="true"]) button.show-all-button::after { content: 'Collapse'; } .layout-mobile button.show-all-button::after { content: 'keyboard_arrow_down'; font-family: 'Material Icons'; } .layout-mobile button.show-all-button { padding: 0; border: none !important; font-size: 1.5rem; } .layout-mobile .emby-scroller-container:has(.itemsContainer[data-expanded="true"]) button.show-all-button::after { content: 'keyboard_arrow_up'; } .layout-mobile .emby-scroller-container .sectionTitleContainer .show-all-button { order: 1; margin-left: auto; margin-right: 1rem; } .layout-mobile .spotlight-section .spotlight-nav-container { display: none !important; } .layout-mobile .spotlight-section .spotlight-overlay { display: flex; flex-direction: column; justify-content: end; align-items: center; } .layout-mobile .spotlight-section[data-layout="Borderless"][data-size="full"] .spotlight-overlay { padding-bottom: 5rem !important; } .layout-mobile .spotlight-overview-section, .layout-mobile .spotlight-credits-row, .layout-mobile .spotlight-series-info { display: none; } .layout-mobile .spotlight-logo-section { width: 100%; justify-content: center; } .layout-mobile .spotlight-dots { bottom: 1rem !important; } .layout-mobile .spotlight-section[data-layout="Borderless"] .spotlight-dots { bottom: 2.5rem !important; } .layout-mobile .spotlight-section[data-layout="Borderless"]:not([data-size="Full"]) .spotlight-dots { bottom: 1.5rem !important; } .layout-mobile .spotlight-section .spotlight-buttons-container { align-content: center; align-items: center; justify-content: center; justify-items: center; } .layout-mobile .spotlight-section .spotlight-section-title.sectionTabs:has(.emby-tab-button:not(.hide)) { justify-self: center; display: flex !important; justify-content: center; } .layout-mobile .spotlight-section .spotlight-section-title > * { max-width: 100%; min-width: 0; text-align: center; } .layout-mobile .spotlight-section .spotlight-section-title.sectionTabs:has(.emby-tab-button:not(.hide)) > * { display: block !important; } /* .layout-mobile .spotlight-section[data-layout="Borderless"][data-order="1"] .spotlight-section-title { top: 135px; } .layout-mobile .spotlight-section[data-layout="Borderless"][data-order="1"] { margin-top: calc(-1 * calc(var(--spotlight-fullscreen-vertical) * 10)) !important; } */ .layout-mobile .spotlight-section-title .emby-tab-button { padding: 0.25rem !important; } .layout-mobile .spotlight-section .emby-tab-button, .layout-mobile .spotlight-metadata-section span a, .layout-mobile .spotlight-metadata-section span { font-size: 1rem !important; } .layout-mobile .spotlight-section .spotlight-item-title { font-size: 2rem !important; text-align: center; } .layout-mobile .spotlight-section:not(.hide) .spotlight-tagline { display: none !important; } .layout-mobile .spotlight-buttons-container.mainDetailButtons span { font-size: 1.2rem; } .layout-mobile .spotlight-section .spotlight-metadata-row { justify-content: center; align-self: center; } .layout-mobile .spotlight-buttons-section { justify-self: center; } .emby-scroller-container:has(.emby-scrollbuttons-button:not(.hide)) button.show-all-button { display: flex; } .layout-mobile .emby-scroller-container:has(.overflowPortraitCard:nth-child(4)) button.show-all-button, .layout-mobile .emby-scroller-container:has(.overflowBackdropCard:nth-child(3)) button.show-all-button { display: flex; } .emby-scroller-container[data-card-format="Button"] .cardScalable { display: none; } .emby-scroller-container[data-card-format="Button"] .cardText { display: flex !important; padding: 0 !important; } .emby-scroller-container[data-card-format="Button"] .cardBox { width: 100%; justify-content: center; flex-direction: column; display: flex; padding: 1rem !important; } .emby-scroller-container[data-card-format="Button"] .card { width: auto !important; } .emby-scroller-container[data-card-format="Button"] .itemsContainer { gap: 0.5rem; margin-top: 0.5rem; } .emby-scroller-container:has([data-custom-card="true"]) .section-refresh-button { display: none; } .emby-scroller-container[data-card-format="Button"] { margin-bottom: 1rem; } .emby-scroller-container[data-card-format="Logo"] .cardScalable, .emby-scroller-container[data-card-format="Logo"] .cardPadder, .emby-scroller-container[data-card-format="Clear Art"] .cardScalable, .emby-scroller-container[data-card-format="Clear Art"] .cardPadder, .emby-scroller-container[data-card-format="Disc"] .cardScalable, .emby-scroller-container[data-card-format="Disc"] .cardPadder, .emby-scroller-container[data-section-id="liveTv-channels"] .cardScalable, .emby-scroller-container[data-section-id="liveTv-channels"] .cardPadder { background: transparent !important; box-shadow: none !important; border: none !important; } .emby-scroller-container[data-card-format="Logo"] .cardImageContainer, .emby-scroller-container[data-card-format="Clear Art"] .cardImageContainer, .emby-scroller-container[data-section-id="liveTv-channels"] .cardImageContainer { background-size: contain !important; } .emby-scroller-container[data-card-format="Banner"] .card { width: 25vw !important; } .layout-mobile .emby-scroller-container[data-card-format="Banner"] .card { width: 50vw !important; } .emby-scroller-container[data-card-format="Logo"] .cardImageContainer, .emby-scroller-container[data-card-format="Clear Art"] .cardImageContainer, .emby-scroller-container[data-card-format="Disc"] .cardImageContainer { transition: opacity 0.15s ease-in-out; } .emby-scroller-container[data-card-format="Logo"] .cardImageContainer.lazy-hidden, .emby-scroller-container[data-card-format="Clear Art"] .cardImageContainer.lazy-hidden, .emby-scroller-container[data-card-format="Disc"] .cardImageContainer.lazy-hidden { opacity: 0; } .emby-scroller-container[data-card-format="Logo"] .cardImageContainer.lazy-loaded, .emby-scroller-container[data-card-format="Clear Art"] .cardImageContainer.lazy-loaded, .emby-scroller-container[data-card-format="Disc"] .cardImageContainer.lazy-loaded { opacity: 1; } :not(.layout-mobile) .emby-scroller-container[data-card-format="Logo"] .itemsContainer, :not(.layout-mobile) .emby-scroller-container[data-card-format="Clear Art"] .itemsContainer, :not(.layout-mobile) .emby-scroller-container[data-card-format="Disc"] .itemsContainer { gap: 4rem; } .layout-mobile .emby-scroller-container[data-card-format="Logo"] .itemsContainer, .layout-mobile .emby-scroller-container[data-card-format="Clear Art"] .itemsContainer, .layout-mobile .emby-scroller-container[data-card-format="Disc"] .itemsContainer { gap: 2rem; } .emby-scroller-container[data-hide-card-footer] .card .cardText { display: none; } .spotlight-section-title-container { position: absolute; width: 100%; display: flex; } .emby-scroller-container .emby-scrollbuttons:has([data-direction="right"]:disabled):has([data-direction="left"]:disabled) { display: none; }