/* ==========================================================================
   Тема «Веса» — открытые нейросети. Концепция «карточка модели × лабораторный журнал»
   Светлая миллиметровка, белые карточки со строками спецификации, рубрики как репозитории,
   журнал изменений, таблица лидеров, ячейка блокнота. Фиолетовый акцент, янтарный — второй.
   Шрифты: Manrope 800 (заголовки) · Inter (текст) · JetBrains Mono (метки и цифры).
   Все селекторы — внутри .theme-vesa, собственные классы — с префиксом vs-.
   ========================================================================== */

.site.theme-vesa {
  --vs-paper: #F4F4F1;
  --vs-paper2: #FAFAF8;
  --vs-card: #FFFFFF;
  --vs-ink: #16151D;
  --vs-ink2: #34323F;
  --vs-muted: #5E5C6A;
  --vs-faint: #8E8C99;
  --vs-line: rgba(22, 21, 29, .12);
  --vs-line2: rgba(22, 21, 29, .075);
  --vs-v: #5B3DF5;
  --vs-v-ink: #4326D6;
  --vs-v-deep: #2E1A9E;
  --vs-v-soft: #EFECFF;
  --vs-v-soft2: #DDD6FF;
  --vs-a: #F5A623;
  --vs-a-soft: #FFF2D9;
  --vs-a-ink: #8A5300;
  --vs-night: #16151D;
  --vs-grid-minor: rgba(22, 21, 29, .045);
  --vs-grid-major: rgba(91, 61, 245, .07);
  --vs-display: var(--f-manrope), system-ui, sans-serif;
  --vs-body: var(--f-inter), system-ui, -apple-system, sans-serif;
  --vs-mono: var(--f-jetbrains), ui-monospace, SFMono-Regular, Menlo, monospace;
  --vs-r: 12px;
  --vs-r2: 8px;
  --vs-pad: clamp(16px, 2.6vw, 32px);
  --vs-shadow: 0 1px 0 rgba(22, 21, 29, .04), 0 1px 3px rgba(22, 21, 29, .04);
  --vs-shadow-hi: 0 1px 0 rgba(22, 21, 29, .04), 0 18px 36px -22px rgba(46, 26, 158, .38);
  --wrap: 1240px;
  --narrow: 740px;
  background-color: var(--vs-paper);
  background-image:
    linear-gradient(var(--vs-grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--vs-grid-major) 1px, transparent 1px),
    linear-gradient(var(--vs-grid-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--vs-grid-minor) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
  color: var(--vs-ink);
  font-family: var(--vs-body);
  font-feature-settings: "cv11", "ss01";
  overflow-x: clip;
}
.theme-vesa ::selection { background: var(--vs-v-soft2); color: var(--vs-ink); }
.theme-vesa :focus-visible { outline: 2px solid var(--vs-v); outline-offset: 2px; border-radius: 6px; }
/* ссылки во всю ширину панелей с overflow: hidden — рамка фокуса внутрь, чтобы не обрезалась */
.theme-vesa .vs-repo a:focus-visible, .theme-vesa .vs-lb__panel a:focus-visible, .theme-vesa .vs-disc__list a:focus-visible,
.theme-vesa .vs-log__panel a:focus-visible, .theme-vesa .list .list-row:focus-visible { outline-offset: -3px; border-radius: 10px; }
.theme-vesa .wrap { max-width: var(--wrap); padding-left: var(--vs-pad); padding-right: var(--vs-pad); }
.theme-vesa .narrow { padding-left: var(--vs-pad); padding-right: var(--vs-pad); }
.theme-vesa .vs-wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--vs-pad); padding-right: var(--vs-pad); width: 100%; }
.theme-vesa .vs-sec { padding-top: clamp(36px, 5vw, 64px); }
.theme-vesa .cover { background: #E7E4F5; }
.theme-vesa .cover img { transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
.theme-vesa a:hover .cover img { transform: scale(1.03); }
.theme-vesa .site h1, .theme-vesa h1, .theme-vesa h2, .theme-vesa h3 { font-family: var(--vs-display); }

/* ---------- мелкие общие детали ---------- */
.theme-vesa .vs-ico { flex: none; display: block; }
.theme-vesa .vs-arr { flex: none; transition: transform .2s ease; }
.theme-vesa a:hover .vs-arr { transform: translateX(3px); }

.theme-vesa .vs-path {
  display: inline-flex; align-items: center; gap: 6px; min-width: 0;
  font-family: var(--vs-mono); font-size: 12px; line-height: 1.3; letter-spacing: .01em; color: var(--vs-muted); white-space: nowrap;
}
.theme-vesa .vs-path .vs-ico { color: var(--vs-v); }
.theme-vesa .vs-path__sl { color: var(--vs-faint); }
.theme-vesa .vs-path__repo { color: var(--vs-v-ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; }

.theme-vesa .vs-labels { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.theme-vesa .vs-labels li {
  font-family: var(--vs-mono); font-size: 11.5px; line-height: 1; letter-spacing: .01em; color: var(--vs-v-deep);
  padding: 6px 9px 6px 8px; border-radius: 999px; background: var(--vs-v-soft); box-shadow: inset 0 0 0 1px var(--vs-v-soft2);
  display: inline-flex; align-items: center; gap: 6px;
}
.theme-vesa .vs-labels li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--vs-v); }
.theme-vesa .vs-labels li:nth-child(3n+2)::before { background: var(--vs-a); }
.theme-vesa .vs-labels li:nth-child(3n+3)::before { background: #2FA37B; }

.theme-vesa .vs-specrow {
  margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  border-top: 1px dashed var(--vs-line); padding-top: 10px;
}
.theme-vesa .vs-specrow > div { min-width: 0; padding-right: 8px; }
.theme-vesa .vs-specrow > div + div { padding-left: 10px; border-left: 1px solid var(--vs-line2); }
.theme-vesa .vs-specrow dt { font-family: var(--vs-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--vs-muted); }
.theme-vesa .vs-specrow dd { margin: 2px 0 0; font-family: var(--vs-mono); font-size: 12.5px; color: var(--vs-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }

.theme-vesa .vs-badge {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  font-family: var(--vs-mono); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: #3D2600; background: var(--vs-a); padding: 4px 9px; border-radius: 999px;
}
.theme-vesa .vs-badge i { width: 6px; height: 6px; border-radius: 50%; background: #3D2600; }

.theme-vesa .vs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 42px; padding: 0 18px;
  font-family: var(--vs-body); font-size: 14.5px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap;
  border-radius: 10px; background: var(--vs-v); color: #fff; border: 0; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset, 0 6px 16px -8px rgba(91, 61, 245, .7);
  transition: background .15s ease, transform .15s ease;
}
.theme-vesa .vs-btn:hover { background: var(--vs-v-ink); }
.theme-vesa .vs-btn--line { background: var(--vs-card); color: var(--vs-ink); box-shadow: inset 0 0 0 1px var(--vs-line); }
.theme-vesa .vs-btn--line:hover { background: var(--vs-card); box-shadow: inset 0 0 0 1px var(--vs-v); color: var(--vs-v-ink); }

/* рисунок на миллиметровке: обложка + сетка + метки обреза */
.theme-vesa .vs-fig { position: relative; display: block; overflow: hidden; border-radius: var(--vs-r2); background: #1B1640; isolation: isolate; }
.theme-vesa .vs-fig .cover { border-radius: inherit; }
.theme-vesa .vs-fig__grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 2; border-radius: inherit;
  background-image: linear-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .13) 1px, transparent 1px);
  background-size: 32px 32px; background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(115deg, #000 0%, rgba(0, 0, 0, .25) 55%, transparent 80%);
  mask-image: linear-gradient(115deg, #000 0%, rgba(0, 0, 0, .25) 55%, transparent 80%);
}
.theme-vesa .vs-fig::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(22, 21, 29, .1); pointer-events: none; z-index: 3; }
/* генеративные обложки (/cover/<id>) — лёгкий фиолетовый дуотон, чтобы серия выглядела цельно; фото не трогаем */
.theme-vesa .vs-gen .cover::after,
.theme-vesa .related-card .cover:has(img[src*="url=%2Fcover%2F"], img[src^="/cover/"])::after,
.theme-vesa .list-row .cover:has(img[src*="url=%2Fcover%2F"], img[src^="/cover/"])::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(201, 194, 255, .75), rgba(140, 120, 255, .45));
  mix-blend-mode: multiply;
}
.theme-vesa .vs-fig__ticks { position: absolute; inset: 10px; pointer-events: none; z-index: 3; }
.theme-vesa .vs-fig__ticks i { position: absolute; width: 14px; height: 14px; border-color: rgba(255, 255, 255, .85); border-style: solid; border-width: 0; }
.theme-vesa .vs-fig__ticks i:nth-child(1) { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.theme-vesa .vs-fig__ticks i:nth-child(2) { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.theme-vesa .vs-fig__ticks i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.theme-vesa .vs-fig__ticks i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.theme-vesa .vs-fig__cap {
  position: absolute; left: 18px; bottom: 18px; z-index: 4;
  font-family: var(--vs-mono); font-size: 11px; letter-spacing: .06em; color: var(--vs-ink);
  background: rgba(255, 255, 255, .92); padding: 4px 8px; border-radius: 6px;
}

/* ========================= ШАПКА ========================= */
.theme-vesa .vs-hdr { background: var(--vs-card); border-bottom: 1px solid var(--vs-line); position: relative; z-index: 20; }
.theme-vesa .vs-hdr__top { display: flex; align-items: center; gap: 18px; height: 68px; }
.theme-vesa .vs-logo { display: inline-flex; align-items: center; gap: 11px; flex: none; color: var(--vs-ink); }
.theme-vesa .vs-mark { display: block; flex: none; }
.theme-vesa .vs-logo__word { font-family: var(--vs-display); font-weight: 800; font-size: 25px; line-height: 1; letter-spacing: -.035em; }
.theme-vesa .vs-hdr__tag {
  min-width: 0; padding-left: 18px; border-left: 1px solid var(--vs-line);
  font-family: var(--vs-mono); font-size: 12px; line-height: 1.35; color: var(--vs-muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60ch;
}
.theme-vesa .vs-hdr__tools { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: none; }
.theme-vesa .vs-find {
  display: inline-flex; align-items: center; gap: 10px; width: clamp(220px, 24vw, 320px); height: 40px; padding: 0 8px 0 13px;
  border-radius: 10px; background: var(--vs-paper); box-shadow: inset 0 0 0 1px var(--vs-line);
  color: var(--vs-muted); font-size: 14px; transition: box-shadow .15s ease, background .15s ease;
}
.theme-vesa .vs-find:hover, .theme-vesa .vs-find.is-on { background: var(--vs-card); box-shadow: inset 0 0 0 1px var(--vs-v), 0 0 0 3px var(--vs-v-soft); color: var(--vs-ink); }
.theme-vesa .vs-find__ph { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-vesa .vs-find kbd {
  font-family: var(--vs-mono); font-size: 11.5px; line-height: 1; color: var(--vs-muted);
  min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px;
  background: var(--vs-card); box-shadow: inset 0 0 0 1px var(--vs-line), 0 1px 0 var(--vs-line);
}
.theme-vesa .vs-iconbtn {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; flex: none;
  color: var(--vs-ink); box-shadow: inset 0 0 0 1px var(--vs-line); transition: color .15s, box-shadow .15s;
}
.theme-vesa .vs-iconbtn:hover { color: var(--vs-v); box-shadow: inset 0 0 0 1px var(--vs-v); }

.theme-vesa .vs-tabs { position: relative; }
.theme-vesa .vs-tabs__list {
  list-style: none; margin: 0 -10px; padding: 0; display: flex; gap: 2px;
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
}
.theme-vesa .vs-tabs__list::-webkit-scrollbar { display: none; }
.theme-vesa .vs-tabs__list li { position: relative; padding: 6px 0 9px; flex: none; scroll-snap-align: start; }
.theme-vesa .vs-tabs__list a {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px;
  font-size: 14.5px; font-weight: 500; color: var(--vs-muted); white-space: nowrap; transition: color .15s, background .15s;
}
.theme-vesa .vs-tabs__list a .vs-ico { color: var(--vs-faint); transition: color .15s; }
.theme-vesa .vs-tabs__list a:hover { color: var(--vs-ink); background: var(--vs-paper); }
.theme-vesa .vs-tabs__list a.is-on { color: var(--vs-ink); font-weight: 600; }
.theme-vesa .vs-tabs__list a.is-on .vs-ico, .theme-vesa .vs-tabs__list a:hover .vs-ico { color: var(--vs-v); }
.theme-vesa .vs-tabs__list a.is-on::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px 2px 0 0; background: var(--vs-v);
}

/* ========================= ГЛАВНАЯ ========================= */
.theme-vesa .vs-home { padding-bottom: 8px; }

/* заголовок раздела */
.theme-vesa .vs-sh { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.theme-vesa .vs-sh__main { min-width: 0; }
.theme-vesa .vs-sh__file {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px;
  font-family: var(--vs-mono); font-size: 11.5px; color: var(--vs-muted);
  padding: 4px 9px 4px 7px; border-radius: 6px; background: var(--vs-card); box-shadow: inset 0 0 0 1px var(--vs-line);
}
.theme-vesa .vs-sh__file .vs-ico { color: var(--vs-v); }
.theme-vesa .vs-sh__t { display: block; font-family: var(--vs-display); font-weight: 800; font-size: clamp(26px, 2.5vw, 34px); line-height: 1.08; letter-spacing: -.03em; margin: 0; color: var(--vs-ink); }
.theme-vesa .vs-sh__note { margin: 6px 0 0; font-size: 14.5px; color: var(--vs-muted); line-height: 1.45; }
.theme-vesa .vs-sh__link {
  display: inline-flex; align-items: center; gap: 7px; flex: none; padding-bottom: 4px;
  font-family: var(--vs-mono); font-size: 12.5px; font-weight: 600; color: var(--vs-v-ink);
}
.theme-vesa .vs-sh__link:hover { color: var(--vs-v-deep); }

/* ---------- 1. главная карточка ---------- */
.theme-vesa .vs-hero {
  margin-top: clamp(20px, 3vw, 36px); background: var(--vs-card); border-radius: var(--vs-r);
  box-shadow: inset 0 0 0 1px var(--vs-line), 0 30px 60px -48px rgba(46, 26, 158, .45); overflow: hidden;
}
.theme-vesa .vs-hero__bar {
  display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px clamp(18px, 2.4vw, 28px);
  background: var(--vs-paper2); border-bottom: 1px solid var(--vs-line2);
}
.theme-vesa .vs-hero__bar .vs-path { font-size: 12.5px; }
.theme-vesa .vs-hero__time { margin-left: auto; font-family: var(--vs-mono); font-size: 12px; color: var(--vs-muted); white-space: nowrap; }
.theme-vesa .vs-hero__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); }
.theme-vesa .vs-hero__text { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3.4vw, 44px) clamp(20px, 3.2vw, 44px) clamp(24px, 3vw, 36px); min-width: 0; }
.theme-vesa .vs-hero__t { font-family: var(--vs-display); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin: 0; color: var(--vs-ink); text-wrap: balance; }
.theme-vesa .vs-hero__t.is-s { font-size: clamp(34px, 4.2vw, 60px); }
.theme-vesa .vs-hero__t.is-m { font-size: clamp(30px, 3.5vw, 50px); }
.theme-vesa .vs-hero__t.is-l { font-size: clamp(27px, 2.9vw, 41px); line-height: 1.08; }
.theme-vesa .vs-hero__t a { background-image: linear-gradient(var(--vs-a), var(--vs-a)); background-size: 0 .14em; background-position: 0 92%; background-repeat: no-repeat; transition: background-size .35s ease; }
.theme-vesa .vs-hero__t a:hover { background-size: 100% .14em; }
.theme-vesa .vs-hero__lead { margin: 0; font-size: clamp(16.5px, 1.3vw, 18.5px); line-height: 1.55; color: var(--vs-ink2); max-width: 54ch; }
.theme-vesa .vs-spec {
  margin: auto 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px;
  border-top: 1px solid var(--vs-line);
}
.theme-vesa .vs-spec > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--vs-line); min-width: 0; }
.theme-vesa .vs-spec dt { font-family: var(--vs-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--vs-muted); flex: none; }
.theme-vesa .vs-spec dd { margin: 0; font-family: var(--vs-mono); font-size: 13px; color: var(--vs-ink); text-align: right; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.theme-vesa .vs-hero__go { align-self: flex-start; }
.theme-vesa .vs-hero__fig { margin: 12px 12px 12px 0; min-height: 420px; border-radius: 10px; }
.theme-vesa .vs-hero__img { position: absolute; inset: 0; height: 100%; }
.theme-vesa .vs-hero__stats {
  margin: 0; display: flex; flex-wrap: wrap; gap: 6px 0; padding: 12px clamp(18px, 2.4vw, 28px);
  border-top: 1px solid var(--vs-line2); background: var(--vs-paper2);
  font-family: var(--vs-mono); font-size: 12.5px; color: var(--vs-ink);
}
.theme-vesa .vs-hero__stats span { display: inline-flex; align-items: baseline; gap: 8px; padding-right: 18px; margin-right: 18px; border-right: 1px solid var(--vs-line); }
.theme-vesa .vs-hero__stats span:last-child { border-right: 0; margin-right: 0; }
.theme-vesa .vs-hero__stats em { font-style: normal; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--vs-muted); }

