/* Ekalix video player (vplayer.js) - one look for every video on the site, in every theme (the site's tokens:
   --accent, --grad, --glow1/2, --gline2, --ink-on-accent, with fallbacks for a page without them). The player sizes
   its own controls by its own width (container queries), so it is the same on a phone, a wide page and inside the
   PCMB reader. Motion is transform / opacity only; reduced motion turns the decorative motion off. */
.vp {
  --vp-a: var(--accent, #38bdf8); --vp-g: var(--grad, linear-gradient(100deg, #38bdf8 0%, #818cf8 55%, #c084fc 100%));
  --vp-g1: var(--glow1, 56, 189, 248); --vp-g2: var(--glow2, 129, 140, 248); --vp-ink: var(--ink-on-accent, #02101a);
  --vp-e: var(--ease, cubic-bezier(.2, .7, .2, 1)); --vp-mono: var(--mono, ui-monospace, Consolas, monospace);
  --vp-disp: var(--display, 'Segoe UI', system-ui, sans-serif);
  position: relative; container: vp / inline-size; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; isolation: isolate;
  border-radius: 18px; background: #000; color: #fff; font-family: var(--body, 'Segoe UI', system-ui, sans-serif); text-align: left;
  -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; outline: none;
  box-shadow: 0 0 0 1px rgba(var(--vp-g2), .3), 0 28px 70px -28px rgba(var(--vp-g1), .5), 0 18px 48px rgba(0, 0, 0, .5);
}
.vp:focus-visible { box-shadow: 0 0 0 2px var(--vp-a), 0 28px 70px -28px rgba(var(--vp-g1), .6); }
.vp [hidden] { display: none !important; }
.vp:fullscreen { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.vp:-webkit-full-screen { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.vp button { font-family: inherit; -webkit-user-select: none; user-select: none; }
.vp button:focus-visible, .vp .vp-bar:focus-visible, .vp input:focus-visible { outline: 2px solid var(--vp-a); outline-offset: 2px; }

/* THE LIVING BORDER (15 Nov 2026, owner: 'animated borders'). The frame is a 2 px ring: .vp-edge fills the player and
   .vp-in (the picture and every control) covers all but that ring. ONE light travels round it while the video plays:
   .vp-light is a small round gradient (its own layer); .vp-lx carries it along the top and bottom, .vp-ly down the
   sides - two transform animations on boxes that draw nothing, so nothing is painted again while it runs (no moving
   gradient, filter, shadow or mask). It runs only under .vp-live (playing, on screen, tab visible, motion allowed,
   not full screen - set by vplayer.js) and rests where it is otherwise; hover / focus light the whole ring gently.
   The colours are the theme's (--accent, --glow1, --glow2). Reduced motion: no ring light at all. */
.vp-in { position: absolute; inset: 2px; z-index: 1; overflow: hidden; isolation: isolate; border-radius: 16px; background: #000; }
.vp-edge { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: inherit; pointer-events: none; background: linear-gradient(rgba(var(--vp-g2), .34), rgba(var(--vp-g2), .34)), #060a16; }
.vp-edge-all { position: absolute; inset: 0; background: var(--vp-g); opacity: 0; transition: opacity .35s ease; }
.vp:hover .vp-edge-all, .vp:focus .vp-edge-all, .vp:focus-within .vp-edge-all { opacity: .62; }
.vp-idle.vp-playing .vp-edge-all { opacity: 0; }   /* the bar has hidden itself: only the light is left */
.vp-lx, .vp-ly { position: absolute; inset: 0; }
.vp-lx { inset: 1px; }                              /* the light's centre runs on the middle of the ring */
.vp-light { --vp-l: clamp(150px, 32cqw, 400px); position: absolute; left: 0; top: 0; width: var(--vp-l); height: var(--vp-l); margin: calc(var(--vp-l) / -2) 0 0 calc(var(--vp-l) / -2); border-radius: 50%; will-change: transform;
  background: radial-gradient(closest-side, #fff 0, rgba(var(--vp-g1), .98) 20%, rgba(var(--vp-g2), .6) 52%, rgba(var(--vp-g2), 0) 100%); opacity: 0; transition: opacity .6s ease; }
.vp-on .vp-light { opacity: .42; }
.vp-live .vp-light { opacity: 1; }
/* 16 : 9 - the top and bottom are 32 % of the way round each, the sides 18 % each: one speed all the way */
.vp-on .vp-lx { animation: vpRunX 10s linear infinite paused; }
.vp-on .vp-ly { animation: vpRunY 10s linear infinite paused; }
.vp-live .vp-lx, .vp-live .vp-ly { animation-play-state: running; }
@keyframes vpRunX { 0% { transform: translateX(0); } 32%, 50% { transform: translateX(100%); } 82%, 100% { transform: translateX(0); } }
@keyframes vpRunY { 0%, 32% { transform: translateY(0); } 50%, 82% { transform: translateY(100%); } 100% { transform: translateY(0); } }
.vp:fullscreen .vp-edge, .vp-still .vp-edge { display: none; }
.vp:-webkit-full-screen .vp-edge { display: none; }
.vp:fullscreen .vp-in { inset: 0; border-radius: 0; }
.vp:-webkit-full-screen .vp-in { inset: 0; border-radius: 0; }
.vp-copy { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; opacity: 0; }

/* the picture and its cover */
.vp-v { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.vp-v::cue { background: rgba(2, 6, 16, .78); color: #fff; font-size: 1.05em; line-height: 1.35; }
.vp-cover { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; transition: opacity .55s ease; }
.vp-cover0 { background: radial-gradient(120% 90% at 30% 20%, rgba(var(--vp-g2), .35), transparent 60%), radial-gradient(90% 80% at 80% 90%, rgba(var(--vp-g1), .3), transparent 60%), #050913; }
.vp-has .vp-cover { opacity: 0; }
.vp-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; transition: opacity .3s ease;
  background: linear-gradient(180deg, rgba(2, 6, 16, .62) 0, rgba(2, 6, 16, 0) 24%, rgba(2, 6, 16, 0) 58%, rgba(2, 6, 16, .88) 100%); }
.vp-pre .vp-shade { background: radial-gradient(70% 70% at 50% 46%, rgba(2, 6, 16, 0), rgba(2, 6, 16, .55)), linear-gradient(180deg, rgba(2, 6, 16, .2) 0, rgba(2, 6, 16, 0) 40%, rgba(2, 6, 16, .9) 100%); }
.vp-idle .vp-shade { opacity: 0; }
.vp-surface { position: absolute; inset: 0; z-index: 4; cursor: pointer; touch-action: pan-y; }
.vp-idle.vp-playing, .vp-idle.vp-playing .vp-surface { cursor: none; }

/* loading: a sweep of light across the picture and a ring */
.vp-load { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .25s ease .15s; overflow: hidden; display: grid; place-items: center; }
.vp-wait .vp-load { opacity: 1; }
.vp-load i { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(var(--vp-g1), .14) 46%, rgba(255, 255, 255, .1) 50%, rgba(var(--vp-g2), .14) 54%, transparent 70%); transform: translateX(-100%); }
.vp-wait .vp-load i { animation: vpSweep 1.5s ease-in-out infinite; }
.vp-load b { width: 54px; height: 54px; border-radius: 50%; background: conic-gradient(from 0deg, rgba(var(--vp-g1), 0), rgba(var(--vp-g1), .95) 70%, #fff 72%, rgba(var(--vp-g1), 0) 74%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); }
.vp-wait .vp-load b { animation: vpSpin .9s linear infinite; }
@keyframes vpSweep { to { transform: translateX(100%); } }
@keyframes vpSpin { to { transform: rotate(1turn); } }

/* before the first Play: the big glowing button and the film's facts */
.vp-start { position: absolute; inset: 0; z-index: 7; display: grid; place-items: center; pointer-events: none; transition: opacity .35s ease; }
.vp-on .vp-start { opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s .3s; }
.vp-big { --s: clamp(64px, 15cqw, 104px); position: relative; width: var(--s); height: var(--s); border-radius: 50%; border: 0; padding: 0; cursor: pointer; pointer-events: auto;
  display: grid; place-items: center; color: var(--vp-ink); background: var(--vp-g);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, .09), 0 0 46px rgba(var(--vp-g1), .7), 0 0 110px rgba(var(--vp-g2), .5); transition: transform .3s var(--vp-e); }
.vp-big svg { position: relative; width: 44%; height: 44%; margin-left: 9%; }
.vp-big:hover { transform: scale(1.07); }
.vp-big:active { transform: scale(.97); }
.vp-ring, .vp-halo { position: absolute; border-radius: 50%; pointer-events: none; }
.vp-ring { inset: -12px; background: conic-gradient(from 0deg, rgba(var(--vp-g1), 0) 0 55%, rgba(var(--vp-g1), .95) 78%, #fff 80%, rgba(var(--vp-g2), 0) 81%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px)); animation: vpSpin 4.2s linear infinite; }
.vp-halo { inset: 0; border: 2px solid rgba(var(--vp-g1), .7); animation: vpHalo 2.6s var(--vp-e) infinite; }
@keyframes vpHalo { 0% { transform: scale(1); opacity: .85; } 80%, 100% { transform: scale(1.75); opacity: 0; } }
.vp-nometa .vp-meta { display: none; }   /* the page shows the title and the duration beside the player */
.vp-meta { position: absolute; left: clamp(14px, 3.4cqw, 28px); right: clamp(14px, 3.4cqw, 28px); bottom: clamp(12px, 3cqw, 24px); pointer-events: none; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.vp-meta b { display: block; font: 700 clamp(15px, 2.7cqw, 24px)/1.2 var(--vp-disp); letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vp-meta span { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.vp-meta em, .vp-meta i { font: 600 11px/1 var(--vp-mono); font-style: normal; letter-spacing: .04em; padding: 5px 8px; border-radius: 999px; background: rgba(2, 6, 16, .55); border: 1px solid rgba(255, 255, 255, .18); color: #e6edff; text-shadow: none; font-variant-ligatures: none; }
.vp-meta i:first-of-type, .vp-meta em + i { border-color: rgba(var(--vp-g1), .6); }

/* resume chip */
.vp-resume { position: absolute; z-index: 8; top: clamp(10px, 2.6cqw, 18px); left: clamp(10px, 2.6cqw, 18px); display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(var(--vp-g1), .7); background: rgba(2, 6, 16, .72); color: #fff; font: 600 13px/1 var(--vp-mono); font-variant-ligatures: none;
  box-shadow: 0 0 24px rgba(var(--vp-g1), .35); animation: vpIn .4s var(--vp-e) both; transition: transform .2s var(--vp-e); }
.vp-resume svg { width: 18px; height: 18px; color: var(--vp-a); }
.vp-resume:hover { transform: translateY(-1px) scale(1.03); }
.vp-on.vp-idle .vp-resume { opacity: 0; }
@keyframes vpIn { from { opacity: 0; transform: translateY(-6px); } }

/* the title and the chapter now playing (top, with the controls) */
.vp-top { position: absolute; z-index: 6; top: 0; left: 0; right: 0; padding: clamp(10px, 2.4cqw, 18px) clamp(12px, 3cqw, 22px); pointer-events: none; transition: opacity .3s ease, transform .3s var(--vp-e); }
.vp-pre .vp-top, .vp-hasres .vp-top { opacity: 0; }
.vp-idle .vp-top { opacity: 0; transform: translateY(-6px); }
.vp-tt b { display: block; font: 700 clamp(13px, 1.9cqw, 17px)/1.25 var(--vp-disp); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
.vp-chnow { display: block; margin-top: 3px; font: 600 11.5px/1.2 var(--vp-mono); color: rgba(255, 255, 255, .75); font-variant-ligatures: none; }
.vp-chnow:empty { display: none; }
.vp-chnow::before { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 7px 1px 0; border-radius: 50%; background: var(--vp-a); box-shadow: 0 0 8px var(--vp-a); }

/* centre pulse, double-tap ripples, toast */
.vp-pulse { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; pointer-events: none; }
.vp-pulse span { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(2, 6, 16, .55); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 0 40px rgba(var(--vp-g1), .45); opacity: 0; }
.vp-pulse svg { width: 34px; height: 34px; }
.vp-pulse.go span { animation: vpPulse .6s ease-out; }
@keyframes vpPulse { from { opacity: .95; transform: scale(.7); } to { opacity: 0; transform: scale(1.35); } }
.vp-rip { position: absolute; top: 0; bottom: 0; z-index: 5; width: 38%; display: grid; place-items: center; pointer-events: none; opacity: 0; background: radial-gradient(closest-side, rgba(255, 255, 255, .18), rgba(255, 255, 255, .05) 70%, transparent); }
.vp-rip.l { left: 0; border-radius: 0 50% 50% 0 / 0 50% 50% 0; }
.vp-rip.r { right: 0; border-radius: 50% 0 0 50% / 50% 0 0 50%; }
.vp-rip span { font: 700 14px/1 var(--vp-mono); padding: 8px 12px; border-radius: 999px; background: rgba(2, 6, 16, .6); }
.vp-rip.go { animation: vpRip .6s ease-out; }
@keyframes vpRip { 0% { opacity: 0; } 20% { opacity: 1; } 100% { opacity: 0; } }
.vp-toast { position: absolute; z-index: 12; left: 50%; top: 13%; padding: 8px 14px; border-radius: 999px; pointer-events: none; white-space: nowrap; max-width: 90%; overflow: hidden; text-overflow: ellipsis;
  background: rgba(2, 6, 16, .78); border: 1px solid rgba(var(--vp-g1), .45); font: 600 13px/1 var(--vp-mono); font-variant-ligatures: none;
  opacity: 0; transform: translate(-50%, -6px); transition: opacity .2s ease, transform .2s var(--vp-e); }
.vp-toast.on { opacity: 1; transform: translate(-50%, 0); }
.vp-toast:empty { display: none; }

/* the touch row in the middle (phones): -10 s, play, +10 s */
.vp-mid { position: absolute; z-index: 6; left: 50%; top: 50%; display: none; align-items: center; gap: clamp(18px, 9cqw, 56px); transform: translate(-50%, -50%); transition: opacity .25s ease; pointer-events: none; }
.vp-mid .vp-b { pointer-events: auto; }   /* a tap between the buttons reaches the picture (double-tap seeks) */
.vp-touch.vp-on .vp-mid { display: flex; }
.vp-idle .vp-mid, .vp-wait .vp-mid, .vp-swipe .vp-mid, .vp-idle .vp-mid .vp-b, .vp-wait .vp-mid .vp-b, .vp-swipe .vp-mid .vp-b { opacity: 0; pointer-events: none; }
.vp-mid .vp-b { width: 48px; height: 48px; border-radius: 50%; background: rgba(2, 6, 16, .5); }
.vp-mid .vp-mplay { width: 62px; height: 62px; background: rgba(2, 6, 16, .55); box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 0 30px rgba(var(--vp-g1), .4); }
.vp-mid .vp-mplay svg { width: 30px; height: 30px; }

/* end card and error */
.vp-end, .vp-err { position: absolute; inset: 0; z-index: 9; display: grid; place-items: center; padding: 16px; text-align: center;
  background: radial-gradient(80% 80% at 50% 40%, rgba(var(--vp-g2), .22), transparent 70%), rgba(2, 6, 16, .8); animation: vpFade .35s ease both; }
@keyframes vpFade { from { opacity: 0; } }
.vp-endk { margin: 0 0 6px; font: 700 11px/1 var(--vp-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--vp-a); }
.vp-endt { display: block; max-width: 34em; margin: 0 auto 16px; font: 700 clamp(15px, 2.6cqw, 22px)/1.25 var(--vp-disp); }
.vp-endb { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.vp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; cursor: pointer; color: #fff; font: 700 14px/1 var(--vp-disp);
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .25); transition: transform .2s var(--vp-e); max-width: 100%; }
.vp-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vp-pill svg { width: 18px; height: 18px; flex: none; }
.vp-pill:hover { transform: translateY(-1px); }
.vp-pill.hot { background: var(--vp-g); color: var(--vp-ink); border-color: transparent; box-shadow: 0 0 30px rgba(var(--vp-g1), .45); }
.vp-err p { margin: 0 0 14px; max-width: 30em; color: #dbe4f7; line-height: 1.5; }

/* the control bar */
.vp-ctl { position: absolute; z-index: 10; left: 0; right: 0; bottom: 0; padding: 0 clamp(6px, 1.6cqw, 14px) clamp(4px, 1cqw, 8px); transition: opacity .28s ease, transform .28s var(--vp-e); }
.vp-pre .vp-ctl { visibility: hidden; opacity: 0; }
.vp-idle .vp-ctl { opacity: 0; transform: translateY(10px); pointer-events: none; }
.vp-bar { position: relative; height: 24px; margin: 0 6px; cursor: pointer; touch-action: none; outline-offset: 0; border-radius: 6px; }
.vp-rail { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; overflow: hidden; background: rgba(255, 255, 255, .22); transition: transform .2s var(--vp-e); }
.vp-bar:hover .vp-rail, .vp-drag .vp-rail, .vp-bar:focus-visible .vp-rail { transform: scaleY(1.65); }
.vp-buf, .vp-hov, .vp-done { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); }
.vp-buf { background: rgba(255, 255, 255, .32); }
.vp-hov { background: rgba(255, 255, 255, .22); }
.vp-done { background: var(--vp-g); }
.vp-ticks i { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: rgba(2, 6, 16, .85); }
.vp-knobw { position: absolute; left: 0; right: 0; top: 50%; height: 0; pointer-events: none; }
.vp-knob { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 4px rgba(var(--vp-g1), .35), 0 0 16px rgba(var(--vp-g1), .95); transform: scale(0); transition: transform .2s var(--vp-e); }
.vp-bar:hover .vp-knob, .vp-drag .vp-knob, .vp-bar:focus-visible .vp-knob, .vp-touch .vp-knob { transform: scale(1); }
.vp-tipw { position: absolute; left: 0; bottom: 28px; width: 0; height: 0; pointer-events: none; }
.vp-tip { position: absolute; left: 0; bottom: 0; transform: translate(-50%, 4px); opacity: 0; transition: opacity .15s ease, transform .15s var(--vp-e);
  max-width: min(280px, 70cqw); padding: 7px 11px; border-radius: 10px; text-align: center; white-space: nowrap;
  background: rgba(6, 10, 22, .94); border: 1px solid rgba(var(--vp-g1), .45); box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 22px rgba(var(--vp-g1), .25); }
.vp-tipon .vp-tip { opacity: 1; transform: translate(-50%, 0); }
.vp-tip b { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; font: 700 12.5px/1.25 var(--vp-disp); margin-bottom: 3px; }
.vp-tip span { font: 600 12px/1 var(--vp-mono); color: var(--vp-a); font-variant-numeric: tabular-nums; }
.vp-row { display: flex; align-items: center; gap: 2px; height: 44px; }
.vp-grow { flex: 1 1 0; min-width: 4px; }
.vp-b { position: relative; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 12px; background: none; color: #fff; display: inline-grid; place-items: center; cursor: pointer; }
.vp-b::before { content: ''; position: absolute; inset: 2px; border-radius: inherit; background: rgba(255, 255, 255, .12); opacity: 0; transition: opacity .15s ease; }
.vp-b:hover::before, .vp-b[aria-expanded="true"]::before { opacity: 1; }
.vp-b svg { position: relative; width: 22px; height: 22px; transition: transform .15s var(--vp-e); }
.vp-b:active svg { transform: scale(.88); }
.vp-play svg { width: 24px; height: 24px; }
.vp-th.on, .vp-cc[aria-pressed="true"] { color: var(--vp-a); }
.vp-cc[aria-pressed="true"]::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--vp-a); box-shadow: 0 0 8px var(--vp-a); }
.vp-badge { position: absolute; top: 1px; right: -3px; padding: 2px 4px; border-radius: 6px; font: 700 9.5px/1 var(--vp-mono); font-style: normal; background: var(--vp-a); color: var(--vp-ink); }
.vp-vol { display: flex; align-items: center; }
.vp-volw { display: inline-flex; align-items: center; width: 78px; padding: 0 6px 0 2px; }
.vp-volr { -webkit-appearance: none; appearance: none; width: 100%; height: 18px; margin: 0; background: none; cursor: pointer; --vp-vol: 1; }
.vp-volr::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, #fff calc(var(--vp-vol) * 100%), rgba(255, 255, 255, .25) 0); }
.vp-volr::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, #fff calc(var(--vp-vol) * 100%), rgba(255, 255, 255, .25) 0); }
.vp-volr::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -4px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 10px rgba(var(--vp-g1), .9); }
.vp-volr::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 10px rgba(var(--vp-g1), .9); }
.vp-time { flex: none; height: 32px; padding: 0 8px; border: 0; border-radius: 8px; background: none; color: #eaf0ff; cursor: pointer; white-space: nowrap;
  font: 600 13px/1 var(--vp-mono); font-variant-numeric: tabular-nums; font-variant-ligatures: none; }
.vp-time i { font-style: normal; margin: 0 5px; opacity: .45; }
.vp-dur { opacity: .75; }
.vp-chb { flex: 0 1 auto; min-width: 40px; max-width: 36cqw; height: 32px; margin-left: 4px; padding: 0 12px 0 9px; display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .07); color: #fff; font: 600 12.5px/1 var(--vp-disp); }
.vp-chb svg { flex: none; width: 17px; height: 17px; color: var(--vp-a); }
.vp-chb:hover, .vp-chb[aria-expanded="true"] { border-color: rgba(var(--vp-g1), .7); }
.vp-chname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vp-chname:empty { display: none; }

/* menus: chapters (left) and speed / quality (right) */
.vp-menu { position: absolute; z-index: 11; right: clamp(8px, 1.6cqw, 14px); bottom: 64px; width: min(330px, calc(100% - 24px)); max-height: calc(100% - 82px); overflow: auto; overscroll-behavior: contain;
  padding: 10px; border-radius: 16px; background: rgba(7, 11, 23, .95); border: 1px solid rgba(var(--vp-g2), .45);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .6), 0 0 40px rgba(var(--vp-g1), .14); animation: vpMenu .2s var(--vp-e) both; scrollbar-width: thin; }
@keyframes vpMenu { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.vp-mch { left: clamp(8px, 1.6cqw, 14px); right: auto; width: min(400px, calc(100% - 24px)); }
.vp-mx { display: none; }
.vp-mh { margin: 4px 6px 8px; font: 700 10.5px/1 var(--vp-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.vp-ml { display: flex; flex-direction: column; gap: 2px; }
.vp-ml button { position: relative; display: grid; grid-template-columns: 52px 1fr 10px; align-items: center; gap: 8px; width: 100%; padding: 9px 10px; border: 0; border-radius: 10px; background: none; color: #dfe7f8; text-align: left; cursor: pointer; font: 500 13.5px/1.3 var(--body, system-ui); }
.vp-ml button::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: rgba(255, 255, 255, .07); opacity: 0; transition: opacity .15s ease; }
.vp-ml button:hover::before, .vp-ml button:focus-visible::before { opacity: 1; }
.vp-ml b { position: relative; font: 600 12px/1 var(--vp-mono); color: var(--vp-a); font-variant-numeric: tabular-nums; font-variant-ligatures: none; }
.vp-ml span { position: relative; }
.vp-ml button[aria-checked="true"] { color: #fff; background: linear-gradient(90deg, rgba(var(--vp-g1), .2), rgba(var(--vp-g2), .08)); box-shadow: inset 3px 0 0 var(--vp-a); }
.vp-ml button.seen:not([aria-checked="true"]) i::before { content: '\2713'; font: 700 12px/1 var(--vp-mono); font-style: normal; color: var(--vp-a); }
.vp-ml button[aria-checked="true"] i { width: 8px; height: 8px; border-radius: 50%; background: var(--vp-a); box-shadow: 0 0 10px var(--vp-a); animation: vpBeat 1.6s ease-in-out infinite; }
@keyframes vpBeat { 50% { opacity: .35; } }
.vp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 2px 12px; }
.vp-chips button { position: relative; min-width: 54px; padding: 8px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); color: #e6edff; cursor: pointer; font: 600 12.5px/1 var(--vp-mono); font-variant-ligatures: none; }
.vp-chips button:hover { border-color: rgba(var(--vp-g1), .7); }
.vp-chips button[aria-checked="true"] { background: var(--vp-g); color: var(--vp-ink); border-color: transparent; box-shadow: 0 0 18px rgba(var(--vp-g1), .4); }
.vp-chips small { font: inherit; opacity: .8; }
.vp-chips sup { margin-left: 3px; font-size: 8.5px; letter-spacing: .04em; }
/* the settings menu's last rows: a link to this moment, picture in picture (a narrow bar has no button for it), the keys */
.vp-acts { display: flex; flex-direction: column; gap: 2px; margin: 0 0 2px; }
.vp-act { position: relative; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 6px 10px; border: 0; border-radius: 10px; background: none; color: #dfe7f8; text-align: left; cursor: pointer; font: 500 13.5px/1.3 var(--body, system-ui); }
.vp-act::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: rgba(255, 255, 255, .07); opacity: 0; transition: opacity .15s ease; }
.vp-act:hover::before, .vp-act:focus-visible::before { opacity: 1; }
.vp-act svg { position: relative; width: 20px; height: 20px; color: var(--vp-a); }
.vp-act span { position: relative; }
.vp-act-pip { display: none; }
.vp kbd { display: inline-block; min-width: 20px; padding: 2px 6px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .06); font: 600 11px/1.4 var(--vp-mono); text-align: center; color: #fff; font-variant-ligatures: none; }
.vp-act kbd { position: relative; }
.vp-touch .vp-act-keys, .vp-touch .vp-act kbd { display: none; }
/* the keys sheet (?) */
.vp-mkeys { left: 50%; right: auto; bottom: 64px; width: min(560px, calc(100% - 24px)); margin-left: max(-280px, calc(12px - 50%)); }
.vp-kh { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: -4px -4px 4px 0; }
.vp-kh .vp-mh { margin: 0 6px; }
.vp-kl { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2px 18px; margin: 0; }
.vp-kl div { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 10px; padding: 6px; border-radius: 8px; }
.vp-kl dt { white-space: nowrap; }
.vp-kl dd { margin: 0; font: 500 13px/1.35 var(--body, system-ui); color: #dfe7f8; }

/* the player's own width decides what the bar carries (a phone, a narrow column, the reader) */
@container vp (max-width: 860px) { .vp-help, .vp-link { display: none; } }   /* both are rows of the settings menu */
/* a phone: every control is 40 px or more to the finger; what the short bar cannot carry is in the settings menu */
@container vp (max-width: 640px) {
  .vp-skip, .vp-volw, .vp-pip, .vp-th { display: none; }
  .vp-act-pip { display: grid; }
  .vp-chname { display: none; }
  .vp-chb { width: 40px; height: 40px; max-width: none; padding: 0; justify-content: center; border: 0; background: none; margin: 0; }
  .vp-row { height: 42px; gap: 1px; }
  .vp-time { height: 40px; min-width: 40px; font-size: 12px; padding: 0 4px; }
  .vp-menu, .vp-mkeys { left: 6px; right: 6px; top: 6px; bottom: 6px; width: auto; max-height: none; margin-left: 0; }   /* the whole picture: a phone's player is short */
  .vp-mx { display: inline-grid; position: sticky; top: 0; float: right; z-index: 1; margin: -4px -4px 0 6px; background: rgba(7, 11, 23, .9); border-radius: 50%; }
  .vp-ml button { min-height: 40px; padding: 7px 8px; grid-template-columns: 46px 1fr 10px; font-size: 13px; }
  .vp-chips button { min-height: 40px; }
  .vp-resume { min-height: 40px; }
  .vp-kl { grid-template-columns: 1fr; }
  .vp-top { display: none; }
}
@container vp (max-width: 340px) { .vp-time i, .vp-dur { display: none; } .vp-meta span { display: none; } }

/* THE MINI PLAYER (site films): the playing video sits in a corner while its place on the page is out of view. The
   player itself is fixed there (a moved <video> would stop); its place keeps its height (.vp-docked). */
.vp-minib { display: none; }
.vp-mini-on main { z-index: 2; }   /* main and the footer are stacking layers of the same height: the corner player is in main */
.vp.vp-mini { position: fixed; z-index: 46; right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); width: clamp(240px, 30vw, 400px); border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(var(--vp-g2), .4), 0 22px 50px rgba(0, 0, 0, .65), 0 0 40px -10px rgba(var(--vp-g1), .55); animation: vpMini .32s var(--vp-e) both; }
@keyframes vpMini { from { opacity: 0; transform: translateY(18px) scale(.94); } }
.vp-mini .vp-in { border-radius: 12px; }
.vp-mini .vp-row, .vp-mini .vp-top, .vp-mini .vp-resume { display: none; }
.vp-mini .vp-ctl { padding-bottom: 0; }
.vp-mini .vp-minib { position: absolute; z-index: 10; top: 4px; left: 4px; right: 4px; display: flex; justify-content: space-between; transition: opacity .28s ease; }
.vp-mini.vp-idle .vp-minib { opacity: 0; pointer-events: none; }
.vp-minib .vp-b { background: rgba(2, 6, 16, .6); border-radius: 50%; }
.vp-docked { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; background: #05070f; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.vp-docked::before { content: 'Playing in the corner'; position: absolute; inset: 0; display: grid; place-items: center; font: 600 12px/1 var(--mono, ui-monospace, Consolas, monospace); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
@media (max-width: 560px) { .vp.vp-mini { width: min(72vw, 300px); right: 10px; bottom: 10px; } }

/* A YOUTUBE SOURCE (vplayer.js mountYt, 16 Nov 2026): the same frame and living border round YouTube's own player.
   The frame is the 16 : 9 stage plus our bar UNDER it (never over YouTube's picture, controls, logo or ads); our
   loading layer sits BEHIND the embed and shows only until it paints. */
.vp.vp-yt { aspect-ratio: auto; -webkit-user-select: auto; user-select: auto; }
.vp-yt .vp-in { position: relative; inset: auto; margin: 2px; display: flex; flex-direction: column; }
/* the picture is the SAME box as a video's: a video's frame is 16:9 with its picture 2 px inside, so this stage is the
   frame's width less the ring and (width x 9/16) less the ring tall (100cqw = the frame's own width) */
.vp-ystage { position: relative; width: 100%; height: calc(100cqw * 9 / 16 - 4px); background: #000; overflow: hidden; }
.vp-yframe { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; border: 0; display: block; background: transparent; }
.vp-yload { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; align-content: center; gap: 14px; color: #c9d3e6; font: 600 12px/1.3 var(--vp-mono); letter-spacing: .06em;
  background: radial-gradient(120% 90% at 30% 20%, rgba(var(--vp-g2), .28), transparent 60%), radial-gradient(90% 80% at 80% 90%, rgba(var(--vp-g1), .22), transparent 60%), #050913; }
.vp-yload i { width: 44px; height: 44px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .16); border-top-color: var(--vp-a); animation: vpSpin .9s linear infinite; }
@keyframes vpSpin { to { transform: rotate(360deg); } }
.vp-yheard .vp-yload { visibility: hidden; }
/* PRESS PLAY FIRST (18 Nov 2026, a video of our own that YouTube hosts): our own picture and the big Play fill the stage
   until the first press - nothing is asked of YouTube before it; vplayer.js then takes the cover OUT of the page (it
   is never over YouTube's player). The picture, shade, Play and title are a video's own (.vp-cover / -shade / -start). */
.vp-ycover { position: absolute; inset: 0; z-index: 3; cursor: pointer; }
.vp-ypre .vp-yload { visibility: hidden; }
.vp-ypre .vp-ystage { background: #050913; }
.vp-yblock { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; align-content: center; gap: 4px; padding: 16px; text-align: center;
  background: radial-gradient(80% 80% at 50% 40%, rgba(var(--vp-g2), .22), transparent 70%), #050913; }
.vp-yblock p { margin: 0 0 14px; max-width: 32em; color: #dbe4f7; font: 500 15px/1.5 var(--body, system-ui); }
.vp-yblock a.vp-pill, .vp-ynote a.vp-pill { text-decoration: none; }
.vp-ybar { display: flex; align-items: center; gap: 4px; min-height: 48px; padding: 4px 8px 4px 12px; background: linear-gradient(180deg, #0a1020, #070b16); border-top: 1px solid rgba(255, 255, 255, .08); }
.vp-ycred { display: flex; align-items: center; gap: 4px 8px; min-width: 0; margin: 0; font: 600 13px/1.3 var(--body, system-ui); color: #dfe7f8; flex-wrap: wrap; }
.vp-ycred > svg { width: 20px; height: 20px; flex: none; color: #9fb0cc; }
.vp-ycred a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.vp-ycred a:hover { text-decoration-color: currentColor; }
.vp-yres { font: 600 12px/1.3 var(--vp-mono); font-style: normal; color: #9fb0cc; font-variant-ligatures: none; }
.vp-yres button { all: unset; cursor: pointer; color: var(--vp-a); text-decoration: underline; text-underline-offset: 3px; }
.vp-yres button:focus-visible { outline: 2px solid var(--vp-a); outline-offset: 2px; border-radius: 4px; }
.vp-yt .vp-grow { flex: 1; }
.vp-ywatch { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; margin-left: 4px; border-radius: 999px; color: #fff; text-decoration: none; white-space: nowrap;
  font: 700 13px/1 var(--vp-disp); border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); }
.vp-ywatch svg { width: 16px; height: 16px; flex: none; }
.vp-ywatch:hover { border-color: var(--vp-a); }
.vp-ywatch:focus-visible, .vp-ycred a:focus-visible { outline: 2px solid var(--vp-a); outline-offset: 2px; }
.vp-yt .vp-th.on { color: var(--vp-a); }
.vp-ynote { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; padding: 10px 12px; background: #0b1224; border-top: 1px solid rgba(var(--vp-g1), .35); }
.vp-ynote.err { border-top-color: rgba(248, 113, 113, .55); }
.vp-ynote p { margin: 0; flex: 1 1 240px; font: 600 13.5px/1.45 var(--body, system-ui); color: #eef3ff; }
.vp-ynb { display: flex; flex-wrap: wrap; gap: 8px; }
.vp-ynote .vp-pill { padding: 9px 14px; font-size: 13px; }
@container vp (max-width: 640px) {
  .vp-ybar { flex-wrap: wrap; padding: 2px 6px 4px 10px; }
  .vp-ycred { flex: 1 1 100%; padding: 8px 0 2px; }
  .vp-ywatch span { display: none; }
  .vp-ywatch { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .vp-yt .vp-th { display: inline-grid; }
  .vp-ynote .vp-pill { min-height: 40px; }
  .vp-yres button { display: inline-flex; align-items: center; min-height: 40px; }
}

/* A VERTICAL VIDEO (19 Nov 2026, a YouTube Short: opts.vertical): the stage is 9 : 16 - the frame's width less the ring,
   x 16/9 tall - so YouTube's player fills it with no letterbox. The title over our cover may take three lines (a
   Short's question is its hook). The ring's light keeps one speed round the tall frame (sides 32 %, top and bottom 18 %). */
.vp-vert .vp-ystage { height: calc((100cqw - 4px) * 16 / 9); }
.vp-vert.vp-on .vp-lx { animation-name: vpRunXv; }
.vp-vert.vp-on .vp-ly { animation-name: vpRunYv; }
@keyframes vpRunXv { 0% { transform: translateX(0); } 18%, 50% { transform: translateX(100%); } 68%, 100% { transform: translateX(0); } }
@keyframes vpRunYv { 0%, 18% { transform: translateY(0); } 50%, 68% { transform: translateY(100%); } 100% { transform: translateY(0); } }
.vp-vert .vp-big { --s: clamp(64px, 24cqw, 96px); }
.vp-vert .vp-meta { bottom: clamp(14px, 6cqw, 28px); }
.vp-vert .vp-meta b { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: clamp(17px, 7.4cqw, 30px); line-height: 1.15; }
.vp-cdeco { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.vp-vert .vp-ybar { min-height: 44px; }
.vp-vert .vp-ycred { flex: 1 1 auto; padding: 0; }
.vp-vert .vp-ywatch span { display: none; }
.vp-vert .vp-ywatch { width: 40px; height: 40px; padding: 0; justify-content: center; }

/* AN EMPTY PLAYER (16 Nov 2026, owner: "show the empty player with this text: Ekalix video coming soon"): the same frame,
   still - the mark, the words, the chapter; no controls, no motion */
.vp-blank .vp-in { display: grid; place-items: center; background: radial-gradient(90% 80% at 50% 40%, rgba(var(--vp-g2), .2), transparent 70%), radial-gradient(60% 60% at 85% 95%, rgba(var(--vp-g1), .14), transparent 70%), #050913; }
.vp-blank .vp-edge-all { opacity: .38; }
.vp-blankc { display: grid; justify-items: center; gap: clamp(6px, 1.6cqw, 14px); padding: 16px; text-align: center; }
.vp-blankc img { width: clamp(96px, 20cqw, 190px); height: auto; display: block; opacity: .96; }
.vp-blankc b { font: 800 clamp(18px, 3.6cqw, 34px)/1.15 var(--vp-disp); letter-spacing: -.01em; color: #fff; }
.vp-blankc span { font: 600 clamp(10.5px, 1.5cqw, 13px)/1.35 var(--vp-mono); letter-spacing: .08em; text-transform: uppercase; color: #9fb0cc; font-variant-ligatures: none; }
.vp-blankc em { font: 600 clamp(12px, 1.7cqw, 14.5px)/1.4 var(--body, system-ui); font-style: normal; color: var(--vp-a); }

/* theater (site films): the film widens to the window and the page dims behind it */
.vp-dim { position: fixed; inset: 0; z-index: 40; background: rgba(1, 3, 9, .88); opacity: 0; transition: opacity .3s ease; }
.vp-dim.on { opacity: 1; }
.vp-theater { position: relative; z-index: 41; }

@media (prefers-reduced-motion: reduce) {
  .vp, .vp *, .vp *::before, .vp *::after, .vp-dim { animation: none !important; transition-duration: .01ms !important; }
  .vp-load i, .vp-halo, .vp-pulse, .vp-edge { display: none; }
}
@media (forced-colors: active) { .vp-done { background: Highlight; } .vp-b, .vp-time, .vp-chb, .vp-act { border: 1px solid ButtonText; } .vp-edge { display: none; } }
@media print { .vp { display: none; } }

/* the site's sticky menu never covers the film (10 Nov 2026, owner's screenshots): scrolling to a player leaves room
   below the menu, and in theater mode the menu slides away until theater ends */
.ekv, .vp-box { scroll-margin-top: 96px; }
.site-head { transition: padding .35s var(--ease), transform .35s var(--ease), opacity .3s ease; }
.vp-theater-on .site-head { transform: translateY(-120%); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .site-head { transition: none; } }
