/* =====================================================================
   STORYVERSE CORE — общий стиль главного меню (core.html) и разделов (core-section.html).
   База — style.css + fx.css (шапка, зерно, моно-подписи). Акцент — --fx-core.
   Меню и разделы — одна страница (core.js). Переход: частицы ядра обводят плитку, плитка раскрывается в баннер.
   ===================================================================== */
#kc-core { position: fixed; inset: 0; z-index: 0; width: 100vw; height: 100vh; pointer-events: none; }   /* 3D-ядро — фон меню: растёт при прокрутке (core.js) */
body.is-sec #kc-core { visibility: hidden; }
#kc-hub, #kc-section, .kc-foot { position: relative; z-index: 1; }
/* рамка видоискателя во время перехода (как fx-vf на Production, но крупнее) */
.kc-vfx { position: fixed; z-index: 30; pointer-events: none; }
.kc-vfx i { position: absolute; width: 28px; height: 28px; border: 0 solid #fff; filter: drop-shadow(0 0 6px rgba(0,0,0,.6)); }
.kc-vfx i:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.kc-vfx i:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.kc-vfx i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.kc-vfx i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.kc-vfx__lbl, .kc-vfx__tc { position: absolute; font-family: var(--fx-mono); font-size: 11px; letter-spacing: .14em; color: #fff; white-space: nowrap; text-shadow: 0 0 8px rgba(0,0,0,.8); }
.kc-vfx__lbl { top: -22px; left: 0; } .kc-vfx__lbl b { color: var(--fx-core); font-weight: 400; animation: fx-blink 1s steps(1) infinite; }
.kc-vfx__tc { bottom: -22px; right: 0; color: rgba(255,255,255,.7); }
/* CRT-строки и мерцание на кадре во время раскрытия */
.kc-banner.is-morph::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.4) 0 1px, transparent 1px 3px); animation: kc-crt .9s steps(9) both; }
@keyframes kc-crt { 0% { opacity: 1; } 30% { opacity: .55; } 45% { opacity: 1; } 100% { opacity: 0; } }
.kc-door .fx-vf { --vf-inset: 12px; }
.kc-door:hover .fx-vf--hover i { opacity: 1; transform: none; }
.kc-door:hover .fx-vf--hover .fx-vf__lbl { opacity: 1; }
.kc-banner .fx-vf { --vf-inset: 16px; }
.kc-head .section-title { margin: 0; text-align: left; }
#kc-section.is-fly { position: fixed; inset: 0; z-index: 20; overflow: hidden; }   /* во время перехода раздел лежит поверх меню */
.kc-banner { will-change: clip-path; }