/* ---------- 2. свежее + журнал ---------- */
.theme-vesa .vs-fresh { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 3vw, 40px); align-items: start; }
.theme-vesa .vs-fresh--solo { grid-template-columns: minmax(0, 1fr); }
.theme-vesa .vs-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.theme-vesa .vs-mc {
  display: flex; flex-direction: column; min-width: 0; background: var(--vs-card); border-radius: var(--vs-r);
  box-shadow: inset 0 0 0 1px var(--vs-line), var(--vs-shadow); padding: 8px; transition: box-shadow .2s ease, transform .2s ease;
}
.theme-vesa .vs-mc:hover { box-shadow: inset 0 0 0 1px rgba(91, 61, 245, .45), var(--vs-shadow-hi); transform: translateY(-2px); }
.theme-vesa .vs-mc__pic { flex: none; }
.theme-vesa .vs-mc__body { display: flex; flex-direction: column; gap: 9px; padding: 14px 10px 6px; flex: 1; min-width: 0; }
.theme-vesa .vs-mc__t { font-family: var(--vs-display); font-weight: 800; font-size: 19px; line-height: 1.22; letter-spacing: -.02em; margin: 2px 0 0; color: var(--vs-ink); transition: color .15s; }
.theme-vesa .vs-mc__t.is-l { font-size: 17.5px; }
.theme-vesa .vs-mc:hover .vs-mc__t { color: var(--vs-v-ink); }
.theme-vesa .vs-mc__lead { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--vs-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.theme-vesa .vs-mc .vs-specrow { margin-top: auto; }
.theme-vesa .vs-mc--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 8px; }
.theme-vesa .vs-mc--wide .vs-mc__pic .cover { height: 100%; aspect-ratio: auto !important; min-height: 260px; }
.theme-vesa .vs-mc--wide .vs-mc__body { padding: 14px 14px 6px 18px; gap: 12px; }
.theme-vesa .vs-mc--wide .vs-mc__t { font-size: clamp(22px, 2vw, 27px); line-height: 1.14; letter-spacing: -.028em; }
.theme-vesa .vs-mc--wide .vs-mc__lead { -webkit-line-clamp: 3; font-size: 15px; }

