/* Кенни - новая главная (16.10.2026): блоки из kenny-home.js. Классы с префиксом kh-.
   Цвет продукта приходит переменной --c (лаунчер - оранжевый, NTC - зелёный, переводы - золото, Обелиск - бирюза).
   Анимации - только transform и opacity, бесконечные выключаются при «уменьшить движение». */

.kh-sec { position: relative; padding: 96px 32px; background: #0E0E0E; overflow: hidden; }
.kh-sec.alt { background: #111111; }
.kh-wrap { position: relative; max-width: 1200px; margin: 0 auto; }
.kh-head { max-width: 760px; margin-bottom: 44px; }
.kh-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kh-h2 { margin: 0 0 16px; font: 400 40px/1.12 'MinecraftFont', var(--font-pixel); color: #fff; }
.kh-hl { color: var(--kenny-orange, #FE5E10); font-family: inherit; }
.kh-sub { display: block; margin-top: 10px; font-size: 0.55em; color: var(--c); font-family: inherit; }
.kh-lead { margin: 0; font: 400 17px/1.65 var(--font-sans); color: rgba(255, 255, 255, 0.68); }
.kh-kicker { display: block; font: 400 12px/1 var(--font-pixel); letter-spacing: 0.03em; color: var(--c, #FE5E10); }
.kh-note { font: 400 13px/1.5 var(--font-sans); color: rgba(255, 255, 255, 0.5); }

/* Номер раздела - в цвет продукта (на светлых цветах цифра тёмная) */
.kh-cat .kfx-eyebrow, .kh-ntc .kfx-eyebrow, .kh-tr .kfx-eyebrow, .kh-ob .kfx-eyebrow { color: var(--c); }
.kh-cat .kfx-eyebrow b, .kh-ntc .kfx-eyebrow b, .kh-tr .kfx-eyebrow b, .kh-ob .kfx-eyebrow b { background: var(--c); color: #0B0B0B; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25); }
.kh-cat .kfx-eyebrow i, .kh-ntc .kfx-eyebrow i, .kh-tr .kfx-eyebrow i, .kh-ob .kfx-eyebrow i { background: var(--c); }

/* Кнопки и ссылки */
.kh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px 17px;
  background: var(--c, #FE5E10); color: #fff; border: 0; cursor: pointer; text-decoration: none;
  font: 400 16px/1 var(--font-pixel); box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.28);
  transition: filter 120ms ease, transform 120ms ease;
}
.kh-btn:hover { filter: brightness(1.1); transform: translateY(-2px); }
.kh-btn:active { transform: translateY(1px); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.28); }
.kh-cat .kh-btn, .kh-ntc .kh-btn, .kh-tr .kh-btn, .kh-ob .kh-btn { color: #0B0B0B; }
.kh-link { display: inline-flex; align-items: center; gap: 8px; font: 400 14px/1.2 var(--font-pixel); color: var(--c, #FE5E10); text-decoration: none; }
.kh-link svg, .kh-btn svg { transition: transform 160ms var(--kfx-ease, ease); }
.kh-link:hover svg, .kh-btn:hover svg { transform: translateX(3px); }
.kh-arrow { display: block; flex: 0 0 auto; }
.kh-arrow.down { transform: rotate(90deg); }
.kh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 36px; }
.kh-actions.center { justify-content: center; }
.kh-more { display: inline-flex; align-items: center; gap: 8px; font: 400 13px/1 var(--font-pixel); color: var(--c, #FE5E10); white-space: nowrap; }
.kh-more .kh-arrow.down { transition: transform 200ms var(--kfx-ease, ease); }
.kh-core:hover .kh-more .kh-arrow.down, .kh-prod:hover .kh-more .kh-arrow.down { transform: rotate(90deg) translateX(3px); }

/* ═════════════ 01 · Экосистема: лаунчер сверху, от него «провода» к трём продуктам ═════════════ */
.kh-eco { background: radial-gradient(55% 45% at 50% 34%, rgba(254, 94, 16, 0.09), transparent 72%), #0E0E0E; }
.kh-eco::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 45%, #000 25%, transparent 75%);
}
.kh-eco-map { position: relative; }
.kh-core {
  --c: #FE5E10;
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px;
  max-width: 880px; margin: 0 auto; padding: 26px 30px; text-decoration: none; color: #fff;
  background: #171717; border: 1px solid rgba(254, 94, 16, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 50px rgba(254, 94, 16, 0.08);
  transition: transform 200ms var(--kfx-ease, ease), border-color 200ms ease, box-shadow 200ms ease;
}
.kh-core::before { content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 4px; background: var(--c); }
.kh-core:hover { transform: translateY(-3px); border-color: var(--c); box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5), 0 0 60px rgba(254, 94, 16, 0.18); }
.kh-core-logo {
  display: block; width: 104px; height: 104px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 12px 30px rgba(0, 0, 0, 0.45);
}
.kh-core-logo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 300ms var(--kfx-ease, ease); }
.kh-core:hover .kh-core-logo img { transform: scale(1.06); }
.kh-core-title { display: block; margin: 10px 0 8px; font: 400 32px/1.1 'MinecraftFont', var(--font-pixel); }
.kh-core-text { display: block; font: 400 15px/1.6 var(--font-sans); color: rgba(255, 255, 255, 0.7); }
.kh-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.kh-chips i {
  font-style: normal; font: 400 12px/1 var(--font-pixel); padding: 7px 10px 8px; color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
}
.kh-chips i:first-child { color: #fff; border-color: rgba(254, 94, 16, 0.45); background: rgba(254, 94, 16, 0.12); }

/* Провода: ствол от лаунчера, шина и три отвода к продуктам. По ним бегут импульсы (transform). */
.kh-wires { position: relative; height: 64px; }
.kh-w { position: absolute; display: block; overflow: hidden; background: rgba(255, 255, 255, 0.13); }
.kh-w s { position: absolute; display: block; text-decoration: none; }
.kh-w.stem { left: calc(50% - 1px); top: 0; width: 2px; height: 33px; }
/* 4 карточки в ряд с промежутком 20px: центр i-й = (100% - 60px)/8 × (2i+1) + 20px × i */
.kh-w.busl { top: 31px; height: 2px; left: calc((100% - 60px) / 8); right: 50%; }
.kh-w.busr { top: 31px; height: 2px; left: 50%; right: calc((100% - 60px) / 8); }
.kh-w.drop { top: 31px; width: 2px; height: 33px; }
.kh-w.d0 { left: calc((100% - 60px) / 8 - 1px); }
.kh-w.d1 { left: calc((100% - 60px) / 8 * 3 + 20px - 1px); }
.kh-w.d2 { left: calc((100% - 60px) / 8 * 5 + 40px - 1px); }
.kh-w.d3 { left: calc((100% - 60px) / 8 * 7 + 60px - 1px); }
.kh-w.stem s, .kh-w.drop s { left: 0; right: 0; top: 0; height: 60%; transform: translateY(-110%); }
.kh-w.stem s { background: linear-gradient(180deg, transparent, #FE5E10, transparent); animation: kh-flow-stem 2.6s linear infinite; }
.kh-w.drop s { background: linear-gradient(180deg, transparent, var(--c), transparent); animation: kh-flow-drop 2.6s linear infinite; }
.kh-w.busl s, .kh-w.busr s { top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, #FE5E10, transparent); }
.kh-w.busl s { transform: translateX(260%); animation: kh-flow-left 2.6s linear infinite; }
.kh-w.busr s { transform: translateX(-110%); animation: kh-flow-right 2.6s linear infinite; }
@keyframes kh-flow-stem { 0% { transform: translateY(-110%); } 24%, 100% { transform: translateY(175%); } }
@keyframes kh-flow-left { 0%, 22% { transform: translateX(260%); } 52%, 100% { transform: translateX(-110%); } }
@keyframes kh-flow-right { 0%, 22% { transform: translateX(-110%); } 52%, 100% { transform: translateX(260%); } }
@keyframes kh-flow-drop { 0%, 48% { transform: translateY(-110%); } 74%, 100% { transform: translateY(175%); } }

.kh-eco-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.kh-prod {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 22px;
  text-decoration: none; color: #fff; background: #171717; border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 200ms var(--kfx-ease, ease), border-color 200ms ease, box-shadow 200ms ease;
}
.kh-prod::before {
  content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--c);
  transform: scaleX(0.18); transition: transform 0.35s var(--kfx-ease, ease);
}
.kh-prod:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.16); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45); }
.kh-prod:hover::before { transform: scaleX(1); }
/* Значок продукта - квадратная картинка-«наклейка» на градиенте (assets/home/eco-*.webp) */
.kh-prod-ico {
  display: block; width: 80px; height: 80px; margin-bottom: 8px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 10px 26px rgba(0, 0, 0, 0.4);
  transition: transform 200ms var(--kfx-ease, ease);
}
@supports (background: color-mix(in srgb, red 10%, transparent)) {
  .kh-prod:hover { border-color: color-mix(in srgb, var(--c) 45%, transparent); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 36px color-mix(in srgb, var(--c) 14%, transparent); }
}
.kh-prod:hover .kh-prod-ico { transform: translateY(-2px) scale(1.04); }
.kh-prod-ico img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kh-prod-title { font: 400 20px/1.15 'MinecraftFont', var(--font-pixel); }
.kh-prod-text { flex: 1; font: 400 14px/1.6 var(--font-sans); color: rgba(255, 255, 255, 0.68); }
.kh-prod-foot {
  display: flex; flex-direction: column; align-items: flex-start; gap: 9px; margin-top: 8px; padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.kh-stat { font: 400 12px/1.3 var(--font-pixel); color: rgba(255, 255, 255, 0.78); }

/* ═════════════ 02 · Лаунчер: «тур» - пункты слева, скриншот справа ═════════════ */
.kh-launcher { background: radial-gradient(50% 50% at 90% 10%, rgba(254, 94, 16, 0.07), transparent 70%), #111111; }
.kh-tour { display: grid; grid-template-columns: minmax(280px, 390px) minmax(0, 1fr); gap: 28px; align-items: start; }
.kh-tour-list { display: flex; flex-direction: column; gap: 8px; }
.kh-tour-item {
  position: relative; display: flex; align-items: flex-start; gap: 14px; width: 100%; padding: 12px 16px 14px;
  text-align: left; cursor: pointer; overflow: hidden; color: rgba(255, 255, 255, 0.72);
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.kh-tour-item:hover { background: rgba(255, 255, 255, 0.03); color: #fff; }
.kh-tour-item.on { color: #fff; background: #171717; border-color: rgba(254, 94, 16, 0.42); }
.kh-tour-ico {
  flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.6); transition: background 160ms, color 160ms;
}
.kh-tour-item.on .kh-tour-ico { background: rgba(254, 94, 16, 0.16); color: #FE5E10; }
.kh-tour-t { min-width: 0; }
.kh-tour-t b { display: block; padding-top: 11px; font: 400 17px/1.2 var(--font-pixel); font-weight: 400; }
.kh-tour-t small { display: block; margin-top: 8px; font: 400 14px/1.6 var(--font-sans); color: rgba(255, 255, 255, 0.72); animation: kh-fade 0.35s ease; }
.kh-inline-link { color: #FE5E10; text-decoration: none; white-space: nowrap; }
.kh-inline-link:hover { text-decoration: underline; }
.kh-tour-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.06); }
.kh-tour-bar > i {
  position: absolute; inset: 0; background: #FE5E10; transform: scaleX(0); transform-origin: 0 50%;
  animation-name: kh-bar; animation-timing-function: linear; animation-fill-mode: forwards; animation-play-state: paused;
}
.kh-tour.run .kh-tour-bar > i { animation-play-state: running; }
@keyframes kh-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.kh-tour-screen { min-width: 0; }
.kh-frame {
  background: #0B0B0B; border: 2px solid #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 70px rgba(254, 94, 16, 0.08);
}
.kh-frame-bar {
  display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; background: #151515;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06); font: 400 11px/1 var(--font-pixel); color: rgba(255, 255, 255, 0.55);
}
.kh-frame-bar img { width: 16px; height: 16px; image-rendering: pixelated; }
.kh-frame-bar span { flex: 1; }
.kh-frame-bar i { width: 10px; height: 10px; background: rgba(255, 255, 255, 0.12); }
.kh-frame-bar i:last-child { background: rgba(254, 94, 16, 0.55); }
.kh-shots { position: relative; aspect-ratio: 960 / 501; overflow: hidden; background: #000; }
.kh-shots img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04);
  transition: opacity 0.5s ease, transform 0.9s var(--kfx-ease, ease);
}
.kh-shots img.on { opacity: 1; transform: none; }
.kh-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.kh-dots i { width: 18px; height: 4px; background: rgba(255, 255, 255, 0.14); transition: background 200ms ease; }
.kh-dots i.on { background: #FE5E10; }
.kh-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.kh-fact, .kh-point { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: #171717; border: 1px solid rgba(255, 255, 255, 0.06); }
.kh-fact-ico, .kh-point-ico, .kh-check-ico { flex: 0 0 36px; height: 36px; display: grid; place-items: center; background: rgba(254, 94, 16, 0.12); }
.kh-fact b, .kh-point b, .kh-check b { display: block; margin-bottom: 5px; font: 400 15px/1.25 var(--font-pixel); color: #fff; }
.kh-fact small, .kh-point small, .kh-check small { display: block; font: 400 13px/1.5 var(--font-sans); color: rgba(255, 255, 255, 0.62); }

/* ═════════════ 03 · Популярные сборки ═════════════ */
.kh-cat { background: radial-gradient(55% 55% at 100% 0%, rgba(255, 200, 61, 0.07), transparent 70%), #0E0E0E; }
.kh-cat-top { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: stretch; }
.kh-cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kh-cat-pack {
  position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px; text-decoration: none; color: #fff;
  background: #171717; border: 1px solid rgba(255, 255, 255, 0.07); transition: border-color 160ms ease, transform 160ms var(--kfx-ease, ease);
}
.kh-cat-pack:hover { border-color: rgba(255, 200, 61, 0.55); transform: translateY(-2px); }
.kh-cat-pack img { flex: 0 0 52px; width: 52px; height: 52px; object-fit: cover; background: #0E0E0E; }
.kh-cat-pack > span { min-width: 0; }
.kh-cat-pack b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 400 14px/1.2 var(--font-pixel); font-weight: 400; }
.kh-cat-pack small { display: block; margin-top: 5px; font: 400 12px/1.2 var(--font-sans); color: rgba(255, 255, 255, 0.5); }
.kh-cat-ru {
  position: absolute; left: 8px; bottom: 8px; padding: 3px 5px 5px; font: 400 10px/1 var(--font-pixel); font-style: normal;
  color: #0B0B0B; background: #4AA3FF; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.25);
}
.kh-cat-pack.more { justify-content: space-between; color: var(--c); border-style: dashed; border-color: rgba(255, 200, 61, 0.35); }
.kh-cat-pack.more b { color: var(--c); }
.kh-cat-free {
  display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 24px;
  background: linear-gradient(180deg, rgba(255, 200, 61, 0.1), transparent 75%), #171717; border: 1px solid rgba(255, 200, 61, 0.3);
}
.kh-cat-free b { font: 400 54px/1 'MinecraftFont', var(--font-pixel); color: var(--c); }
.kh-cat-free span { font: 400 14px/1.6 var(--font-sans); color: rgba(255, 255, 255, 0.72); }
.kh-cat-new { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; margin-top: 56px; }
.kh-new-tag {
  display: inline-block; margin-bottom: 12px; padding: 5px 9px 7px; font: 400 12px/1 var(--font-pixel); color: #0B0B0B;
  background: var(--c); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25);
}
.kh-h3 { margin: 0 0 22px; font: 400 28px/1.15 'MinecraftFont', var(--font-pixel); color: #fff; }
.kh-cat .kh-check-ico { background: rgba(255, 200, 61, 0.12); }
.kh-check-ico.brands { position: relative; flex-basis: 32px; background: rgba(255, 255, 255, 0.06); }
.kh-check-ico.brands img { position: absolute; width: 17px; height: 17px; }
.kh-check-ico.brands img:first-child { left: 3px; top: 3px; }
.kh-check-ico.brands img:last-child { right: 3px; bottom: 3px; }
.kh-cat-feats .kh-note { margin-top: 18px; }

/* Макет окна «Добавить моды» */
.kh-mock {
  background: #121212; border: 2px solid #000; font-family: var(--font-sans);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 70px rgba(255, 200, 61, 0.07);
}
.kh-mock-bar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px; background: #181818; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.kh-mock-bar b { font: 400 14px/1 var(--font-pixel); font-weight: 400; color: #fff; }
.kh-mock-bar span { flex: 1; font: 400 12px/1 var(--font-sans); color: rgba(255, 255, 255, 0.45); }
.kh-mock-bar i { width: 10px; height: 10px; background: rgba(255, 255, 255, 0.12); }
.kh-mock-tabs { display: flex; align-items: center; gap: 4px; padding: 10px 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.kh-mock-tabs > span { padding: 8px 10px 9px; font: 400 12px/1 var(--font-pixel); color: rgba(255, 255, 255, 0.5); border-bottom: 2px solid transparent; }
.kh-mock-tabs > span.on { color: #fff; border-bottom-color: var(--c, #FFC83D); }
.kh-mock-src { margin-left: auto; display: flex; gap: 8px; padding-bottom: 8px !important; }
.kh-mock-src img { width: 18px; height: 18px; }
.kh-mock-search {
  display: flex; align-items: center; gap: 8px; margin: 12px; padding: 0 10px; height: 36px; color: rgba(255, 255, 255, 0.45);
  background: #0B0B0B; border: 1px solid rgba(255, 255, 255, 0.1); font: 400 13px/1 var(--font-sans);
}
.kh-mock-search span { flex: 1; }
.kh-mock-search em { font-style: normal; padding: 4px 7px 5px; font: 400 11px/1 var(--font-pixel); color: #0B0B0B; background: var(--c, #FFC83D); }
.kh-mock-list { display: flex; flex-direction: column; gap: 6px; padding: 0 12px; }
.kh-mock-row { display: flex; align-items: center; gap: 12px; padding: 9px 10px; background: #181818; border: 1px solid rgba(255, 255, 255, 0.05); }
.kh-mock-ico { flex: 0 0 34px; height: 34px; display: grid; place-items: center; font: 400 16px/1 var(--font-pixel); color: #fff; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25); }
.kh-mock-name { flex: 1; min-width: 0; }
.kh-mock-name b { display: block; font: 600 13.5px/1.2 var(--font-sans); color: #fff; }
.kh-mock-name small { display: block; margin-top: 3px; font: 400 11.5px/1 var(--font-sans); color: rgba(255, 255, 255, 0.45); }
.kh-mock-btn {
  position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 124px; height: 30px;
  font: 400 11.5px/1 var(--font-pixel); color: #0B0B0B; background: var(--c, #FFC83D); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25); overflow: hidden;
}
.kh-mock-btn.done { color: #7CFF2E; background: rgba(124, 255, 46, 0.1); box-shadow: inset 0 0 0 1px rgba(124, 255, 46, 0.35); }
/* «Живая» кнопка: Установить → полоска загрузки → Установлено, по кругу */
.kh-mock-btn.live > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; }
.kh-mock-btn.live .a { animation: kh-mock-a 6s linear infinite; }
.kh-mock-btn.live .b { padding: 0 12px; background: #1E1E1E; opacity: 0; animation: kh-mock-b 6s linear infinite; }
.kh-mock-btn.live .b > i { position: relative; display: block; width: 100%; height: 6px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.kh-mock-btn.live .b > i > i { position: absolute; inset: 0; background: var(--c, #FFC83D); transform: scaleX(0); transform-origin: 0 50%; animation: kh-mock-fill 6s linear infinite; }
.kh-mock-btn.live .c { color: #7CFF2E; background: #13200C; opacity: 0; animation: kh-mock-c 6s linear infinite; }
@keyframes kh-mock-a { 0%, 30% { opacity: 1; } 33%, 97% { opacity: 0; } 100% { opacity: 1; } }
@keyframes kh-mock-b { 0%, 30% { opacity: 0; } 33%, 62% { opacity: 1; } 65%, 100% { opacity: 0; } }
@keyframes kh-mock-fill { 0%, 33% { transform: scaleX(0); } 62%, 100% { transform: scaleX(1); } }
@keyframes kh-mock-c { 0%, 62% { opacity: 0; } 65%, 95% { opacity: 1; } 98%, 100% { opacity: 0; } }
.kh-mock-foot { margin: 12px 12px 0; padding: 10px 0 12px; border-top: 1px solid rgba(255, 255, 255, 0.06); font: 400 12px/1.4 var(--font-sans); color: rgba(255, 255, 255, 0.45); }
@media (prefers-reduced-motion: reduce) {
  .kh-mock-btn.live .a, .kh-mock-btn.live .b, .kh-mock-btn.live .b > i > i, .kh-mock-btn.live .c { animation: none; }
}

/* ═════════════ 04 · Авторские сборки NTC ═════════════ */
.kh-ntc { background: radial-gradient(60% 55% at 88% 0%, rgba(124, 255, 46, 0.07), transparent 70%), #0E0E0E; overflow-x: clip; overflow-y: visible; }
.kh-ntc-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; }
.kh-ntc-top .kh-head { margin-bottom: 0; }
.kh-ntc-logo { display: block; transition: transform 200ms var(--kfx-ease, ease); }
.kh-ntc-logo:hover { transform: rotate(-2deg) scale(1.03); }
.kh-ntc-logo img { display: block; width: 300px; height: auto; filter: drop-shadow(0 0 26px rgba(124, 255, 46, 0.2)); }
.kh-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 36px 0 48px; }
.kh-point { background: rgba(124, 255, 46, 0.035); border-color: rgba(124, 255, 46, 0.14); }
.kh-point-ico { background: rgba(124, 255, 46, 0.1); }
.kh-ntc-packs { position: relative; }

/* ═════════════ 05 · Переводы: текст слева, «стена» обложек справа ═════════════ */
.kh-tr { background: radial-gradient(55% 60% at 0% 100%, rgba(74, 163, 255, 0.08), transparent 70%), #111111; }
.kh-tr-grid { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); gap: 44px; align-items: center; }
.kh-tr .kh-head { margin-bottom: 26px; }
.kh-checks { display: flex; flex-direction: column; gap: 14px; }
.kh-check { display: flex; gap: 12px; align-items: flex-start; }
.kh-check-ico { flex-basis: 32px; height: 32px; background: rgba(255, 255, 255, 0.06); }
.kh-tr .kh-check-ico { background: rgba(74, 163, 255, 0.13); }
.kh-ob .kh-check-ico { background: rgba(99, 245, 238, 0.1); }
.kh-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.kh-price { padding: 16px; background: #171717; border: 1px solid rgba(255, 255, 255, 0.07); }
.kh-price small { display: block; font: 400 12px/1 var(--font-pixel); color: rgba(255, 255, 255, 0.55); }
.kh-price b { display: block; margin: 10px 0 6px; font: 400 28px/1 'MinecraftFont', var(--font-pixel); color: #fff; }
.kh-price b em { margin-left: 4px; font-style: normal; font-size: 14px; color: rgba(255, 255, 255, 0.55); }
.kh-price span { font: 400 12.5px/1.4 var(--font-sans); color: rgba(255, 255, 255, 0.55); }
.kh-price.gold { border-color: rgba(255, 210, 63, 0.35); background: linear-gradient(180deg, rgba(255, 210, 63, 0.08), transparent 70%), #171717; }
.kh-price.gold b { color: #FFD23F; }
.kh-tr-wall { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.kh-tr-row.rev .kfx-marquee-track { animation-direction: reverse; }
.kh-tr-wall:hover .kfx-marquee-track { animation-play-state: paused; }
.kh-tr-row.static { display: flex; flex-wrap: wrap; gap: 14px; }
.kh-tr-tile {
  position: relative; display: block; flex: 0 0 auto; width: 236px; aspect-ratio: 16 / 10; overflow: hidden;
  background: #171717; border: 1px solid rgba(255, 255, 255, 0.08); color: #fff; text-decoration: none;
  transition: border-color 160ms ease;
}
.kh-tr-tile img, .kh-tr-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--kfx-ease, ease); }
.kh-tr-ph { background: linear-gradient(135deg, #0a1a2e, #123a66); }
.kh-tr-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85)); }
.kh-tr-tile b {
  position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font: 400 14px/1.2 var(--font-pixel); font-weight: 400; text-shadow: 0 2px 8px #000;
}
.kh-tr-ru {
  position: absolute; top: 8px; left: 8px; z-index: 1; padding: 4px 6px 6px; background: var(--c, #4AA3FF); color: #0B0B0B;
  font: 400 11px/1 var(--font-pixel); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.25);
}
.kh-tr-tile:hover { border-color: rgba(74, 163, 255, 0.65); }
.kh-tr-tile:hover img { transform: scale(1.06); }

/* ═════════════ 06 · Обелиск ═════════════ */
.kh-ob { background: #07181A; }
.kh-ob-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(45% 60% at 26% 50%, rgba(99, 245, 238, 0.13), transparent 70%),
    linear-gradient(rgba(99, 245, 238, 0.05) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(99, 245, 238, 0.05) 1px, transparent 1px) 0 0 / 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse at 30% 50%, #000 30%, transparent 78%);
}
.kh-ob-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 50px; align-items: center; }
.kh-ob .kh-head { margin-bottom: 26px; }
.kh-ob-visual { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; }
.kh-ob-ring { position: absolute; inset: 15%; border: 2px solid rgba(99, 245, 238, 0.24); transform: rotate(45deg); animation: kh-ring 4.5s ease-in-out infinite; }
.kh-ob-ring.r2 { inset: 27%; border-style: dashed; border-color: rgba(99, 245, 238, 0.18); animation-delay: -2.2s; }
@keyframes kh-ring { 0%, 100% { transform: rotate(45deg) scale(1); opacity: 0.9; } 50% { transform: rotate(45deg) scale(1.05); opacity: 0.45; } }
.kh-ob-logo { position: relative; width: 42%; image-rendering: pixelated; filter: drop-shadow(0 0 34px rgba(99, 245, 238, 0.45)); animation: kh-float 6s ease-in-out infinite; }
.kh-ob-player {
  position: absolute; display: flex; align-items: center; gap: 9px; padding: 8px 12px 8px 8px;
  background: rgba(7, 24, 26, 0.92); border: 1px solid rgba(99, 245, 238, 0.32); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  animation: kh-float 5s ease-in-out infinite;
}
.kh-ob-player img { width: 30px; height: 30px; image-rendering: pixelated; }
.kh-ob-player b { display: block; font: 400 13px/1.1 var(--font-pixel); color: #fff; }
.kh-ob-player small { display: block; margin-top: 3px; font: 400 11px/1 var(--font-pixel); color: #63F5EE; }
.kh-ob-player.p1 { top: 7%; left: 0; animation-delay: -1s; }
.kh-ob-player.p2 { top: 46%; right: -2%; animation-delay: -2.6s; }
.kh-ob-player.p3 { bottom: 6%; left: 8%; animation-delay: -3.8s; }
.kh-steps { display: flex; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.kh-steps li {
  flex: 1; display: flex; align-items: center; gap: 10px; padding: 12px 14px; font: 400 13.5px/1.35 var(--font-sans); color: rgba(255, 255, 255, 0.86);
  background: rgba(99, 245, 238, 0.06); border: 1px solid rgba(99, 245, 238, 0.18);
}
.kh-steps b {
  flex: 0 0 28px; height: 28px; display: grid; place-items: center; background: #63F5EE; color: #062A2E;
  font: 400 14px/1 var(--font-pixel); font-weight: 400; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25);
}

/* ═════════════ Анимации ═════════════ */
@keyframes kh-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes kh-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes kh-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .kh-core-logo img, .kh-w s, .kh-ob-ring, .kh-ob-logo, .kh-ob-player { animation: none; }
  .kh-w s { display: none; }
}

/* ═════════════ Адаптив ═════════════ */
@media (max-width: 1100px) {
  .kh-wires { display: none; }
  .kh-eco-row { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; }
  .kh-cat-top, .kh-cat-new { grid-template-columns: minmax(0, 1fr); }
  .kh-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kh-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kh-tr-grid, .kh-ob-grid { grid-template-columns: minmax(0, 1fr); }
  .kh-ob-visual { max-width: 380px; }
}
@media (max-width: 900px) {
  .kh-wires { display: none; }
  .kh-eco-row { grid-template-columns: minmax(0, 1fr); margin-top: 16px; gap: 14px; }
  .kh-core { grid-template-columns: auto minmax(0, 1fr); }
  .kh-core > .kh-more { grid-column: 1 / -1; }
  .kh-tour { grid-template-columns: minmax(0, 1fr); }
  .kh-tour-screen { order: -1; }
  .kh-points { grid-template-columns: minmax(0, 1fr); }
  .kh-ntc-top { grid-template-columns: minmax(0, 1fr); }
  .kh-ntc-logo img { width: 220px; }
}
@media (max-width: 560px) {
  .kh-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kh-mock-search em { display: none; }
  .kh-sec { padding: 64px 18px; }
  .kh-h2 { font-size: 28px; }
  .kh-lead { font-size: 15.5px; }
  .kh-core { grid-template-columns: minmax(0, 1fr); padding: 20px; gap: 14px; }
  .kh-core-logo { width: 72px; height: 72px; }
  .kh-core-title { font-size: 24px; }
  .kh-prod { padding: 20px 18px 18px; }
  .kh-facts, .kh-prices { grid-template-columns: minmax(0, 1fr); }
  .kh-steps { flex-direction: column; }
  .kh-btn { width: 100%; }
  .kh-tr-tile { width: 180px; }
  .kh-ob-player { padding: 6px 10px 6px 6px; }
  .kh-ob-player img { width: 24px; height: 24px; }
}