body.kc { background: #050505; color: #fff; }
.kc-w { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.kc-mono { font-family: var(--fx-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5); margin: 0; }
.kc-h2 { margin: 6px 0 0; font-size: clamp(30px, 4.4vw, 56px); line-height: 1; font-weight: 800; text-transform: uppercase; }
.kc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.kc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; color: #fff; border: 1px solid rgba(255,255,255,.3); background: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.kc-btn:hover { background: #fff; color: #000; border-color: #fff; }
.kc-btn--red { background: var(--fx-core); border-color: var(--fx-core); }
.kc-btn--light { background: #fff; color: #000; border-color: #fff; }
.kc-btn--light:hover { background: transparent; color: #fff; }
:is(.kc-btn, .kc-door, .kc-card, .kc-search input, .kc-tag, .kc-back, .kc-foot a):focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.kc-soon { font-family: var(--fx-mono); font-size: 9px; letter-spacing: .16em; padding: 3px 6px; border: 1px solid currentColor; border-radius: 3px; }
.kc-tag { min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: none; color: rgba(255,255,255,.65); font: inherit; font-size: 12px; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.kc-tag:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.kc-tag.is-on { background: #fff; color: #000; border-color: #fff; }

/* ---------- ГЛАВНОЕ МЕНЮ: 3D-ядро ---------- */
.kc-hero { position: relative; height: min(88svh, 780px); min-height: 560px;   /* «Разделы» выглядывают внизу первого экрана */ display: grid; place-items: center; overflow: hidden; }
.kc-shade { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(62% 62% at 50% 45%, transparent 28%, rgba(5,5,5,.78) 82%), linear-gradient(180deg, rgba(5,5,5,.25), transparent 30%, transparent 70%, rgba(5,5,5,.38)); }   /* затемнение над ядром — до конца страницы */
body.is-sec .kc-shade { visibility: hidden; }
#kc-hub > main { position: relative; z-index: 1; }   /* всё содержимое меню — над ядром и затемнением */
.kc-hero__in { position: relative; z-index: 2; text-align: center; padding: 90px 16px 0; width: 100%; max-width: 760px; }
.kc-hero__in::before { content: ""; position: absolute; z-index: -1; inset: 60px -10% -30px; background: radial-gradient(closest-side, rgba(5,5,5,.88), rgba(5,5,5,.55) 60%, transparent); pointer-events: none; }
.kc-hero__in h1 { margin: 12px 0 0; } .kc-hero__in h1 img { width: min(520px, 82vw); height: auto; }
.kc-hero__sub { margin: 14px auto 24px; max-width: 540px; font-size: clamp(15px, 1.4vw, 17px); line-height: 1.55; color: rgba(255,255,255,.78); }
.kc-search { display: flex; gap: 8px; max-width: 580px; margin: 0 auto; padding: 6px; border-radius: 999px; background: rgba(10,10,10,.88); border: 1px solid rgba(255,255,255,.18); }
.kc-search input { flex: 1; min-width: 0; min-height: 44px; padding: 0 16px; border: 0; background: none; color: #fff; font: inherit; font-size: 15px; border-radius: 999px; }
.kc-search input::placeholder { color: rgba(255,255,255,.4); }
.kc-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

/* ---------- ГЛАВНОЕ МЕНЮ: бенто-сетка «дверей» ---------- */
.kc-sec { padding: clamp(24px, 3.5vw, 48px) 0 0; }
.kc-bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 170px; gap: 14px; perspective: 1400px; }
.kc-door { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; border-radius: 16px; overflow: hidden; text-decoration: none; color: #fff; background: #0c0c0c; border: 1px solid rgba(255,255,255,.1); transform-style: preserve-3d; transition: transform .5s var(--fx-ease), border-color .4s; }
.kc-door:hover { border-color: rgba(255,42,42,.6); }
.kc-door > img, .kc-door > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .5s, transform .8s var(--fx-ease); }
.kc-door > video { opacity: 0; }
.kc-door:hover > img { opacity: .75; transform: scale(1.04); } .kc-door:hover > video { opacity: .85; transform: scale(1.04); }
.kc-door::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(5,5,5,.1), rgba(5,5,5,.88)); }
.kc-door > *:not(video):not(img):not(.fx-vf) { position: relative; z-index: 2; }   /* рамка видоискателя остаётся поверх плитки, а не в потоке текста */
.kc-door > .fx-vf { z-index: 3; }
.kc-door h3 { margin: 6px 0 4px; font-size: clamp(22px, 2.4vw, 34px); font-weight: 800; text-transform: uppercase; }
.kc-door p { margin: 0; font-size: 13px; color: rgba(255,255,255,.72); max-width: 34ch; }
.kc-door__n { position: absolute !important; top: 16px; right: 18px; font-family: var(--fx-mono); font-size: 11px; color: rgba(255,255,255,.6); }
.kc-door__go { position: absolute !important; bottom: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #000; font-size: 18px; transition: transform .4s var(--fx-ease); }
.kc-door:hover .kc-door__go { transform: rotate(-45deg); }
.kc-door--plugins { grid-column: span 4; grid-row: span 2; }
.kc-door--packs { grid-column: span 2; grid-row: span 2; }
.kc-door--materials, .kc-door--lessons { grid-column: span 2; }
.kc-door--titles { grid-column: span 1; }
.kc-door--free { grid-column: span 1; background: var(--fx-core); border-color: var(--fx-core); }
.kc-door--free::before { background: radial-gradient(circle at 80% 0%, rgba(255,255,255,.25), transparent 60%); }
.kc-door--free h3, .kc-door--titles h3 { font-size: 20px; }

.kc-free { margin-top: clamp(40px, 6vw, 70px); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: clamp(22px, 3vw, 34px); border-radius: 18px; text-decoration: none; color: #fff; background: radial-gradient(90% 140% at 100% 0%, rgba(255,42,42,.4), transparent 60%), linear-gradient(135deg, #1a0606, #0b0b0b 65%); border: 1px solid rgba(255,42,42,.4); transition: border-color .3s; }
.kc-free:hover { border-color: var(--fx-core); }
.kc-free h2 { margin: 6px 0 4px; font-size: clamp(24px, 3vw, 38px); font-weight: 800; }
.kc-free p { margin: 0; color: rgba(255,255,255,.7); font-size: 14px; }

/* ---------- РАЗДЕЛ: «влетели» ---------- */
.kc-top { position: relative; z-index: 3; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 92px 0 18px; }
.kc-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); color: #fff; text-decoration: none; font-size: 13px; font-weight: 600; transition: background .25s, color .25s; }
.kc-back:hover { background: #fff; color: #000; }
.kc-crumb { font-family: var(--fx-mono); font-size: 11px; letter-spacing: .16em; color: rgba(255,255,255,.5); }
.kc-crumb b { color: #fff; font-weight: 500; }
.kc-tabs { display: flex; gap: 4px; margin-left: auto; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.kc-tabs::-webkit-scrollbar { display: none; }
.kc-tabs a { min-height: 38px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; font-size: 13px; color: rgba(255,255,255,.6); text-decoration: none; white-space: nowrap; }
.kc-tabs a:hover { color: #fff; background: rgba(255,255,255,.07); }
.kc-tabs a.is-on { color: #000; background: #fff; }

/* баннер главного товара — как у Procedural CRT: кадр с градиентом, книзу темнее */
.kc-banner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; min-height: min(62vh, 560px); border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: #0a0a0a; }
.kc-banner__m { position: absolute; inset: 0; }
.kc-banner__m img, .kc-banner__m video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kc-banner__m video { opacity: 0; transition: opacity .6s; } .kc-banner__m video.is-on { opacity: 1; }
.kc-banner__m::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,5,.15) 0%, rgba(5,5,5,.35) 40%, rgba(5,5,5,.94) 100%), linear-gradient(90deg, rgba(5,5,5,.75), transparent 60%); }
.kc-banner__in { position: relative; z-index: 2; padding: clamp(22px, 4vw, 48px); }
.kc-banner__icon { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; font-family: var(--fx-mono); font-size: 13px; font-weight: 600; letter-spacing: .06em; color: #fff; background: linear-gradient(160deg, #ff5a4a, var(--fx-core) 45%, #5a0808); box-shadow: 0 12px 40px rgba(255,42,42,.4), inset 0 1px 0 rgba(255,255,255,.35); }
.kc-banner h1 { margin: 8px 0 10px; font-size: clamp(34px, 5vw, 66px); line-height: .95; font-weight: 800; text-transform: uppercase; }
.kc-banner p.kc-lead { margin: 0 0 20px; max-width: 46ch; color: rgba(255,255,255,.78); font-size: clamp(15px, 1.3vw, 17px); line-height: 1.55; }
.kc-feat { position: relative; z-index: 2; align-self: end; margin: clamp(16px, 3vw, 36px); padding: 18px; border-radius: 16px; background: rgba(8,8,8,.78); border: 1px solid rgba(255,255,255,.14); }
.kc-feat h2 { margin: 8px 0 4px; font-size: 22px; }
.kc-feat p { margin: 0; color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.5; }
.kc-price { display: flex; align-items: baseline; gap: 10px; margin: 14px 0; }
.kc-price b { font-size: 28px; } .kc-price s { color: rgba(255,255,255,.35); }
.kc-price span { font-family: var(--fx-mono); font-size: 10px; letter-spacing: .12em; color: rgba(255,255,255,.45); }
.kc-feat .kc-row { display: flex; gap: 8px; flex-wrap: wrap; }
/* версия «в разработке» (core.js, SOON): плашка вместо «Главное в разделе» — красное свечение и «!», как у эффекта «СКОРО, В РАЗРАБОТКЕ» (_инструменты/заготовки) */
.kc-feat--soon { border-color: rgba(255,70,96,.9); background: linear-gradient(180deg, rgba(255,65,92,.2), rgba(135,22,40,.16)), rgba(8,8,8,.82);
  box-shadow: inset 0 0 0 1px rgba(255,116,136,.28), 0 0 14px rgba(255,55,86,.42), 0 0 28px rgba(255,34,70,.3); animation: kc-soon-glow 3.2s ease-in-out infinite; }
.kc-feat--soon h2 { padding-right: 36px; } .kc-feat--soon > .kc-mono { max-width: calc(100% - 36px); }   /* место под «!» справа сверху */
.kc-feat--soon h2 { color: #ffe8ec; text-shadow: 0 0 10px rgba(255,58,77,.5); }
.kc-feat--soon p:not(.kc-mono) { margin-bottom: 16px; color: rgba(255,232,236,.78); }
.kc-soon__ic { position: absolute; top: 12px; right: 16px; font-size: 30px; font-weight: 700; line-height: 1; color: rgba(255,88,104,.96); text-shadow: 0 0 10px rgba(255,58,77,.6); }
.kc-soon__dot { font-style: normal; color: var(--fx-core); animation: kc-soon-rec 1.2s steps(1, end) infinite; }
@keyframes kc-soon-glow { 50% { box-shadow: inset 0 0 0 1px rgba(255,116,136,.2), 0 0 8px rgba(255,55,86,.28), 0 0 16px rgba(255,34,70,.18); } }
@keyframes kc-soon-rec { 50% { opacity: .15; } }
@media (prefers-reduced-motion: reduce) { .kc-feat--soon, .kc-soon__dot { animation: none; } }

/* сетка позиций раздела */
.kc-list { margin-top: clamp(50px, 6vw, 80px); }
.kc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kc-card { display: flex; flex-direction: column; border-radius: 14px; background: #0b0b0b; border: 1px solid rgba(255,255,255,.08); overflow: hidden; text-decoration: none; color: #fff; transition: border-color .3s, transform .35s var(--fx-ease); }
.kc-card:hover { border-color: rgba(255,255,255,.35); transform: translateY(-3px); }
.kc-card__m { position: relative; aspect-ratio: 16/10; background: #000; overflow: hidden; }
.kc-card__m img, .kc-card__m video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kc-card__m video { opacity: 0; transition: opacity .4s; } .kc-card__m video.is-on { opacity: 1; }
.kc-card__m::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5,5,5,.7)); pointer-events: none; }
.kc-card__t { position: absolute; z-index: 2; left: 10px; top: 10px; font-family: var(--fx-mono); font-size: 9px; letter-spacing: .14em; padding: 4px 7px; border-radius: 3px; background: #fff; color: #000; }
.kc-card__t--free { background: var(--fx-core); color: #fff; }
.kc-card__d { position: absolute; z-index: 2; right: 10px; bottom: 10px; font-family: var(--fx-mono); font-size: 10px; letter-spacing: .08em; }
.kc-card__b { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.kc-card__b h3 { margin: 0; font-size: 17px; font-weight: 700; }
.kc-card__b p { margin: 0; font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.45; }
.kc-card__f { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; font-size: 17px; font-weight: 700; }
.kc-card__f span { min-height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; background: #fff; color: #000; font-size: 12px; font-weight: 600; }

/* титры онлайн */
.kc-tool { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; margin-top: clamp(40px, 5vw, 70px); padding: clamp(20px, 3vw, 34px); border-radius: 18px; border: 1px solid rgba(255,255,255,.1); background: linear-gradient(135deg, #0e0e0e, #070707); }
.kc-tool label { display: block; margin: 0 0 6px; font-size: 13px; color: rgba(255,255,255,.7); }
.kc-tool input[type=text] { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); background: #0a0a0a; color: #fff; font: inherit; font-size: 16px; }
.kc-styles { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.kc-screen { position: relative; border-radius: 12px; overflow: hidden; min-height: 280px; display: grid; place-items: center; background: #000; }
.kc-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.kc-screen::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.35) 0 1px, transparent 1px 3px); pointer-events: none; }
.kc-title { position: relative; z-index: 2; padding: 0 20px; text-align: center; font-size: clamp(28px, 4vw, 58px); font-weight: 900; line-height: 1; text-transform: uppercase; word-break: break-word; }
.kc-title[data-s="crt"] { color: #fff; text-shadow: -2px 0 rgba(255,42,42,.9), 2px 0 rgba(0,200,255,.8), 0 0 24px rgba(255,255,255,.4); letter-spacing: .04em; }
.kc-title[data-s="red"] { color: var(--fx-core); font-style: italic; text-shadow: 0 0 30px rgba(255,42,42,.6); }
.kc-title[data-s="mono"] { font-family: var(--fx-mono); font-weight: 500; font-size: clamp(20px, 2.6vw, 34px); letter-spacing: .25em; }
.kc-title[data-s="outline"] { color: transparent; -webkit-text-stroke: 1.5px #fff; }

.kc-out { margin-top: clamp(60px, 7vw, 100px); display: flex; justify-content: center; }
.kc-note { margin: 28px 0 0; text-align: center; }
/* подвал: соцсети + «Связаться» (раскрывающаяся плашка связи) + документы */
.kc-foot { margin-top: clamp(40px, 5vw, 70px); padding: 0 16px 26px; border-top: 1px solid rgba(255,255,255,.08); }
.kc-foot__row { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 30px 0; }
.kc-foot__row .kc-soc { justify-self: start; }
.kc-foot__row .kc-foot__brand { justify-self: end; }
.kc-foot__brand { font-family: var(--fx-mono); font-size: 11px; letter-spacing: .22em; color: rgba(255,255,255,.55); }
.kc-foot__brand b { color: var(--fx-core); font-weight: 400; }
.kc-soc { display: flex; gap: 8px; }
.kc-soc a, .kc-fly { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.75); font-size: 17px; text-decoration: none; transition: color .25s, border-color .25s, background .25s; }
.kc-soc a:hover { color: #fff; border-color: var(--fx-core); background: rgba(255,42,42,.12); }
.kc-foot__cta { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: none; color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .25s, border-color .25s; }
.kc-foot__cta:hover, .kc-foot__cta[aria-expanded="true"] { border-color: var(--fx-core); background: rgba(255,42,42,.14); }
.kc-foot__cta i { font-style: normal; transition: transform .45s var(--fx-ease); }
.kc-foot__cta[aria-expanded="true"] i { transform: rotate(180deg); }
.kc-contact { display: none; }
.kc-contact.is-open { display: block; }
.kc-contact .contacts-contacts { transition: opacity .5s; }
.kc-contact.is-leaving .contacts-contacts { opacity: 0; }
.kc-contact .section-title { text-align: center; }
.kc-contact .contacts-contacts { background: transparent; }
.kc-contact .side-icon.is-wait { opacity: 0; }
.kc-soc a.is-away { visibility: hidden; }
/* иконка в полёте между строкой соцсетей и местом у фото */
.kc-fly { position: fixed; z-index: 60; margin: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: #0a0a0a; color: #fff; pointer-events: none; box-shadow: 0 0 22px rgba(255,255,255,.18); }
.kc-foot__legal { max-width: 1200px; margin: 0 auto; display: flex; gap: 8px 22px; flex-wrap: wrap; font-family: var(--fx-mono); font-size: 10px; letter-spacing: .14em; color: rgba(255,255,255,.4); text-transform: uppercase; }
.kc-foot__legal a { color: inherit; text-decoration: none; padding: 4px 0; } .kc-foot__legal a:hover { color: #fff; }
.kc-foot__legal span { margin-right: auto; padding: 4px 0; }
@media (max-width: 720px) {
}


@media (max-width: 1000px) {
  .kc-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .kc-door--plugins, .kc-door--packs { grid-column: span 2; grid-row: span 1; }
  .kc-door--materials, .kc-door--lessons, .kc-door--titles, .kc-door--free { grid-column: span 1; }
  .kc-banner { grid-template-columns: 1fr; }
  .kc-grid { grid-template-columns: 1fr 1fr; }
  .kc-tool { grid-template-columns: 1fr; }
  .kc-tabs { margin-left: 0; }
}
@media (max-width: 560px) {
  .kc-grid { grid-template-columns: 1fr; }
  .kc-door h3 { font-size: 20px; } .kc-door p { display: none; }
  .kc-door--plugins h3 { font-size: 26px; } .kc-door--plugins p { display: block; }
  .kc-banner__icon { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .kc-door, .kc-card { transition: none; }
}

/* подлёт после перехода из Production: чёрный экран, растворяется, пока камера летит к ядру */
.kc-ignite { position: fixed; inset: 0; z-index: 9999; pointer-events: none; background: #000; }
/* плашка «Забрать в Telegram» — подсветка, когда пришли из подвала Production */
.kc-free.is-hl { animation: kc-hl 1.3s ease-in-out 2; }
@keyframes kc-hl { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,42,42,0); } 50% { box-shadow: 0 0 0 3px rgba(255,42,42,.7), 0 0 50px rgba(255,42,42,.45); } }
/* пришли из Production: с первого кадра чёрный экран с красной точкой — страница не «мелькает» до зажигания */
html.kc-intro::after { content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none; background: #000; }

/* ---------- плитки меню: без наведения — подпись + название + красная черта; при наведении выезжает описание ---------- */
.kc-door h3::after { content: ""; display: block; width: 28px; height: 2px; margin-top: 10px; background: var(--fx-core); transition: width .45s var(--fx-ease); }
.kc-door:hover h3::after, .kc-door:focus-visible h3::after { width: 64px; transition-duration: .8s; transition-delay: .1s; }
.kc-door > p:not(.kc-mono) { max-height: 0; opacity: 0; transform: translateY(10px); overflow: hidden; transition: max-height .55s cubic-bezier(.33,1,.68,1), opacity .4s ease, transform .55s cubic-bezier(.33,1,.68,1); }
.kc-door:hover > p:not(.kc-mono), .kc-door:focus-visible > p:not(.kc-mono) { max-height: 4.8em; opacity: 1; transform: none; transition-duration: .8s, .7s, .8s; transition-delay: .12s, .2s, .12s; }   /* медленнее и с задержкой: быстрый проход мышью не дёргает плитки */
@media (hover: none) { .kc-door > p:not(.kc-mono) { max-height: none; opacity: 1; transform: none; } }

/* ---------- номер раздела на баннере: контурные цифры в углу, как нумерация Production ---------- */
.kc-num { position: absolute; z-index: 3; top: clamp(28px, 4vw, 44px); left: clamp(30px, 4vw, 50px); display: flex; align-items: baseline; gap: 10px; pointer-events: none; }
.kc-num b { font-size: clamp(54px, 7vw, 96px); line-height: .85; font-weight: 800; color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.75); letter-spacing: -.02em; }
.kc-num i { font-style: normal; font-family: var(--fx-mono); font-size: 11px; letter-spacing: .2em; color: rgba(255,255,255,.55); }
.kc-num i::before { content: "●"; color: var(--fx-core); margin-right: 6px; }

/* ---------- поиск + быстрые фильтры раздела — одна строка, без раскрывающихся меню ---------- */
.kc-find { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; margin: 0 0 22px; }
.kc-find__f { flex: 0 1 auto; }
.kc-find__q { flex: 1 1 240px; min-width: 0; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(10,10,10,.85); color: #fff; font: inherit; font-size: 14px; }
.kc-find__q::placeholder { color: rgba(255,255,255,.4); }
.kc-find__q:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.kc-find__f { display: flex; gap: 6px; flex-wrap: wrap; }
.kc-find__f .kc-tag { min-height: 40px; padding: 0 14px; font-size: 13px; }
.kc-card[hidden] { display: none; }
.kc-empty { margin: 10px 0 0; color: rgba(255,255,255,.6); font-size: 15px; }
.kc-empty__reset { font: inherit; color: #fff; background: none; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; padding: 0; }
.kc-feat__meta { margin-top: -4px !important; color: rgba(255,255,255,.4) !important; }
.kc-faq { padding: clamp(60px, 8vw, 110px) 0 0; }
.kc-faq .fx-faq__list { max-width: none; margin: 0; }

/* подпись над заголовком: латиница («CORE») и кириллица одним шрифтом — Monument Extended без кириллицы давал разную толщину */

/* =====================  СТРАНИЦА ПЛАГИНА (core.html?s=plugins&p=…)  ===================== */
.kc-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.kc-chips li { font-family: var(--fx-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.35); color: rgba(255,255,255,.85); }
.kc-prod__note { margin-top: 12px !important; font-size: 12px !important; color: rgba(255,255,255,.45) !important; }
.kc-psec { margin-top: clamp(80px, 9vw, 130px); }
.kc-plead { max-width: 60ch; margin: -6px 0 22px; color: rgba(255,255,255,.72); font-size: clamp(15px, 1.3vw, 17px); line-height: 1.6; }
/* до / после */
.kc-cmp { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: #000; user-select: none; }
.kc-cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kc-cmp__b { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--x)); }
.kc-cmp__b::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.kc-cmp__line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 18px rgba(255,255,255,.6); pointer-events: none; }
.kc-cmp__line i { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #000; font-style: normal; font-size: 18px; }
.kc-cmp__l { position: absolute; top: 16px; left: 16px; padding: 6px 10px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff !important; pointer-events: none; }
.kc-cmp__l--r { left: auto; right: 16px; }
.kc-cmp__r { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.kc-cmp:has(.kc-cmp__r:focus-visible) { outline: 2px solid #fff; outline-offset: 3px; }
.kc-cmp__p { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.kc-cmp__p .kc-tag { min-height: 40px; padding: 0 14px; font-size: 13px; }
/* «пресеты» до/после — имитация стилем, пока нет реальных кадров из плагина */
.kc-cmp__b img { transition: filter .5s; }
.kc-cmp__b[data-look] img { filter: contrast(1.2) saturate(1.4) brightness(1.2); }
.kc-cmp__b[data-look]::after { background: repeating-linear-gradient(0deg, rgba(0,0,0,.28) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(255,0,0,.1) 0 1px, rgba(0,255,0,.08) 1px 2px, rgba(0,80,255,.1) 2px 3px); box-shadow: inset 0 0 90px 10px rgba(0,0,0,.6); }
.kc-cmp__b[data-look="vhs"] img { filter: saturate(.85) contrast(1.1) sepia(.2) blur(.7px); }
.kc-cmp__b[data-look="vhs"]::after { background: linear-gradient(180deg, transparent 62%, rgba(255,255,255,.1) 64%, transparent 67%), repeating-linear-gradient(0deg, rgba(0,0,0,.3) 0 1px, transparent 1px 3px); box-shadow: inset 0 0 90px 20px rgba(0,0,0,.7); }
.kc-cmp__b[data-look="cctv"] img, .kc-cmp__b[data-look="bw"] img { filter: grayscale(1) contrast(1.45) brightness(1.1); }
.kc-cmp__b[data-look="cctv"]::after { background: repeating-linear-gradient(0deg, rgba(0,0,0,.45) 0 1px, transparent 1px 2px), rgba(40,255,120,.12); }
.kc-cmp__b[data-look="arcade"] img { filter: saturate(1.9) contrast(1.35); }
.kc-cmp__b[data-look="arcade"]::after { background: repeating-linear-gradient(0deg, rgba(0,0,0,.55) 0 2px, transparent 2px 4px); box-shadow: inset 0 0 90px 10px rgba(0,0,0,.65); }
.kc-cmp__b[data-look="broadcast"] img { filter: contrast(1.12) saturate(1.1); }
.kc-cmp__b[data-look="broadcast"]::after { background: repeating-linear-gradient(0deg, rgba(0,0,0,.2) 0 1px, transparent 1px 3px); }
.kc-cmp__b:is([data-look="kodak"], [data-look="s16"], [data-look="bw"], [data-look="expired"])::after { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E"); mix-blend-mode: overlay; box-shadow: inset 0 0 120px 20px rgba(0,0,0,.6); }
.kc-cmp__b[data-look="kodak"] img { filter: sepia(.22) saturate(1.15) contrast(1.06); }
.kc-cmp__b[data-look="s16"] img { filter: sepia(.3) saturate(1.2) contrast(1.15) blur(.4px); }
.kc-cmp__b[data-look="expired"] img { filter: sepia(.35) hue-rotate(-18deg) saturate(1.5) contrast(.95); }
/* модули, совместимость */
.kc-mods, .kc-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kc-mod { padding: clamp(20px, 2.4vw, 28px); border-radius: 16px; background: #0b0b0b; border: 1px solid rgba(255,255,255,.08); transition: border-color .3s; }
.kc-mod:hover { border-color: rgba(255,42,42,.5); }
.kc-mod__n { font-family: var(--fx-mono); font-size: 11px; letter-spacing: .16em; color: var(--fx-core); }
.kc-mod h3 { margin: 14px 0 8px; font-size: clamp(18px, 1.6vw, 21px); }
.kc-mod p { margin: 0; color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.55; }
.kc-mod .kc-mono { color: var(--fx-core); }
.kc-req { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; font-family: var(--fx-mono); font-size: 11px; letter-spacing: .08em; color: rgba(255,255,255,.55); }
.kc-req li::before { content: "● "; color: var(--fx-core); }
/* в действии */
.kc-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kc-gal__i { position: relative; margin: 0; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); background: #000; }
.kc-gal__i img, .kc-gal__i video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kc-gal__i video { opacity: 0; transition: opacity .5s; } .kc-gal__i video.is-on { opacity: 1; }
.kc-gal__i .kc-mono { position: absolute; left: 12px; bottom: 10px; color: rgba(255,255,255,.8); }
/* урок */
.kc-lesson { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: 18px; overflow: hidden; background: #0b0b0b; border: 1px solid rgba(255,255,255,.08); color: #fff; text-decoration: none; transition: border-color .3s; }
.kc-lesson:hover { border-color: rgba(255,255,255,.3); }
.kc-lesson__m { position: relative; aspect-ratio: 16 / 9; }
.kc-lesson__m img, .kc-lesson__m video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kc-lesson__m video { opacity: 0; transition: opacity .5s; } .kc-lesson__m video.is-on { opacity: 1; }
.kc-lesson__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; border-radius: 50%; background: var(--fx-core); font-size: 20px; padding-left: 4px; }
.kc-lesson__b { padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.kc-lesson__b h3 { margin: 0; font-size: clamp(20px, 2vw, 28px); }
.kc-lesson__b p { margin: 0; color: rgba(255,255,255,.65); line-height: 1.55; }
.kc-lesson__b .kc-mono { color: var(--fx-core); }
.kc-lesson__b .kc-btn { align-self: flex-start; margin-top: 8px; }
/* финальный призыв */
.kc-pcta { margin-top: clamp(80px, 9vw, 130px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(26px, 4vw, 48px); border-radius: 22px; border: 1px solid rgba(255,42,42,.35); background: radial-gradient(120% 140% at 0% 0%, rgba(255,42,42,.16), transparent 60%), #0a0a0a; }
.kc-pcta h2 { margin: 8px 0 6px; font-size: clamp(34px, 5vw, 64px); line-height: .95; font-weight: 800; text-transform: uppercase; }
.kc-pcta p { margin: 0; color: rgba(255,255,255,.7); }
.kc-pcta__go { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.kc-pcta__go .kc-price { margin: 0 8px 0 0; }
/* «Купить», пока нет оплаты: при наведении — «скоро в продаже» (эффект из Production) */
.kc-buy { position: relative; overflow: hidden; }
.kc-buy::after { content: attr(data-soon); position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--fx-mono); font-size: 11px; letter-spacing: .16em; background: #0a0a0a; color: var(--fx-core); opacity: 0; transform: translateY(100%); transition: opacity .3s, transform .35s var(--fx-ease); }
.kc-buy:is(:hover, .is-soon) { box-shadow: 0 0 0 1px var(--fx-core), 0 0 24px rgba(255,42,42,.45); }
.kc-buy:is(:hover, .is-soon)::after { opacity: 1; transform: none; }
.kc-buy.kc-btn--red:hover { background: var(--fx-core); color: #fff; border-color: var(--fx-core); }
@media (max-width: 900px) {
  .kc-mods, .kc-works, .kc-gal { grid-template-columns: 1fr 1fr; }
  .kc-lesson { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .kc-mods, .kc-works, .kc-gal { grid-template-columns: 1fr; }
  .kc-cmp { aspect-ratio: 4 / 3; }
}

/* подпись в строке документов */
.kc-foot__legal b { color: var(--fx-core); font-weight: 400; }

/* ЯДРО STORYVERSE — короткая идея перед разделами */
.kc-idea { padding: clamp(40px, 6vw, 80px) 0 clamp(20px, 3vw, 40px); }
.kc-idea__lead { max-width: 30ch; margin: 0 0 clamp(30px, 4vw, 50px); font-size: clamp(22px, 2.6vw, 36px); line-height: 1.3; font-weight: 500; color: rgba(255,255,255,.62); }
.kc-idea__lead b { color: #fff; font-weight: 600; }
.kc-idea__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.12); }
.kc-idea__list li { padding: 22px 22px 0 0; }
.kc-idea__list li + li { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.08); }
.kc-idea__list span { font-family: var(--fx-mono); font-size: 11px; letter-spacing: .16em; color: var(--fx-core); }
.kc-idea__list h3 { margin: 12px 0 6px; font-size: clamp(17px, 1.5vw, 20px); }
.kc-idea__list p { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.6); }

/* FAQ: слева заголовок и «Задать вопрос», справа вопросы — всё по одной левой линии, без пустого «запаса» под ответ */
.kc-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 30px clamp(30px, 5vw, 80px); align-items: start; padding-bottom: clamp(30px, 4vw, 60px) !important; }
.kc-faq .section-title { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.kc-faq__side p { margin: 0 0 18px; color: rgba(255,255,255,.62); line-height: 1.55; }
.kc-faq .fx-faq__a p { padding-left: 70px; }
@media (max-width: 900px) {
  .kc-faq { grid-template-columns: 1fr; }
  .kc-idea__list { grid-template-columns: 1fr; }
  .kc-idea__list li, .kc-idea__list li + li { padding: 18px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
}
.kc-faq__side .kc-head { margin-bottom: 14px; }
/* контакты на узких экранах: иконки всегда по бокам от фото, не переносятся вниз */
.kc-contact .photo-with-icons { flex-wrap: nowrap; }
@media (max-width: 768px) { .kc-contact .photo-with-icons { gap: clamp(16px, 5vw, 40px); } }
@media (max-width: 720px) {
  .kc-foot__row { grid-template-columns: 1fr; justify-items: center; }
  .kc-foot__row .kc-soc, .kc-foot__row .kc-foot__brand { justify-self: center; }
  .kc-foot__row .kc-foot__cta { order: -1; }
}

/* ===== адаптив: ничего не налезает (проверка — _инструменты/проверка_вёрстки.mjs) ===== */
.kc-feat__meta { margin-top: 3px !important; }
.kc .kc-head .title-main { padding-left: 0; padding-right: 0; }   /* заголовок ровно по линии подписи */
@media (max-width: 1000px) {
  /* номер раздела уходит из угла в поток над текстом — не накрывает подпись и заголовок; баннер без пустоты */
  .kc-banner { min-height: 0; align-items: start; }
  .kc-num { position: relative; top: auto; left: auto; margin: clamp(26px, 5vw, 40px) 0 0 clamp(22px, 4vw, 48px); }
  .kc-num b { font-size: clamp(46px, 11vw, 72px); }
  .kc-banner__in { padding-top: 14px; }
  .kc-prod__hero .kc-banner__in { padding-top: clamp(56px, 10vw, 80px); }   /* у плагина номера нет — место под рамку видоискателя */
  .kc-feat { margin-top: 0; }
}
@media (max-width: 600px) {
  .kc-tabs { flex-wrap: wrap; overflow: visible; gap: 6px; }   /* все вкладки видны, без скрытой прокрутки вбок */
  .kc-tabs a { min-height: 36px; padding: 0 12px; background: rgba(255,255,255,.05); }
  .kc-feat { margin: 0 12px 12px; }
  .kc-banner__in { padding-left: 22px; padding-right: 22px; }
}
.kc-faq .title-accent { margin-bottom: .5em; }

/* ===== плагин: кадр, пресеты, узоры пикселей (картинки плагина — как экспонаты в нашей рамке, стиль сайта не меняется) ===== */
.kc-shot { position: relative; margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: #000; aspect-ratio: 16 / 9; }
.kc-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kc-shot .fx-vf { --vf-inset: 16px; }
.kc-presets { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.kc-preset, .kc-pattern { position: relative; margin: 0; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); background: #000; transition: border-color .3s, transform .4s var(--fx-ease); }
.kc-preset img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--fx-ease); }
.kc-preset figcaption, .kc-pattern figcaption { position: absolute; left: 8px; bottom: 6px; font-size: 9px; color: rgba(255,255,255,.85); text-shadow: 0 1px 4px #000; }
.kc-preset:hover, .kc-pattern:hover { border-color: rgba(255,42,42,.6); }
.kc-preset:hover img { transform: scale(1.08); }
.kc-patterns { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.kc-pattern img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; image-rendering: pixelated; }
@media (max-width: 1000px) { .kc-presets { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px) { .kc-presets { grid-template-columns: repeat(3, 1fr); } .kc-patterns { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 420px) { .kc-presets, .kc-patterns { grid-template-columns: repeat(2, 1fr); } }

/* =====================  ПЛАГИН «КАК У РЕФЕРЕНСА»: живые демо, график скорости, окно пресетов  ===================== */
.kc-hero2 { grid-template-columns: 1fr !important; place-items: center; min-height: min(86vh, 780px); text-align: center; }
.kc-hero2 .kc-banner__m::after { background: radial-gradient(70% 70% at 50% 50%, rgba(5,5,5,.55), rgba(5,5,5,.94)); }
.kc-hero2 .kc-banner__in { max-width: 900px; padding: clamp(70px, 9vw, 110px) clamp(18px, 4vw, 48px) clamp(34px, 5vw, 56px); display: flex; flex-direction: column; align-items: center; }
.kc-hero2 h1 { font-size: clamp(64px, 12vw, 176px); line-height: 1; margin: 30px 0 20px; letter-spacing: -.01em; text-shadow: 0 2px 36px rgba(0,0,0,.45); }   /* нейтральная тень: красное свечение на светлом кадре выглядело рамкой */
.kc-hero2__h { margin: 0 0 12px; font-size: clamp(20px, 2.4vw, 30px); font-weight: 700; }
.kc-hero2 .kc-lead { margin: 0 auto 26px !important; max-width: 56ch !important; }
.kc-hero2 .kc-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.kc-hero2 .kc-btn { min-height: 52px; padding: 0 26px; font-size: 15px; }
.kc-trust { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: 13px; color: rgba(255,255,255,.7); }
.kc-trust li::before { content: "✓"; color: var(--fx-core); margin-right: 7px; font-weight: 700; }
.kc-compat { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 22px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); font-family: var(--fx-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.kc-compat__app, .kc-compat__os span { display: inline-flex; align-items: center; gap: 8px; }
.kc-compat__os { display: inline-flex; gap: 18px; }
.kc-compat svg { width: 22px; height: 22px; color: #fff; }
.kc-compat i { font-size: 17px; }
.kc-pages + .kc-compat { justify-content: flex-start; border-top: 0; }
.kc-plead b { color: #fff; }
.kc-note-s { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.4); max-width: 80ch; }
/* окно пресетов */
.kc-ppanel { display: grid; grid-template-columns: 1.55fr 1fr; gap: 14px; padding: 14px; border-radius: 20px; background: #0b0b0b; border: 1px solid rgba(255,255,255,.1); }
.kc-ppanel__view { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.kc-ppanel__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kc-ppanel__view .fx-vf { --vf-inset: 12px; }
.kc-ppanel__side .kc-mono { margin: 4px 0 10px; }
.kc-ppanel__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.kc-ppanel__t { padding: 0; border: 1px solid rgba(255,255,255,.1); border-radius: 7px; overflow: hidden; background: #000; cursor: pointer; transition: border-color .25s, transform .25s; }
.kc-ppanel__t img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.kc-ppanel__t:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.4); }
.kc-ppanel__t.is-on { border-color: var(--fx-core); box-shadow: 0 0 0 1px var(--fx-core); }
.kc-ppanel__t:focus-visible, .kc-seg button:focus-visible, .kc-pats button:focus-visible, .kc-modlist button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.kc-mods--3 { margin-top: 14px; }
/* скорость */
.kc-perf { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; padding: clamp(20px, 3vw, 34px); border-radius: 20px; background: #0b0b0b; border: 1px solid rgba(255,255,255,.1); }
.kc-perf .kc-mono { margin-bottom: 16px; }
.kc-bar { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 12px; margin-bottom: 18px; }
.kc-bar__l b { display: block; font-size: 15px; } .kc-bar__l span { font-size: 12px; color: rgba(255,255,255,.5); }
.kc-bar em { font-style: normal; font-family: var(--fx-mono); font-size: 15px; color: rgba(255,255,255,.6); }
.kc-bar i { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: rgba(255,255,255,.07); position: relative; overflow: hidden; }
.kc-bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: rgba(255,255,255,.35); transition: width 1.4s cubic-bezier(.16,1,.3,1) calc(var(--i) * .15s); }
.kc-bar.is-hi em { color: var(--fx-core); }
.kc-bar.is-hi i::after { background: linear-gradient(90deg, #b3121c, var(--fx-core)); box-shadow: 0 0 16px rgba(255,42,42,.5); }
.kc-perf.is-in .kc-bar i::after { width: var(--w); }
/* живые демо */
.kc-lab { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; padding: 14px; border-radius: 20px; background: #0b0b0b; border: 1px solid rgba(255,255,255,.1); }
.kc-lab__screen { position: relative; border-radius: 12px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.kc-lab__screen canvas, .kc-lab__screen > img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.kc-lab__screen .fx-vf { --vf-inset: 12px; }
.kc-lab__ctl { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.kc-lab__ctl .kc-mono { margin-top: 6px; }
.kc-seg { display: flex; padding: 4px; gap: 4px; border-radius: 999px; background: rgba(255,255,255,.06); }
.kc-seg button { flex: 1; min-height: 38px; border: 0; border-radius: 999px; background: none; color: rgba(255,255,255,.7); font: inherit; font-size: 13px; cursor: pointer; }
.kc-seg button.is-on { background: #fff; color: #000; }
.kc-pats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.kc-pats button, .kc-modlist button { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 5px 10px 5px 5px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: none; color: rgba(255,255,255,.75); font: inherit; font-size: 12.5px; text-align: left; line-height: 1.25; cursor: pointer; transition: border-color .25s, color .25s, background .25s; }
.kc-pats img { width: 44px; height: 28px; flex: none; border-radius: 4px; object-fit: cover; image-rendering: pixelated; }
.kc-pats button:hover, .kc-modlist button:hover { color: #fff; border-color: rgba(255,255,255,.35); }
.kc-pats button.is-on, .kc-modlist button.is-on { color: #fff; border-color: var(--fx-core); background: rgba(255,42,42,.1); }
.kc-modlist { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.kc-modlist button { padding-left: 10px; min-height: 40px; }
.kc-modlist span { font-family: var(--fx-mono); font-size: 10px; color: var(--fx-core); }
.kc-lab__d { margin: 6px 0 0; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.04); color: rgba(255,255,255,.8); font-size: 14px; line-height: 1.5; }
.kc-lab--size { grid-template-columns: 1fr; }
.kc-size { display: grid; gap: 10px; padding: 6px 6px 2px; }
.kc-size input { width: 100%; accent-color: var(--fx-core); height: 28px; cursor: pointer; }
.kc-size__ticks { display: flex; justify-content: space-between; font-family: var(--fx-mono); font-size: 11px; color: rgba(255,255,255,.45); }
.kc-size__ticks i { font-style: normal; }
/* страницы Resolve */
.kc-pages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kc-pagecard { position: relative; padding: clamp(22px, 3vw, 32px); border-radius: 18px; background: radial-gradient(120% 90% at 100% 0%, rgba(255,42,42,.12), transparent 55%), #0b0b0b; border: 1px solid rgba(255,255,255,.1); overflow: hidden; }
.kc-pagecard__i { position: absolute; right: -18px; top: -18px; width: 120px; height: 120px; color: rgba(255,255,255,.06); }
.kc-pagecard__i svg { width: 100%; height: 100%; }
.kc-pagecard .kc-mono { color: var(--fx-core); }
.kc-pagecard h3 { margin: 14px 0 8px; font-size: clamp(22px, 2.2vw, 30px); }
.kc-pagecard p:not(.kc-mono) { margin: 0; color: rgba(255,255,255,.68); line-height: 1.55; }
/* урок «скоро», комплект */
.kc-lesson.is-soon .kc-lesson__m img { filter: grayscale(.6) brightness(.6); }
.kc-lesson__soon { position: absolute; top: 14px; left: 14px; padding: 6px 10px; border-radius: 999px; background: var(--fx-core); color: #fff !important; }
.kc-bundle { margin-top: 18px; }
.kc-bundle ul { list-style: none; margin: 10px 0 12px; padding: 0; display: grid; gap: 6px; }
.kc-bundle li { font-size: 14px; color: rgba(255,255,255,.8); } .kc-bundle li::before { content: "✓ "; color: var(--fx-core); font-weight: 700; }
@media (max-width: 1000px) {
  .kc-ppanel, .kc-lab, .kc-perf { grid-template-columns: 1fr; }
  .kc-pages { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .kc-ppanel__grid { grid-template-columns: repeat(4, 1fr); }
  .kc-pats, .kc-modlist { grid-template-columns: 1fr; }
  .kc-hero2 { min-height: 0; }
  .kc-compat { gap: 10px 16px; }
}

/* =====================  CRT PRO v2: первый экран без рамки, лаборатория, «почему», установка  ===================== */
#kc-section { overflow-x: clip; }
.kc-prod--ref { padding-top: 0; }
/* первый экран: без рамки, на всю ширину, живой CRT, внизу плавно уходит в фон */
.kc-prod--ref .kc-hero2 { width: 100vw; margin-left: calc(50% - 50vw); border: 0; border-radius: 0; min-height: 100svh; align-items: center; }
.kc-prod--ref .kc-hero2 .fx-vf { display: none; }
.kc-hero2__cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.kc-prod--ref .kc-hero2 .kc-banner__m::after { background: radial-gradient(60% 55% at 50% 48%, rgba(5,5,5,.72), rgba(5,5,5,.35) 70%), linear-gradient(180deg, rgba(5,5,5,.55) 0%, transparent 22%, transparent 62%, #050505 100%); }
.kc-hero2__nav { position: absolute; z-index: 4; top: 0; left: 0; right: 0; }
.kc-prod--ref .kc-hero2 .kc-banner__in { padding-top: clamp(150px, 16vw, 190px); }
/* карточки пресетов с картинками */
.kc-mod--v { display: flex; flex-direction: column; }
.kc-mv { height: 120px; margin: -4px -4px 18px; border-radius: 12px; background: #050505; border: 1px solid rgba(255,255,255,.06); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.kc-mv--stack img { position: absolute; width: 46%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.6); }
.kc-mv--stack img:nth-child(1) { transform: translate(-44%, 8%) rotate(-6deg); } .kc-mv--stack img:nth-child(2) { transform: translate(0, -6%); z-index: 2; } .kc-mv--stack img:nth-child(3) { transform: translate(44%, 10%) rotate(6deg); }
.kc-mv--grid { display: grid; grid-template-columns: repeat(3, 1fr); align-content: center; gap: 8px; padding: 0 16px 16px; }   /* один ряд: выбранный пресет в центре, подпись снизу не перекрывает */
.kc-mv--grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 5px; border: 1px solid transparent; opacity: .4; }
.kc-mv--grid img.is-on { opacity: 1; border-color: var(--fx-core); box-shadow: 0 0 14px rgba(255,42,42,.5); }
.kc-mv__cur { position: absolute; left: 55%; top: 40%; font-size: 22px; color: #fff; text-shadow: 0 2px 6px #000; }
.kc-mv--code { gap: 8px; flex-wrap: wrap; padding: 10px; font-family: var(--fx-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.kc-mv--code span { padding: 7px 9px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.85); }
.kc-mv--code span:last-child { border-color: var(--fx-core); color: #fff; }
.kc-mv--code b { color: var(--fx-core); font-weight: 400; }
/* лаборатория: экран + управление + модули */
.kc-lab--one { grid-template-columns: 1.55fr 1fr; grid-template-areas: "screen ctl" "mods mods"; }
.kc-lab--one .kc-lab__screen { grid-area: screen; --x: 35%; }
.kc-lab--one .kc-lab__ctl { grid-area: ctl; justify-content: center; }
.kc-lab__mods { grid-area: mods; border-top: 1px solid rgba(255,255,255,.08); padding-top: 14px; }
.kc-lab__mods .kc-mono { margin-bottom: 10px; }
.kc-lab__r { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.kc-lab__split { position: absolute; top: 0; bottom: 0; left: var(--x); width: 0; pointer-events: none; z-index: 2; }
.kc-lab__split i { position: absolute; top: 50%; left: 0; width: 42px; height: 42px; margin: -21px 0 0 -21px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #000; font-style: normal; font-size: 16px; box-shadow: 0 4px 18px rgba(0,0,0,.6); }
.kc-lab__screen:has(.kc-lab__r:focus-visible) { outline: 2px solid #fff; outline-offset: 3px; }
.kc-lab__tag { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 9px; border-radius: 999px; background: rgba(0,0,0,.65); color: #fff !important; pointer-events: none; }
.kc-lab__tag--r { left: auto; right: 12px; background: var(--fx-core); }
.kc-pats--strip { grid-template-columns: repeat(5, 1fr); }
.kc-pats--strip button { padding: 3px; min-height: 0; justify-content: center; }
.kc-pats--strip img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.kc-size b { color: var(--fx-core); font-weight: 400; }
.kc-modgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; }
.kc-modc { display: grid; gap: 4px; padding: 8px 10px 6px; border-radius: 10px; border: 1px solid rgba(255,255,255,.1); transition: border-color .25s, background .25s; }
.kc-modc.is-on { border-color: rgba(255,42,42,.55); background: rgba(255,42,42,.08); }
.kc-modc__t { display: flex; align-items: center; gap: 9px; min-height: 30px; padding: 0; border: 0; background: none; color: rgba(255,255,255,.75); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.kc-modc.is-on .kc-modc__t { color: #fff; }
.kc-modc__dot { width: 14px; height: 14px; flex: none; border-radius: 4px; border: 1.5px solid rgba(255,255,255,.4); display: grid; place-items: center; }
.kc-modc.is-on .kc-modc__dot { background: var(--fx-core); border-color: var(--fx-core); }
.kc-modc.is-on .kc-modc__dot::after { content: "✓"; font-size: 10px; color: #fff; line-height: 1; }
.kc-modc input { width: 100%; height: 18px; accent-color: var(--fx-core); opacity: .45; cursor: pointer; }
.kc-modc.is-on input { opacity: 1; }
.kc-modc__t:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 4px; }
/* почему CRT PRO */
.kc-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kc-why__c { position: relative; min-height: 300px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: #000; display: flex; align-items: flex-end; }
.kc-why__c img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.55) brightness(.55); transition: transform .8s var(--fx-ease), filter .5s; }
.kc-why__c:hover img { transform: scale(1.06); filter: saturate(.8) brightness(.65); }
.kc-why__c::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(5,5,5,.95) 85%); }
.kc-why__c > div { position: relative; z-index: 1; padding: 22px; }
.kc-why__n { margin: 0 0 8px !important; font-size: clamp(44px, 4.6vw, 64px); font-weight: 800; line-height: 1; color: #fff !important; }
.kc-why__n small { display: block; margin-top: 6px; font-family: var(--fx-mono); font-size: 11px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--fx-core); }
.kc-why__c p { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.72); }
/* установка */
.kc-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.kc-steps li { padding: 20px; border-radius: 16px; background: #0b0b0b; border: 1px solid rgba(255,255,255,.1); }
.kc-steps span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--fx-core); color: var(--fx-core); font-family: var(--fx-mono); font-size: 14px; }
.kc-steps p { margin: 14px 0 0; color: rgba(255,255,255,.8); line-height: 1.5; font-size: 14px; }
.kc-psec > .kc-compat { justify-content: flex-start; border-top: 0; padding-top: 0; }
/* страницы Resolve: место под своё видео */
.kc-pagecard__m { position: relative; aspect-ratio: 16 / 9; margin: -8px -8px 16px; border-radius: 12px; overflow: hidden; background: #000; }
.kc-pagecard__m video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1000px) {
  .kc-lab--one { grid-template-columns: 1fr; grid-template-areas: "screen" "ctl" "mods"; }
  .kc-why { grid-template-columns: 1fr 1fr; }
  .kc-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .kc-why, .kc-steps { grid-template-columns: 1fr; }
  .kc-why__c { min-height: 220px; }
  .kc-prod--ref .kc-hero2 .kc-banner__in { padding-top: 190px; }
  .kc-modgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1000px) {
  .kc-prod--ref .kc-hero2 { grid-template-rows: auto 1fr; align-items: start; }
  .kc-prod--ref .kc-hero2 .kc-hero2__nav { position: relative; }
  .kc-prod--ref .kc-hero2 .kc-banner__in { padding-top: clamp(24px, 6vw, 60px) !important; align-self: center; }
}

/* =====================  CRT PRO: блоки из деталей Core (окна-баннеры, карточки каталога)  ===================== */
.kc-card--static { cursor: default; }
.kc-card--static:hover { transform: none; }
.kc-card--vid .kc-card__m { aspect-ratio: 16 / 9; }
/* место под видео: видно, где оно будет */
.kc-slot { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 4px), radial-gradient(80% 80% at 50% 45%, #141414, #070707); border: 1px dashed rgba(255,255,255,.14); border-radius: inherit; }
.kc-slot__play { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.6); font-size: 15px; padding-left: 3px; }
.kc-slot .kc-mono { color: rgba(255,255,255,.4); text-align: center; padding: 0 12px; }
/* окно-баннер ниже первого экрана (как окно раздела) */
.kc-win { min-height: min(56vh, 480px); }
.kc-win__big { margin: 8px 0 12px !important; font-size: clamp(64px, 9vw, 120px); font-weight: 800; line-height: .9; color: #fff !important; }
.kc-win__big small { display: block; margin-top: 10px; font-family: var(--fx-mono); font-size: 12px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--fx-core); }
.kc-win__t { margin: 8px 0 10px !important; font-size: clamp(40px, 6vw, 80px); font-weight: 800; line-height: .95; text-transform: uppercase; color: #fff !important; }
.kc-win .kc-chips li b { color: var(--fx-core); font-weight: 400; }
.kc-budget { position: relative; height: 12px; margin: 14px 0 8px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.kc-budget i { position: absolute; inset: 0 auto 0 0; width: 0; min-width: 0; background: var(--fx-core); box-shadow: 0 0 14px rgba(255,42,42,.7); border-radius: inherit; transition: width 1.2s cubic-bezier(.16,1,.3,1) .2s; }
.kc-win.is-in .kc-budget i { width: max(var(--w), 6px); }
.kc-budget__l { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-family: var(--fx-mono); font-size: 11px; color: rgba(255,255,255,.55); }
.kc-budget__l b { color: var(--fx-core); font-weight: 400; }
.kc-bundle-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.kc-bundle-l li { font-size: 15px; color: rgba(255,255,255,.85); }
.kc-bundle-l li::before { content: "✓"; color: var(--fx-core); font-weight: 700; margin-right: 10px; }
.kc-win--price .kc-banner__m img { filter: saturate(.35) brightness(.6) contrast(1.1); }
/* установка */
.kc-inst { display: grid; gap: 14px; }
.kc-inst__row { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: clamp(18px, 2.4vw, 26px); border-radius: 18px; background: #0b0b0b; border: 1px solid rgba(255,255,255,.08); }
.kc-inst__n { font-size: 34px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.7); }
.kc-inst__row > div > p:not(.kc-mono) { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.85); }
.kc-inst__os { margin-top: 12px; }
.kc-inst__os .kc-card__b { padding: 18px; }
.kc-inst__os h3 { display: flex; align-items: center; gap: 10px; font-size: 18px !important; }
.kc-inst__os ol, .kc-inst__list { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.5; }
.kc-inst__list { font-size: 16px; color: rgba(255,255,255,.85); margin-top: 12px; }
.kc-inst li::marker { color: var(--fx-core); font-family: var(--fx-mono); }
@media (max-width: 1000px) { .kc-win { min-height: 0; } }
@media (max-width: 600px) { .kc-inst__row { grid-template-columns: 1fr; gap: 8px; } }
/* закреплённая полоска «купить» на странице плагина */
.kc-sticky { position: fixed; z-index: 40; left: 50%; bottom: 16px; display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 20px; border-radius: 999px; background: rgba(10,10,10,.88); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 12px 40px rgba(0,0,0,.6); backdrop-filter: blur(10px); transform: translate(-50%, 140%); opacity: 0; visibility: hidden; transition: transform .45s var(--fx-ease), opacity .3s, visibility 0s .45s; }
.kc-sticky.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition-delay: 0s; }
.kc-sticky__t { font-weight: 800; font-size: 15px; }
.kc-sticky b { font-size: 16px; }
.kc-sticky .kc-btn { min-height: 42px; }
#kc-section[hidden] .kc-sticky { display: none; }
@media (max-width: 600px) { .kc-sticky { left: 12px; right: 12px; transform: translateY(140%); justify-content: space-between; } .kc-sticky.is-on { transform: none; } .kc-sticky .kc-mono { display: none; } }

/* ===== CRT PRO: пресеты, «почему лучший», бегущая галерея ===== */
@media (min-width: 1100px) {
  .kc-prod--ref .kc-hero2 .kc-banner__in { max-width: 1100px; }
  .kc-prod--ref .kc-trust { flex-wrap: nowrap; white-space: nowrap; }   /* галочки в одну строку на широком экране */
}
.kc-shot--video { aspect-ratio: 16 / 9; }
.kc-shot--video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kc-shot--video .kc-slot__play { width: 72px; height: 72px; font-size: 22px; }
.kc-plead--c { margin: 18px 0 !important; }
.kc-mod--v h3 { margin-top: 4px; }
/* «почему лучший» — большие карточки с картинками */
.kc-best { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kc-best__c { position: relative; min-height: 340px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: #000; display: flex; align-items: flex-end; }
.kc-best__c:nth-child(1), .kc-best__c:nth-child(4) { grid-column: span 2; }
.kc-best__c > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.6) brightness(.6); transition: transform .9s var(--fx-ease), filter .5s; }
.kc-best__c:hover > img { transform: scale(1.05); filter: saturate(.85) brightness(.7); }
.kc-best__c::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,5,.1) 25%, rgba(5,5,5,.93) 88%); }
.kc-best__c > div { position: relative; z-index: 1; padding: clamp(20px, 2.6vw, 30px); max-width: 640px; }
.kc-best__c h3 { margin: 0 0 8px; font-size: clamp(19px, 1.8vw, 24px); }
.kc-best__c p { margin: 0; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.55; }
.kc-best__big { margin: 0 0 12px !important; font-size: clamp(52px, 5.5vw, 76px) !important; font-weight: 800; line-height: .9; color: #fff !important; }
.kc-best__big small { margin-left: 8px; font-family: var(--fx-mono); font-size: 11px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--fx-core); }
.kc-best__a { display: inline-block; margin-top: 12px; padding: 6px 0; color: var(--fx-core); text-decoration: none; font-size: 14px; font-weight: 600; }
.kc-best__a:hover { color: #fff; }
/* бегущая галерея на всю ширину */
.kc-reel { width: 100vw; margin-left: calc(50% - 50vw); display: grid; gap: 12px; overflow: hidden; }
.kc-reel__row { overflow: hidden; }
.kc-reel__track { display: flex; gap: 12px; width: max-content; animation: kc-reel var(--d, 50s) linear infinite; }
.kc-reel__row--rev .kc-reel__track { animation-direction: reverse; }
@keyframes kc-reel { to { transform: translateX(calc(-50% - 6px)); } }
.kc-reel__i { position: relative; margin: 0; width: clamp(240px, 26vw, 400px); aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.kc-reel__i img, .kc-reel__i video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kc-reel__i video { opacity: 0; transition: opacity .4s; } .kc-reel__i video.is-on { opacity: 1; }
.kc-reel__i .kc-mono { position: absolute; left: 10px; bottom: 8px; color: rgba(255,255,255,.8); text-shadow: 0 1px 4px #000; }
@media (prefers-reduced-motion: reduce) { .kc-reel__track { animation: none; } }
@media (max-width: 900px) { .kc-best { grid-template-columns: 1fr 1fr; } .kc-best__c:nth-child(1), .kc-best__c:nth-child(4) { grid-column: span 2; } }
@media (max-width: 600px) { .kc-best { grid-template-columns: 1fr; } .kc-best__c:nth-child(n) { grid-column: auto; min-height: 280px; } }

/* ===== CRT PRO: финальная доводка ===== */
/* заголовки блоков на странице плагина — короче и ниже, чтобы не растягивались на 2 строки */
.kc-prod--ref .kc-psec .section-title { font-size: clamp(2.3rem, 5.2vw, 4.6rem); }
/* урок — окно с видео */
.kc-win--lesson { color: #fff; text-decoration: none; cursor: pointer; }
.kc-win--lesson .kc-banner__m video { opacity: 0; transition: opacity .6s; } .kc-win--lesson .kc-banner__m video.is-on { opacity: 1; }
.kc-win__t--m { font-size: clamp(30px, 4vw, 52px) !important; text-transform: none !important; }
.kc-win__play { position: absolute; z-index: 3; right: clamp(24px, 5vw, 64px); top: 50%; width: clamp(64px, 7vw, 92px); height: clamp(64px, 7vw, 92px); margin-top: calc(clamp(64px, 7vw, 92px) / -2); display: grid; place-items: center; padding-left: 5px; border-radius: 50%; background: var(--fx-core); font-size: clamp(20px, 2vw, 28px); box-shadow: 0 0 0 10px rgba(255,42,42,.15); transition: transform .35s var(--fx-ease), box-shadow .35s; }
.kc-win--lesson:hover .kc-win__play { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(255,42,42,.12); }
.kc-win--lesson .kc-banner__in { max-width: 640px; }
/* цена: живой CRT на фоне + карточка предложения */
.kc-price__cv { opacity: .55; }
.kc-offer { position: relative; z-index: 2; align-self: center; margin: clamp(16px, 3vw, 40px); padding: 26px; width: min(360px, 100%); border-radius: 20px; background: rgba(8,8,8,.86); border: 1px solid rgba(255,42,42,.45); box-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 30px 80px rgba(0,0,0,.6), 0 0 60px rgba(255,42,42,.12); backdrop-filter: blur(8px); display: grid; gap: 10px; }
.kc-offer__sale { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--fx-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.kc-offer__sale span { padding: 5px 9px; border-radius: 999px; background: var(--fx-core); color: #fff; font-weight: 700; }
.kc-offer__price { display: flex; align-items: baseline; gap: 12px; margin: 6px 0 0; }
.kc-offer__price b { font-size: clamp(40px, 4vw, 54px); font-weight: 800; line-height: 1; }
.kc-offer__price s { color: rgba(255,255,255,.4); font-size: 18px; }
.kc-offer__lic { margin: 0 0 8px; font-size: 13px; color: rgba(255,255,255,.55); }
.kc-offer .kc-btn { width: 100%; min-height: 52px; }
/* отзывы */
.kc-rev { display: grid; grid-template-columns: 1fr 1.25fr; gap: 14px; }
.kc-rev__empty, .kc-rform { padding: clamp(22px, 3vw, 32px); border-radius: 18px; background: #0b0b0b; border: 1px solid rgba(255,255,255,.08); }
.kc-rev__empty { display: flex; flex-direction: column; justify-content: center; }
.kc-rev__stars { margin: 0 0 12px; font-size: 26px; letter-spacing: 4px; color: rgba(255,255,255,.15); }
.kc-rev__empty h3 { margin: 0 0 8px; font-size: 22px; }
.kc-rev__empty p:last-child { margin: 0; color: rgba(255,255,255,.65); line-height: 1.55; }
.kc-rform { display: grid; gap: 12px; }
.kc-rform__stars { display: flex; gap: 4px; }
.kc-rform__stars button { width: 44px; height: 44px; border: 0; background: none; font-size: 30px; line-height: 1; color: rgba(255,255,255,.2); cursor: pointer; transition: color .2s, transform .2s; }
.kc-rform__stars button:hover, .kc-rform__stars button.is-on { color: var(--fx-core); }
.kc-rform__stars button:hover { transform: scale(1.1); }
.kc-rform__stars button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 6px; }
.kc-rform__more { display: grid; gap: 12px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--fx-ease), opacity .4s; }
.kc-rform.is-open .kc-rform__more { max-height: 520px; opacity: 1; }
.kc-rform label, .kc-reg label { display: grid; gap: 6px; font-size: 13px; color: rgba(255,255,255,.7); }
.kc-rform label i { font-style: normal; color: rgba(255,255,255,.4); }
.kc-rform input[type="text"], .kc-rform input[type="url"], .kc-rform textarea, .kc-reg input[type="email"] { width: 100%; min-height: 46px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); background: #050505; color: #fff; font: inherit; font-size: 15px; resize: vertical; }
.kc-rform :is(input, textarea):focus-visible, .kc-reg input[type="email"]:focus-visible { outline: 2px solid var(--fx-core); outline-offset: 1px; border-color: transparent; }
.kc-check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; line-height: 1.45; cursor: pointer; }
.kc-check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--fx-core); }
.kc-check a { color: #fff; }
.kc-rform__go { justify-self: start; }
/* окно входа */
[hidden] { display: none !important; }   /* hidden всегда прячет — иначе невидимый слой перекрывает клики по всей странице */
.kc-reg { position: fixed; z-index: 90; inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.kc-reg.is-open { opacity: 1; }
.kc-reg__box { position: relative; width: min(460px, 100%); padding: clamp(26px, 4vw, 36px); border-radius: 22px; background: #0b0b0b; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 80px rgba(255,42,42,.1); transform: translateY(14px) scale(.98); transition: transform .35s var(--fx-ease); }
.kc-reg.is-open .kc-reg__box { transform: none; }
.kc-reg__x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.06); color: #fff; font-size: 22px; cursor: pointer; }
.kc-reg__x:hover { background: rgba(255,255,255,.14); }
.kc-reg h2 { margin: 10px 0 8px; font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.kc-reg__form > p { margin: 0 0 18px; color: rgba(255,255,255,.7); line-height: 1.55; font-size: 15px; }
.kc-reg form { display: grid; gap: 12px; }
.kc-reg form .kc-btn { width: 100%; min-height: 52px; }
.kc-reg__err { margin: 0; min-height: 1.2em; color: #ff6b6b; font-size: 13px; }
.kc-reg__done { display: none; gap: 14px; }
.kc-reg.is-done .kc-reg__form { display: none; } .kc-reg.is-done .kc-reg__done { display: grid; }
.kc-reg__done p { margin: 0; color: rgba(255,255,255,.8); line-height: 1.55; }
.kc-reg__sent { display: none; } .kc-reg.is-sent .kc-reg__sent { display: block; } .kc-reg.is-sent .kc-reg__soon { display: none; }
@media (max-width: 900px) { .kc-rev { grid-template-columns: 1fr; } .kc-win__play { display: none; } }
@media (max-width: 1000px) { .kc-offer { width: auto; margin-top: 0; } }

/* =====================  ДИЗАЙН-ТОКЕНЫ CORE (общие с Production: чёрный, красный --fx-core, моно-подписи, рамка видоискателя)  =====================
   Поверхности, линии, радиусы и отступы — только отсюда. Описание: 2_РАБОЧИЙ_САЙТ/ДИЗАЙН_СИСТЕМА.md */
:root {
  --kc-bg: #050505; --kc-s1: #0b0b0b; --kc-glass: rgba(8,8,8,.86);
  --kc-line: rgba(255,255,255,.08); --kc-line-2: rgba(255,255,255,.16); --kc-hot: rgba(255,42,42,.5);
  --kc-t2: rgba(255,255,255,.7); --kc-t3: rgba(255,255,255,.5);
  --kc-r-s: 10px; --kc-r: 14px; --kc-r-l: 22px; --kc-gap: 14px;
}
/* страница плагина — на общих токенах: карточки как в каталоге, окна как баннер раздела */
.kc-prod--ref :is(.kc-mod, .kc-inst__row, .kc-card, .kc-modc) { border-radius: var(--kc-r); }
.kc-prod--ref :is(.kc-lab, .kc-shot, .kc-best__c, .kc-win, .kc-offer, .kc-leadbox) { border-radius: var(--kc-r-l); }
.kc-prod--ref :is(.kc-mod, .kc-inst__row, .kc-card, .kc-lab) { background: var(--kc-s1); border-color: var(--kc-line); }
.kc-prod--ref :is(.kc-lab__screen, .kc-reel__i, .kc-mv, .kc-pats button) { border-radius: var(--kc-r-s); }
.kc-prod--ref :is(.kc-mods, .kc-grid, .kc-best, .kc-inst) { gap: var(--kc-gap); }
.kc-prod--ref .kc-psec { margin-top: clamp(90px, 10vw, 140px); }
.kc-prod--ref :is(.kc-mod:hover, .kc-card--static:hover) { border-color: var(--kc-hot); }
/* цена: карточка у правого края окна */
.kc-offer { justify-self: end; margin-right: clamp(16px, 2.6vw, 34px); }
/* галерея: лёгкая CRT-маска поверх клипов (мелкий пиксель); у части плиток — мерцание, бегущая полоса, свечение */
.kc-crt::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.3) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(255,40,40,.14) 0 1px, rgba(40,255,90,.1) 1px 2px, rgba(40,90,255,.14) 2px 3px);
  box-shadow: inset 0 0 60px rgba(0,0,0,.55); }
.kc-crt :is(video, img) { filter: contrast(1.12) saturate(1.2); }
.kc-crt--glow :is(video, img) { filter: contrast(1.18) saturate(1.35) brightness(1.12); }
.kc-crt--flick::before, .kc-crt--bar::before { content: ""; position: absolute; z-index: 1; pointer-events: none; }
.kc-crt--flick::before { inset: 0; background: rgba(255,255,255,.07); opacity: 0; animation: kc-flick 3.4s steps(1) infinite; }
@keyframes kc-flick { 41% { opacity: 1; } 43% { opacity: 0; } 70% { opacity: .6; } 71% { opacity: 0; } }
.kc-crt--bar::before { left: 0; right: 0; top: -30%; height: 30%; background: linear-gradient(180deg, transparent, rgba(255,255,255,.09), transparent); animation: kc-bar 5.5s linear infinite; }
@keyframes kc-bar { to { transform: translateY(440%); } }
.kc-reel__i .kc-mono { z-index: 2; }
@media (prefers-reduced-motion: reduce) { .kc-crt--flick::before, .kc-crt--bar::before { animation: none; } }

/* ===== форма заявки «Демо» (как красная плашка «Забери бесплатно» из меню) и личный кабинет ===== */
.kc-leadbox { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: var(--kc-r-l); border: 1px solid rgba(255,42,42,.4);
  background: radial-gradient(90% 140% at 100% 0%, rgba(255,42,42,.35), transparent 60%), linear-gradient(135deg, #1a0606, var(--kc-s1) 65%); }
.kc-leadbox__t { margin: 10px 0 10px !important; font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; line-height: 1; color: #fff !important; }
.kc-leadbox__in > p:not(.kc-mono):not(.kc-leadbox__t) { margin: 0 0 18px; color: var(--kc-t2); line-height: 1.55; max-width: 46ch; }
.kc-leadbox__form { display: grid; gap: 12px; padding: clamp(18px, 2.4vw, 26px); border-radius: var(--kc-r); background: var(--kc-glass); border: 1px solid var(--kc-line-2); }
.kc-leadbox__form > label:not(.kc-check) { display: grid; gap: 6px; font-size: 13px; color: var(--kc-t2); }
.kc-leadbox__form label i { font-style: normal; color: var(--kc-t3); }
.kc-leadbox__form input[type="email"], .kc-leadbox__form input[type="text"] { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--kc-line-2); background: #050505; color: #fff; font: inherit; font-size: 16px; }
.kc-leadbox__form input:focus-visible { outline: 2px solid var(--fx-core); outline-offset: 1px; border-color: transparent; }
.kc-leadbox__prog { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.kc-leadbox__prog legend { width: 100%; margin-bottom: 6px; font-size: 13px; color: var(--kc-t2); }
.kc-leadbox__prog label { position: relative; cursor: pointer; }
.kc-leadbox__prog input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.kc-leadbox__prog span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--kc-line-2); font-size: 13px; color: var(--kc-t2); transition: all .2s; }
.kc-leadbox__prog input:checked + span { background: #fff; color: #000; border-color: #fff; }
.kc-leadbox__prog input:focus-visible + span { outline: 2px solid var(--fx-core); outline-offset: 2px; }
.kc-leadbox__form .kc-btn { width: 100%; min-height: 52px; }
.kc-leadbox__form .kc-btn:disabled { opacity: .6; cursor: progress; }
.kc-leadbox__form.is-done > :not(.kc-leadbox__done) { display: none; }
.kc-leadbox__done { display: grid; gap: 14px; color: var(--kc-t2); line-height: 1.55; }
.kc-leadbox__done b { color: #fff; }
.kc-reg .kc-leadbox__form { padding: 0; background: none; border: 0; }
/* кабинет */
.kc-acc__in { margin-top: 0 !important; padding-top: 10px; min-height: 50vh; }
.kc-acc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--kc-gap); }
.kc-acc__card { padding: clamp(20px, 3vw, 30px); border-radius: var(--kc-r); background: var(--kc-s1); border: 1px solid var(--kc-line); display: grid; gap: 12px; align-content: start; }
.kc-acc__card--wide { grid-column: 1 / -1; }
.kc-acc__card p { margin: 0; color: var(--kc-t2); line-height: 1.55; }
.kc-acc__card .kc-btn { justify-self: start; }
.kc-acc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.kc-acc__list li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 14px; padding: 14px; border-radius: var(--kc-r-s); border: 1px solid var(--kc-line); }
.kc-acc__list .kc-reg__err { grid-column: 1 / -1; min-height: 0; }
.kc-acc__badge { padding: 5px 9px; border-radius: 999px; border: 1px solid var(--kc-line-2); font-family: var(--fx-mono); font-size: 10px; letter-spacing: .12em; }
.kc-acc__badge.is-paid { background: var(--fx-core); border-color: var(--fx-core); }
/* кнопка «Кабинет» в шапке */
.fx-hdr__acc { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; margin-right: 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: #fff; text-decoration: none; font-family: var(--fx-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; transition: border-color .25s, background .25s; }
.fx-hdr__acc:hover { border-color: var(--fx-core); background: rgba(255,42,42,.12); }
.fx-hdr__acc:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 900px) { .kc-leadbox { grid-template-columns: 1fr; } .kc-acc__grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .fx-hdr__acc span { display: none; } .fx-hdr__acc { width: 40px; padding: 0; justify-content: center; } }
@media (max-width: 480px) { .kc-acc__list li { grid-template-columns: 1fr; } }

/* урок — «плеер»: слева текст, справа кадр 16:9 с кнопкой (формат не повторяет окно «Что внутри») */
.kc-lesson2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.kc-lesson2__txt h3 { margin: 12px 0 10px; font-size: clamp(28px, 3.2vw, 44px); font-weight: 800; line-height: 1.02; }
.kc-lesson2__txt > p:not(.kc-mono) { margin: 0 0 16px; color: var(--kc-t2); line-height: 1.55; }
.kc-lesson2__plan { margin: 0 0 22px; padding: 0; list-style: none; counter-reset: st; display: grid; gap: 8px; }
.kc-lesson2__plan li { counter-increment: st; display: flex; gap: 12px; align-items: baseline; color: rgba(255,255,255,.85); }
.kc-lesson2__plan li::before { content: counter(st, decimal-leading-zero); font-family: var(--fx-mono); font-size: 11px; color: var(--fx-core); }
.kc-player { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--kc-r-l); overflow: hidden; background: #000; border: 1px solid var(--kc-line); color: #fff; }
.kc-player > img, .kc-player > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kc-player > video { opacity: 0; transition: opacity .6s; } .kc-player > video.is-on { opacity: 1; }
.kc-player::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, transparent, rgba(0,0,0,.55)); pointer-events: none; }
.kc-player .fx-vf { --vf-inset: 14px; z-index: 2; }
.kc-player__play { position: absolute; z-index: 2; left: 50%; top: 50%; width: clamp(64px, 7vw, 88px); height: clamp(64px, 7vw, 88px); transform: translate(-50%, -50%); display: grid; place-items: center; padding-left: 5px; border-radius: 50%; background: var(--fx-core); font-size: clamp(20px, 2vw, 26px); box-shadow: 0 0 0 12px rgba(255,42,42,.15); transition: transform .35s var(--fx-ease); }
.kc-player:hover .kc-player__play { transform: translate(-50%, -50%) scale(1.08); }
.kc-player__bar { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; display: flex; align-items: center; gap: 12px; font-family: var(--fx-mono); font-size: 10px; letter-spacing: .14em; }
.kc-player__bar i { flex: 1; height: 3px; border-radius: 99px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.kc-player__bar i::after { content: ""; position: absolute; inset: 0 70% 0 0; background: var(--fx-core); }
.kc-player:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 900px) { .kc-lesson2 { grid-template-columns: 1fr; } .kc-lesson2__txt { order: 2; } }

/* цена в карточке каталога: новая и старая рядом, а не по краям */
.kc-card__p { display: inline-flex; align-items: baseline; gap: 8px; font-style: normal; }
.kc-card__p s { font-size: 13px; font-weight: 400; color: var(--kc-t3); }

/* «призрак» первого экрана плагина, пока он сжимается обратно в карточку */
.kc-ghost { position: fixed; inset: 0; z-index: 25; pointer-events: none; overflow: hidden; }
/* ровные промежутки между блоками страницы плагина (140px): у вопросов свои поля убраны, после них учтён запас под самый длинный ответ */
.kc-prod--ref .kc-faq { padding-top: 0 !important; padding-bottom: 0 !important; }
.kc-prod--ref .kc-faq + .kc-psec { margin-top: 40px; }   /* + ~100px запаса под ответ = те же 140 на глаз */
.kc-prod--ref .kc-out { margin-top: clamp(90px, 10vw, 140px); }

/* «NEW» — красным */
.kc-new { color: var(--fx-core); font-weight: 400; }

/* старый раздел во время раскрытия карточки: неподвижный слой под новой страницей */
.kc-snap { position: fixed; left: 0; right: 0; z-index: 0; pointer-events: none; }
/* телефон: заголовки блоков плагина по ширине экрана — «УНИВЕРСАЛЬНОСТЬ» и другие длинные слова влезают целиком */
@media (max-width: 600px) { .kc-prod--ref .kc-psec .section-title { font-size: min(7.6vw, 2.3rem); } .kc-prod--ref .kc-psec .section-title .title-main { font-size: min(7.6vw, 2.3rem); } }   /* общий стиль Production ставит заголовку минимум 36px — здесь перебиваем */

/* первый экран пресета: видео с «запечённым» CRT */
.kc-hero2__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* подпись пресета в мини-окнах «Один клик» */
.kc-mv__name { position: absolute; z-index: 3; left: 10px; bottom: 8px; padding: 4px 8px; border-radius: 999px; background: rgba(0,0,0,.72); font-family: var(--fx-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.kc-mv--grid .kc-mv__name { background: var(--fx-core); }

/* «сигнал» поверх видео CRT PRO (первый экран, окно «Что внутри»): снег, бегущая полоса, мерцание.
   Только transform/opacity — считает видеокарта, страницу не перерисовывает. Видео само по себе без шума: так оно легче.
   Лежит ПОД затемнением (::after): иначе шум высветляет низ и край первого экрана виден полосой. */
.kc-sig { position: absolute; inset: 0; overflow: hidden; pointer-events: none; animation: kc-flick 5.2s steps(1) infinite; }
.kc-sig::before { content: ""; position: absolute; inset: -25%; opacity: .13;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 .7'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: kc-snow .42s steps(1) infinite; }
.kc-sig::after { content: ""; position: absolute; left: 0; right: 0; top: -24%; height: 24%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.045) 42%, rgba(255,255,255,.085) 50%, rgba(255,255,255,.045) 58%, transparent);
  animation: kc-roll 6.5s linear infinite; }
@keyframes kc-snow { 0% { transform: translate(0, 0); } 25% { transform: translate(-7%, 4%); } 50% { transform: translate(5%, -6%); } 75% { transform: translate(-3%, 8%); } }
@keyframes kc-roll { to { transform: translateY(520%); } }
@keyframes kc-flick { 0%, 100% { opacity: 1; } 31% { opacity: .75; } 32% { opacity: 1; } 67% { opacity: .85; } 68% { opacity: 1; } 69% { opacity: .7; } 70% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .kc-sig, .kc-sig::before { animation: none; } .kc-sig::after { display: none; } }

/* ===== VHS PRO ===== */
/* вкладки Инспектора: 4 в ряд на широком экране (уже — как все .kc-mods) */
@media (min-width: 901px) { .kc-mods--4 { grid-template-columns: repeat(4, 1fr); } }
/* мини-окно «Кнопки магнитофона»: как «Обмен кодом», выбрана пауза */
.kc-mv--modes span:last-child { border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.85); }
.kc-mv--modes span.is-on { border-color: var(--fx-core); color: #fff; }
/* лаборатория: четыре кнопки магнитофона — моно, мельче */
.kc-seg--4 button { font-family: var(--fx-mono); font-size: 11px; letter-spacing: .04em; }
/* надписи камеры поверх видео — как в плагине: REC слева сверху, часы и дата слева снизу */
.kc-osd { position: absolute; inset: 0; pointer-events: none; font-family: var(--fx-mono); font-weight: 700; font-size: clamp(12px, 1.35vw, 19px); letter-spacing: .08em; color: #f4f4ee; text-shadow: 0 1px 2px rgba(0,0,0,.65), 0 0 8px rgba(0,0,0,.35); }
.kc-osd__l { position: absolute; left: var(--osd-x, 6%); top: var(--osd-t, 8%); }
.kc-osd__l i { font-style: normal; color: #ff3b30; }
.kc-osd__d { position: absolute; left: var(--osd-x, 6%); bottom: var(--osd-b, 8%); display: grid; gap: .3em; }
.kc-hero2 .kc-osd { z-index: 1; --osd-x: clamp(24px, 5vw, 80px); --osd-t: 170px; --osd-b: 16%; }   /* над затемнением (яркие, как у камкордера), под текстом; ниже навигации, выше ухода в фон */
@media (max-width: 1000px) { .kc-hero2 .kc-osd { display: none; } }   /* на узком экране текст первого экрана во всю ширину — надписи не влезают */
.kc-osd--lab { z-index: 1; font-size: calc(clamp(10px, 1.2vw, 15px) * var(--osd-s, 1)); clip-path: inset(0 0 0 var(--x, 0%)); transition: opacity .3s; }   /* видны только на стороне эффекта */
.kc-osd--lab .kc-osd__l, .kc-osd--lab .kc-osd__d { left: auto; right: 5%; text-align: right; justify-items: end; }   /* закреплены в кадре справа: не ездят за ползунком сравнения */
.kc-osd--lab .kc-osd__l { top: 15%; } .kc-osd--lab .kc-osd__d { bottom: 7%; }
.kc-osd--lab.is-4x3 :is(.kc-osd__l, .kc-osd__d) { right: calc(12.5% + 3%); }
/* вкладки VHS PRO: 4 карточки с видео в ряд на широком экране (уже — как все .kc-grid) */
@media (min-width: 1001px) { .kc-grid--4 { grid-template-columns: repeat(4, 1fr); } }
/* две карточки (Grunge: переход и эффект) — по половине ширины */
@media (min-width: 561px) { .kc-grid--2 { grid-template-columns: repeat(2, 1fr); } }
/* длинные названия (уроки, набор): первый экран и окно цены мельче, чтобы не рассыпались на 3–4 строки */
.kc-hero2 h1.is-long { font-size: clamp(40px, 6.4vw, 104px); }
.kc-win__t.is-long { font-size: clamp(28px, 3.4vw, 52px); }
