/*!
 * Kinema Video Player 1.0.0 — by iMoon Studio
 */
.kinema {
	--mv-bg: #0d0e13; --mv-bg2: #1b1c26; --mv-text: #f6f3ec; --mv-muted: #9b98a8;
	--mv-accent: #cfae6e; --mv-accent2: #f0dfb6; --mv-accent-rgb: 207, 174, 110; --mv-text-rgb: 246, 243, 236; --mv-bg-rgb: 13, 14, 19;
	--mv-radius: 18px; --mv-logo-w: 9%; --mv-logo-o: .85; --mv-ambient: .6;
	--mv-line: rgba(var(--mv-text-rgb), .1);
	position: relative; box-sizing: border-box; width: 100%;
	color: var(--mv-text); font-size: 15px; line-height: 1.35; text-align: left;
	-webkit-font-smoothing: antialiased; isolation: isolate;
	container: mv / inline-size;
}
.kinema *, .kinema *::before, .kinema *::after { box-sizing: border-box; }
.kinema button { font: inherit; color: inherit; margin: 0; }
.kinema img { max-width: none; border: 0; }
.kinema [hidden] { display: none !important; }
.kinema--loading { min-height: 6em; }
.kinema.mv-al-center { margin-left: auto; margin-right: auto; }
.kinema.mv-al-right { margin-left: auto; }
.kinema.mv-s-s { font-size: 13px; }
.kinema.mv-s-l { font-size: 17px; }
.kinema.mv-font-sans { font-family: "Inter", "SF Pro Display", "Helvetica Neue", Arial, system-ui, sans-serif; }
.kinema.mv-font-serif { font-family: "Cormorant Garamond", "Playfair Display", "Bodoni 72", Didot, Georgia, serif; }
.kinema.mv-font-mono { font-family: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace; }
.kinema.mv-font-condensed { font-family: "Barlow Condensed", "Roboto Condensed", "Arial Narrow", sans-serif; }

/* ------------------------------------------------------------------ frame */
.mv-frame { position: relative; border-radius: var(--mv-radius); }
.mv-l-card .mv-frame, .mv-l-split .mv-frame { background: var(--mv-bg); overflow: visible; }
.mv-bd-gradient.mv-l-card .mv-frame, .mv-bd-gradient.mv-l-split .mv-frame { background: radial-gradient(120% 120% at 0% 0%, var(--mv-bg2), var(--mv-bg) 70%); }
.mv-bd-glass.mv-l-card .mv-frame, .mv-bd-glass.mv-l-split .mv-frame { background: rgba(var(--mv-bg-rgb), .55); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); }
.mv-border .mv-frame { box-shadow: inset 0 0 0 1px var(--mv-line); }
.mv-sh-soft .mv-frame { box-shadow: 0 26px 70px -30px rgba(0, 0, 0, .6), inset 0 0 0 1px var(--mv-line); }
.mv-sh-deep .mv-frame { box-shadow: 0 44px 100px -34px rgba(0, 0, 0, .8), 0 12px 26px -12px rgba(0, 0, 0, .5), inset 0 0 0 1px var(--mv-line); }
.mv-sh-glow .mv-frame { box-shadow: 0 26px 80px -20px rgba(var(--mv-accent-rgb), .45), inset 0 0 0 1px rgba(var(--mv-accent-rgb), .3); }
.mv-has-ambient.mv-l-cinema .mv-frame, .mv-has-ambient.mv-l-minimal .mv-frame { box-shadow: none; }

