soulsync/webui/static/video/video-side.css
BoulderBadgeDad 519685fc32 video: rework TV-detail to match the artist-detail vibe + real season art
Addresses the 'feels basic' feedback:
- Hero is now a contained glass card with the backdrop blurred INSIDE it +
  gradient overlay (same treatment as the music artist hero) — no more bare
  gaps around the top/sides. Bigger poster, accent external-link chips
  (IMDb/TMDB/TVDB), refined badges + stat tiles.
- Seasons are a poster-art card grid (season = album) with coverage rings/bars
  and hover-lift, selecting one renders its episodes below (episode = track) —
  episode overviews now shown. Mirrors the artist album-grid -> tracklist.
- Scan now captures real per-season posters (Plex sh.seasons() thumbs / Jellyfin
  /Seasons Primary), served via get_art_ref('season') + /api/video/poster/season.
  Falls back to the show poster until a re-scan populates them.

Seam tests for the season art ref; shell markup tests still green.
2026-06-14 16:13:30 -07:00

574 lines
25 KiB
CSS

/*
* SoulSync — Video side shell styling.
*
* Loaded AFTER style.css so these rules win where specificity ties. Everything
* keys off body[data-side="music|video"] (set by video-side.js). The music side
* is the default and is never affected — these rules only do something once the
* body flips to data-side="video".
*/
/* ── The Music ↔ Video header toggle (animated sliding pill) ────────────── */
.side-toggle {
position: relative;
display: flex;
margin-top: 12px;
padding: 4px;
background: rgba(0, 0, 0, 0.28);
border: 1px solid rgba(255, 255, 255, 0.07);
border-radius: 11px;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.35);
isolation: isolate;
}
/* The thumb that slides under the active side. Positioned over the left half by
default; slides to the right half when body[data-side="video"]. */
.side-toggle-thumb {
position: absolute;
z-index: 0;
top: 4px;
bottom: 4px;
left: 4px;
width: calc(50% - 4px);
border-radius: 8px;
background: linear-gradient(135deg,
rgb(var(--accent-rgb, 88 101 242)),
rgba(var(--accent-rgb, 88 101 242), 0.82));
box-shadow: 0 3px 10px rgba(var(--accent-rgb, 88 101 242), 0.35);
transition: transform 0.28s cubic-bezier(0.34, 1.3, 0.5, 1);
}
body[data-side="video"] .side-toggle-thumb {
transform: translateX(100%);
}
.side-toggle-btn {
position: relative;
z-index: 1;
flex: 1;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 7px 6px;
font-size: 11.5px;
font-weight: 600;
letter-spacing: 0.02em;
color: var(--text-secondary, #9aa0aa);
background: transparent;
border: none;
border-radius: 8px;
cursor: pointer;
transition: color 0.2s ease;
}
.side-toggle-btn .side-toggle-icon {
width: 14px;
height: 14px;
flex: none;
opacity: 0.85;
transition: opacity 0.2s ease;
}
.side-toggle-btn:not(.active):hover {
color: var(--text-primary, #e8e8ea);
}
.side-toggle-btn.active {
color: #fff;
}
.side-toggle-btn.active .side-toggle-icon {
opacity: 1;
}
/* ── Nav swap: music nav vs video nav ──────────────────────────────────── */
/* The video nav reuses .sidebar-nav layout (same class) — only visibility
differs. Hidden by default (music side); shown when data-side="video". */
.video-nav {
display: none;
}
body[data-side="video"] nav.sidebar-nav:not(.video-nav) {
display: none;
}
body[data-side="video"] .video-nav {
display: flex;
}
/* ── Page visibility per side ──────────────────────────────────────────── */
/* Music pages hidden on the video side; video pages hidden on the music side.
The music router still controls .page.active among music pages; we just hide
the whole set while the video side is showing. */
body[data-side="music"] .page.video-page {
display: none !important;
}
body[data-side="video"] .page:not(.video-page) {
display: none !important;
}
body[data-side="video"] .page.video-page {
display: block;
}
/* ── Service status: not needed on the video side (for now) ─────────────── */
body[data-side="video"] .status-section {
display: none;
}
/* ── Shared pages: show the REAL music page on the video side ───────────── */
/* For now Settings is shown identically (no hiding of music-only bits yet).
The id selector + extra attribute outrank the blanket music-page hide rule. */
body[data-side="video"][data-video-page="video-settings"] #settings-page {
display: block !important;
}
body[data-side="video"][data-video-page="video-settings"] #video-page-host {
display: none !important;
}
/* Video-only additions inside the shared settings page (e.g. the Movies/TV
library mapping) — hidden on the music side. */
body[data-side="music"] [data-video-only] {
display: none !important;
}
/* Conversely, the music-library picker is irrelevant on the video side — hide
it there (the Movies/TV mapping is its replacement). */
body[data-side="video"] #plex-library-selector-container,
body[data-side="video"] #jellyfin-library-selector-container,
body[data-side="video"] #navidrome-folder-selector-container {
display: none !important;
}
/* Music-only settings sections (e.g. the music API services) are hidden on the
video side; their video counterparts carry data-video-only. */
body[data-side="video"] [data-music-only] {
display: none !important;
}
/* The whole Library tab is music-specific today (file-org templates, music
paths, post-processing, conversion, stats) — hide it all on the video side.
Future video library settings just need data-video-only to stay visible. */
body[data-side="video"] [data-stg="library"]:not([data-video-only]) {
display: none !important;
}
/* ── Dashboard header: match music, minus the sweep animation ──────────── */
/* The header reuses music's .dashboard-header markup/CSS for an identical look;
we only mute the ambient sweep on the video side (equiv may return later,
driven by meta sources). Scoped to data-side="video" so music is untouched. */
body[data-side="video"] .dashboard-header-sweep {
display: none;
}
/* ── Dashboard enrichment-worker buttons (isolated; music untouched) ────── */
.video-enrich-container { position: relative; }
/* Mirrors music's .musicbrainz-button accent treatment, driven by --ve-accent. */
.video-enrich-button {
position: relative;
width: 46px;
height: 46px;
border-radius: 50%;
border: 1.5px solid rgba(var(--ve-accent, 88, 101, 242), 0.25);
background: rgba(18, 18, 22, 0.85);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 4px 16px rgba(var(--ve-accent, 88, 101, 242), 0.2),
0 2px 8px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.video-enrich-button:hover {
transform: scale(1.05);
border-color: rgba(var(--ve-accent, 88, 101, 242), 0.4);
box-shadow: 0 6px 20px rgba(var(--ve-accent, 88, 101, 242), 0.3),
0 3px 12px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.video-enrich-button.active,
.video-enrich-button.complete {
border-color: rgba(var(--ve-accent, 88, 101, 242), 0.5);
box-shadow: 0 6px 24px rgba(var(--ve-accent, 88, 101, 242), 0.4),
0 3px 12px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
/* Paused → amber accent, identical to music's .musicbrainz-button.paused. */
.video-enrich-button.paused {
background: linear-gradient(135deg, rgba(255, 193, 7, 0.12) 0%, rgba(255, 152, 0, 0.18) 100%);
border-color: rgba(255, 193, 7, 0.35);
box-shadow: 0 4px 16px rgba(255, 193, 7, 0.2),
0 2px 8px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.video-enrich-button.paused:hover {
border-color: rgba(255, 193, 7, 0.5);
box-shadow: 0 6px 20px rgba(255, 193, 7, 0.3), 0 3px 12px rgba(0, 0, 0, 0.2);
}
.video-enrich-button.disabled { opacity: 0.4; cursor: default; }
.video-enrich-logo {
width: 24px;
height: 24px;
object-fit: contain;
opacity: 0.85;
position: relative;
z-index: 1;
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
transition: opacity 0.3s ease;
}
.video-enrich-button:hover .video-enrich-logo { opacity: 1; }
/* The TVDB brand mark is dark — invert it so it reads on the dark UI. */
.video-enrich-button[data-video-enrich="tvdb"] .video-enrich-logo {
filter: invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}
.video-enrich-spinner {
position: absolute;
width: 46px;
height: 46px;
border: 3px solid transparent;
border-top-color: rgba(var(--ve-accent, 88, 101, 242), 0.8);
border-right-color: rgba(var(--ve-accent, 88, 101, 242), 0.5);
border-radius: 50%;
opacity: 0;
transition: opacity 0.3s ease;
pointer-events: none;
}
.video-enrich-button.active .video-enrich-spinner { opacity: 1; animation: video-enrich-spin 1.2s linear infinite; }
@keyframes video-enrich-spin { to { transform: rotate(360deg); } }
/* Tint the reused .tooltip-content with the service accent (music's default is
MusicBrainz purple; each service overrides — so we do the same per video svc). */
.video-enrich-tooltip .tooltip-content {
border-color: rgba(var(--ve-accent, 88, 101, 242), 0.3);
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5),
0 6px 20px rgba(var(--ve-accent, 88, 101, 242), 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.video-enrich-tooltip .tooltip-header { color: rgba(var(--ve-accent, 88, 101, 242), 0.95); }
.video-enrich-tooltip .tooltip-content::before { border-bottom-color: rgba(var(--ve-accent, 88, 101, 242), 0.3); }
.video-enrich-tooltip [data-video-enrich-status] { color: rgb(var(--ve-accent, 88, 101, 242)); font-weight: 600; }
/* Paused status text goes amber too, matching music. */
.video-enrich-button.paused ~ .video-enrich-tooltip [data-video-enrich-status] { color: #ffc107; }
/* Positioning wrapper only — the content reuses music's shared .tooltip-content
/ .tooltip-header / .tooltip-body styling, so it looks identical to the music
enrichment tooltips. */
.video-enrich-tooltip {
position: absolute;
left: 50%;
top: calc(100% + 12px);
transform: translateX(-50%) translateY(-5px);
z-index: 5000;
opacity: 0;
visibility: hidden;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
pointer-events: none;
}
.video-enrich-container:hover .video-enrich-tooltip {
opacity: 1;
visibility: visible;
transform: translateX(-50%) translateY(0);
}
/* The Manage Workers button reuses music's .em-manage-btn* classes verbatim
(see index.html), so it needs no styling of its own here — identical by reuse. */
/* Service logo in the settings API-config frame headers (TMDB/TVDB). */
.video-svc-logo { width: 18px; height: 18px; object-fit: contain; margin-right: 2px; }
.video-svc-logo--tvdb { filter: invert(1); }
/* ── Video Manage-Workers modal: only the bits not covered by music's global
.em-* classes, ALL scoped to #vem-overlay so music is never affected. ───── */
#vem-overlay .vem-logo { width: 22px; height: 22px; object-fit: contain; }
#vem-overlay .vem-logo--tvdb { filter: invert(1); }
#vem-overlay .vem-icon {
width: 34px;
height: 34px;
border-radius: 9px;
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.12);
display: flex;
align-items: center;
justify-content: center;
font-size: 11px;
font-weight: 800;
color: #fff;
flex-shrink: 0;
}
#vem-overlay .em-panel-header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
#vem-overlay .em-ph-main { display: flex; align-items: center; gap: 8px; font-size: 16px; }
#vem-overlay .em-ph-status { color: var(--text-secondary, #9aa0aa); font-size: 13px; }
#vem-overlay .em-ph-current { color: var(--text-secondary, #9aa0aa); font-size: 12px; opacity: 0.85; }
#vem-overlay .em-pause-btn {
margin-left: auto;
padding: 7px 16px;
border-radius: 9px;
border: 1px solid rgba(255, 255, 255, 0.12);
background: rgba(255, 255, 255, 0.06);
color: var(--text-primary, #e8e8ea);
font-size: 13px;
font-weight: 600;
cursor: pointer;
}
#vem-overlay .em-pause-btn:disabled { opacity: 0.45; cursor: default; }
#vem-overlay .em-unmatched-controls { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 8px; }
#vem-overlay .em-section-sub { color: var(--text-secondary, #9aa0aa); font-size: 13px; }
#vem-overlay .em-retry-all-btn {
padding: 6px 14px;
border-radius: 8px;
border: 1px solid rgba(var(--accent-rgb, 88 101 242), 0.4);
background: rgba(var(--accent-rgb, 88 101 242), 0.12);
color: rgb(var(--accent-light-rgb, var(--accent-rgb, 88 101 242)));
font-size: 12px;
font-weight: 600;
cursor: pointer;
}
#vem-overlay .em-item {
display: flex;
align-items: center;
gap: 12px;
padding: 8px 10px;
border-radius: 10px;
border: 1px solid rgba(255, 255, 255, 0.05);
margin-bottom: 6px;
}
#vem-overlay .em-item-img {
width: 38px;
height: 56px;
object-fit: cover;
border-radius: 6px;
background: rgba(255, 255, 255, 0.06);
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
flex-shrink: 0;
}
#vem-overlay .em-item-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
#vem-overlay .em-item-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#vem-overlay .em-item-sub { font-size: 12px; color: var(--text-secondary, #9aa0aa); }
#vem-overlay .em-item-retry {
padding: 5px 12px;
border-radius: 7px;
border: 1px solid rgba(255, 255, 255, 0.12);
background: transparent;
color: var(--text-secondary, #9aa0aa);
font-size: 12px;
cursor: pointer;
}
#vem-overlay .em-item-retry:hover { color: #fff; border-color: rgba(255, 255, 255, 0.25); }
#vem-overlay .em-empty { padding: 30px; text-align: center; color: var(--text-secondary, #9aa0aa); }
#vem-overlay .em-pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; }
#vem-overlay .em-pg {
width: 30px;
height: 30px;
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.12);
background: rgba(255, 255, 255, 0.05);
color: var(--text-primary, #e8e8ea);
cursor: pointer;
}
#vem-overlay .em-pg:disabled { opacity: 0.4; cursor: default; }
#vem-overlay .em-pg-info { font-size: 13px; color: var(--text-secondary, #9aa0aa); }
/* ── Subpages: one built video page shown at a time ────────────────────── */
/* Each real page is a .video-subpage inside #video-page-host; the controller
toggles the [hidden] attribute. Be explicit so no reused .dash-* rule can
resurrect a hidden page. */
.video-subpage[hidden],
.video-placeholder-slot[hidden] {
display: none !important;
}
/* ── Placeholder content (for pages not built yet) ─────────────────────── */
.video-placeholder-slot {
padding: 48px 40px;
}
.video-placeholder-slot .header-title {
font-size: 22px;
font-weight: 700;
}
.video-placeholder-note {
margin-top: 10px;
color: var(--text-secondary, #9aa0aa);
font-size: 14px;
}
/* Empty-state line inside reused dashboard cards (e.g. Recent Downloads). */
.video-empty-note {
margin: 0;
padding: 8px 2px;
color: var(--text-secondary, #9aa0aa);
font-size: 14px;
}
/* ── Library page ──────────────────────────────────────────────────────── */
/* The grid/cards/search/alphabet all reuse the music library CSS verbatim.
The only video-specific bit is the Movies/Shows tab pill. */
.video-library-tabs {
display: flex;
gap: 6px;
padding: 4px;
margin: 0 auto 4px;
width: max-content;
background: rgba(0, 0, 0, 0.25);
border: 1px solid rgba(255, 255, 255, 0.07);
border-radius: 12px;
}
.video-lib-tab {
padding: 8px 22px;
font-size: 13px;
font-weight: 600;
color: var(--text-secondary, #9aa0aa);
background: transparent;
border: none;
border-radius: 9px;
cursor: pointer;
transition: background 0.15s ease, color 0.15s ease;
}
.video-lib-tab:hover { color: var(--text-primary, #e8e8ea); }
.video-lib-tab.active {
color: #fff;
background: rgb(var(--accent-rgb, 88 101 242));
}
.video-library-filters {
display: flex;
gap: 10px;
justify-content: center;
margin: 4px 0;
}
/* Resolution chip on a poster card (top-left, above the gradient overlay). */
.library-artist-card .video-card-badge {
position: absolute;
top: 8px;
left: 8px;
z-index: 3;
padding: 2px 7px;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.02em;
color: #fff;
background: rgba(0, 0, 0, 0.7);
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 5px;
backdrop-filter: blur(4px);
}
/* ── Video detail page (TV-show drill-in) ────────────────────────────────────
Isolated .vd-*, mirroring the music artist-detail language: a contained glass
hero with the backdrop blurred INSIDE it + gradient overlay, accent action
chips, and a poster-art season grid (season = album) → episodes (= tracks). */
.vd-page { padding: 20px 20px 60px; max-width: 1240px; margin: 0 auto; }
.vd-back {
display: inline-flex; align-items: center; gap: 7px;
padding: 8px 15px; margin-bottom: 16px;
background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
border-radius: 999px; color: var(--text-primary, #e8e8ea);
font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s ease;
}
.vd-back:hover { background: rgba(var(--accent-rgb, 88,101,242), 0.16); border-color: rgba(var(--accent-rgb, 88,101,242), 0.45); transform: translateX(-2px); }
/* Hero — a self-contained card; the backdrop lives INSIDE it (no bare gaps). */
.vd-hero {
position: relative; overflow: hidden; border-radius: 18px;
border: 1px solid rgba(255,255,255,0.08);
box-shadow: 0 12px 40px rgba(0,0,0,0.4);
background: linear-gradient(135deg, rgba(26,26,30,0.9), rgba(16,16,20,0.96));
}
.vd-hero-bg {
position: absolute; inset: -30px;
background-size: cover; background-position: center 20%;
filter: blur(46px) brightness(0.4) saturate(1.5); transform: scale(1.3);
z-index: 0; pointer-events: none;
}
.vd-hero-overlay {
position: absolute; inset: 0; z-index: 1; pointer-events: none;
background:
linear-gradient(180deg, rgba(10,10,14,0.35) 0%, rgba(12,12,16,0.78) 100%),
linear-gradient(90deg, rgba(12,12,16,0.55) 0%, transparent 70%);
}
.vd-hero-content { position: relative; z-index: 2; display: flex; gap: 30px; padding: 32px 36px; align-items: flex-start; }
.vd-poster {
position: relative; flex: 0 0 188px; width: 188px; aspect-ratio: 2 / 3;
border-radius: 14px; overflow: hidden;
border: 2px solid rgba(var(--accent-rgb, 88,101,242), 0.3);
box-shadow: 0 14px 40px rgba(0,0,0,0.55);
background: rgba(255,255,255,0.04);
}
.vd-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vd-poster-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 48px; opacity: 0.5; }
.vd-hero-main { flex: 1; min-width: 0; }
.vd-title { font-size: 2.4em; line-height: 1.05; font-weight: 800; margin: 0 0 12px; letter-spacing: -0.02em;
color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.vd-badges { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.vd-pill {
padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 600;
background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
color: rgba(255,255,255,0.92); backdrop-filter: blur(6px);
}
.vd-pill--rating { border-color: rgba(var(--accent-rgb, 88,101,242), 0.55); color: #fff; }
.vd-overview { max-width: 760px; color: rgba(255,255,255,0.76); font-size: 14.5px; line-height: 1.6; margin: 0 0 16px;
display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
/* External-link chips — accent-gradient, like the artist hero actions. */
.vd-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.vd-link {
display: inline-flex; align-items: center; padding: 7px 15px; border-radius: 8px;
font-size: 12px; font-weight: 700; letter-spacing: 0.02em; text-decoration: none;
color: rgb(var(--accent-light-rgb, 140, 150, 255));
background: linear-gradient(135deg, rgba(var(--accent-rgb, 88,101,242), 0.16) 0%, rgba(var(--accent-rgb, 88,101,242), 0.05) 100%);
border: 1px solid rgba(var(--accent-rgb, 88,101,242), 0.28); transition: all 0.25s ease;
}
.vd-link:hover { transform: translateY(-1px); border-color: rgba(var(--accent-rgb, 88,101,242), 0.5);
box-shadow: 0 4px 16px rgba(var(--accent-rgb, 88,101,242), 0.22); }
.vd-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.vd-stat {
min-width: 96px; padding: 12px 16px; border-radius: 12px;
background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 2px;
}
.vd-stat-num { font-size: 20px; font-weight: 800; color: #fff; }
.vd-stat-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.6px; color: rgba(255,255,255,0.5); }
.vd-loading { padding: 40px 0; text-align: center; color: rgba(255,255,255,0.55); font-size: 14px; }
.vd-body { margin-top: 26px; }
.vd-section-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
color: rgba(255,255,255,0.4); margin: 0 4px 14px; }
/* Season poster cards (season = album) */
.vd-seasons {
display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px;
}
.vd-scard {
text-align: left; padding: 0; cursor: pointer; border-radius: 14px; overflow: hidden;
background: rgba(18,18,22,1); border: 1px solid rgba(255,255,255,0.07);
box-shadow: 0 4px 16px rgba(0,0,0,0.3);
transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.vd-scard:hover { transform: translateY(-5px) scale(1.02); border-color: rgba(var(--accent-rgb, 88,101,242), 0.28);
box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 24px rgba(var(--accent-rgb, 88,101,242), 0.14); }
.vd-scard--active { border-color: rgba(var(--accent-rgb, 88,101,242), 0.65);
box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 26px rgba(var(--accent-rgb, 88,101,242), 0.3); }
.vd-scard-art { position: relative; aspect-ratio: 2 / 3; overflow: hidden;
background: linear-gradient(135deg, rgba(var(--accent-rgb, 88,101,242), 0.18), rgba(var(--accent-rgb, 88,101,242), 0.06)); }
.vd-scard-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vd-scard-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 40px; opacity: 0.35; }
.vd-scard-grad { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10,10,14,0.85) 100%); }
.vd-scard-pct { position: absolute; top: 8px; right: 8px; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 800;
color: #fff; background: rgba(0,0,0,0.55); backdrop-filter: blur(4px); }
.vd-scard-info { padding: 11px 13px 13px; display: flex; flex-direction: column; gap: 5px; }
.vd-scard-name { font-size: 14px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vd-scard-sub { font-size: 11.5px; color: rgba(255,255,255,0.55); }
.vd-scard-bar { height: 5px; border-radius: 999px; background: rgba(255,255,255,0.1); overflow: hidden; }
.vd-scard-bar-fill { display: block; height: 100%; border-radius: 999px;
background: linear-gradient(90deg, rgba(var(--accent-rgb, 88,101,242), 0.95), rgba(var(--accent-rgb, 88,101,242), 0.5)); }
/* Episodes panel (selected season) */
.vd-episodes { margin-top: 26px; }
.vd-ep-head { display: flex; align-items: baseline; gap: 12px; padding: 0 4px 12px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 8px; }
.vd-ep-head-name { font-size: 17px; font-weight: 700; color: #fff; }
.vd-ep-head-meta { font-size: 12.5px; color: rgba(255,255,255,0.5); }
.vd-ep-list { display: flex; flex-direction: column; }
.vd-ep { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 14px;
padding: 12px; border-radius: 10px; transition: background 0.15s ease; }
.vd-ep:hover { background: rgba(255,255,255,0.04); }
.vd-ep-num { font-size: 13px; font-weight: 800; color: rgba(255,255,255,0.4); text-align: center; }
.vd-ep-body { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.vd-ep-title { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.95); }
.vd-ep-overview { font-size: 12.5px; color: rgba(255,255,255,0.55); line-height: 1.45;
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vd-ep-meta { font-size: 11.5px; color: rgba(255,255,255,0.42); }
.vd-ep-state { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.vd-ep--owned .vd-ep-state { color: #4ade80; background: rgba(74,222,128,0.12); border: 1px solid rgba(74,222,128,0.3); }
.vd-ep--missing .vd-ep-state { color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
.vd-ep--missing .vd-ep-num, .vd-ep--missing .vd-ep-title { opacity: 0.72; }
.video-card--clickable { cursor: pointer; }