/* Vidora main stylesheet. Plain CSS, no framework. */

/* ---------- Tokens ---------- */
:root {
	--accent: #408bea;
	--wrap: 1200px;
	--radius: 3px;
	--gap: 16px;
	--hh: 70px; /* header height */
	--side: 360px; /* sidebar width */
	--pad: 30px; /* inner page padding */
	--font: Roboto, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
body { --star: #ffc107; --quality: #cd2026; }
.vd-dark {
	--outer: #000;
	--bg: #151618;
	--box: #0c0c0d;
	--box2: rgba(255, 255, 255, .08);
	--row: rgba(0, 0, 0, .3);
	--row-h: #000;
	--on: rgba(255, 255, 255, .1);
	--line: rgba(255, 255, 255, .08);
	--text: #fff;
	--body: rgba(255, 255, 255, .6);
	--muted: rgba(255, 255, 255, .5);
	--thumb: #000;
	--num: #000;
	--num-text: #fff;
	--head: rgba(15, 15, 15, .9);
	--head-text: rgba(255, 255, 255, .8);
	--head-box: rgba(255, 255, 255, .1);
	--head-line: #000;
	--shadow: 0 15px 20px -7px rgba(0, 0, 0, .6);
}
.vd-light, .vd-fusion {
	--outer: #f5f7fa;
	--bg: #fff;
	--box: #fff;
	--box2: #f5f7fa;
	--row: #f8f9fb;
	--row-h: #eceff5;
	--on: #eceff5;
	--line: #eceff5;
	--text: #222d34;
	--body: #4c5765;
	--muted: #757a7d;
	--thumb: #eceff5;
	--num: #dadde4;
	--num-text: #47607b;
	--head: #fff;
	--head-text: #222d34;
	--head-box: #f5f7fa;
	--head-line: #eceff5;
	--shadow: 0 5px 10px rgba(0, 0, 0, .12);
}
/* Fusion: light pages under a black header bar. */
.vd-fusion {
	--head: #000;
	--head-text: rgba(255, 255, 255, .8);
	--head-box: rgba(255, 255, 255, .1);
	--head-line: #000;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 14px); }
/* Native scrollbars and form controls follow the style. */
html:has(body.vd-dark) { color-scheme: dark; }
body {
	margin: 0;
	background: var(--outer);
	color: var(--body);
	font: 14px/1.5 var(--font);
	-webkit-font-smoothing: antialiased;
}
.admin-bar { --abar: 32px; }
img, video, iframe { max-width: 100%; }
img { height: auto; border: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--text); line-height: 1.3; font-weight: 500; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.vd-skip:focus {
	clip: auto; width: auto; height: auto; z-index: 999; top: 8px; left: 8px;
	padding: 8px 14px; background: var(--accent); color: #fff; border-radius: var(--radius);
}
.vd-i { width: 1em; height: 1em; flex: none; vertical-align: -.125em; }
.vd-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap); }
/* Two containers: the page (--outer) and, on top of it, the main container (--bg). */
.vd-main { min-height: 60vh; max-width: var(--wrap); margin: 0 auto; background: var(--bg); }

/* ---------- Buttons ---------- */
.vd-btn, .vd-more {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 7px 14px; border: 0; border-radius: var(--radius);
	background: var(--accent); color: #fff; font-size: 13px; font-weight: 500; line-height: 1.4;
}
.vd-btn:hover, .vd-more:hover { color: #fff; filter: brightness(1.1); }
.vd-btn--ghost { background: var(--box2); color: var(--text); }
.vd-btn--ghost:hover { color: var(--accent); filter: none; }
.vd-more { padding: 3px 8px; font-size: 10px; font-weight: 400; letter-spacing: .2px; text-transform: uppercase; }

/* ---------- Header ---------- */
.vd-header {
	position: sticky; top: var(--abar, 0); z-index: 50;
	background: var(--head); color: var(--head-text);
	border-bottom: 1px solid var(--head-line);
	box-shadow: 0 1px 5px rgba(0, 0, 0, .15);
}
/* Desktop only: a blurred backdrop would trap the fixed mobile menu inside the header. */
@media (min-width: 992px) {
	.vd-header { -webkit-backdrop-filter: saturate(180%) blur(10px); backdrop-filter: saturate(180%) blur(10px); }
}
.vd-hbar { display: flex; align-items: center; gap: 16px; height: var(--hh); }
.vd-logo { margin: 0; font-size: 22px; line-height: 1; flex: none; }
.vd-logo img { display: block; height: 32px; width: auto; }
.vd-logo-text { font-weight: 700; letter-spacing: -.3px; color: var(--head-text); }
.vd-logo-text::first-letter { color: var(--accent); }
.vd-ib {
	display: none; align-items: center; justify-content: center;
	width: 40px; height: 40px; padding: 0; border: 0; border-radius: var(--radius);
	background: transparent; font-size: 22px;
}
.vd-ib:hover { background: var(--head-box); }

/* Top-level links fill the whole bar height and only change colour. */
.vd-nav { flex: 1; min-width: 0; }
.vd-menu, .vd-menu ul { list-style: none; margin: 0; padding: 0; }
.vd-menu { display: flex; align-items: center; }
.vd-menu li { position: relative; }
.vd-menu a { display: block; white-space: nowrap; }
.vd-menu > li > a { padding: calc((var(--hh) - 20px) / 2) 16px; font-size: 15px; font-weight: 400; line-height: 20px; }
.vd-menu > li:hover > a, .vd-menu > .current-menu-item > a { color: var(--head-hover, var(--accent)); }
.vd-menu .menu-item-has-children > a::after {
	content: ""; display: inline-block; margin-left: 8px; vertical-align: 2px;
	border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0;
}
.vd-menu ul {
	position: absolute; top: 100%; left: 0; z-index: 60; min-width: 200px; padding: 0;
	background: var(--box); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transition: opacity .12s;
}
.vd-menu ul ul { top: 0; left: 100%; }
.vd-menu li:hover > ul, .vd-menu li:focus-within > ul { opacity: 1; visibility: visible; }
.vd-menu ul a { padding: 11px 20px; font-size: 14px; line-height: 16px; }
.vd-menu ul a::before {
	content: ""; display: inline-block; margin-right: 10px; vertical-align: 1px;
	border: 4px solid transparent; border-left-color: currentColor; border-right: 0;
}
.vd-menu ul a:hover { background: var(--row); }

.vd-search { position: relative; flex: 0 1 260px; display: flex; }
.vd-search input {
	width: 100%; height: 40px; padding: 0 40px 0 15px; font-weight: 300;
	background: var(--head-box); border: 0; color: var(--head-text); border-radius: var(--radius); outline: 0;
}
.vd-search input:focus { box-shadow: inset 0 0 0 1px var(--accent); }
.vd-search button {
	position: absolute; right: 4px; top: 4px; width: 32px; height: 32px; padding: 0;
	border: 0; background: transparent; font-size: 15px; color: var(--head-text);
}
.vd-search button:hover { color: var(--accent); }
.vd-live {
	position: absolute; top: calc(100% + 8px); right: 0; z-index: 70; width: 340px; max-width: 92vw;
	background: var(--box); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.vd-live a { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.vd-live a:hover, .vd-live a.is-active { background: var(--box2); }
.vd-live img { width: 36px; height: 54px; object-fit: cover; border-radius: 3px; background: var(--box2); }
.vd-live b { display: block; font-weight: 600; line-height: 1.3; }
.vd-live small { color: var(--muted); }
.vd-live .vd-live-all { justify-content: center; color: var(--accent); font-weight: 600; border: 0; }
.vd-live .vd-live-none { padding: 12px; color: var(--muted); text-align: center; }

/* ---------- Layout ---------- */
.vd-layout { display: grid; grid-template-columns: minmax(0, 1fr) var(--side); }
.vd-wrap.vd-layout { padding: 0; }
.vd-layout--left { grid-template-columns: var(--side) minmax(0, 1fr); }
.vd-layout--left .vd-sidebar { order: -1; border-right: 1px solid var(--line); border-left: 0; }
.vd-layout--full { grid-template-columns: minmax(0, 1fr); }
.vd-content { min-width: 0; padding: 20px var(--pad) 30px; }
.vd-sidebar { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 25px; padding: 30px; border-left: 1px solid var(--line); }
/* Page sections are flat: a heading and a rule, no card around them. */
.vd-box { margin: 0; padding: 25px 0; border-bottom: 1px solid var(--line); }
.vd-box:last-child { border-bottom: 0; }
.vd-box-t { margin: 0 0 15px; font-size: 18px; font-weight: 500; }
.vd-ad { margin: 0 0 var(--gap); text-align: center; overflow: hidden; }
.vd-ad--header { margin-top: var(--gap); }
/* Last thing in the main container: padding, so no outer colour shows above the footer. */
.vd-ad--footer { margin-bottom: 0; padding-bottom: var(--gap); }

/* Single pages: full-bleed header and player, then sections with their own padding and a heavier rule. */
.vd-content.vd-single { padding: 0; }
.vd-single > .vd-box { padding: 25px var(--pad); border-bottom: 3px solid var(--line); }
.vd-single > .vd-box:last-child { border-bottom: 0; }
.vd-single > .vd-bc { margin: 14px var(--pad); }
.vd-single > .vd-ad, .vd-single > .vd-share { margin: 20px var(--pad); }

/* ---------- Breadcrumbs ---------- */
.vd-bc { margin-bottom: 12px; color: var(--muted); font-size: 12px; }
.vd-bc ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.vd-bc li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.vd-bc a:hover { color: var(--accent); }

/* ---------- Modules ---------- */
.vd-module { margin-bottom: 25px; padding-bottom: 5px; border-bottom: 1px solid var(--line); }
.vd-module:last-child { margin-bottom: 0; border-bottom: 0; }
.vd-mh { display: flex; align-items: center; gap: 10px; padding: 15px 0; }
.vd-mh-t { margin: 0; font-size: 20px; font-weight: 500; line-height: 20px; flex: 1; min-width: 0; }
.vd-arrows { display: flex; gap: 6px; }
.vd-arrows button {
	display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; padding: 0;
	border: 0; background: none; color: var(--muted); font-size: 21px;
}
.vd-arrows button:hover { color: var(--accent); }
.vd-arrows button:disabled { opacity: .3; cursor: default; }
.vd-arrows[hidden] { display: none; }

/* --n = posters per row, from Vidora > Customize > Poster grid */
.vd-items { --n: var(--cols, 5); --ig: 20px; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: var(--ig); }
.vd-items--episodes { --n: 3; }
.vd-layout--full .vd-items--episodes { --n: 4; }
.vd-slides { --n: 2; }
.vd-items.is-carousel {
	display: grid; grid-auto-flow: column; grid-template-columns: none;
	grid-auto-columns: calc((100% - var(--ig) * (var(--n) - 1)) / var(--n));
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.vd-items.is-carousel::-webkit-scrollbar { display: none; }
.vd-items.is-carousel > * { scroll-snap-align: start; }
/* Mouse users can drag the rows; the script adds .is-drag while dragging. */
@media (hover: hover) and (pointer: fine) {
	.is-carousel { cursor: grab; }
}
.is-carousel.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.is-carousel.is-drag * { cursor: grabbing; }

/* ---------- Cards ---------- */
.vd-card { min-width: 0; padding-bottom: 10px; }
.vd-poster { position: relative; display: block; overflow: hidden; aspect-ratio: 5 / 7; background: var(--thumb); }
.vd-card--wide .vd-poster { aspect-ratio: 100 / 55; }
.vd-poster img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease-in-out, filter .2s ease-in-out; }
/* On hover the poster dims and blurs behind the play icon, and the score slides in from the corner. */
.vd-poster:hover img, .vd-poster:focus-visible img { transform: scale(1.2); filter: blur(2px) brightness(.3); }
.vd-badge-rate {
	position: absolute; right: 0; bottom: 0; display: inline-flex; align-items: center; gap: 5px;
	padding: 3px 8px; background: rgba(255, 255, 255, .2); color: #fff; font-size: 12px; font-weight: 300; line-height: 18px;
	text-shadow: 1px 0 #000; transform: translateY(100%); transition: transform .2s;
}
.vd-poster:hover .vd-badge-rate, .vd-poster:focus-visible .vd-badge-rate { transform: none; }
@media (hover: none) { .vd-badge-rate { transform: none; } }
.vd-star .vd-i { color: var(--star); }
.vd-badge-q {
	position: absolute; left: 5px; top: 5px; padding: 5px 8px; border-radius: var(--radius);
	background: var(--quality); color: #fff; font-size: 12px; font-weight: 600; line-height: 1;
}
.vd-hover {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	color: #fff; font-size: 40px; opacity: 0; transform: scale(1.35); transition: opacity .35s ease-in-out, transform .35s ease-in-out;
}
.vd-poster:hover .vd-hover, .vd-poster:focus-visible .vd-hover { opacity: 1; transform: none; }
.vd-card-t { margin: 15px 0 1px; font-size: 14px; font-weight: 500; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vd-card-t a:hover { color: var(--accent); }
.vd-card-m { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Featured slider */
.vd-slide a { position: relative; display: block; overflow: hidden; aspect-ratio: 100 / 53; background: #000; color: #fff; }
.vd-slide img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.vd-slide a:hover img { transform: scale(1.05); }
.vd-slide-d {
	position: absolute; inset: auto 0 0; padding: 40px 14px 14px;
	background: linear-gradient(transparent, #000);
}
.vd-slide-t { margin: 0; color: #fff; font-size: 17px; font-weight: 400; line-height: 30px; text-shadow: 0 0 10px #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vd-slide-m { display: flex; gap: 10px; font-size: 13px; text-shadow: 0 0 10px #000; }
.vd-star { display: inline-flex; align-items: center; gap: 3px; font-weight: 500; }

/* ---------- Archive header ---------- */
.vd-ah { display: flex; align-items: baseline; gap: 12px; padding: 15px 0; }
.vd-ah-t { margin: 0; font-size: 20px; font-weight: 500; line-height: 20px; flex: 1; }
.vd-ah-c { color: var(--muted); font-size: 12px; }
.vd-ah-d { margin-bottom: 14px; color: var(--muted); }

.vd-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 25px 0 0; }
.vd-pages .page-numbers {
	min-width: 40px; padding: 10px 16px; font-size: 13px; line-height: 18px; text-align: center;
	color: var(--text); background: var(--row); border: 1px solid var(--line); border-radius: var(--radius);
}
.vd-pages a.page-numbers:hover { background: var(--row-h); color: var(--accent); }
.vd-pages .current { background: var(--row-h); border-color: var(--row-h); color: var(--accent); font-weight: 500; }
.vd-pages .dots { background: none; border: 0; color: var(--muted); }

/* ---------- Player ---------- */
.vd-player { margin: 0; }
.vd-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.vd-screen-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.vd-play {
	position: absolute; top: 50%; left: 50%; z-index: 2; display: flex; align-items: center; justify-content: center;
	width: 70px; height: 70px; margin: -35px 0 0 -35px; padding: 0 0 0 5px;
	border: 0; border-radius: 50%; background: var(--accent); color: #fff; font-size: 30px; transition: transform .2s;
}
.vd-play:hover { transform: scale(1.08); }
.vd-frame { position: absolute; inset: 0; z-index: 3; display: none; }
.vd-player.is-playing .vd-frame { display: block; }
.vd-player.is-playing .vd-play, .vd-player.is-playing .vd-screen-bg { display: none; }
.vd-frame iframe, .vd-frame video { display: block; width: 100%; height: 100%; border: 0; background: #000; }
.vd-frame .vd-msg { display: flex; align-items: center; justify-content: center; height: 100%; color: #ccc; }
/* Sources: a plain list under the screen, one row per server. */
.vd-sources { display: grid; list-style: none; margin: 0; padding: 0; }
.vd-sources[hidden] { display: none; }
.vd-sources button {
	display: flex; align-items: center; gap: 15px; width: 100%; padding: 15px 20px;
	background: none; border: 0; border-bottom: 1px solid var(--line); font-weight: 500; line-height: 20px; text-align: left;
}
.vd-sources li:last-child button { border-bottom: 0; }
.vd-sources button:hover .vd-src-t { color: var(--accent); }
.vd-sources button.is-on { background: var(--on); }
.vd-src-n { min-width: 20px; color: var(--muted); font-size: 16px; font-weight: 400; text-align: center; }
.is-on .vd-src-n { color: var(--text); }
.vd-src-t { color: var(--text); font-weight: 600; }
.vd-src-s { color: var(--muted); font-size: 12px; }
.vd-src-l { margin-left: auto; padding: 0 5px; border: 1px solid currentColor; border-radius: var(--radius); color: var(--muted); font-size: 10px; font-weight: 600; }

/* ---------- Single ---------- */
.vd-sheader { display: flex; gap: 20px; padding: 25px var(--pad); border-bottom: 1px solid var(--line); }
.vd-sposter { position: relative; flex: none; align-self: flex-start; width: 140px; }
.vd-sposter img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: var(--thumb); }
.vd-sposter-q {
	position: absolute; top: 5px; left: 5px; padding: 5px 8px; border-radius: var(--radius);
	background: var(--quality); color: #fff; font-size: 12px; font-weight: 600; line-height: 1;
}
.vd-sdata { min-width: 0; flex: 1; }
.vd-sshow { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 6px; color: var(--accent); font-size: 13px; font-weight: 500; }
.vd-sshow .vd-i { font-size: 16px; }
.vd-stitle { margin: 0 0 5px; font-size: 30px; font-weight: 400; line-height: 34px; }
.vd-sorig { margin: 0 0 3px; color: var(--muted); font-size: 13px; }
.vd-ssub { margin: 0 0 5px; font-size: 16px; }
.vd-extra { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 15px; padding: 5px 0; font-size: 13px; line-height: 20px; }
.vd-rated { color: var(--text); font-weight: 600; }
.vd-epchip { padding: 0 8px; border-radius: var(--radius); background: var(--accent); color: #fff; font-size: 12px; font-weight: 500; }
/* Rating strip in the middle of the header, between hairlines. */
.vd-srating {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px;
	margin: 10px 0; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.vd-srating .vd-urate { order: -1; }
.vd-rates { display: flex; flex-wrap: wrap; gap: 14px; }
.vd-rate { display: inline-flex; gap: 6px; align-items: center; color: var(--text); font-size: 14px; font-weight: 500; }
.vd-rate b { padding: 2px 5px; border-radius: var(--radius); background: var(--on); color: var(--text); font-size: 10px; font-weight: 700; }
.vd-rate--imdb b { background: #f5c518; color: #000; }
/* Genres: plain words split by thin rules. */
.vd-genres { display: flex; flex-wrap: wrap; row-gap: 4px; padding: 5px 0; line-height: 16px; }
.vd-genres a { padding: 0 10px; border-left: 1px solid var(--line); color: var(--text); font-size: 13px; font-weight: 500; }
.vd-genres a:first-child { padding-left: 0; border-left: 0; }
.vd-genres a:hover { color: var(--accent); }
.vd-sactions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.vd-sactions .vd-lbtns { display: contents; }
.vd-sactions > .vd-btn { min-height: 36px; padding: 7px 15px; }
.vd-sactions .vd-btn .vd-i { font-size: 15px; }
.vd-sactions .vd-lbtn { min-height: 36px; padding-top: 6px; padding-bottom: 6px; }

/* Section menu: text links on a band, under a heavy rule. */
.vd-tabs {
	position: sticky; top: calc(var(--abar, 0px) + var(--hh)); z-index: 20; display: flex; align-items: center;
	padding: 12px calc(var(--pad) - 20px + 5px); overflow-x: auto; scrollbar-width: none;
	background: var(--bg); border-bottom: 3px solid var(--line);
}
.vd-tabs::-webkit-scrollbar { display: none; }
.vd-tabs a { padding: 10px 20px; border-radius: var(--radius); color: var(--muted); font-weight: 500; line-height: 16px; white-space: nowrap; }
.vd-tabs a:hover { color: var(--accent); }
.vd-tabs a.is-on { color: var(--text); }
.vd-tabs .vd-tab-trailer { display: inline-flex; align-items: center; gap: 7px; }
.vd-tabs .vd-tab-trailer .vd-i { font-size: 15px; }
.vd-views[hidden], .vd-pbar-v[hidden] { display: none; }
.vd-views { margin-left: auto; padding-right: 8px; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; white-space: nowrap; }

.vd-single .vd-box { scroll-margin-top: calc(var(--abar, 0px) + var(--hh) + 70px); }
.vd-text { word-wrap: break-word; line-height: 23px; }
.vd-text > :last-child { margin-bottom: 0; }
.vd-text p { margin-bottom: 15px; }
.vd-text a { color: var(--accent); }
/* Facts: label and value on one row, split by rules. */
.vd-facts { margin: 20px 0 0; }
.vd-facts div { display: flex; padding: 0 10px 15px; margin-bottom: 15px; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 20px; }
.vd-facts div:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.vd-facts dt { flex: none; width: 170px; color: var(--text); font-weight: 500; line-height: 26px; }
.vd-facts dd { line-height: 26px; }
.vd-facts dd { min-width: 0; margin: 0; }
.vd-facts dd strong { padding: 3px 10px; border-radius: var(--radius); background: var(--on); color: var(--text); font-weight: 500; }
.vd-facts dd small { margin-left: 4px; color: var(--muted); }
/* Linked values (networks, studios, years): small tags. */
.vd-facts dd:has(> a) { display: flex; flex-wrap: wrap; gap: 6px; }
.vd-facts dd > a {
	display: inline-block; padding: 3px 10px; border: 1px solid var(--line); border-radius: var(--radius);
	background: var(--box2); color: var(--text); font-size: 12px; font-weight: 500; line-height: 18px; transition: border-color .15s, color .15s;
}
.vd-facts dd > a:hover { border-color: var(--accent); color: var(--accent); }

/* Cast: a row of round photos with name and role, moved with the arrows. */
.vd-cast-h { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.vd-cast-h .vd-box-t { flex: 1; min-width: 0; margin: 0; }
.vd-cast .vd-arrows { gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.vd-cast .vd-arrows button { width: 40px; height: 34px; color: var(--text); font-size: 20px; }
.vd-cast .vd-arrows button + button { border-left: 1px solid var(--line); }
.vd-cast .vd-arrows button:not(:disabled):hover { background: var(--row); color: var(--accent); }
.vd-people {
	display: grid; grid-auto-flow: column; grid-auto-columns: 108px; gap: 14px;
	padding: 4px 0; /* room for the hover ring: the scrolling row clips anything outside it */
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.vd-people::-webkit-scrollbar { display: none; }
.vd-person { display: flex; flex-direction: column; align-items: center; min-width: 0; text-align: center; scroll-snap-align: start; }
.vd-person img {
	width: 96px; height: 96px; margin-bottom: 10px; border-radius: 50%; object-fit: cover; background: var(--thumb);
	transition: box-shadow .15s;
}
a.vd-person:hover img, a.vd-person:focus-visible img { box-shadow: 0 0 0 2px var(--accent); }
.vd-person-n, .vd-person-r { display: -webkit-box; max-width: 100%; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.vd-person-n { color: var(--text); font-size: 13px; font-weight: 600; line-height: 1.3; }
a.vd-person:hover .vd-person-n { color: var(--accent); }
.vd-person-r { margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.35; }

/* Seasons and episodes */
.vd-season { margin-bottom: 2px; }
.vd-season:last-child { margin-bottom: 0; }
.vd-season-h {
	display: flex; align-items: stretch; gap: 15px; width: 100%; min-height: 52px; padding: 0 15px 0 0;
	background: var(--row); border: 0; text-align: left; cursor: pointer;
}
.vd-season-h:hover .vd-season-t { color: var(--accent); }
.vd-season-n {
	display: flex; align-items: center; justify-content: center; width: 90px; flex: none;
	background: var(--num); color: var(--num-text); font-size: 21px; font-weight: 400;
}
.vd-season-t { align-self: center; flex: 1; color: var(--text); font-size: 15px; font-weight: 500; }
.vd-season-t i { margin-left: 10px; color: var(--muted); font-size: 12px; font-style: normal; font-weight: 300; }
.vd-season-c { align-self: center; color: var(--muted); font-size: 12px; }
.vd-season-h .vd-i { align-self: center; font-size: 22px; color: var(--muted); transition: transform .2s; }
.vd-season.is-open .vd-season-h .vd-i { transform: rotate(180deg); }
.vd-eps { display: none; list-style: none; margin: 0; padding: 0; }
.vd-season.is-open .vd-eps { display: block; }
.vd-eps li { border-bottom: 1px solid var(--line); }
.vd-eps li:last-child { border-bottom: 0; }
/* Episode row: number column, still, then title over date. */
.vd-eps a {
	display: grid; grid-template-columns: 80px 90px minmax(0, 1fr); grid-template-areas: "num img title" "num img date";
	align-items: center; column-gap: 15px; padding: 5px 0;
}
.vd-eps .is-current a { background: var(--on); }
.vd-eps a:hover .vd-ep-t, .vd-eps .is-current .vd-ep-t { color: var(--accent); }
.vd-eps img { grid-area: img; width: 90px; aspect-ratio: 16 / 9; object-fit: cover; background: var(--box2); }
.vd-ep-n { grid-area: num; padding: 9px 0; border-right: 1px solid var(--line); color: var(--text); font-size: 12px; font-weight: 600; text-align: center; white-space: nowrap; }
.vd-ep-t { grid-area: title; align-self: end; color: var(--text); font-weight: 400; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vd-ep-d { grid-area: date; align-self: start; color: var(--muted); font-size: 12px; font-weight: 300; white-space: nowrap; }

/* Previous / all / next: one full-width strip, split by thin rules. */
.vd-epnav { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); margin: 0; background: var(--row); border-bottom: 3px solid var(--line); }
.vd-epnav a {
	display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px var(--pad);
}
.vd-epnav a:hover { background: var(--row-h); }
.vd-epnav .vd-i { flex: none; font-size: 22px; color: var(--accent); }
.vd-epnav span { min-width: 0; }
.vd-epnav small { display: block; color: var(--muted); font-size: 11px; font-weight: 500; }
.vd-epnav b { display: block; overflow: hidden; color: var(--text); font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.vd-epnav-next { flex-direction: row-reverse; text-align: right; }
.vd-epnav .vd-epnav-all { flex-direction: column; justify-content: center; gap: 2px; padding: 10px 28px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); color: var(--text); font-size: 12px; font-weight: 500; }
.vd-epnav .is-none { visibility: hidden; }



@media (max-width: 600px) {
	/* Poster and title side by side; ratings, genres and buttons full width below */
	.vd-sheader { display: grid; grid-template-columns: 108px minmax(0, 1fr); grid-template-rows: repeat(5, auto) 1fr; gap: 0 14px; padding: 15px; }
	.vd-sdata, .vd-srating { display: contents; }
	.vd-sposter { grid-column: 1; grid-row: 1 / span 6; width: 108px; margin-bottom: 12px; }
	.vd-sshow, .vd-stitle, .vd-sorig, .vd-ssub, .vd-extra, .vd-rates { grid-column: 2; }
	.vd-rates { align-self: start; margin: 6px 0 12px; }
	.vd-genres, .vd-sactions { grid-column: 1 / -1; }
	.vd-stitle { font-size: 21px; line-height: 26px; }
	.vd-ssub { margin-bottom: 0; font-size: 13px; }
	.vd-extra { gap: 2px 12px; padding: 4px 0 0; font-size: 12px; }
	.vd-sactions { margin-top: 12px; }
	.vd-sactions > .vd-btn, .vd-sactions .vd-lbtn { flex: 1 1 auto; justify-content: center; }
	.vd-sactions > .vd-sact-play { flex-basis: 100%; }
	.vd-tabs { padding: 8px 5px; }
	.vd-tabs a { padding: 8px 12px; }
	.vd-facts div { padding: 0 0 12px; margin-bottom: 12px; }
	.vd-facts dt { width: 120px; }
	.vd-people { grid-auto-columns: 88px; gap: 10px; }
	.vd-person img { width: 76px; height: 76px; }
	.vd-person-n { font-size: 12px; }
	.vd-person-r { font-size: 11px; }
	.vd-season-n { width: 56px; font-size: 18px; }
	.vd-season-h { gap: 12px; padding-right: 10px; }
	.vd-season-t i { display: block; margin-left: 0; }
	.vd-eps a { grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "img num" "img title"; column-gap: 10px; }
	.vd-eps img { width: 96px; }
	.vd-ep-n { align-self: end; padding: 0; border-right: 0; color: var(--muted); font-weight: 500; text-align: left; }
	.vd-ep-t { align-self: start; }
	.vd-epnav { grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr); }
	.vd-epnav a { gap: 8px; padding: 10px 12px; }
	.vd-epnav .vd-epnav-all { padding: 8px; }
	.vd-epnav-all span { display: none; }
	.vd-epnav b { font-size: 13px; }
}

/* Links */
.vd-table-wrap { overflow-x: auto; }
.vd-links { width: 100%; border-collapse: collapse; }
.vd-links th, .vd-links td { padding: 15px 10px; font-size: 13px; line-height: 20px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.vd-links th { padding-top: 10px; border-bottom-width: 3px; color: var(--text); font-size: 14px; font-weight: 700; }
.vd-links tbody tr:hover td { background: var(--row); }
.vd-links tbody tr:last-child td { border-bottom: 0; }
.vd-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 400; }
.vd-links small { color: var(--muted); font-weight: 400; }

/* Share */
.vd-share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: var(--gap); }
.vd-share span { margin-right: 4px; color: var(--muted); font-weight: 600; }
.vd-share a { padding: 5px 15px; border-radius: var(--radius); color: #fff; font-size: 12px; }
.vd-share a:hover { color: #fff; filter: brightness(1.12); }
.vd-share-facebook { background: #1877f2; }
.vd-share-x { background: #000; }
.vd-share-whatsapp { background: #25d366; }
.vd-share-telegram { background: #229ed9; }

/* Blog post */
.vd-post-m { color: var(--muted); font-size: 13px; }
.vd-post-m a { color: var(--accent); }
.vd-post-img { margin: 0 0 16px; }
.vd-post-img img { display: block; width: 100%; border-radius: var(--radius); }
.vd-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 3px 10px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 12px; }

/* Comments */
.vd-clist, .vd-clist .children { list-style: none; margin: 0; padding: 0; }
.vd-clist .children { margin-left: 30px; }
.vd-clist .comment-body { margin-bottom: 12px; padding: 12px; background: var(--box2); border-radius: var(--radius); }
.vd-clist .comment-author { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.vd-clist .avatar { border-radius: 50%; }
.vd-clist .says { display: none; }
.vd-clist .comment-metadata { font-size: 12px; color: var(--muted); }
.vd-clist .reply a { font-size: 12px; color: var(--accent); }
.comment-form label { display: block; margin-bottom: 4px; font-weight: 600; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea, .vd-sform input {
	width: 100%; padding: 9px 12px; background: var(--box2); border: 1px solid var(--line); border-radius: var(--radius); outline: 0;
}
.comment-form textarea:focus, .comment-form input:focus, .vd-sform input:focus { border-color: var(--accent); }
.comment-form .form-submit { margin-bottom: 0; }
.comment-form-cookies-consent { display: flex; gap: 6px; align-items: center; }
.comment-form-cookies-consent label { display: inline; font-weight: 400; margin: 0; }

.vd-sform { display: flex; gap: 8px; }
.vd-empty, .vd-404 { text-align: center; }
.vd-404 .vd-sform { max-width: 420px; margin: 0 auto; }
.vd-404-n { margin: 0; font-size: 80px; font-weight: 800; line-height: 1; color: var(--accent); }

/* Top rated page and home module: ranked columns */
.vd-top-cols { display: grid; gap: var(--gap); align-items: start; }
.vd-top-cols.is-two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.vd-top-col { margin: 0; min-width: 0; }
.vd-top-cols .vd-wi:not(.is-card) .vd-wi-n {
	position: static; flex: none; min-width: 40px; margin-left: 4px; background: none; color: transparent;
	font-size: 24px; font-weight: 900; line-height: 1; -webkit-text-stroke: 1.5px var(--muted);
}
.vd-top-cols .vd-wi:nth-child(2) .vd-wi-n, .vd-top-cols .vd-wi:nth-child(3) .vd-wi-n { -webkit-text-stroke-color: var(--accent) !important; }
.vd-top-cols .vd-wi.is-card .vd-wi-d b { font-size: 18px; }

/* ---------- Widgets ---------- */
.vd-widget { min-width: 0; }
.vd-widget ul { list-style: none; margin: 0; padding: 0; }
.vd-widget-t { display: flex; align-items: center; gap: 8px; min-height: 26px; margin: 0 0 15px; color: var(--text); font-size: 17px; font-weight: 400; line-height: 1.25; }
.vd-wtoggle { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 26px; height: 26px; margin-left: auto; padding: 0; background: none; border: 0; border-radius: var(--radius); color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.vd-wtoggle:hover { background: var(--box2); color: var(--accent); }
.vd-wtoggle .vd-i { transition: transform .2s; }
.vd-widget.is-closed .vd-wtoggle .vd-i { transform: rotate(-90deg); }
.vd-widget.is-closed .vd-widget-t { margin-bottom: 0; }
.vd-widget.is-closed > :not(.vd-widget-t) { display: none; }

/* Long lists scroll inside the widget */
.is-scroll { overflow-y: auto; padding-right: 4px; }

/* Slim scrollbars, no arrows: widget lists. Hidden until hover or keyboard focus; the space stays reserved so nothing shifts. */
@supports not selector(::-webkit-scrollbar) {
	.is-scroll { scrollbar-color: transparent transparent; scrollbar-width: thin; }
	.is-scroll:hover, .is-scroll:focus-within { scrollbar-color: var(--muted) transparent; }
}
.is-scroll::-webkit-scrollbar { width: 5px; height: 5px; }
.is-scroll::-webkit-scrollbar-thumb { border-radius: 5px; background: transparent; }
.is-scroll:hover::-webkit-scrollbar-thumb, .is-scroll:focus-within::-webkit-scrollbar-thumb { background: var(--muted); }

/* Titles: a 90px row with the poster flush left. */
.vd-wlist { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.vd-wi a { position: relative; display: flex; align-items: center; gap: 10px; min-height: 90px; overflow: hidden; background: var(--row); transition: background .15s; }
.vd-wi a:hover { background: var(--row-h); }
.vd-wi img { flex: none; align-self: stretch; width: 80px; height: auto; min-height: 90px; object-fit: cover; background: var(--box2); }
.vd-wi.is-wide img { width: 104px; }
.vd-wi-n { position: absolute; z-index: 1; top: 0; left: 0; min-width: 20px; padding: 0 5px; background: var(--accent); color: #fff; font-size: 11px; font-style: normal; font-weight: 600; line-height: 20px; text-align: center; }
.vd-wi-d { display: block; flex: 1; min-width: 0; padding: 8px 10px 8px 0; }
.vd-wi-d b { display: -webkit-box; overflow: hidden; color: var(--text); font-size: 13px; font-weight: 500; line-height: 18px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.vd-wi-m { display: flex; align-items: center; gap: 8px; margin-top: 7px; color: var(--muted); font-size: 13px; }
.vd-wi-m small { min-width: 0; overflow: hidden; font-size: inherit; text-overflow: ellipsis; white-space: nowrap; }
.vd-wi-r { display: inline-flex; flex: none; align-items: center; gap: 4px; padding: 3px 7px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); font-size: 13px; font-style: normal; font-weight: 400; line-height: 16px; }
.vd-wi-r .vd-i { width: 12px; height: 12px; color: var(--muted); }

/* Titles: backdrop cards */
.vd-wi.is-card a { display: block; min-height: 0; background: #000; color: #fff; }
.vd-wi.is-card a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .35) 50%, rgba(0, 0, 0, 0) 100%); pointer-events: none; }
.vd-wi.is-card img, .vd-wi.is-card a:hover img { display: block; width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; transition: transform .35s; }
.vd-wi.is-card a:hover img { transform: scale(1.05); }
.vd-wi.is-card .vd-wi-n { top: 8px; left: 8px; width: 28px; height: 28px; min-width: 0; padding: 0; border-radius: var(--radius); font-size: 15px; line-height: 28px; }
.vd-wi-q { position: absolute; z-index: 1; top: 8px; right: 8px; padding: 2px 7px; border-radius: var(--radius); background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; }
.vd-wi.is-card .vd-wi-d { position: absolute; z-index: 1; left: 10px; right: 10px; bottom: 9px; padding: 0; }
.vd-wi.is-card .vd-wi-d b { color: #fff; font-size: 15px; font-weight: 700; }
.vd-wi.is-card .vd-wi-m { margin-top: 5px; color: rgba(255, 255, 255, .8); }
.vd-wi.is-card .vd-wi-r { border-color: rgba(255, 255, 255, .4); color: #fff; }

/* Genres: one list, a coloured ring for each genre, the count on the right */
.vd-wgenres.is-scroll { max-height: 282px; }
.vd-wgenres li + li { border-top: 1px solid var(--line); }
.vd-wgenres a { display: flex; align-items: center; gap: 12px; padding: 9px 8px; font-size: 13px; font-weight: 500; transition: background .15s, padding .15s; }
.vd-wgenres a::before { content: ""; flex: none; width: 9px; height: 9px; border: 2px solid hsl(var(--h, 210) 70% 58%); border-radius: 50%; transition: background .15s; }
.vd-wgenres b { flex: 1; min-width: 0; font-weight: inherit; }
.vd-wgenres i { flex: none; color: var(--muted); font-size: 12px; font-style: normal; font-variant-numeric: tabular-nums; }
.vd-wgenres a:hover, .vd-wgenres .is-on a { padding-left: 12px; background: var(--box2); }
.vd-wgenres a:hover::before, .vd-wgenres .is-on a::before { background: hsl(var(--h, 210) 70% 58%); }
.vd-wgenres .is-on b { font-weight: 700; }

/* Release years: three columns */
.vd-wyears { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.vd-wyears.is-scroll { max-height: 192px; }
.vd-wyears a { display: block; padding: 8px 0; border-radius: var(--radius); background: var(--box2); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; text-align: center; transition: background .15s, color .15s; }
.vd-wyears a:hover, .vd-wyears .is-on a { background: var(--accent); color: #fff; }

/* Other lists (quality, networks, studios): chips */
.vd-wterms { display: flex; flex-wrap: wrap; gap: 6px; }
.vd-wterms.is-scroll { max-height: 192px; }
.vd-wterms a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--radius); background: var(--box2); font-size: 13px; font-weight: 600; }
.vd-wterms a:hover, .vd-wterms .is-on a { background: var(--accent); color: #fff; }
.vd-wterms i { color: var(--muted); font-size: 11px; font-style: normal; }
.vd-wterms a:hover i, .vd-wterms .is-on i { color: inherit; }
.vd-widget:not(.vidora_content):not(.vidora_terms):not(.vidora_related) li { padding: 4px 0; }

/* ---------- Footer ---------- */
/* Part of the main container: same width, same colour. */
.vd-footer { max-width: var(--wrap); margin: 0 auto; background: var(--bg); border-top: 1px solid var(--line); font-size: 13px; }
.vd-fbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 40px; padding-bottom: 40px; }
.vd-flogo { order: -2; font-size: 18px; color: var(--text); }
.vd-flogo img { max-height: 28px; width: auto; display: block; }
.vd-copy { order: -1; margin-right: auto; }
.vd-fmenu { display: flex; flex-wrap: wrap; row-gap: 6px; list-style: none; margin: 0; padding: 0; }
.vd-fmenu li { padding: 0 20px; border-left: 1px solid var(--line); line-height: 16px; }
.vd-fmenu li:first-child { border-left: 0; }
.vd-fmenu a { color: var(--text); font-weight: 500; }
.vd-fmenu a:hover, .vd-fmenu .current-menu-item a { color: var(--accent); }
.vd-top {
	display: flex; align-items: center; justify-content: center; width: 34px; height: 34px;
	border-radius: var(--radius); background: var(--box2); color: var(--text); font-size: 20px;
}

/* ---------- WordPress core classes ---------- */
.alignleft { float: left; margin: 0 16px 10px 0; }
.alignright { float: right; margin: 0 0 10px 16px; }
.aligncenter { display: block; margin: 0 auto 10px; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { color: var(--muted); font-size: 12px; }
.sticky, .bypostauthor { position: relative; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
	.vd-menu > li > a { padding-left: 11px; padding-right: 11px; font-size: 14px; }
}
@media (max-width: 1100px) {
	:root { --side: 300px; --pad: 20px; }
	.vd-sidebar { padding: 20px; }
}
@media (max-width: 991px) {
	:root { --hh: 56px; --pad: 15px; }
	.vd-layout, .vd-layout--left { grid-template-columns: minmax(0, 1fr); }
	.vd-sidebar, .vd-layout--left .vd-sidebar { order: 0; padding: 20px 15px 30px; border: 0; border-top: 3px solid var(--line); }
	.vd-hbar { gap: 8px; }
	.vd-ib { display: inline-flex; }
	.vd-logo { flex: 1; text-align: center; }
	.vd-logo img { margin: 0 auto; }
	.vd-nav {
		position: fixed; top: 57px; bottom: 0; left: 0; z-index: 80; width: 280px; max-width: 85vw;
		padding: 10px; overflow-y: auto; background: var(--box); border-right: 1px solid var(--line);
		transform: translateX(-100%); transition: transform .25s; visibility: hidden;
	}
	.admin-bar .vd-nav { top: 103px; }
	.vd-nav-open .vd-nav { transform: none; visibility: visible; box-shadow: var(--shadow); }
	.vd-menu { display: block; }
	.vd-menu > li > a { padding: 11px 10px; font-size: 15px; }
	.vd-menu ul { position: static; min-width: 0; padding: 0 0 0 12px; box-shadow: none; background: none; opacity: 1; visibility: visible; }
	.vd-search {
		position: absolute; top: var(--hh); left: 0; right: 0; display: none; flex: none;
		padding: 10px var(--gap); background: var(--head); border-bottom: 1px solid var(--head-line);
	}
	.vd-search-open .vd-search { display: flex; }
	.vd-search button { right: calc(var(--gap) + 4px); top: 14px; }
	.vd-live { left: var(--gap); right: var(--gap); width: auto; max-width: none; }
	.vd-items { --n: var(--cols-md, 4); }
	.vd-items--episodes { --n: 3; }
	.vd-slides { --n: 2; }
}
@media (max-width: 782px) {
	.admin-bar { --abar: 46px; }
}
@media (max-width: 600px) {
	.admin-bar { --abar: 0px; }
	.vd-items { --n: var(--cols-sm, 3); --ig: 10px; }
	.vd-items--episodes { --n: 2; }
	.vd-items.is-carousel { grid-auto-columns: calc((100% - var(--ig) * var(--n)) / (var(--n) + .3)); }
	.vd-items--episodes.is-carousel, .vd-slides.is-carousel { grid-auto-columns: 85%; }
	.vd-card-t { margin-top: 8px; font-size: 13px; }
	.vd-ep-d { display: none; }
	.vd-fbar { justify-content: center; padding-top: 25px; padding-bottom: 25px; text-align: center; }
	.vd-copy { margin-right: 0; width: 100%; }
	.vd-fmenu { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}

/* ---------- Header colors per style ---------- */
.vd-menu ul { color: var(--text); }
.vd-menu ul a:hover { color: var(--accent); }
.vd-search input::placeholder { color: var(--muted); }
.vd-live { color: var(--text); }
@media (max-width: 991px) {
	.vd-nav { color: var(--text); }
	.vd-menu > li:hover > a, .vd-menu > .current-menu-item > a { color: var(--accent); }
}

/* ---------- Poster hover icons ---------- */
.vd-icon-play2 .vd-hover .vd-i { padding: 10px; border-radius: var(--radius); background: var(--accent); font-size: 26px; width: 1.8em; height: 1.8em; }
.vd-icon-play3 .vd-hover .vd-i { padding: 12px; border: 3px solid #fff; border-radius: 50%; font-size: 22px; width: 2.2em; height: 2.2em; }
.vd-icon-play1 .vd-hover .vd-i { padding: 12px 10px 12px 14px; border-radius: 50%; background: var(--accent); font-size: 22px; width: 2.2em; height: 2.2em; }
.vd-icon-none .vd-hover { display: none; }

/* ---------- Main slider ---------- */
.vd-slider { position: relative; }
.vd-sl-btn {
	position: absolute; top: 50%; z-index: 3; display: flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; margin-top: -19px; padding: 0; border: 0; border-radius: 50%;
	background: rgba(0, 0, 0, .6); color: #fff; font-size: 22px; opacity: 0; transition: opacity .2s;
}
.vd-slider:hover .vd-sl-btn, .vd-sl-btn:focus-visible { opacity: 1; }
.vd-slider .vd-prev { left: 8px; }
.vd-slider .vd-next { right: 8px; }
.vd-module--slider { margin-bottom: 24px; }

/* ---------- Top IMDb module ---------- */

/* ---------- Blog module ---------- */
.vd-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.vd-pcard { overflow: hidden; background: var(--box); border: 1px solid var(--line); border-radius: var(--radius); }
.vd-pcard-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--box2); }
.vd-pcard-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vd-pcard-d { padding: 10px 12px 12px; }
.vd-pcard-d .vd-card-t { margin: 0; white-space: normal; }
.vd-pcard-d p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }

/* ---------- Home widget area ---------- */
.vd-hwidget .vd-wlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 16px; list-style: none; margin: 0; padding: 0; }
.vd-hwidget ul { list-style: none; margin: 0; padding: 0; }

/* ---------- Player bar, report ---------- */
.vd-bigplayer.vd-wrap { padding: 0; }
.vd-bigplayer .vd-screen { aspect-ratio: 21 / 9; }
/* Sources and the report button share a band under the screen. */
/* Under the screen: a title bar with views and Report on the right, then the servers. */
.vd-pbar { background: var(--row); border-bottom: 3px solid var(--line); }
.vd-pbar-h { display: flex; align-items: center; gap: 10px 16px; min-height: 64px; padding: 12px var(--pad); }
.vd-pbar-h + .vd-sources:not([hidden]) { border-top: 1px solid var(--line); }
.vd-pbar-t { flex: 1; min-width: 0; margin: 0; font-size: 18px; font-weight: 500; }
.vd-pbar-m { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.vd-pbar-v { color: var(--muted); font-size: 13px; font-weight: 500; white-space: nowrap; }
.vd-pbar .vd-sources { padding: 8px calc(var(--pad) - 20px); }
.vd-report-btn {
	display: inline-flex; align-items: center; gap: 6px; flex: none; margin: 0; padding: 5px 12px;
	background: none; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); font-size: 12px; font-weight: 500;
}
.vd-report-btn:hover, .vd-report-btn[aria-expanded="true"] { color: #e5534b; border-color: #e5534b; }
.vd-form { display: grid; gap: 10px; }
.vd-report { margin: 0 var(--pad) 20px; padding: 14px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.vd-form-t { margin: 0; font-weight: 600; }
.vd-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.vd-chips input { position: absolute; opacity: 0; }
.vd-chips span { display: inline-block; padding: 5px 12px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 12px; cursor: pointer; }
.vd-chips input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.vd-chips input:focus-visible + span { outline: 2px solid var(--accent); }
.vd-form textarea, .vd-form input[type="text"], .vd-form input[type="email"] {
	width: 100%; padding: 9px 12px; background: var(--box2); border: 1px solid var(--line); border-radius: var(--radius); outline: 0;
}
.vd-form textarea:focus, .vd-form input:focus { border-color: var(--accent); }
.vd-form .vd-btn { justify-self: start; }
.vd-form label span { display: block; margin-bottom: 4px; font-weight: 600; }
.vd-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vd-form-msg { font-weight: 600; }
.vd-form-msg.is-ok { color: #2ea043; }
.vd-form-msg.is-bad { color: #e5534b; }
.vd-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Link countdown page ---------- */
.vd-golink { max-width: 640px; margin: 20px auto; text-align: center; }
.vd-golink-img { display: block; width: 120px; margin: 0 auto 12px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--radius); }
.vd-golink-m { color: var(--muted); }
.vd-golink-box { margin: 20px 0; padding: 20px; background: var(--box2); border-radius: var(--radius); }
.vd-golink-count b { font-size: 22px; color: var(--accent); }
.vd-golink-btn { padding: 12px 28px; font-size: 15px; background: var(--links-btn, var(--accent)); }
.vd-golink-under { display: block; margin-top: 10px; color: var(--muted); }

/* ---------- Footer columns ---------- */
.vd-fcols { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 24px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.vd-fabout p { margin: 10px 0 0; max-width: 380px; }
.vd-fcol-t { margin: 0 0 10px; font-size: 13px; color: var(--text); text-transform: uppercase; letter-spacing: .4px; }
.vd-fcol-menu { list-style: none; margin: 0; padding: 0; }
.vd-fcol-menu li { padding: 3px 0; }

/* ---------- Cookies ---------- */
.vd-cookies {
	position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; display: flex; align-items: center; gap: 14px;
	max-width: 720px; margin: 0 auto; padding: 14px 16px; border-radius: var(--radius); box-shadow: var(--shadow); font-size: 13px;
}
.vd-cookies[hidden] { display: none; }
.vd-cookies p { flex: 1; margin: 0; }
.vd-cookies a { text-decoration: underline; color: inherit; }

/* ---------- Dynamic background ---------- */
body.vd-dynbg .vd-main { background: color-mix(in srgb, var(--bg) 88%, transparent); }
body.vd-dynbg { background-repeat: no-repeat; background-size: 100% auto; background-position: center top; background-attachment: fixed; }

@media (max-width: 991px) {
	.vd-fcols { grid-template-columns: 1fr 1fr; }
	.vd-fabout { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.vd-form-row { grid-template-columns: 1fr; }
	.vd-pbar-h { min-height: 52px; padding: 10px var(--pad); }
	.vd-pbar-t { font-size: 16px; }
	.vd-pbar-m { gap: 12px; }
	.vd-pbar .vd-sources { padding: 4px 0; }
	.vd-bigplayer { padding: 0; }
	.vd-bigplayer .vd-screen { aspect-ratio: 16 / 9; border-radius: 0; }
	.vd-cookies { flex-direction: column; align-items: stretch; text-align: center; }
	body.vd-dynbg { background-size: auto 60vh; }
}

/* ---------- Widgets: module and social ---------- */
.vd-items--widget { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.vd-items--widget .vd-card-t { font-size: 12px; }
.vd-social { display: flex; flex-wrap: wrap; gap: 6px; }
.vd-social a { padding: 6px 12px; border-radius: var(--radius); background: var(--box2); font-size: 12px; font-weight: 600; }
.vd-social a:hover { color: #fff; background: var(--accent); }
.vd-social-facebook:hover { background: #1877f2 !important; }
.vd-social-youtube:hover { background: #ff0000 !important; }
.vd-social-telegram:hover { background: #229ed9 !important; }
.vd-social-discord:hover { background: #5865f2 !important; }
.vd-social-instagram:hover { background: #d62976 !important; }
.vd-social-x:hover, .vd-social-tiktok:hover { background: #111 !important; }
.vd-form[hidden] { display: none; }

/* ---------- User accounts ---------- */
.vd-signin {
	display: inline-flex; align-items: center; gap: 6px; flex: none; height: 36px; padding: 0 14px;
	border: 1px solid var(--head-line); border-radius: var(--radius); background: var(--head-box); color: var(--head-text); font-weight: 600; cursor: pointer;
}
.vd-signin:hover { border-color: var(--accent); color: var(--accent); }
.vd-signin .vd-i { font-size: 17px; }
.vd-user { position: relative; flex: none; }
.vd-user summary { display: block; list-style: none; cursor: pointer; border-radius: 50%; }
.vd-user summary::-webkit-details-marker { display: none; }
.vd-avatar { display: block; width: 34px; height: 34px; border: 2px solid var(--head-line); border-radius: 50%; }
.vd-user[open] .vd-avatar, .vd-user summary:hover .vd-avatar { border-color: var(--accent); }
.vd-user-menu {
	position: absolute; top: calc(100% + 10px); right: 0; z-index: 90; width: 230px; padding: 6px;
	background: var(--box); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.vd-user-head { padding: 8px 10px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.vd-user-head strong, .vd-user-head small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vd-user-head small { color: var(--muted); }
.vd-user-menu a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius); color: var(--text); }
.vd-user-menu a:hover { background: var(--box2); color: var(--accent); }
.vd-user-menu .vd-i { color: var(--muted); font-size: 16px; }

.vd-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: var(--gap); }
.vd-modal[hidden] { display: none; }
.vd-modal-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .65); backdrop-filter: blur(3px); }
.vd-modal-box {
	position: relative; width: 100%; max-width: 400px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 28px;
	background: var(--box); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); animation: vd-pop .2s ease;
}
@keyframes vd-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.vd-modal-x { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 18px; cursor: pointer; }
.vd-modal-x:hover { background: var(--box2); color: var(--text); }
/* Trailer pop-up: a 16:9 video, close button above its corner. */
.vd-tmodal-box { position: relative; width: min(960px, 100%); animation: vd-pop .2s ease; }
.vd-tmodal-frame { aspect-ratio: 16 / 9; background: #000; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.vd-tmodal-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.vd-tmodal .vd-modal-x { top: -44px; right: 0; background: rgba(255, 255, 255, .12); color: #fff; }
.vd-tmodal .vd-modal-x:hover { background: rgba(255, 255, 255, .25); color: #fff; }
.vd-modal-open { overflow: hidden; }
.vd-auth-why { margin: 0 30px 14px 0; padding: 9px 12px; border-radius: var(--radius); background: var(--box2); border-left: 3px solid var(--accent); font-size: 13px; }
.vd-auth-why[hidden], .vd-auth-f[hidden] { display: none; }
.vd-auth-f { gap: 12px; }
.vd-auth-t { margin: 0 0 4px; font-size: 22px; }
.vd-auth-p { margin: 0; color: var(--muted); }
.vd-auth-f input[type="password"], .vd-uform input[type="password"] {
	width: 100%; padding: 9px 12px; background: var(--box2); border: 1px solid var(--line); border-radius: var(--radius); outline: 0;
}
.vd-auth-f .vd-btn { justify-self: stretch; justify-content: center; padding: 11px; font-size: 14px; }
.vd-form label small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.vd-form .vd-check { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.vd-auth-alt { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 0; font-size: 13px; color: var(--muted); }
.vd-auth-alt a { color: var(--accent); font-weight: 600; }
.vd-auth-page { max-width: 420px; margin: 30px auto; padding: 28px; }

.vd-lbtns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.vd-lbtn {
	display: inline-flex; align-items: center; gap: 7px; padding: 7px 8px 7px 12px; border: 1px solid var(--line); border-radius: var(--radius);
	background: var(--box2); color: var(--text); font-size: 13px; font-weight: 600; cursor: pointer; transition: .15s;
}
.vd-lbtn:hover { border-color: var(--accent); }
.vd-lbtn .vd-i { font-size: 16px; color: var(--muted); }
.vd-lbtn-n { min-width: 22px; padding: 1px 7px; border-radius: var(--radius); background: var(--box); color: var(--muted); font-size: 12px; text-align: center; }
.vd-lbtn--fav.is-on { border-color: #e5534b; background: rgba(229, 83, 75, .12); color: #e5534b; }
.vd-lbtn--fav.is-on .vd-i { color: #e5534b; }
.vd-lbtn--seen.is-on { border-color: #2ea043; background: rgba(46, 160, 67, .12); color: #2ea043; }
.vd-lbtn--seen.is-on .vd-i { color: #2ea043; }
.vd-lbtn:disabled { opacity: .6; cursor: progress; }

.vd-uhead {
	display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-bottom: var(--gap); padding: 24px;
	background: var(--row); border-radius: var(--radius);
}
.vd-uhead-av { width: 88px; height: 88px; border: 3px solid var(--accent); border-radius: 50%; }
.vd-uhead-d { flex: 1; min-width: 180px; }
.vd-uhead-n { margin: 0; font-size: 24px; }
.vd-uhead-m { margin: 4px 0 0; color: var(--muted); }
.vd-ustats { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.vd-ustats li { min-width: 86px; padding: 10px 14px; background: var(--box); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.vd-ustats b { display: block; font-size: 22px; line-height: 1.2; color: var(--accent); }
.vd-ustats span { color: var(--muted); font-size: 12px; }
.vd-uhead-out { display: inline-flex; align-items: center; gap: 6px; }
.vd-utabs { display: flex; gap: 4px; margin-bottom: var(--gap); padding: 4px; background: var(--box); border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
.vd-utabs a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: var(--radius); color: var(--muted); font-weight: 600; white-space: nowrap; }
.vd-utabs a:hover { color: var(--text); }
.vd-utabs a.is-on { background: var(--accent); color: #fff; }
.vd-upane[hidden], .vd-ulist[hidden], .vd-uempty[hidden], .vd-umore[hidden] { display: none; }
.vd-ucard { position: relative; transition: opacity .2s; }
.vd-ucard.is-going { opacity: .35; pointer-events: none; }
.vd-uremove {
	position: absolute; top: 6px; left: 6px; z-index: 3; display: flex; align-items: center; justify-content: center;
	width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .7); color: #fff; font-size: 14px;
	cursor: pointer; opacity: 0; transition: opacity .15s;
}
.vd-ucard:hover .vd-uremove, .vd-uremove:focus-visible { opacity: 1; }
.vd-uremove:hover { background: #e5534b; }
.vd-uempty { padding: 40px 16px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }
.vd-umore { display: flex; margin: 18px auto 0; }
.vd-uform { max-width: 640px; }
.vd-uform-h { margin: 8px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 700; }
.vd-uform-h small { font-weight: 400; color: var(--muted); }
.vd-uform-avatar { margin: 0; color: var(--muted); font-size: 13px; }
@media (hover: none) { .vd-uremove { opacity: 1; } }
@media (max-width: 991px) {
	.vd-signin { width: 40px; padding: 0; justify-content: center; border-radius: 50%; }
	.vd-signin span { display: none; }
}
@media (max-width: 600px) {
	.vd-uhead { padding: 18px; gap: 14px; }
	.vd-uhead-av { width: 64px; height: 64px; }
	.vd-ustats { width: 100%; }
	.vd-ustats li { flex: 1; min-width: 0; padding: 8px; }
	.vd-form-row { grid-template-columns: minmax(0, 1fr); }
	.vd-modal-box { padding: 22px 18px; }
}

/* ---------- Requests ---------- */
.vd-rhead {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: var(--gap); padding: 22px 24px;
	background: var(--row); border-radius: var(--radius);
}
.vd-rhead-t { margin: 0; font-size: 26px; }
.vd-rhead-t span { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: var(--radius); background: var(--accent); color: #fff; font-size: 14px; vertical-align: 4px; }
.vd-rhead-p { margin: 6px 0 0; color: var(--muted); }
.vd-rnew { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; font-size: 14px; }
.vd-rnew[aria-expanded="true"] { filter: brightness(.9); }
.vd-rfind[hidden], .vd-rmsg[hidden] { display: none; }
.vd-rfind { margin-bottom: var(--gap); animation: vd-pop .2s ease; }
.vd-rsearch { display: flex; flex-wrap: wrap; gap: 8px; }
.vd-rsearch input[type="search"] {
	flex: 1 1 240px; height: 42px; padding: 0 14px; background: var(--box2); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); font-size: 15px; outline: 0;
}
.vd-rsearch input[type="search"]:focus { border-color: var(--accent); }
.vd-rsearch .vd-btn { height: 42px; padding: 0 16px; font-size: 18px; }
.vd-rseg { display: inline-flex; padding: 3px; background: var(--box2); border: 1px solid var(--line); border-radius: var(--radius); }
.vd-rseg label { position: relative; }
.vd-rseg input { position: absolute; opacity: 0; }
.vd-rseg span { display: block; padding: 8px 14px; border-radius: var(--radius); color: var(--muted); font-weight: 600; cursor: pointer; }
.vd-rseg input:checked + span { background: var(--accent); color: #fff; }
.vd-rseg input:focus-visible + span { outline: 2px solid var(--accent); }
.vd-rmsg { margin: 12px 0 0; padding: 9px 12px; border-radius: var(--radius); background: var(--box2); font-weight: 600; }
.vd-rmsg.is-bad { color: #e5534b; }
.vd-rres { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-top: 12px; }
.vd-rres:empty { display: none; }
.vd-ritem { display: flex; gap: 12px; padding: 8px; background: var(--box2); border: 1px solid var(--line); border-radius: var(--radius); }
.vd-ritem img, .vd-ritem-noimg { flex: none; width: 60px; height: 90px; border-radius: var(--radius); object-fit: cover; background: var(--line); }
.vd-ritem > div { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.vd-ritem strong { line-height: 1.3; }
.vd-ritem small { color: var(--muted); }
.vd-rgo { margin-top: auto; padding: 6px 14px; font-size: 12px; }
.vd-rgo.is-have { background: #2ea043; }
.vd-rgo.is-done { padding: 6px 0; color: var(--muted); font-weight: 600; }
.vd-rbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-bottom: var(--gap); }
.vd-rtabs { display: inline-flex; padding: 3px; background: var(--box); border: 1px solid var(--line); border-radius: var(--radius); }
.vd-rtabs a { padding: 7px 14px; border-radius: var(--radius); color: var(--muted); font-weight: 600; }
.vd-rtabs a:hover { color: var(--text); }
.vd-rtabs a.is-on { background: var(--box2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.vd-rcard .vd-poster img { transition: filter .2s; }
.vd-rcard:not(.is-have) .vd-poster img { filter: saturate(.75); }
.vd-rstate {
	position: absolute; left: 6px; right: 6px; bottom: 6px; display: flex; align-items: center; justify-content: center; gap: 5px;
	padding: 5px; border-radius: var(--radius); background: rgba(0, 0, 0, .72); color: #fff; font-size: 12px; font-weight: 700;
}
.vd-rstate.is-have { background: #2ea043; }
.vd-rstate.is-have:hover { color: #fff; filter: brightness(1.1); }
.vd-rvote {
	display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; padding: 4px 6px 4px 10px; border: 1px solid var(--line); border-radius: var(--radius);
	background: var(--box2); color: var(--text); font-size: 12px; font-weight: 600; cursor: pointer;
}
.vd-rvote:hover { border-color: var(--accent); }
.vd-rvote .vd-i { font-size: 14px; }
.vd-rvote-n { min-width: 20px; padding: 0 6px; border-radius: var(--radius); background: var(--box); color: var(--muted); text-align: center; }
.vd-rvote.is-on { border-color: var(--accent); background: var(--accent); color: #fff; }
.vd-rvote.is-on .vd-rvote-n { background: rgba(255, 255, 255, .2); color: #fff; }
@media (max-width: 600px) {
	.vd-rhead { padding: 18px; }
	.vd-rnew { width: 100%; justify-content: center; }
	.vd-rseg { width: 100%; }
	.vd-rseg label { flex: 1; text-align: center; }
}

/* ---------- User star ratings ---------- */
.vd-urate { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-width: 0; }
.vd-urate.is-busy { opacity: .7; pointer-events: none; }

.vd-urate-avg { display: flex; align-items: center; justify-content: center; min-width: 60px; padding: 10px 6px; border-radius: var(--radius); background: var(--box2); line-height: 1; }
.vd-urate-avg .vd-i, .vd-urate-avg small { display: none; }
.vd-urate-n { color: var(--text); font-size: 27px; font-weight: 500; }
.vd-urate.is-done .vd-urate-n { color: var(--accent); }
.vd-urate-main { min-width: 0; }
.vd-urate-stars { display: flex; }
.vd-urate-stars button {
	display: flex; padding: 2px 1px; border: 0; background: none; color: var(--text); opacity: .15; font-size: 19px; line-height: 1; cursor: pointer;
	transition: color .1s, opacity .1s, transform .1s;
}
.vd-urate-stars button.is-on { color: var(--accent); opacity: 1; }
.vd-urate-stars button:hover { transform: scale(1.18); }
.vd-urate-stars button:focus-visible { outline: 2px solid var(--accent); border-radius: 3px; }
.vd-urate-t { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.vd-urate-me[hidden] { display: none; }
.vd-urate-me b { color: var(--text); }
.vd-urate-del { padding: 0; border: 0; background: none; color: var(--accent); font-size: 12px; cursor: pointer; }
.vd-urate-del:hover { text-decoration: underline; }
@media (max-width: 600px) {
	/* Score and vote count on one line, then ten stars across the full width: easy to tap. */
	.vd-sheader .vd-urate {
		order: 0; grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 12px;
		margin-bottom: 8px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
	}
	.vd-urate-avg { min-width: 44px; padding: 6px; }
	.vd-urate-n { font-size: 20px; }
	.vd-urate-main { display: contents; }
	.vd-urate-t { grid-column: 2; grid-row: 1; margin: 0; align-self: center; text-align: right; }
	.vd-urate-stars { grid-column: 1 / -1; justify-content: space-between; }
	.vd-urate-stars button { flex: 1; justify-content: center; padding: 5px 0; font-size: 22px; }
}


/* ---------- Search results ---------- */
.vd-shead-s { margin: -8px 0 0; color: var(--muted); }
.vd-shead { padding: 15px 0 20px; }
.vd-shead-k { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 4px; color: var(--accent); font-size: 12px; font-weight: 500; }
.vd-shead-t { margin: 0 0 14px; font-size: 24px; font-weight: 400; line-height: 1.25; word-break: break-word; }
.vd-shead-f { display: flex; gap: 8px; max-width: 560px; }
.vd-shead-f input {
	flex: 1; min-width: 0; height: 40px; padding: 0 15px; background: var(--box2); border: 1px solid var(--line); border-radius: var(--radius);
	color: var(--text); font-size: 14px; outline: 0;
}
.vd-shead-f input:focus { border-color: var(--accent); }
.vd-shead-f .vd-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 18px; }
.vd-stabs { display: flex; margin-bottom: 5px; overflow-x: auto; scrollbar-width: none; border-bottom: 3px solid var(--line); }
.vd-stabs::-webkit-scrollbar { display: none; }
.vd-stabs a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.vd-stabs a:hover { color: var(--accent); }
.vd-stabs a span { font-size: 11px; font-weight: 400; }
.vd-stabs a.is-on { color: var(--text); }

.vd-sres { display: grid; }
/* Results: small square image, then details, split by rules. */
.vd-sitem { display: flex; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.vd-sitem:last-child { border-bottom: 0; }
.vd-sitem-img { position: relative; flex: none; width: 110px; align-self: flex-start; overflow: hidden; background: var(--box2); }
.vd-sitem-img img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: filter .2s; }
.vd-sitem:hover .vd-sitem-img img { filter: brightness(.8); }
.vd-sitem.is-ep .vd-sitem-img { width: 170px; }
.vd-sitem.is-ep .vd-sitem-img img { aspect-ratio: 16 / 9; }
.vd-sitem-d { min-width: 0; flex: 1; }
.vd-sitem-m { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 6px; color: var(--muted); font-size: 12px; }
.vd-sitem-m .vd-star { display: inline-flex; align-items: center; gap: 4px; color: var(--text); font-weight: 500; }
.vd-sitem-m .vd-star .vd-i { color: var(--star); }
.vd-tbadge { padding: 2px 6px; border-radius: var(--radius); background: var(--on); color: var(--text); font-size: 10px; font-weight: 500; text-transform: uppercase; }
.vd-tbadge--movies { background: rgba(64, 139, 234, .15); color: var(--accent); }
.vd-tbadge--tvshows { background: rgba(46, 160, 67, .15); color: #2ea043; }
.vd-tbadge--episodes { background: rgba(210, 153, 34, .15); color: #d29922; }
.vd-sitem-t { margin: 0 0 6px; font-size: 15px; font-weight: 500; line-height: 20px; }
.vd-sitem-t a:hover { color: var(--accent); }
.vd-sitem-t mark { padding: 0 2px; border-radius: 3px; background: rgba(64, 139, 234, .22); color: inherit; }
.vd-sitem-s { margin: 0 0 6px; color: var(--muted); font-size: 13px; }
.vd-sitem-x { display: -webkit-box; margin: 0; overflow: hidden; font-size: 13px; font-weight: 300; line-height: 18px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

.vd-snone { padding: 36px 20px; text-align: center; }
.vd-snone-i { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 10px; border-radius: 50%; background: var(--box2); color: var(--accent); font-size: 28px; }
.vd-snone h2 { margin: 0 0 6px; font-size: 20px; }
.vd-snone p { margin: 0; color: var(--muted); }

@media (max-width: 600px) {
	.vd-shead { padding: 10px 0 15px; }
	.vd-shead-t { font-size: 22px; }
	.vd-shead-f .vd-btn { padding: 0 14px; }
	.vd-shead-f .vd-btn span { display: none; }
	.vd-sitem { gap: 12px; padding: 12px 0; }
	.vd-sitem-img { width: 72px; }
	.vd-sitem.is-ep .vd-sitem-img { width: 120px; }
	.vd-sitem-t { font-size: 15px; }
	.vd-sitem-x { -webkit-line-clamp: 2; font-size: 12px; }
}

/* ---------- Main slider, Netflix style ---------- */
.vd-hero { --hx: 32px; position: relative; overflow: hidden; margin-bottom: var(--gap); border-radius: var(--radius); background: #000; color: #fff; isolation: isolate; }
.vd-hero--full { --hx: max(var(--gap), calc((100% - var(--wrap)) / 2 + var(--gap))); margin: 0; border-radius: 0; }
.vd-hero-track { position: relative; height: clamp(400px, 46vw, 560px); }
.vd-hero--full .vd-hero-track { height: clamp(440px, 72vh, 700px); }
.vd-hero-s { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s .8s; }
.vd-hero-s.is-on { z-index: 1; opacity: 1; visibility: visible; transition: opacity .8s ease; }
.vd-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transform: scale(1.08); transition: transform 8s ease-out; }
.vd-hero-s.is-on .vd-hero-bg { transform: scale(1); }
.vd-hero-s::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .62) 34%, rgba(0, 0, 0, .1) 68%, rgba(0, 0, 0, 0) 100%),
		linear-gradient(0deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, 0) 45%);
}
.vd-hero--full .vd-hero-s::after {
	background: linear-gradient(90deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .62) 34%, rgba(0, 0, 0, .1) 68%, rgba(0, 0, 0, 0) 100%),
		linear-gradient(0deg, var(--bg) 0, rgba(0, 0, 0, .85) 70px, rgba(0, 0, 0, 0) 50%);
}
.vd-hero-d { position: absolute; z-index: 2; left: var(--hx); bottom: 122px; width: min(560px, calc(100% - var(--hx) * 2)); }
.vd-hero--full .vd-hero-d { bottom: 150px; }
.vd-hero-k { display: inline-block; margin-bottom: 12px; padding: 3px 10px; border-radius: 4px; background: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.vd-hero-t { margin: 0 0 12px; font-size: clamp(28px, 4vw, 54px); font-weight: 900; line-height: 1.04; letter-spacing: -.5px; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.vd-hero-t a { color: inherit; }
.vd-hero-m { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.vd-hero-m .vd-star { display: inline-flex; align-items: center; gap: 4px; }
.vd-hero-m .vd-star .vd-i { color: var(--star); }
.vd-hero-q { padding: 0 6px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 3px; font-size: 11px; line-height: 18px; }
.vd-hero-g { margin: 0 0 10px; color: rgba(255, 255, 255, .78); font-size: 14px; }
.vd-hero-x { display: -webkit-box; margin: 0 0 18px; overflow: hidden; color: rgba(255, 255, 255, .86); font-size: 15px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.vd-hero-b { display: flex; flex-wrap: wrap; gap: 10px; }
.vd-hero-b .vd-btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 24px; border: 0; border-radius: 6px; font-size: 16px; font-weight: 800; }
.vd-hero-b .vd-btn .vd-i { width: 22px; height: 22px; }
.vd-hero-play, .vd-hero-play:hover { background: #fff; color: #111; }
.vd-hero-play:hover { background: rgba(255, 255, 255, .82); }
.vd-hero-info { background: rgba(109, 109, 110, .7); color: #fff; }
.vd-hero-info:hover { background: rgba(109, 109, 110, .5); color: #fff; }
.vd-hero.is-moved .vd-hero-s.is-on .vd-hero-d > * { animation: vdHeroIn .7s cubic-bezier(.2, .7, .2, 1) both; }
.vd-hero.is-moved .vd-hero-s.is-on .vd-hero-d > :nth-child(2) { animation-delay: .06s; }
.vd-hero.is-moved .vd-hero-s.is-on .vd-hero-d > :nth-child(3) { animation-delay: .12s; }
.vd-hero.is-moved .vd-hero-s.is-on .vd-hero-d > :nth-child(4) { animation-delay: .18s; }
.vd-hero.is-moved .vd-hero-s.is-on .vd-hero-d > :nth-child(5) { animation-delay: .24s; }
.vd-hero.is-moved .vd-hero-s.is-on .vd-hero-d > :nth-child(6) { animation-delay: .3s; }
@keyframes vdHeroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.vd-hero-btn {
	position: absolute; z-index: 3; top: 42%; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0;
	background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; color: #fff; cursor: pointer; opacity: 0; transition: opacity .2s, background .2s;
}
.vd-hero-btn:hover { background: rgba(0, 0, 0, .7); }
.vd-hero:hover .vd-hero-btn, .vd-hero-btn:focus-visible { opacity: 1; }
.vd-hero .vd-prev { left: 14px; }
.vd-hero .vd-next { right: 14px; }

.vd-hero-nav { position: absolute; z-index: 3; left: var(--hx); right: var(--hx); bottom: 22px; display: flex; gap: 10px; padding: 4px 2px; overflow-x: auto; scrollbar-width: none; }
.vd-hero--full .vd-hero-nav { bottom: 40px; }
.vd-hero-nav::-webkit-scrollbar { display: none; }
.vd-hero-th { position: relative; flex: none; width: 140px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 6px; background: #222; cursor: pointer; opacity: .55; transition: opacity .2s, transform .2s, border-color .2s; }
.vd-hero-th:hover { opacity: .9; }
.vd-hero-th.is-on { border-color: #fff; opacity: 1; transform: translateY(-3px); }
.vd-hero-th img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.vd-hero-th i { position: absolute; left: 0; bottom: 0; width: 0; height: 3px; background: var(--accent); }
.vd-hero.is-playing .vd-hero-th.is-on i { animation: vdHeroBar var(--hd, 6s) linear forwards; }
.vd-hero.is-held .vd-hero-th.is-on i { animation-play-state: paused; }
@keyframes vdHeroBar { to { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
	.vd-hero-s, .vd-hero-bg { transition: none; }
	.vd-hero.is-moved .vd-hero-s.is-on .vd-hero-d > * { animation: none; }
}
@media (max-width: 900px) {
	.vd-hero-th { width: 112px; }
}
@media (max-width: 600px) {
	.vd-hero { --hx: 16px; }
	.vd-hero-track, .vd-hero--full .vd-hero-track { height: 540px; }
	.vd-hero-bg { object-position: center top; }
	.vd-hero-s::after, .vd-hero--full .vd-hero-s::after { background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, .92) 34%, rgba(0, 0, 0, .25) 66%, rgba(0, 0, 0, 0) 100%); }
	.vd-hero-bg { height: 70%; }
	.vd-hero-d, .vd-hero--full .vd-hero-d { bottom: 44px; }
	.vd-hero-t { font-size: 30px; }
	.vd-hero-x { -webkit-line-clamp: 2; font-size: 14px; }
	.vd-hero-b .vd-btn { flex: 1; justify-content: center; height: 44px; padding: 0 12px; font-size: 15px; }
	.vd-hero-btn { display: none; }
	.vd-hero-nav, .vd-hero--full .vd-hero-nav { justify-content: center; gap: 6px; bottom: 18px; overflow: visible; }
	.vd-hero-th { width: 8px; height: 8px; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .4); opacity: 1; transition: width .25s, background .25s; }
	.vd-hero-th.is-on { width: 24px; background: #fff; transform: none; }
	.vd-hero-th img { display: none; }
	.vd-hero-th i { background: transparent; }
}