.mv-l-card .mv-frame { padding: 0 0 .2em; }
.mv-l-split .mv-frame { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(15em, 1fr); align-items: stretch; }
@container mv (max-width: 760px) {
	.mv-l-split .mv-frame { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------- the screen */
.mv-stagewrap { position: relative; }
.mv-screen {
	position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000;
	border-radius: var(--mv-radius); outline: none; z-index: 1; cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.mv-a-21-9 .mv-screen { aspect-ratio: 21 / 9; }
.mv-a-4-3 .mv-screen { aspect-ratio: 4 / 3; }
.mv-a-1-1 .mv-screen { aspect-ratio: 1 / 1; }
.mv-a-9-16 .mv-screen { aspect-ratio: 9 / 16; }
.mv-a-9-16:not(.mv-l-split) { max-width: 420px; }
.mv-l-card .mv-screen { border-radius: var(--mv-radius) var(--mv-radius) calc(var(--mv-radius) * .4) calc(var(--mv-radius) * .4); }
.mv-l-split .mv-screen { border-radius: var(--mv-radius) 0 0 var(--mv-radius); height: 100%; }
.mv-l-split .mv-stagewrap { min-height: 100%; }
@container mv (max-width: 760px) {
	.mv-l-split .mv-screen { border-radius: var(--mv-radius) var(--mv-radius) 0 0; height: auto; }
}
.mv-screen:focus-visible { box-shadow: 0 0 0 3px var(--mv-accent); }
.mv-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.mv-a-9-16 .mv-screen video, .mv-a-1-1 .mv-screen video { object-fit: cover; }

.mv-ambient {
	position: absolute; inset: -4% -3%; width: 106%; height: 108%; z-index: 0; pointer-events: none;
	filter: blur(48px) saturate(1.6); opacity: 0; transform: scale(1.02);
	transition: opacity 1.2s ease; border-radius: 30%;
}
.mv-ambient.mv-on { opacity: var(--mv-ambient); }
.mv-paused .mv-ambient.mv-on { opacity: calc(var(--mv-ambient) * .45); }

.mv-poster { position: absolute; inset: 0; background: radial-gradient(120% 90% at 30% 20%, var(--mv-bg2), var(--mv-bg)) center / cover no-repeat; display: grid; place-items: center; transition: opacity .6s; }
.mv-poster.mv-has-img { background-size: cover; background-position: center; }
.mv-poster.mv-has-img .mv-poster-ph { display: none; }
.mv-poster-ph { color: rgba(var(--mv-text-rgb), .25); width: 16%; }
.mv-poster-ph svg { width: 100%; height: auto; }
.mv-started .mv-poster { opacity: 0; pointer-events: none; }

/* --------------------------------------------------------------- overlays */
.mv-wm { position: absolute; z-index: 2; width: var(--mv-logo-w); height: auto; opacity: var(--mv-logo-o); pointer-events: none; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .45)); transition: opacity .4s; }
.mv-wm-tl { left: 3.2%; top: 4.5%; }
.mv-wm-tr { right: 3.2%; top: 4.5%; }
.mv-wm-bl { left: 3.2%; bottom: 5%; }
.mv-wm-br { right: 3.2%; bottom: 5%; }
.mv-wm-bl, .mv-wm-br { transition: bottom .35s cubic-bezier(.2, .8, .2, 1), opacity .4s; }
.kinema:not(.mv-idle).mv-started .mv-wm-bl, .kinema:not(.mv-idle).mv-started .mv-wm-br, .mv-paused .mv-wm-bl, .mv-paused .mv-wm-br { bottom: calc(5% + 3.6em); }

.mv-topbar {
	position: absolute; left: 0; right: 0; top: 0; z-index: 3; display: flex; align-items: center; gap: .8em;
	padding: 1em 1.1em 2.4em; pointer-events: none;
	background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
	transition: opacity .35s, transform .35s;
}
.mv-topbar > * { pointer-events: auto; }
.mv-wm-tl ~ .mv-topbar { padding-left: calc(3.2% + var(--mv-logo-w) + 1em); }
.mv-wm-tr ~ .mv-topbar { padding-right: calc(3.2% + var(--mv-logo-w) + 1em); }
.mv-heading { display: flex; flex-direction: column; min-width: 0; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.mv-ch { font-weight: 700; font-size: .95em; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv-now { font-size: .8em; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv-l-card .mv-topbar .mv-heading, .mv-l-split .mv-topbar .mv-heading { display: none; }
.mv-idle .mv-topbar { opacity: 0; transform: translateY(-.6em); }

/* Live badge */
.kinema .mv-live {
	display: inline-flex; align-items: center; gap: .5em; flex: none; white-space: nowrap; cursor: pointer;
	font-size: .66em; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; line-height: 1;
	padding: .6em .95em .6em .85em; border: 0; border-radius: 99px;
	background: rgba(0, 0, 0, .45); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	transition: background .3s, color .3s, opacity .3s;
}
.kinema .mv-live i { position: relative; width: .65em; height: .65em; border-radius: 50%; background: #ff3b3b; flex: none; }
.mv-live-pulse .mv-live i::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid #ff3b3b; animation: mv-ping 1.6s cubic-bezier(0, 0, .2, 1) infinite; }
.mv-live-neon .mv-live { background: rgba(0, 0, 0, .35); color: var(--mv-accent2); box-shadow: inset 0 0 0 1px var(--mv-accent), 0 0 14px rgba(var(--mv-accent-rgb), .6); text-shadow: 0 0 6px var(--mv-accent), 0 0 14px var(--mv-accent); animation: mv-flicker 6s infinite; }
.mv-live-neon .mv-live i { display: none; }
.mv-live-studio .mv-live { border-radius: 4px; background: #d6261e; box-shadow: 0 0 22px rgba(214, 38, 30, .6); letter-spacing: .24em; -webkit-backdrop-filter: none; backdrop-filter: none; }
.mv-live-studio .mv-live i { display: none; }
.mv-live-minimal .mv-live { background: none; padding-left: 0; -webkit-backdrop-filter: none; backdrop-filter: none; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.mv-live-minimal .mv-live i { animation: none; }
.mv-behind .mv-live:not(.mv-live-static) { background: rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .75); box-shadow: none; text-shadow: none; animation: none; }
.mv-behind .mv-live:not(.mv-live-static) i { background: rgba(255, 255, 255, .6); }
.mv-behind .mv-live:not(.mv-live-static) i::after { display: none; }
.mv-live-static { cursor: default; }
.mv-l-card .mv-panel .mv-live, .mv-l-split .mv-panel .mv-live { font-size: .6em; }
.mv-panel .mv-live-minimal, .mv-live-minimal .mv-panel .mv-live { color: var(--mv-accent); text-shadow: none; }

/* Big play */
.kinema .mv-bigplay {
	position: absolute; left: 50%; top: 50%; z-index: 4; transform: translate(-50%, -50%);
	width: 4.8em; height: 4.8em; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
	background: linear-gradient(140deg, var(--mv-accent), var(--mv-accent2)); color: var(--mv-bg);
	box-shadow: 0 18px 50px -12px rgba(var(--mv-accent-rgb), .8), 0 0 0 .55em rgba(255, 255, 255, .08);
	transition: transform .25s cubic-bezier(.2, .8, .2, 1.3), opacity .3s;
}
.kinema .mv-bigplay svg { width: 42%; height: 42%; fill: currentColor; transform: translateX(6%); }
.kinema .mv-bigplay:hover { transform: translate(-50%, -50%) scale(1.08); }
.mv-playing .mv-bigplay, .mv-loading .mv-bigplay, .mv-offline .mv-bigplay { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.8); }
.kinema .mv-bigplay:focus-visible, .kinema .mv-btn:focus-visible, .kinema .mv-live:focus-visible, .kinema .mv-unmute:focus-visible { outline: 2px solid var(--mv-accent); outline-offset: 3px; }

.mv-spinner {
	position: absolute; left: 50%; top: 50%; z-index: 4; width: 3.4em; height: 3.4em; margin: -1.7em 0 0 -1.7em;
	border-radius: 50%; border: 3px solid rgba(255, 255, 255, .18); border-top-color: var(--mv-accent);
	opacity: 0; pointer-events: none; transition: opacity .3s;
}
.mv-loading:not(.mv-offline) .mv-spinner { opacity: 1; animation: mv-spin .9s linear infinite; }

.kinema .mv-unmute {
	position: absolute; left: 50%; bottom: 4.6em; z-index: 5; transform: translateX(-50%);
	display: none; align-items: center; gap: .55em; padding: .65em 1.1em; border: 0; border-radius: 99px; cursor: pointer;
	background: #fff; color: #111; font-size: .85em; font-weight: 700; box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
	animation: mv-bob 2.4s ease-in-out infinite;
}
.kinema .mv-unmute svg { width: 1.3em; height: 1.3em; fill: currentColor; }
.mv-needs-unmute.mv-playing .mv-unmute { display: inline-flex; }

/* Off air */
.mv-offair {
	position: absolute; inset: 0; z-index: 6; display: none; place-items: center; text-align: center; padding: 1.5em;
	background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .7)), var(--mv-off-img, radial-gradient(120% 90% at 30% 20%, var(--mv-bg2), var(--mv-bg))) center / cover no-repeat;
	color: #fff; cursor: default;
}
.mv-offair .mv-off-inner { display: flex; flex-direction: column; align-items: center; gap: .4em; max-width: 30em; }
.mv-off-icon { width: 2.6em; color: var(--mv-accent); margin-bottom: .3em; }
.mv-off-icon svg { width: 100%; height: auto; }
.mv-offair strong { font-size: 1.35em; letter-spacing: -.01em; }
.mv-offair span { opacity: .8; font-size: .9em; }
.mv-offair em { font-style: normal; font-size: .72em; opacity: .55; letter-spacing: .06em; margin-top: .6em; }
.mv-offair .mv-off-inner { text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.kinema.mv-offline .mv-offair { display: grid; }

/* Control bar */
.mv-bar {
	position: absolute; left: .7em; right: .7em; bottom: .7em; z-index: 5; display: flex; align-items: center; gap: .2em;
	padding: .35em .5em; border-radius: calc(var(--mv-radius) * .7); color: #fff;
	background: rgba(14, 14, 18, .48); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
	transition: opacity .35s, transform .35s cubic-bezier(.2, .8, .2, 1);
}
.mv-cs-gradient .mv-bar { left: 0; right: 0; bottom: 0; border-radius: 0; padding: 2.4em 1em .8em; background: linear-gradient(0deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, 0)); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.mv-cs-solid .mv-bar { background: var(--mv-bg); color: var(--mv-text); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: inset 0 0 0 1px var(--mv-line), 0 10px 30px rgba(0, 0, 0, .35); }
.kinema:not(.mv-started) .mv-bar, .mv-idle .mv-bar, .mv-offline .mv-bar { opacity: 0; transform: translateY(.6em); pointer-events: none; }
.mv-idle .mv-screen { cursor: none; }
.mv-spacer { flex: 1; }
.kinema .mv-btn {
	display: inline-grid; place-items: center; flex: none; gap: .3em; grid-auto-flow: column;
	min-width: 2.4em; height: 2.4em; padding: 0 .45em; border: 0; border-radius: 99px;
	background: transparent; cursor: pointer; opacity: .88; transition: opacity .2s, background .2s;
}
.kinema .mv-btn:hover, .kinema .mv-btn[aria-expanded="true"] { opacity: 1; background: rgba(255, 255, 255, .12); }
.mv-cs-solid .mv-btn:hover { background: rgba(var(--mv-text-rgb), .1); }
.kinema .mv-btn svg { width: 1.25em; height: 1.25em; fill: currentColor; }
.kinema .mv-btn svg[fill="none"] { fill: none; }
.mv-i-pause, .mv-playing .mv-i-play { display: none; }
.mv-playing .mv-i-pause { display: grid; }
.mv-i-mute, .mv-muted .mv-i-vol { display: none; }
.mv-muted .mv-i-mute { display: grid; }
.mv-i-exit, .mv-fs .mv-i-full { display: none; }
.mv-fs .mv-i-exit { display: grid; }
.mv-volume { display: flex; align-items: center; }
.kinema .mv-range { -webkit-appearance: none; appearance: none; width: 0; height: 1.2em; margin: 0; padding: 0; background: transparent; cursor: pointer; opacity: 0; transition: width .3s, opacity .3s, margin .3s; }
.mv-volume:hover .mv-range, .mv-volume:focus-within .mv-range { width: 5.5em; opacity: 1; margin: 0 .5em 0 .2em; }
.kinema .mv-range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--mv-accent) var(--mv-fill, 80%), rgba(255, 255, 255, .25) var(--mv-fill, 80%)); }
.kinema .mv-range::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .25); }
.kinema .mv-range::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--mv-accent); }
.kinema .mv-range::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; margin-top: -4.5px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.kinema .mv-range::-moz-range-thumb { width: 13px; height: 13px; border: 0; border-radius: 50%; background: #fff; }
.mv-no-slider .mv-range { display: none; }
.mv-qlabel { font-size: .74em; font-weight: 700; letter-spacing: .04em; }
.mv-q { position: relative; }
.mv-qmenu {
	position: absolute; right: 0; bottom: calc(100% + .7em); min-width: 9em; margin: 0; padding: .4em; list-style: none;
	border-radius: 12px; background: rgba(14, 14, 18, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .08); color: #fff;
}
.mv-qmenu button { display: flex; align-items: center; width: 100%; padding: .55em .8em; border: 0; border-radius: 8px; background: none; cursor: pointer; font-size: .85em; text-align: left; }
.mv-qmenu button:hover { background: rgba(255, 255, 255, .1); }
.mv-qmenu button[aria-checked="true"] { color: var(--mv-accent2); font-weight: 700; }
.mv-qmenu button[aria-checked="true"]::after { content: "●"; margin-left: auto; font-size: .6em; color: var(--mv-accent); }

.mv-l-minimal .mv-bar .mv-live { font-size: .58em; margin-left: .4em; background: transparent; }
.mv-l-minimal .mv-topbar { display: none; }

.mv-toast { position: absolute; left: 50%; top: 1em; z-index: 8; transform: translate(-50%, -6px); padding: .45em .9em; border-radius: 99px; font-size: .78em; font-weight: 600; background: #fff; color: #111; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.mv-toast.mv-show { opacity: 1; transform: translate(-50%, 0); }

/* ----------------------------------------------------------------- panel */
.mv-panel { position: relative; z-index: 1; padding: 1.3em 1.5em 1.4em; display: flex; flex-direction: column; gap: .7em; min-width: 0; }
.mv-l-split .mv-panel { justify-content: center; padding: 2em 1.8em; }
.mv-panel-head { display: flex; align-items: center; gap: .9em; min-width: 0; }
.mv-panel-logo { height: 2.8em; width: auto; max-width: 8em; object-fit: contain; flex: none; }
.mv-panel-names { display: flex; flex-direction: column; align-items: flex-start; gap: .4em; min-width: 0; }
.mv-panel-ch { font-size: 1.15em; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.mv-panel-now { font-size: 1.35em; font-weight: 650; line-height: 1.25; letter-spacing: -.012em; }
.mv-l-split .mv-panel-now { font-size: 1.6em; }
.mv-panel-desc { margin: 0; color: var(--mv-muted); font-size: .92em; line-height: 1.55; }
.mv-l-card .mv-panel { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 1.6em; }
.mv-l-card .mv-panel-now { flex: 1 1 14em; }
.mv-l-card .mv-panel-desc { flex: 1 1 100%; }

/* ------------------------------------------------------- floating mini */
.kinema .mv-floatclose { display: none; }
.kinema.mv-float { isolation: auto; }
.kinema.mv-float .mv-screen {
	position: fixed; z-index: 99995; width: min(340px, 72vw); height: auto; aspect-ratio: 16 / 9;
	right: 1.2em; bottom: 1.2em; border-radius: 14px;
	box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08);
	animation: mv-pop .45s cubic-bezier(.2, .8, .2, 1.1);
}
.kinema.mv-float.mv-a-9-16 .mv-screen { width: min(200px, 45vw); aspect-ratio: 9 / 16; }
.mv-float.mv-fp-bl .mv-screen { right: auto; left: 1.2em; }
.mv-float.mv-fp-tr .mv-screen { bottom: auto; top: 1.2em; }
.mv-float.mv-fp-tl .mv-screen { bottom: auto; top: 1.2em; right: auto; left: 1.2em; }
.admin-bar .mv-float.mv-fp-tr .mv-screen, .admin-bar .mv-float.mv-fp-tl .mv-screen { top: calc(32px + 1.2em); }
.mv-float .mv-ambient, .mv-float .mv-topbar .mv-heading, .mv-float .mv-wm, .mv-float .mv-q, .mv-float [data-ref="share"], .mv-float .mv-range { display: none; }
.mv-float .mv-bar { left: .4em; right: .4em; bottom: .4em; padding: .15em .3em; font-size: .85em; }
.mv-float .mv-floatclose {
	display: grid; place-items: center; position: absolute; top: .5em; right: .5em; z-index: 7; width: 1.9em; height: 1.9em; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
	background: rgba(0, 0, 0, .55); color: #fff; opacity: 0; transition: opacity .25s;
}
.mv-float .mv-floatclose svg { width: 1em; height: 1em; }
.mv-float .mv-screen:hover .mv-floatclose, .mv-float .mv-floatclose:focus-visible { opacity: 1; }
.mv-float .mv-topbar { padding: .6em; }

/* ----------------------------------------------------------- full screen */
.mv-screen:fullscreen { border-radius: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.mv-screen:-webkit-full-screen { border-radius: 0; width: 100%; height: 100%; }
.mv-fs .mv-bar { font-size: 1.1em; }

@container mv (max-width: 480px) {
	.mv-bigplay { font-size: .8em; }
	.mv-qlabel { display: none; }
	.mv-topbar { padding: .7em .8em 2em; }
	.mv-panel { padding: 1em 1.1em 1.1em; }
}

@keyframes mv-spin { to { transform: rotate(360deg); } }
@keyframes mv-ping { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes mv-flicker { 0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; } 20%, 24%, 55% { opacity: .55; } }
@keyframes mv-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -4px); } }
@keyframes mv-pop { from { transform: translateY(20px) scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
	.kinema *, .kinema { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}

/* Living together with a Velour sticky bar at the bottom. */
body:has(.mw-l-sticky.mw-pos-bottom:not(.mw-preview):not(.mw-min)) .kinema.mv-float:not(.mv-fp-tr):not(.mv-fp-tl) .mv-screen { bottom: calc(1.2em + 84px); }
.kinema.mv-offline .mv-panel .mv-live { opacity: .35; }

/* Shield against theme / page-builder button styles. */
.kinema button { text-transform: none; text-shadow: none; min-height: 0; min-width: 0; line-height: 1; letter-spacing: normal; text-decoration: none; }
.kinema button:hover, .kinema button:focus { text-decoration: none; }

/* ============================================== VIDEO: files, lists, embeds */
.mv-ext { position: absolute; inset: 0; z-index: 0; }
.mv-ext iframe, .mv-ext > div { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.mv-shield { position: absolute; inset: 0; z-index: 1; display: none; }
.mv-ext-on .mv-shield { display: block; }
.mv-ext-on .mv-pipbtn { display: none; }

/* Live badge only for live streams; progress, times and speed only for videos with an end. */
.kinema:not(.mv-is-live):not(.mv-is-stream) .mv-live:not(.mv-live-static),
.kinema.mv-is-vod .mv-live { display: none; }
.kinema:not(.mv-is-stream):not(.mv-is-live) .mv-panel .mv-live { display: none; }
.mv-progress, .mv-times, .mv-speed { display: none !important; }
.mv-is-vod .mv-progress { display: block !important; }
.mv-is-vod .mv-times { display: inline-block !important; }
.mv-is-vod .mv-speed { display: block !important; }

.kinema .mv-bar { flex-direction: column; align-items: stretch; gap: 0; }
.mv-row { display: flex; align-items: center; gap: .2em; min-width: 0; }
.mv-cs-gradient .mv-bar { padding-top: 2em; }
.mv-progress { padding: .15em .45em .1em; }
.mv-seek { position: relative; height: 1.2em; cursor: pointer; touch-action: none; outline: none; }
.mv-seek::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: rgba(255, 255, 255, .22); transition: height .15s, margin .15s; }
.mv-cs-solid .mv-seek::before { background: rgba(var(--mv-text-rgb), .16); }
.mv-buf, .mv-fill { position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; width: 0; pointer-events: none; transition: height .15s, margin .15s; }
.mv-buf { background: rgba(255, 255, 255, .3); }
.mv-fill { background: linear-gradient(90deg, var(--mv-accent), var(--mv-accent2)); }
.mv-fill::after { content: ""; position: absolute; right: -7px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .45); transform: scale(0); transition: transform .15s; }
.mv-seek:hover::before, .mv-seek:hover .mv-buf, .mv-seek:hover .mv-fill, .mv-seek:focus-visible::before { height: 6px; margin-top: -3px; }
.mv-seek:hover .mv-fill::after, .mv-seek:focus-visible .mv-fill::after { transform: scale(1); }
.mv-seek:focus-visible { box-shadow: 0 0 0 2px var(--mv-accent); border-radius: 4px; }
.mv-hover {
	position: absolute; bottom: calc(100% + .6em); left: 0; transform: translateX(-50%); z-index: 3;
	display: flex; flex-direction: column; align-items: center; gap: .3em; pointer-events: none; opacity: 0; transition: opacity .15s;
}
.mv-hovering .mv-hover { opacity: 1; }
.mv-hover canvas { display: none; width: 9.5em; height: auto; aspect-ratio: 16 / 9; border-radius: 8px; background: #000; box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 0 2px rgba(255, 255, 255, .85); }
.mv-has-thumbs .mv-hover canvas.mv-on { display: block; }
.mv-hover span { padding: .25em .55em; border-radius: 6px; background: rgba(0, 0, 0, .75); color: #fff; font-size: .75em; font-weight: 700; font-variant-numeric: tabular-nums; }
.mv-times { margin-left: .2em; font-size: .78em; font-variant-numeric: tabular-nums; opacity: .9; white-space: nowrap; }
.mv-speedlabel { font-size: .8em; }
.kinema .mv-skip svg { width: 1.15em; height: 1.15em; }
@container mv (max-width: 480px) {
	.mv-times { display: none !important; }
	.kinema .mv-skip { display: none; }
}

/* Video list */
.mv-list { min-width: 0; display: flex; flex-direction: column; }
.mv-list-head { display: flex; align-items: center; justify-content: space-between; padding: .9em 1.1em .6em; font-size: .68em; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--mv-muted); }
.mv-list-count { letter-spacing: 0; font-weight: 600; }
.mv-list ol { list-style: none; margin: 0; padding: 0 .5em .6em; overflow-y: auto; scrollbar-width: thin; }
.mv-list li { display: flex; align-items: center; gap: .8em; padding: .5em; border-radius: 10px; cursor: pointer; transition: background .2s; outline: none; }
.mv-list li:hover, .mv-list li:focus-visible { background: rgba(var(--mv-text-rgb), .07); }
.mv-list li.mv-current { background: rgba(var(--mv-accent-rgb), .14); }
.mv-li-thumb { position: relative; flex: none; width: 7em; aspect-ratio: 16 / 9; border-radius: 7px; overflow: hidden; display: grid; place-items: center; background: rgba(var(--mv-text-rgb), .08) center / cover no-repeat; color: var(--mv-muted); }
.mv-li-thumb svg { width: 40%; height: 40%; }
.mv-li-eq { position: absolute; inset: 0; display: none; align-items: flex-end; justify-content: center; gap: 3px; padding-bottom: 28%; background: rgba(0, 0, 0, .45); }
.mv-li-eq i { width: 3px; height: 30%; border-radius: 2px; background: var(--mv-accent2); }
.mv-current .mv-li-eq { display: flex; }
.mv-playing .mv-current .mv-li-eq i { animation: mv-eq 1s ease-in-out infinite; }
.mv-playing .mv-current .mv-li-eq i:nth-child(2) { animation-delay: -.4s; animation-duration: .8s; }
.mv-playing .mv-current .mv-li-eq i:nth-child(3) { animation-delay: -.7s; animation-duration: 1.1s; }
.mv-li-txt { min-width: 0; display: flex; flex-direction: column; gap: .2em; }
.mv-li-title { font-size: .9em; font-weight: 650; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mv-current .mv-li-title { color: var(--mv-accent2); }
.mv-cs-solid .mv-current .mv-li-title, .kinema .mv-current .mv-li-title { color: var(--mv-accent); }
.mv-li-desc { font-size: .78em; color: var(--mv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mv-is-list .mv-frame { background: var(--mv-bg); }
.mv-is-list.mv-bd-gradient .mv-frame { background: radial-gradient(120% 120% at 0% 0%, var(--mv-bg2), var(--mv-bg) 70%); }
.mv-is-list.mv-bd-glass .mv-frame { background: rgba(var(--mv-bg-rgb), .55); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); }
.mv-is-list.mv-has-ambient .mv-frame { box-shadow: inset 0 0 0 1px var(--mv-line); }
.mv-list-side .mv-frame { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16em, 23em); align-items: stretch; }
.mv-list-side .mv-main { min-width: 0; }
.mv-list-side .mv-screen { border-radius: var(--mv-radius) 0 0 var(--mv-radius); }
.mv-list-side .mv-list { position: relative; }
.mv-list-side .mv-list > ol { position: absolute; top: 2.6em; bottom: 0; left: 0; right: 0; }
.mv-list-below .mv-list { padding-top: .3em; }
.mv-list-below .mv-list ol { display: grid; grid-template-columns: repeat(auto-fill, minmax(15em, 1fr)); gap: .2em; max-height: 22em; }
.mv-list-below.mv-l-cinema .mv-screen, .mv-list-below.mv-l-minimal .mv-screen { border-radius: var(--mv-radius) var(--mv-radius) 0 0; }
.mv-list-panel .mv-list { margin: .4em -1.2em -1.2em; flex: 1; min-height: 8em; }
.mv-list-panel .mv-panel { justify-content: flex-start; }
.mv-list-panel .mv-list ol { max-height: 18em; }
@container mv (max-width: 760px) {
	.mv-list-side .mv-frame { grid-template-columns: 1fr; }
	.mv-list-side .mv-screen { border-radius: var(--mv-radius) var(--mv-radius) 0 0; }
	.mv-list-side .mv-list > ol { position: static; max-height: 18em; }
}
@keyframes mv-eq { 0%, 100% { height: 25%; } 50% { height: 70%; } }
.mv-off-error .mv-off-icon { color: var(--mv-muted); }
