/* N216 build16: the seek line of every player that is not the process frame (owner 16.11.2026: «мне нравится новая перемотка как на ют через
   полоску отдельную вводи похожий принцип на все оставшиеся гайды», «я хочу чтобы везде вот так было»). The look is the process frame's line
   (guide-frame.css: .gv-sk, .gv-seg, .gv-knob, .gv-tip, .gv-ctrl): the values below are copied from it and must stay equal to it.
   Shipped as assets/clip-line.css; drawn and driven by assets/clip-line.js (window.MeshLine). One segment = one clip.
   Parts: .cl (root) > .cl-sk (the line: .cl-segs > .cl-seg > i.b i.h i.p, .cl-knob, .cl-tip) + .cl-ctrl (.cl-pp, .cl-time, .cl-cur, .cl-fs).
   Colours come from four variables, so the same parts read on the dark ground of the full screen. */
.cl { --cl-ink: var(--ink, #1F2231); --cl-ink2: var(--ink-2, #5A6078); --cl-rail: #E4E6EF; --cl-buf: #CBCEE0; --cl-btn: var(--ink, #1F2231); --cl-btn-ink: #fff;
  min-width: 0; margin-top: .375rem; color: var(--cl-ink); }
.cl-sk { position: relative; height: 1.5rem; cursor: pointer; touch-action: none; outline: none; -webkit-tap-highlight-color: transparent; }
.cl-sk:focus-visible { outline: 3px solid var(--violet, #5B3BE0); outline-offset: 2px; border-radius: .375rem; }
/*zoom-twin*/@media (min-width: 1601px){.cl-sk:focus-visible{outline:calc(3rem / 13.6) solid var(--violet, #5B3BE0)}}
.cl-segs { position: absolute; inset: 0; display: flex; align-items: center; gap: 4px; }
/*zoom-twin*/@media (min-width: 1601px){.cl-segs{gap:calc(4rem / 13.6)}}
.cl-seg { position: relative; flex: var(--len, 1) 1 0; min-width: 6px; height: 4px; border-radius: 2px; background: var(--cl-rail); overflow: hidden; transition: height .12s ease; }
/*zoom-twin*/@media (min-width: 1601px){.cl-seg{min-width:calc(6rem / 13.6);height:calc(4rem / 13.6)}}
.cl-seg.is-cut { margin-left: 8px; }
/*zoom-twin*/@media (min-width: 1601px){.cl-seg.is-cut{margin-left:calc(8rem / 13.6)}}                                 /* a run through a group: a wider gap where the tool changes */
.cl-seg > i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; }
.cl-seg .b { background: var(--cl-buf); }                             /* buffered: lighter than played */
.cl-seg .h { background: rgba(91, 59, 224, .22); }                    /* hover preview */
.cl-seg .p { background: var(--acc, linear-gradient(95deg, #252ACF 0%, #6748EF 30%, #9E0BC5 58%, #DD35BE 80%, #E23A6A 100%)); background-size: var(--bw, 100%) 100%;
  background-position: var(--bx, 0) 0; background-repeat: no-repeat; }   /* played: one gradient across the whole line */
.cl-sk:hover .cl-seg, .cl-sk.is-drag .cl-seg { height: 6px; }
/*zoom-twin*/@media (min-width: 1601px){/* played: one gradient across the whole line */ .cl-sk:hover .cl-seg, .cl-sk.is-drag .cl-seg{height:calc(6rem / 13.6)}}
.cl-sk .cl-seg.is-hover { height: 10px; border-radius: 3px; }
/*zoom-twin*/@media (min-width: 1601px){.cl-sk .cl-seg.is-hover{height:calc(10rem / 13.6);border-radius:calc(3rem / 13.6)}}
.cl-knob { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #5B3BE0;
  box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(31, 34, 49, .35); transition: transform .12s ease; pointer-events: none; }
/*zoom-twin*/@media (min-width: 1601px){.cl-knob{width:calc(14rem / 13.6);height:calc(14rem / 13.6);box-shadow:0 0 0 2px #fff, 0 2px calc(6rem / 13.6) rgba(31, 34, 49, .35)}}
.cl-sk:hover .cl-knob, .cl-sk.is-drag .cl-knob { transform: scale(1.2); }
.cl-tip { position: absolute; bottom: calc(100% + .375rem); left: 0; z-index: 4; display: none; width: max-content; max-width: min(24rem, 100%); padding: .5rem .75rem .5625rem;
  border-radius: .625rem; background: var(--ink, #1F2231); color: #fff; box-shadow: 0 .75rem 1.5rem -.75rem rgba(31, 34, 49, .7); pointer-events: none; white-space: normal; text-align: left; }
.cl-tip::after { content: ""; position: absolute; top: 100%; left: var(--ax, 50%); margin-left: -6px; border: 6px solid transparent; border-top-color: var(--ink, #1F2231); }
/*zoom-twin*/@media (min-width: 1601px){.cl-tip::after{border:calc(6rem / 13.6) solid transparent}}
.cl-sk.is-tip .cl-tip { display: block; }
.cl-tip b { display: block; font: 700 .875rem/1.3 var(--f-sans); overflow-wrap: anywhere; }
.cl-tip b:empty { display: none; }
/* a large frame of the clip under the pointer (lines of 2+ clips); the box is fixed, so the tip keeps its size while the picture loads */
.cl-tp { display: block; width: 15rem; max-width: 100%; aspect-ratio: 12 / 7; object-fit: contain; margin: 0 0 .4375rem; border-radius: .375rem; background: #fff; }
.cl-tp[hidden] { display: none; }
@media (max-width: 719.98px) { .cl-tp { width: 11rem; } }
.cl-tip b span { color: #B9B4FF; font-weight: 700; }
.cl-tip time { display: block; margin-top: .125rem; font: 500 .75rem/1.2 var(--f-mono); color: rgba(255, 255, 255, .72); }
.cl-tip b:empty + time { margin-top: 0; }

/* controls row: play, time, the current clip, full screen */
.cl-ctrl { display: flex; align-items: center; gap: .75rem; min-height: 2.75rem; margin-top: .125rem; }
.cl-ib { flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--cl-ink); cursor: pointer; }
/*zoom-twin*/@media (min-width: 1601px){.cl-ib{width:calc(40rem / 13.6);height:calc(40rem / 13.6)}}
.cl-ib:hover { background: rgba(127, 131, 150, .16); }
.cl-ib:focus-visible { outline: 3px solid #5B3BE0; outline-offset: 2px; }
/*zoom-twin*/@media (min-width: 1601px){.cl-ib:focus-visible{outline:calc(3rem / 13.6) solid #5B3BE0}}
.cl-ib svg { width: 22px; height: 22px; fill: currentColor; }
/*zoom-twin*/@media (min-width: 1601px){.cl-ib svg{width:calc(22rem / 13.6);height:calc(22rem / 13.6)}}
.cl-ib.cl-pp { background: var(--cl-btn); color: var(--cl-btn-ink); }
.cl-ib.cl-pp:hover { background: #343a55; }
.cl-ib.cl-pp svg { width: 20px; height: 20px; }
/*zoom-twin*/@media (min-width: 1601px){.cl-ib.cl-pp svg{width:calc(20rem / 13.6);height:calc(20rem / 13.6)}}
.cl-pp .i-pause, .cl.is-playing .cl-pp .i-play { display: none; }
.cl.is-playing .cl-pp .i-pause { display: block; }
.cl-time { flex: none; font: 500 .875rem/1 var(--f-mono); font-variant-numeric: tabular-nums; color: var(--cl-ink2); white-space: nowrap; }
.cl-time b { font-weight: 500; color: var(--cl-ink); }
.cl-cur { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: .5rem; margin: 0; font: 700 1rem/1.3 var(--f-sans); color: var(--cl-ink); }
.cl-cur::before { content: ""; flex: none; align-self: center; width: 4px; height: 4px; border-radius: 50%; background: var(--line-2, #D3D7E4); }
/*zoom-twin*/@media (min-width: 1601px){.cl-cur::before{width:calc(4rem / 13.6);height:calc(4rem / 13.6)}}
.cl-cur:empty::before { display: none; }
.cl-cur .n { flex: none; font: 500 .8125rem/1 var(--f-mono); color: var(--cl-ink2); white-space: nowrap; }
.cl-cur .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-ti { flex: none; align-self: center; width: 1.5rem; height: 1.5rem; border-radius: .375rem; background: #fff; box-shadow: 0 0 0 1px #D3D7E4; }   /* the tool's icon beside the clip's name */
.cl-fs[hidden] { display: none; }
/* phones: the clip's name takes its own line under the buttons (two lines at most) */
@media (max-width: 719.98px) {
  .cl-ctrl { flex-wrap: wrap; row-gap: .25rem; }
  .cl-fs { margin-left: auto; }
  .cl-cur { order: 5; flex: 1 0 100%; font-size: .9375rem; }
  .cl-cur::before { display: none; }
  .cl-cur .t { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

/* full screen: the element with [data-cl-fs] holds the picture and the line; the picture is shown whole on a dark ground, the line under it */
[data-cl-fs]:fullscreen { display: flex; flex-direction: column; box-sizing: border-box; width: 100%; height: 100%; margin: 0; padding: 0 1rem .5rem; border-radius: 0; background: #0E0F16; }
[data-cl-fs]:fullscreen > :not(.cl) { flex: 1 1 0; min-height: 0; width: auto; max-width: none; margin: 0; border-radius: 0; box-shadow: none; background: none; aspect-ratio: auto; }
[data-cl-fs]:fullscreen video { width: 100%; height: 100%; object-fit: contain; }
[data-cl-fs]:fullscreen > .cl { flex: none; --cl-ink: #fff; --cl-ink2: rgba(255, 255, 255, .72); --cl-rail: rgba(255, 255, 255, .24); --cl-buf: rgba(255, 255, 255, .42); --cl-btn: #fff; --cl-btn-ink: #1F2231; }
[data-cl-fs]:fullscreen > .cl .cl-pp:hover { background: #E4E6EF; }
[data-cl-fs]:-webkit-full-screen { display: flex; flex-direction: column; box-sizing: border-box; width: 100%; height: 100%; margin: 0; padding: 0 1rem .5rem; border-radius: 0; background: #0E0F16; }
[data-cl-fs]:-webkit-full-screen > :not(.cl) { flex: 1 1 0; min-height: 0; width: auto; max-width: none; margin: 0; border-radius: 0; box-shadow: none; background: none; aspect-ratio: auto; }
[data-cl-fs]:-webkit-full-screen video { width: 100%; height: 100%; object-fit: contain; }
[data-cl-fs]:-webkit-full-screen > .cl { flex: none; --cl-ink: #fff; --cl-ink2: rgba(255, 255, 255, .72); --cl-rail: rgba(255, 255, 255, .24); --cl-buf: rgba(255, 255, 255, .42); --cl-btn: #fff; --cl-btn-ink: #1F2231; }
@media (prefers-reduced-motion: reduce) { .cl-seg, .cl-knob { transition: none; } }
/* N216 build16, P3: the seek line on the interactive panel (home, guides catalog). Shipped joined after clip-line.css as assets/clip-panel.css.
   .xp-cl[data-cl-fs] (panel.py) holds the panel's screen and the line, so full screen shows both. The line replaces the strip under the
   screen, the pill «1 / 3» with its arrows, its caption («videos on this tool» / «videos in {group}»), the in-picture pause and full-screen
   buttons: the page's code still fills and reads those nodes (guides.js), so they stay in the page, out of sight and out of the tab order. */
.xp-cl { min-width: 0; }
.explorer .xp-stage :is(.xd-strip, .xs-pill, .xs-what, .xp-pause, .xp-screen > .gp-full) { display: none; }
/* the mock panel's status line while it holds the bundle's counter («Video 3 of 5», marked by clip-panel.js): one counter on screen, the
   line's. The box keeps its height and the text stays for screen readers. */
.explorer .xp-status.is-count { color: transparent; user-select: none; }
/* the catalog's panel from 1024 px (two columns): the legend under the buttons is gone (panel.py), and its row (two lines of 12 px type and
   the column's gap, 43 px) stays as room under the buttons. Without it the buttons' column is lower than the stage of a tool with a long
   list of keys, and the page under the panel moved by 14-33 px when such a tool was picked; with it the panel is as high as in build15. */
@media (min-width: 1024px) {
  .explorer.big > .xp-panel::after { content: ""; height: calc(2 * 1.3 * max(var(--t-min), .8125rem)); }   /* the column is a grid: its gap comes by itself */
}
/* phones: the label has its own line under the buttons; two lines are kept for it in every state, so nothing below moves when a clip
   with a longer title (or the film, which has none) comes on */
@media (max-width: 719.98px) {
  .xp-cl .cl-cur { align-items: flex-start; min-height: calc(2 * 1.3 * .9375rem); }
  .xp-cl .cl-cur .n { line-height: 1.3; }
  .xp-cl .cl-cur .cl-ti { align-self: flex-start; width: 1.25rem; height: 1.25rem; }
}
/* full screen: the panel's grey video ground (#2B2B2B) gives way to the full screen's dark one */
.xp-cl[data-cl-fs]:fullscreen video { background: transparent; }
.xp-cl[data-cl-fs]:-webkit-full-screen video { background: transparent; }
/* N216 build17 B4 fix (hub 17.11, ACCEPTANCE «без служебных подписей под плеером»): the panel's idle description under the player
   («Bright buttons play a real screen recording. The click is framed in yellow...») is emptied in the page (panelsum.py); the bundle
   still writes a pressed tool's summary into .xp-sum and puts the empty idle text back after «Watch the film», so an empty line
   takes no room (its .25rem top margin included). Joined after build16's clip-panel.css. */
.xp-info .xp-sum:empty { display: none; }

/* the explorers (HQ 2026-12-02, phase 7): case (c) the /guides explorer (.explorer.big), case (d) the home explorer (.explorer). While the screen holds a recording (a clip or a poster under assets/video/; 7b: also the two kept old clips of Relax Nodes and Mesh Iron under assets/clips/) its frame
   is light with a thin border (the site's --paper and --line) and takes the aspect of the clip: 16 / 9 until the clip's own size is known, then xp-frame.js sets the exact one. The film and the "coming" state keep the dark frame. */
.explorer .xp-screen:has(video:is([src*="assets/video/"], [poster*="assets/video/"], [src*="assets/clips/"], [poster*="assets/clips/"])) { aspect-ratio: 16 / 9; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.explorer .xp-screen:has(video:is([src*="assets/video/"], [poster*="assets/video/"], [src*="assets/clips/"], [poster*="assets/clips/"])) video { background: var(--paper); }