/* журнал изменений */
.theme-vesa .vs-log { position: sticky; top: 20px; }
.theme-vesa .vs-log__panel { background: var(--vs-card); border-radius: var(--vs-r); box-shadow: inset 0 0 0 1px var(--vs-line), var(--vs-shadow); padding: 6px 0 4px; }
.theme-vesa .vs-log__day + .vs-log__day { border-top: 1px solid var(--vs-line2); }
.theme-vesa .vs-log__d { margin: 0; padding: 14px 18px 4px; font-family: var(--vs-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--vs-v-ink); }
.theme-vesa .vs-log__list { list-style: none; margin: 0; padding: 0 0 6px; }
.theme-vesa .vs-log__it { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 18px; padding: 9px 18px; transition: background .15s; }
.theme-vesa .vs-log__it:hover { background: var(--vs-paper2); }
.theme-vesa .vs-log__it::before { content: ""; position: absolute; left: 76px; top: 0; bottom: 0; width: 1px; background: rgba(91, 61, 245, .22); }
.theme-vesa .vs-log__list li:first-child .vs-log__it::before { top: 16px; }
.theme-vesa .vs-log__list li:last-child .vs-log__it::before { bottom: calc(100% - 18px); }
.theme-vesa .vs-log__list li:only-child .vs-log__it::before { display: none; }
.theme-vesa .vs-log__it::after {
  content: ""; position: absolute; left: 72px; top: 13px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--vs-card); box-shadow: inset 0 0 0 2px var(--vs-v);
}
.theme-vesa .vs-log__it:hover::after { background: var(--vs-a); box-shadow: inset 0 0 0 2px var(--vs-a); }
.theme-vesa .vs-log__it > time { font-family: var(--vs-mono); font-size: 12px; color: var(--vs-muted); padding-top: 1px; font-variant-numeric: tabular-nums; }
.theme-vesa .vs-log__body { min-width: 0; padding-left: 8px; }
.theme-vesa .vs-log__cat { display: block; font-family: var(--vs-mono); font-size: 11px; color: var(--vs-v-ink); margin-bottom: 2px; }
.theme-vesa .vs-log__t, .theme-vesa .vs-file__t, .theme-vesa .vs-lb__title h3, .theme-vesa .vs-issue__t, .theme-vesa .vs-repo__t,
.theme-vesa .vs-mc__t, .theme-vesa .list-row h2, .theme-vesa .related-card h3 { text-wrap: pretty; }
.theme-vesa .vs-log__t { font-family: var(--vs-body); font-weight: 600; font-size: 14.5px; line-height: 1.38; letter-spacing: -.005em; margin: 0; color: var(--vs-ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.theme-vesa .vs-log__it:hover .vs-log__t { color: var(--vs-v-ink); }
.theme-vesa .vs-log__more {
  display: flex; align-items: center; justify-content: space-between; margin: 4px 8px 4px; padding: 11px 10px;
  border-top: 1px dashed var(--vs-line); font-family: var(--vs-mono); font-size: 12.5px; font-weight: 600; color: var(--vs-v-ink);
}

/* ---------- 3. рубрики-репозитории ---------- */
.theme-vesa .vs-sh--slim .vs-sh__t--p { font-size: clamp(26px, 2.5vw, 34px); }
.theme-vesa .vs-repos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.theme-vesa .vs-repo { display: flex; flex-direction: column; min-width: 0; background: var(--vs-card); border-radius: var(--vs-r); box-shadow: inset 0 0 0 1px var(--vs-line), var(--vs-shadow); overflow: hidden; }
.theme-vesa .vs-repo__head { display: flex; align-items: center; gap: 13px; padding: 15px 18px; border-bottom: 1px solid var(--vs-line2); background: var(--vs-paper2); }
.theme-vesa .vs-repo__ico { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--vs-v-soft); color: var(--vs-v); box-shadow: inset 0 0 0 1px var(--vs-v-soft2); }
.theme-vesa .vs-repo__id { min-width: 0; flex: 1; }
.theme-vesa .vs-repo__path { display: block; font-family: var(--vs-mono); font-size: 11.5px; color: var(--vs-muted); line-height: 1.2; }
.theme-vesa .vs-repo__name { font-family: var(--vs-display); font-weight: 800; font-size: 21px; line-height: 1.2; letter-spacing: -.025em; margin: 2px 0 0; }
.theme-vesa .vs-repo__name a:hover { color: var(--vs-v-ink); }
.theme-vesa .vs-repo__all {
  display: inline-flex; align-items: center; gap: 6px; flex: none; height: 32px; padding: 0 11px; border-radius: 8px;
  font-family: var(--vs-mono); font-size: 12px; font-weight: 600; color: var(--vs-v-ink); background: var(--vs-card); box-shadow: inset 0 0 0 1px var(--vs-line);
}
.theme-vesa .vs-repo__all:hover { box-shadow: inset 0 0 0 1px var(--vs-v); }
.theme-vesa .vs-repo__lead { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--vs-line2); transition: background .15s; }
.theme-vesa .vs-repo__lead:hover { background: var(--vs-paper2); }
.theme-vesa .vs-repo__pic { align-self: start; }
.theme-vesa .vs-repo__lt { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.theme-vesa .vs-repo__t { font-family: var(--vs-display); font-weight: 800; font-size: 17.5px; line-height: 1.25; letter-spacing: -.018em; margin: 0; }
.theme-vesa .vs-repo__lead:hover .vs-repo__t { color: var(--vs-v-ink); }
.theme-vesa .vs-repo__lt .vs-specrow { margin-top: auto; }
.theme-vesa .vs-files { list-style: none; margin: 0; padding: 4px 0; }
.theme-vesa .vs-files li + li .vs-file { border-top: 1px solid var(--vs-line2); }
.theme-vesa .vs-file { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 11px 18px; transition: background .15s; }
.theme-vesa .vs-file:hover { background: var(--vs-paper2); }
.theme-vesa .vs-file .vs-ico--file { color: var(--vs-faint); transform: translateY(2px); }
.theme-vesa .vs-file:hover .vs-ico--file { color: var(--vs-v); }
.theme-vesa .vs-file__t { font-family: var(--vs-body); font-weight: 500; font-size: 14.5px; line-height: 1.4; letter-spacing: -.003em; margin: 0; color: var(--vs-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.theme-vesa .vs-file:hover .vs-file__t { color: var(--vs-v-ink); }
.theme-vesa .vs-file > time { font-family: var(--vs-mono); font-size: 11.5px; color: var(--vs-muted); white-space: nowrap; }

/* ---------- 4. таблица лидеров ---------- */
.theme-vesa .vs-lb__panel { background: var(--vs-card); border-radius: var(--vs-r); box-shadow: inset 0 0 0 1px var(--vs-line), var(--vs-shadow); overflow: hidden; }
.theme-vesa .vs-lb__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.theme-vesa .vs-lb__table th {
  font-family: var(--vs-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--vs-muted);
  text-align: left; padding: 12px 16px; background: var(--vs-paper2); border-bottom: 1px solid var(--vs-line); white-space: nowrap;
}
.theme-vesa .vs-lb__table td { padding: 13px 16px; border-bottom: 1px solid var(--vs-line2); vertical-align: middle; }
.theme-vesa .vs-lb__table tbody tr:last-child td { border-bottom: 0; }
.theme-vesa .vs-lb__table tbody tr { transition: background .15s; }
.theme-vesa .vs-lb__table tbody tr:hover { background: var(--vs-paper2); }
.theme-vesa .vs-lb__n { width: 56px; font-family: var(--vs-mono); font-size: 13px; color: var(--vs-muted); }
.theme-vesa tbody tr:nth-child(-n+3) .vs-lb__n { color: var(--vs-v-ink); font-weight: 700; }
.theme-vesa .vs-lb__title h3 { font-family: var(--vs-display); font-weight: 700; font-size: 16px; line-height: 1.32; letter-spacing: -.012em; margin: 0; }
.theme-vesa .vs-lb__title a:hover h3 { color: var(--vs-v-ink); }
.theme-vesa .vs-lb__c { width: 170px; }
.theme-vesa .vs-lb__num { text-align: right !important; font-family: var(--vs-mono); font-size: 13px; color: var(--vs-ink2); white-space: nowrap; width: 96px; }
.theme-vesa .vs-lb__v { width: 128px; font-weight: 700; color: var(--vs-ink); background: color-mix(in srgb, var(--vs-v) calc(var(--vs-heat, 0) * 26%), transparent); box-shadow: inset 1px 0 0 var(--vs-line2); }
.theme-vesa th.vs-lb__num:last-child { box-shadow: inset 1px 0 0 var(--vs-line2); }

/* ---------- 5. обсуждения + блокнот ---------- */
.theme-vesa .vs-tail { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.theme-vesa .vs-tail--solo { grid-template-columns: minmax(0, 1fr); }
.theme-vesa .vs-disc__list { list-style: none; margin: 0; padding: 0; background: var(--vs-card); border-radius: var(--vs-r); box-shadow: inset 0 0 0 1px var(--vs-line), var(--vs-shadow); overflow: hidden; }
.theme-vesa .vs-disc__list li + li { border-top: 1px solid var(--vs-line2); }
.theme-vesa .vs-issue { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 15px 18px; transition: background .15s; }
.theme-vesa .vs-issue:hover { background: var(--vs-paper2); }
.theme-vesa .vs-issue__ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #1F7A5A; background: #E3F5EC; box-shadow: inset 0 0 0 1px #C3E9D6; }
.theme-vesa .vs-issue__body { min-width: 0; display: grid; gap: 6px; }
.theme-vesa .vs-issue__t { font-family: var(--vs-display); font-weight: 700; font-size: 16px; line-height: 1.32; letter-spacing: -.012em; margin: 0; }
.theme-vesa .vs-issue:hover .vs-issue__t { color: var(--vs-v-ink); }
.theme-vesa .vs-issue__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-family: var(--vs-mono); font-size: 11.5px; color: var(--vs-muted); }
.theme-vesa .vs-issue__n {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; margin-top: 2px;
  font-family: var(--vs-mono); font-size: 12px; font-weight: 600; color: var(--vs-ink); background: var(--vs-paper); box-shadow: inset 0 0 0 1px var(--vs-line);
}

.theme-vesa .vs-nb__intro { margin: -6px 0 16px; font-size: 15px; line-height: 1.55; color: var(--vs-ink2); max-width: 52ch; }
.theme-vesa .vs-cell { background: var(--vs-card); border-radius: var(--vs-r); box-shadow: inset 0 0 0 1px var(--vs-line), var(--vs-shadow); padding: 14px; display: grid; gap: 10px; }
.theme-vesa .vs-cell__row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: start; }
.theme-vesa .vs-cell__p { font-family: var(--vs-mono); font-size: 12px; color: var(--vs-v-ink); padding-top: 13px; text-align: right; white-space: nowrap; }
.theme-vesa .vs-cell__row--out .vs-cell__p { color: var(--vs-a-ink); padding-top: 3px; }
.theme-vesa .vs-cell__code {
  margin: 0; padding: 12px 14px; border-radius: 8px; background: #F7F6FB; box-shadow: inset 0 0 0 1px var(--vs-line2), inset 3px 0 0 var(--vs-v);
  font-family: var(--vs-mono); font-size: 13.5px; line-height: 1.7; color: var(--vs-ink); white-space: pre; overflow-x: auto;
}
.theme-vesa .vs-cell__code code { font: inherit; }
.theme-vesa .vs-tk-c { color: #66637A; font-style: italic; }
.theme-vesa .vs-tk-k { color: var(--vs-v-ink); white-space: pre; }
.theme-vesa .vs-tk-s { color: var(--vs-a-ink); text-decoration: underline; text-decoration-color: rgba(138, 83, 0, .3); text-underline-offset: 3px; }
.theme-vesa .vs-tk-s:hover { text-decoration-color: currentColor; }
.theme-vesa .vs-cell__out { font-family: var(--vs-mono); font-size: 13px; color: var(--vs-ink2); padding: 2px 2px 4px; }
.theme-vesa .vs-nb__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.theme-vesa .vs-tail__side { display: grid; gap: clamp(24px, 3vw, 36px); align-content: start; }
.theme-vesa .vs-tail--solo .vs-tail__side { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; }
.theme-vesa .vs-readme {
  position: relative; padding: 18px 20px 18px; border-radius: var(--vs-r); background: var(--vs-paper2);
  box-shadow: inset 0 0 0 1px var(--vs-line); background-image: repeating-linear-gradient(transparent 0 27px, rgba(91, 61, 245, .07) 27px 28px);
  background-position: 0 50px;
}
.theme-vesa .vs-readme__h { display: flex; align-items: center; gap: 7px; margin: 0 0 12px; font-family: var(--vs-mono); font-size: 11.5px; font-weight: 600; color: var(--vs-ink); }
.theme-vesa .vs-readme__h .vs-ico { color: var(--vs-v); }
.theme-vesa .vs-readme__t { margin: 0 0 14px; font-size: 15px; line-height: 28px; color: var(--vs-ink2); }
.theme-vesa .vs-readme__link { display: inline-flex; align-items: center; gap: 7px; font-family: var(--vs-mono); font-size: 12.5px; font-weight: 600; color: var(--vs-v-ink); }

/* ========================= ПОДВАЛ ========================= */
.theme-vesa .vs-ftr {
  margin-top: clamp(40px, 6vw, 80px); background-color: var(--vs-night); color: #E9E7F2;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 24px 24px; background-position: -1px -1px;
  font-size: 14.5px;
}
.theme-vesa .vs-ftr :focus-visible { outline-color: var(--vs-a); }
.theme-vesa .vs-ftr__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.2fr) minmax(0, .7fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); padding-top: clamp(44px, 5vw, 64px); padding-bottom: clamp(32px, 4vw, 48px); }
.theme-vesa .vs-logo--inv { color: #fff; }
.theme-vesa .vs-logo--inv .vs-mark rect:first-child { fill: #fff; fill-opacity: .06; stroke: rgba(255, 255, 255, .18); }
.theme-vesa .vs-ftr__desc { margin: 16px 0 20px; color: #B4B1C4; line-height: 1.6; max-width: 42ch; }
.theme-vesa .vs-ftr__sub { display: flex; flex-wrap: wrap; gap: 10px; }
.theme-vesa .vs-btn--light { background: #fff; color: var(--vs-night); box-shadow: none; }
.theme-vesa .vs-btn--light:hover { background: var(--vs-a); color: var(--vs-night); }
.theme-vesa .vs-ftr .vs-btn--line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.theme-vesa .vs-ftr .vs-btn--line:hover { box-shadow: inset 0 0 0 1px var(--vs-a); color: var(--vs-a); }
.theme-vesa .vs-ftr__h { margin: 4px 0 16px; font-family: var(--vs-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #9C98B3; }
.theme-vesa .vs-ftr ul { list-style: none; margin: 0; padding: 0; }
.theme-vesa .vs-ftr__tree ul { font-family: var(--vs-mono); font-size: 13px; line-height: 1.5; }
.theme-vesa .vs-ftr__tree li { display: flex; align-items: baseline; padding: 4px 0; white-space: nowrap; }
.theme-vesa .vs-tree__root { color: #fff; font-weight: 700; padding-bottom: 6px !important; }
.theme-vesa .vs-tree__node { position: relative; padding-left: 30px !important; }
.theme-vesa .vs-tree__node::before { content: ""; position: absolute; left: 5px; top: 0; bottom: 0; border-left: 1px solid #4B4766; }
.theme-vesa .vs-tree__node:last-child::before { bottom: 50%; }
.theme-vesa .vs-tree__node::after { content: ""; position: absolute; left: 5px; top: 50%; width: 15px; border-top: 1px solid #4B4766; }
.theme-vesa .vs-tree__node:hover::after { border-top-color: var(--vs-a); }
.theme-vesa .vs-ftr__tree a { display: inline-flex; align-items: baseline; gap: 10px; min-width: 0; }
.theme-vesa .vs-tree__slug { color: #B3A6FF; flex: none; }
.theme-vesa .vs-tree__name { color: #E9E7F2; font-family: var(--vs-body); font-size: 14px; overflow: hidden; text-overflow: ellipsis; }
.theme-vesa .vs-ftr__tree a:hover .vs-tree__name { color: var(--vs-a); }
.theme-vesa .vs-ftr__col li + li { margin-top: 9px; }
.theme-vesa .vs-ftr__col a { color: #E9E7F2; font-size: 14px; }
.theme-vesa .vs-ftr__col a:hover { color: var(--vs-a); }
.theme-vesa .vs-ftr__net ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; font-size: 13.5px; }
.theme-vesa .vs-ftr__net li + li { margin-top: 0; }
.theme-vesa .vs-ftr__net li { padding: 4px 0; }
.theme-vesa .vs-ftr__net a { color: #B4B1C4; }
.theme-vesa .vs-ftr__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, .1); font-family: var(--vs-mono); font-size: 12px; color: #9C98B3;
}
.theme-vesa .vs-ftr__eof { color: var(--vs-a); letter-spacing: .1em; }

/* ========================= СТАТЬЯ ========================= */
.theme-vesa .breadcrumbs { font-family: var(--vs-mono); font-size: 12.5px; color: var(--vs-muted); padding-top: clamp(18px, 3vw, 30px); gap: 8px; }
.theme-vesa .breadcrumbs::before { content: "~"; color: var(--vs-v); font-weight: 700; }
.theme-vesa .breadcrumbs span { color: var(--vs-faint); }
.theme-vesa .breadcrumbs span:last-child:not(:only-child) { color: var(--vs-ink2); }
.theme-vesa .breadcrumbs a:hover { color: var(--vs-v-ink); }
.theme-vesa .article .breadcrumbs + .vs-ah { padding-top: 22px; }

.theme-vesa .vs-ah { padding-top: clamp(24px, 4vw, 48px); }
.theme-vesa .vs-ah__top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 20px; }
.theme-vesa .vs-ah__cat {
  display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px 0 10px; border-radius: 999px;
  font-family: var(--vs-mono); font-size: 12.5px; font-weight: 600; color: var(--vs-v-deep); background: var(--vs-v-soft); box-shadow: inset 0 0 0 1px var(--vs-v-soft2);
}
.theme-vesa .vs-ah__cat .vs-ico { color: var(--vs-v); }
.theme-vesa a.vs-ah__cat:hover { background: var(--vs-v-soft2); }
.theme-vesa .vs-ah__read { display: inline-flex; align-items: center; gap: 6px; font-family: var(--vs-mono); font-size: 12.5px; color: var(--vs-muted); }
.theme-vesa .vs-ah__t { font-family: var(--vs-display); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; margin: 0 0 20px; color: var(--vs-ink); }
.theme-vesa .vs-ah__t.is-s { font-size: clamp(34px, 5vw, 60px); }
.theme-vesa .vs-ah__t.is-m { font-size: clamp(31px, 4.3vw, 52px); }
.theme-vesa .vs-ah__t.is-l { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; }
.theme-vesa .vs-ah__lead { margin: 0 0 28px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--vs-ink2); }
.theme-vesa .vs-ah__spec {
  margin: 0; display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden;
  background: var(--vs-line2); border-radius: var(--vs-r); box-shadow: 0 0 0 1px var(--vs-line), var(--vs-shadow);
}
.theme-vesa .vs-ah__spec > div { padding: 12px 16px; min-width: 0; background: var(--vs-card); }
.theme-vesa .vs-ah__spec dt { font-family: var(--vs-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--vs-muted); margin-bottom: 4px; }
.theme-vesa .vs-ah__spec dd { margin: 0; font-family: var(--vs-mono); font-size: 13.5px; color: var(--vs-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-vesa .vs-ah__by dd { display: flex; align-items: center; gap: 10px; white-space: normal; }
.theme-vesa .vs-ah__by .avatar { border-radius: 9px; font-size: 12px !important; }
.theme-vesa .vs-ah__by dd > span:last-child { min-width: 0; display: grid; }
.theme-vesa .vs-ah__by b { font-family: var(--vs-body); font-size: 14px; font-weight: 600; line-height: 1.25; }
.theme-vesa .vs-ah__by em { font-style: normal; font-family: var(--vs-body); font-size: 12.5px; color: var(--vs-muted); line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.theme-vesa .vs-ah__spec:has(> div:nth-child(3):last-child) { grid-template-columns: minmax(0, 1.7fr) repeat(2, minmax(0, 1fr)); }
.theme-vesa .vs-ah__recipe { margin: 14px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.theme-vesa .vs-ah__recipe > div { background: var(--vs-a-soft); border-radius: 10px; padding: 12px 14px; box-shadow: inset 0 0 0 1px rgba(245, 166, 35, .35); }
.theme-vesa .vs-ah__recipe dt { font-family: var(--vs-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--vs-a-ink); }
.theme-vesa .vs-ah__recipe dd { margin: 2px 0 0; font-family: var(--vs-display); font-weight: 800; font-size: 20px; }

.theme-vesa .vs-ah__fig { max-width: 1120px; margin: clamp(28px, 4vw, 48px) auto clamp(28px, 4vw, 52px); padding: 0 var(--vs-pad); }
.theme-vesa .vs-ah__frame { border-radius: 14px; box-shadow: 0 0 0 8px var(--vs-card), 0 0 0 9px var(--vs-line), 0 30px 60px -40px rgba(46, 26, 158, .5); }
.theme-vesa .vs-ah__fig figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; font-family: var(--vs-mono); font-size: 12px; color: var(--vs-muted); }
.theme-vesa .vs-ah__figpath { color: var(--vs-v-ink); }

/* текст статьи — на белом листе журнала поверх миллиметровки */
.theme-vesa .article { --vs-sheet: 860px; --vs-in: clamp(28px, 5vw, 64px); }
.theme-vesa .article > .breadcrumbs.narrow, .theme-vesa .article .vs-ah.narrow, .theme-vesa .article-body.narrow {
  max-width: var(--vs-sheet); width: calc(100% - 2 * var(--vs-pad)); padding-left: var(--vs-in); padding-right: var(--vs-in);
}
.theme-vesa .article-body.narrow {
  padding-top: clamp(32px, 4.4vw, 56px); padding-bottom: clamp(32px, 4vw, 48px); background: var(--vs-card); border-radius: 16px;
  box-shadow: 0 0 0 1px var(--vs-line), 0 40px 80px -60px rgba(46, 26, 158, .45);
}
.theme-vesa .prose { font-family: var(--vs-body); font-size: clamp(17px, 1.2vw, 18.5px); line-height: 1.74; color: #22202B; }
.theme-vesa .prose:not(.prose-cont) > p:first-child { font-size: 1.1em; line-height: 1.66; color: var(--vs-ink); }
.theme-vesa .prose > h2 { position: relative; font-family: var(--vs-display); font-weight: 800; font-size: clamp(24px, 2.3vw, 31px); letter-spacing: -.028em; line-height: 1.15; margin-top: 1.9em; }
.theme-vesa .prose > h2::before { content: "#"; font-family: var(--vs-mono); font-weight: 500; color: var(--vs-v); opacity: .75; margin-right: .35em; }
.theme-vesa .prose > h3 { font-family: var(--vs-display); font-weight: 800; font-size: clamp(20px, 1.8vw, 23px); letter-spacing: -.02em; margin-top: 1.6em; }
.theme-vesa .prose a { color: var(--vs-v-ink); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: rgba(91, 61, 245, .4); text-underline-offset: 3px; }
.theme-vesa .prose a:hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; }
.theme-vesa .prose li::marker { color: var(--vs-v); font-family: var(--vs-mono); font-weight: 600; }
.theme-vesa .prose > blockquote {
  margin: 1.9em 0; padding: 20px 24px 20px 26px; border-left: 0; border-radius: var(--vs-r);
  background: var(--vs-v-soft); box-shadow: inset 4px 0 0 var(--vs-v);
  font-family: var(--vs-display); font-weight: 700; font-size: 1.2em; line-height: 1.45; letter-spacing: -.012em; color: var(--vs-ink);
}
.theme-vesa .prose code {
  font-family: var(--vs-mono); font-size: .84em; padding: .14em .42em; border-radius: 6px;
  background: var(--vs-v-soft); color: var(--vs-v-deep); box-shadow: inset 0 0 0 1px var(--vs-v-soft2);
}
.theme-vesa .prose pre {
  position: relative; margin: 1.6em 0; padding: 46px 20px 18px; border-radius: var(--vs-r); overflow-x: auto;
  background: var(--vs-night); color: #ECEAF6; font-size: 14px; line-height: 1.65;
  background-image: linear-gradient(#211F2B, #211F2B); background-size: 100% 34px; background-repeat: no-repeat;
  box-shadow: 0 20px 40px -30px rgba(22, 21, 29, .7);
}
.theme-vesa .prose pre::before { content: "терминал"; position: absolute; top: 9px; left: 20px; font-family: var(--vs-mono); font-size: 11px; letter-spacing: .06em; color: #9C98B3; }
.theme-vesa .prose pre code { padding: 0; background: none; box-shadow: none; color: inherit; font-size: 1em; white-space: pre; }
.theme-vesa .prose table { display: table; width: 100%; border-collapse: separate; border-spacing: 0; background: var(--vs-card); border-radius: var(--vs-r); box-shadow: inset 0 0 0 1px var(--vs-line); font-size: .88em; }
.theme-vesa .prose th:first-child { border-top-left-radius: var(--vs-r); }
.theme-vesa .prose th:last-child { border-top-right-radius: var(--vs-r); }
.theme-vesa .prose th { font-family: var(--vs-mono); font-size: .82em; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--vs-muted); background: var(--vs-paper2); white-space: nowrap; }
.theme-vesa .prose th, .theme-vesa .prose td { padding: 10px 16px; border-bottom: 1px solid var(--vs-line2); }
.theme-vesa .prose tr:last-child td { border-bottom: 0; }
.theme-vesa .prose hr { height: 0; background: none; border-top: 1px dashed var(--vs-line); }
.theme-vesa .prose img { border-radius: var(--vs-r); }

.theme-vesa .inline-read {
  margin: 2em 0; padding: 18px 22px; border-left: 0; border-radius: var(--vs-r); background: var(--vs-paper2);
  box-shadow: inset 0 0 0 1px var(--vs-line); gap: 8px; position: relative;
}
.theme-vesa .inline-read-label { font-family: var(--vs-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--vs-v-ink); }
.theme-vesa .inline-read-label::before { content: "→ "; }
.theme-vesa .inline-read a { font-family: var(--vs-display); font-weight: 800; font-size: 1.08em; letter-spacing: -.015em; line-height: 1.3; }
.theme-vesa .inline-read a:hover { color: var(--vs-v-ink); }

.theme-vesa .source-note { font-family: var(--vs-mono); font-size: 12.5px; color: var(--vs-muted); }
.theme-vesa .source-note a { color: var(--vs-v-ink); text-underline-offset: 3px; }
.theme-vesa .tags { gap: 6px; }
.theme-vesa .tag {
  font-family: var(--vs-mono); font-size: 12px; padding: 6px 11px; border-radius: 999px;
  background: var(--vs-v-soft); color: var(--vs-v-deep); box-shadow: inset 0 0 0 1px var(--vs-v-soft2); transition: background .15s, color .15s;
}
.theme-vesa .tag:hover { background: var(--vs-v); color: #fff; }
.theme-vesa .share { font-family: var(--vs-mono); font-size: 12px; color: var(--vs-muted); }
.theme-vesa .share a, .theme-vesa .share button {
  width: 38px; height: 38px; border-radius: 10px; background: var(--vs-card); color: var(--vs-ink);
  box-shadow: inset 0 0 0 1px var(--vs-line); font-family: var(--vs-mono); font-size: 12px; font-weight: 600;
}
.theme-vesa .share a:hover, .theme-vesa .share button:hover { background: var(--vs-v); color: #fff; box-shadow: none; }

.theme-vesa .btn {
  font-family: var(--vs-body); font-weight: 600; font-size: 14.5px; border-radius: 10px; padding: 11px 18px;
  background: var(--vs-v); color: #fff;
}
.theme-vesa .btn:hover { background: var(--vs-v-ink); opacity: 1; }
.theme-vesa .btn.ghost { background: var(--vs-card); color: var(--vs-ink); box-shadow: inset 0 0 0 1px var(--vs-line); font-family: var(--vs-mono); font-size: 13px; }
.theme-vesa .btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--vs-v); color: var(--vs-v-ink); }

.theme-vesa .inline-cta {
  background: var(--vs-a-soft); border-radius: var(--vs-r); box-shadow: inset 0 0 0 1px rgba(245, 166, 35, .35), inset 4px 0 0 var(--vs-a);
  font-family: var(--vs-body); padding: 20px 22px 20px 26px;
}
.theme-vesa .inline-cta b { font-family: var(--vs-display); font-weight: 800; font-size: 17px; letter-spacing: -.015em; }
.theme-vesa .inline-cta .muted { color: #5A4A2E; font-size: 14.5px; }

/* комментарии */
.theme-vesa .comments { font-family: var(--vs-body); border-top: 1px dashed var(--vs-line); }
.theme-vesa .comments h2 { font-family: var(--vs-display); font-weight: 800; font-size: 27px; letter-spacing: -.025em; }
.theme-vesa .comments h2 small { font-family: var(--vs-mono); font-size: 13px; color: var(--vs-v-ink); background: var(--vs-v-soft); padding: 3px 9px; border-radius: 999px; }
.theme-vesa .c-form { background: var(--vs-paper2); border-radius: var(--vs-r); box-shadow: inset 0 0 0 1px var(--vs-line); }
.theme-vesa .c-form input, .theme-vesa .c-form textarea { background: var(--vs-card); border: 1px solid var(--vs-line); border-radius: 8px; font-family: var(--vs-body); }
.theme-vesa .c-form input:focus, .theme-vesa .c-form textarea:focus { outline: none; border-color: var(--vs-v); box-shadow: 0 0 0 3px var(--vs-v-soft); background: var(--vs-card); }
.theme-vesa .c-note { color: var(--vs-muted); font-size: 13px; }
.theme-vesa .c-item .avatar { border-radius: 10px; }
.theme-vesa .c-item .c-head b { font-weight: 600; }
.theme-vesa .c-item .c-head time { font-family: var(--vs-mono); font-size: 12px; color: var(--vs-muted); }
.theme-vesa .c-badge { font-family: var(--vs-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--vs-v-soft); color: var(--vs-v-deep); box-shadow: inset 0 0 0 1px var(--vs-v-soft2); }
.theme-vesa .c-actions { font-family: var(--vs-mono); font-size: 12px; color: var(--vs-muted); }
.theme-vesa .c-actions button:hover, .theme-vesa .c-actions button.liked { color: var(--vs-v-ink); }
.theme-vesa .c-replies { border-left: 2px dashed var(--vs-line); }

/* «читайте также» */
.theme-vesa .related { padding-top: clamp(28px, 4vw, 48px); }
.theme-vesa .related .section-head h2 { font-family: var(--vs-display); font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.03em; }
.theme-vesa .related .section-head a { font-family: var(--vs-mono); font-size: 12.5px; font-weight: 600; color: var(--vs-v-ink); }
.theme-vesa .related-grid { gap: 16px; }
.theme-vesa .related-card {
  background: var(--vs-card); border-radius: var(--vs-r); padding: 8px 8px 16px; gap: 10px;
  box-shadow: inset 0 0 0 1px var(--vs-line), var(--vs-shadow); transition: box-shadow .2s, transform .2s;
}
.theme-vesa .related-card:hover { box-shadow: inset 0 0 0 1px rgba(91, 61, 245, .45), var(--vs-shadow-hi); transform: translateY(-2px); }
.theme-vesa .related-card .cover { border-radius: var(--vs-r2); }
.theme-vesa .related-card .kicker { padding: 2px 8px 0; font-family: var(--vs-mono); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: none; color: var(--vs-v-ink); }
.theme-vesa .related-card h3 { padding: 0 8px; font-family: var(--vs-display); font-weight: 800; font-size: 17px; line-height: 1.26; letter-spacing: -.018em; }
.theme-vesa .related-card:hover h3 { color: var(--vs-v-ink); }

/* рецепт (на случай материалов с рецептом) */
.theme-vesa .recipe-card { background: var(--vs-card); border-radius: var(--vs-r); box-shadow: inset 0 0 0 1px var(--vs-line), var(--vs-shadow); }
.theme-vesa .recipe-cols h3 { font-family: var(--vs-mono); font-weight: 600; font-size: 11px; color: var(--vs-muted); }
.theme-vesa .steps li::before { background: var(--vs-v); border-radius: 9px; font-family: var(--vs-mono); }
.theme-vesa .ingredients { font-family: var(--vs-body); }

/* ========================= РУБРИКА, ПОИСК, О ПРОЕКТЕ ========================= */
.theme-vesa .page-head { border-bottom: 0; padding: clamp(22px, 3.4vw, 40px) 0 clamp(18px, 2.6vw, 30px); margin-bottom: 0; }
.theme-vesa .page-head .kicker {
  display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 999px; margin-bottom: 14px;
  font-family: var(--vs-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; color: var(--vs-v-deep); background: var(--vs-v-soft); box-shadow: inset 0 0 0 1px var(--vs-v-soft2);
}
.theme-vesa .page-head h1 { font-family: var(--vs-display); font-weight: 800; font-size: clamp(38px, 5.4vw, 68px); letter-spacing: -.04em; line-height: 1.02; }
.theme-vesa .page-head p { font-family: var(--vs-mono); font-size: 13px; color: var(--vs-muted); margin-top: 12px; }
.theme-vesa .listing .page-head h1::after { content: "_"; color: var(--vs-v); font-weight: 600; margin-left: .04em; animation: vs-caret 1.1s steps(1) 4; }
@keyframes vs-caret { 50% { opacity: 0; } }

.theme-vesa .listing .list { background: var(--vs-card); border-radius: var(--vs-r); box-shadow: inset 0 0 0 1px var(--vs-line), var(--vs-shadow); overflow: hidden; }
.theme-vesa .list-row { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding: 18px 20px; border-bottom: 1px solid var(--vs-line2); transition: background .15s; }
.theme-vesa .list .list-row:last-child { border-bottom: 0; }
.theme-vesa .list-row:hover { background: var(--vs-paper2); }
.theme-vesa .list-row .cover { border-radius: var(--vs-r2); box-shadow: inset 0 0 0 1px var(--vs-line); }
.theme-vesa .list-row .meta { font-family: var(--vs-mono); font-size: 12px; color: var(--vs-muted); }
.theme-vesa .list-row h2 { font-family: var(--vs-display); font-weight: 800; font-size: clamp(19px, 1.7vw, 23px); letter-spacing: -.022em; line-height: 1.2; margin: 8px 0 8px; }
.theme-vesa .list-row:hover h2 { color: var(--vs-v-ink); }
.theme-vesa .list-row p { font-size: 15px; line-height: 1.55; color: var(--vs-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.theme-vesa .listing > .list-row { background: var(--vs-card); border-radius: var(--vs-r); box-shadow: inset 0 0 0 1px var(--vs-line), var(--vs-shadow); border-bottom: 0; margin-bottom: 12px; }
.theme-vesa .pager { font-family: var(--vs-mono); font-size: 12.5px; align-items: center; }

.theme-vesa .search-form { gap: 10px; max-width: 680px; margin-top: 22px; }
.theme-vesa .search-form input {
  font-family: var(--vs-mono); font-size: 15px; height: 48px; padding: 0 16px; border-radius: 10px;
  border: 1px solid var(--vs-line); background: var(--vs-card); color: var(--vs-ink);
}
.theme-vesa .search-form input:focus { outline: none; border-color: var(--vs-v); box-shadow: 0 0 0 4px var(--vs-v-soft); }
.theme-vesa .search-form .btn { height: 48px; }
.theme-vesa .listing[data-page="search"] .page-head h1::after { content: none; }

.theme-vesa .about-authors .author { font-family: var(--vs-body); }
.theme-vesa .about-authors .avatar { border-radius: 10px; }
.theme-vesa .author span:not(.avatar) { color: var(--vs-muted); }

.theme-vesa .progress { background: linear-gradient(90deg, var(--vs-v), var(--vs-a)); height: 3px; }

/* ========================= АДАПТИВ ========================= */
@media (max-width: 1180px) {
  .theme-vesa .vs-fresh { grid-template-columns: minmax(0, 1fr) 300px; }
  .theme-vesa .vs-spec { column-gap: 18px; }
  .theme-vesa .vs-spec > div { flex-direction: column; align-items: flex-start; gap: 3px; padding: 9px 0; }
  .theme-vesa .vs-spec dt { font-size: 10px; }
  .theme-vesa .vs-spec dd { text-align: left; max-width: 100%; font-size: 12.5px; }
  .theme-vesa .vs-mc--wide { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .theme-vesa .vs-specrow > div + div { padding-left: 8px; }
  .theme-vesa .vs-ftr__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .theme-vesa .vs-lb__c { display: none; }
}
@media (max-width: 1020px) {
  .theme-vesa .vs-hdr__tag { display: none; }
  .theme-vesa .vs-tabs::after { content: ""; position: absolute; right: 0; top: 0; bottom: 1px; width: 40px; pointer-events: none; background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 80%); }
  .theme-vesa .vs-hero__body { grid-template-columns: minmax(0, 1fr); }
  .theme-vesa .vs-hero__fig { order: -1; margin: 10px 10px 0; min-height: 0; aspect-ratio: 16 / 9; }
  .theme-vesa .vs-fresh { grid-template-columns: minmax(0, 1fr); }
  .theme-vesa .vs-log { position: static; }
  .theme-vesa .vs-log__panel { columns: 2; column-gap: 0; }
  .theme-vesa .vs-log__day { break-inside: avoid; }
  .theme-vesa .vs-log__more { column-span: all; }
  .theme-vesa .vs-tail { grid-template-columns: minmax(0, 1fr); }
  .theme-vesa .vs-tail__side { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; }
  .theme-vesa .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .theme-vesa .vs-repos { grid-template-columns: minmax(0, 1fr); }
  .theme-vesa .vs-ah__spec, .theme-vesa .vs-ah__spec:has(> div:nth-child(3):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .theme-vesa .vs-ah__spec > div { padding: 11px 12px; }
  .theme-vesa .vs-ah__spec > .vs-ah__by { grid-column: 1 / -1; }
  .theme-vesa .vs-ah__spec > div:nth-child(2), .theme-vesa .vs-ah__spec > div:nth-child(3):last-child { grid-column: span 2; }
  .theme-vesa .vs-ah__spec dd { font-size: 12.5px; }
  .theme-vesa .prose > h2::before { margin-right: .25em; }
}
@media (max-width: 720px) {
  .site.theme-vesa { background-size: 96px 96px, 96px 96px, 16px 16px, 16px 16px; }
  .theme-vesa .vs-hdr__top { height: 60px; gap: 10px; }
  .theme-vesa .vs-logo__word { font-size: 23px; }
  .theme-vesa .vs-find { width: 40px; padding: 0; justify-content: center; background: var(--vs-card); }
  .theme-vesa .vs-find__ph { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .theme-vesa .vs-find kbd { display: none; }
  .theme-vesa .vs-tabs__list { margin: 0 calc(-1 * var(--vs-pad)); padding: 0 calc(var(--vs-pad) - 8px); scroll-padding-left: var(--vs-pad); }
  .theme-vesa .vs-tabs__list a { font-size: 14px; padding: 7px 9px; }

  .theme-vesa .vs-hero { border-radius: 14px; }
  .theme-vesa .vs-hero__bar { flex-wrap: wrap; gap: 8px 10px; padding: 10px 14px; }
  .theme-vesa .vs-hero__time { margin-left: 0; width: 100%; order: 3; }
  .theme-vesa .vs-hero__fig { margin: 8px 8px 0; aspect-ratio: 4 / 3; border-radius: 9px; }
  .theme-vesa .vs-hero__text { padding: 20px 16px 20px; gap: 16px; }
  .theme-vesa .vs-spec { column-gap: 16px; }
  .theme-vesa .vs-hero__go { align-self: stretch; }
  .theme-vesa .vs-hero__stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding: 10px 14px; font-size: 12px; }
  .theme-vesa .vs-hero__stats span { flex-direction: column; gap: 2px; padding: 0 10px; margin: 0; min-width: 0; }
  .theme-vesa .vs-hero__stats span:first-child { padding-left: 0; }

  .theme-vesa .vs-sh { flex-wrap: wrap; align-items: flex-start; }
  .theme-vesa .vs-cards { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .theme-vesa .vs-mc--wide { display: flex; }
  .theme-vesa .vs-mc--wide .vs-mc__pic .cover { min-height: 0; aspect-ratio: 16 / 9 !important; }
  .theme-vesa .vs-mc--wide .vs-mc__body { padding: 14px 10px 6px; }
  .theme-vesa .vs-mc--wide .vs-mc__t { font-size: 22px; }
  .theme-vesa .vs-log__panel { columns: 1; }
  .theme-vesa .vs-log .is-extra { display: none; }
  .theme-vesa .vs-mc:not(.vs-mc--wide) { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0 14px; padding: 8px; }
  .theme-vesa .vs-mc:not(.vs-mc--wide) .vs-mc__pic { grid-row: 1 / span 2; align-self: start; }
  .theme-vesa .vs-mc:not(.vs-mc--wide) .vs-mc__pic .cover { aspect-ratio: 1 / 1 !important; }
  .theme-vesa .vs-mc:not(.vs-mc--wide) .vs-mc__body { display: contents; }
  .theme-vesa .vs-mc:not(.vs-mc--wide) .vs-path { grid-column: 2; align-self: end; padding-top: 4px; }
  .theme-vesa .vs-mc:not(.vs-mc--wide) .vs-mc__t { grid-column: 2; align-self: start; font-size: 16.5px; line-height: 1.26; margin-top: 6px; }
  .theme-vesa .vs-mc:not(.vs-mc--wide) .vs-mc__lead { display: none; }
  .theme-vesa .vs-mc:not(.vs-mc--wide) .vs-specrow { grid-column: 1 / -1; margin: 10px 2px 0; }

  .theme-vesa .vs-repo__head { padding: 13px 14px; gap: 11px; }
  .theme-vesa .vs-repo__ico { width: 34px; height: 34px; }
  .theme-vesa .vs-repo__name { font-size: 19px; }
  .theme-vesa .vs-repo__lead { grid-template-columns: 112px minmax(0, 1fr); gap: 13px; padding: 14px; }
  .theme-vesa .vs-repo__t { font-size: 16px; }
  .theme-vesa .vs-file { padding: 11px 14px; gap: 10px; }
  .theme-vesa .vs-files li:nth-child(n+3) { display: none; }
  .theme-vesa .vs-repo__lt .vs-specrow > div:nth-child(3) { display: none; }

  .theme-vesa .vs-lb__table thead { display: none; }
  .theme-vesa .vs-lb__table, .theme-vesa .vs-lb__table tbody { display: block; }
  .theme-vesa .vs-lb__table tr { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; grid-template-areas: "n t t" "n c v"; gap: 8px 10px; padding: 14px 14px; border-bottom: 1px solid var(--vs-line2); align-items: center; }
  .theme-vesa .vs-lb__table tbody tr:last-child { border-bottom: 0; }
  .theme-vesa .vs-lb__table td { display: block; padding: 0; border: 0; width: auto !important; }
  .theme-vesa .vs-lb__n { grid-area: n; align-self: start; padding-top: 2px !important; }
  .theme-vesa .vs-lb__title { grid-area: t; }
  .theme-vesa .vs-lb__c { grid-area: c; display: block !important; min-width: 0; }
  .theme-vesa .vs-lb__min, .theme-vesa .vs-lb__com { display: none !important; }
  .theme-vesa .vs-lb__v { grid-area: v; box-shadow: none; border-radius: 6px; padding: 2px 8px !important; font-size: 12.5px; }
  .theme-vesa .vs-lb__title h3 { font-size: 15.5px; }

  .theme-vesa .vs-issue { grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; padding: 14px; }
  .theme-vesa .vs-issue__ico { width: 26px; height: 26px; }
  .theme-vesa .vs-issue__n { margin-top: 0; height: 24px; padding: 0 8px; }
  .theme-vesa .vs-cell { padding: 10px; }
  .theme-vesa .vs-cell__row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .theme-vesa .vs-cell__p { text-align: left; padding-top: 0; }
  .theme-vesa .vs-cell__code { font-size: 12.5px; }

  .theme-vesa .vs-ftr__in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .theme-vesa .vs-tail__side, .theme-vesa .vs-tail--solo .vs-tail__side { grid-template-columns: minmax(0, 1fr); }
  .theme-vesa .vs-ftr__bottom { flex-direction: column; gap: 8px; }

  .theme-vesa .vs-ah__fig { padding: 0 calc(var(--vs-pad) + 4px); }
  .theme-vesa .vs-ah__frame { box-shadow: 0 0 0 5px var(--vs-card), 0 0 0 6px var(--vs-line), 0 24px 40px -30px rgba(46, 26, 158, .5); border-radius: 10px; }
  .theme-vesa .vs-ah__fig figcaption { margin-top: 14px; }
  .theme-vesa .article > .breadcrumbs.narrow, .theme-vesa .article .vs-ah.narrow, .theme-vesa .article-body.narrow { width: 100%; padding-left: var(--vs-pad); padding-right: var(--vs-pad); }
  .theme-vesa .article-body.narrow { border-radius: 0; box-shadow: 0 -1px 0 var(--vs-line), 0 1px 0 var(--vs-line); }
  .theme-vesa .prose table { display: block; overflow-x: auto; width: max-content; max-width: 100%; }
  .theme-vesa .prose pre { margin-left: calc(-1 * var(--vs-pad) + 4px); margin-right: calc(-1 * var(--vs-pad) + 4px); border-radius: 10px; font-size: 13px; }

  .theme-vesa .list-row { grid-template-columns: 108px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .theme-vesa .list-row h2 { font-size: 17px; margin: 6px 0 0; }
  .theme-vesa .list-row p { display: none; }
  .theme-vesa .search-form .btn { padding: 0 14px; }
  .theme-vesa .related-grid { grid-template-columns: minmax(0, 1fr); }
  .theme-vesa .inline-cta { padding: 18px; }
}
@media (max-width: 420px) {
  .theme-vesa .vs-tabs__list a .vs-ico { display: none; }
  .theme-vesa .vs-ftr__tree li { white-space: normal; }
  .theme-vesa .vs-tree__slug { min-width: 0 !important; }
}

@media (prefers-reduced-motion: reduce) {
  .theme-vesa *, .theme-vesa *::before, .theme-vesa *::after { transition: none !important; animation: none !important; }
  .theme-vesa a:hover .cover img, .theme-vesa .vs-mc:hover, .theme-vesa .related-card:hover { transform: none; }
}
