/* =====================================================================
   Словарь музыкальных терминов — каталог /faq/ (vb-tc-*) и страница термина (vb-tm-*).
   handoff Claude Design «Словарь терминов». Брейкпоинты: <760 · 760–1099 · ≥1100.
   ===================================================================== */

.vb-tc-wrap { max-width: var(--page-max); margin: 0 auto; padding-left: clamp(16px, 5vw, 80px); padding-right: clamp(16px, 5vw, 80px); }
.vb-tc-kicker { font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--vb-gold-deep); }
.vb-tc-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 14px; color: var(--vb-ink-3); }
.vb-tc-crumbs a { color: var(--vb-ink-3); text-decoration: none; }
.vb-tc-crumbs a:hover { color: var(--vb-ink); }
.vb-tc-crumbs > span[aria-hidden] { color: var(--vb-gold); }
.vb-tc-crumbs > span[aria-current] { color: var(--vb-ink); }
.vb-tc-bar { display: block; height: 4px; border-radius: var(--r-pill); background: var(--vb-track); overflow: hidden; }
.vb-tc-bar > span { display: block; height: 100%; width: 0; background: var(--vb-gold); transition: width .6s ease; }
.vb-tc-bar--lg { height: 8px; }
.vb-tc-bar--lg > span { background: linear-gradient(90deg, var(--vb-gold), var(--vb-gold-soft)); }
.vb-tc-x { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--vb-line); background: #fff; font-size: 24px; line-height: 1; cursor: pointer; color: var(--vb-ink); }

/* Видимость по ширине */
@media (max-width: 759.98px) { .vb-tc-only-t { display: none !important; } }
@media (min-width: 760px) { .vb-tc-only-m { display: none !important; } }
@media (max-width: 1099.98px) { .vb-tc-only-d { display: none; } }

/* ---------- Карточка термина: картинка из медиатеки или сгенерированная ---------- */
.vb-tcard {
  position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 50%; background: var(--vb-term-red); border: 6px solid var(--vb-term-ring);
  container-type: inline-size; overflow: hidden; color: #fff; text-decoration: none; box-shadow: 0 4px 14px rgba(26,26,26,.08);
}
.vb-tcard > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.vb-tcard__name {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 9cqw;
  font-family: var(--font-brand); font-weight: 900; font-size: var(--fs); line-height: 1.04; text-wrap: balance; overflow-wrap: break-word;
}
.vb-tcard__cap { position: absolute; left: 0; right: 0; text-align: center; font-family: var(--font-brand); font-weight: 400; font-size: 4.6cqw; line-height: 1.15; padding: 0 16cqw; color: rgba(255,255,255,.92); }
.vb-tcard__cap--top { top: 17%; }
.vb-tcard__cap--bottom { bottom: 17%; }

/* =====================================================================
   КАТАЛОГ
   ===================================================================== */
.vb-tc-hero { position: relative; overflow: hidden; background: var(--vb-cream-paper); }
.vb-tc-hero__ring { position: absolute; border-radius: 50%; border: 1px solid var(--vb-gold-ring); pointer-events: none; }
.vb-tc-hero__ring--lg { right: -180px; top: -200px; width: 620px; height: 620px; }
.vb-tc-hero__ring--sm { right: -80px; top: -100px; width: 420px; height: 420px; }
.vb-tc-hero__inner { position: relative; padding-top: clamp(20px, 3vw, 40px); padding-bottom: clamp(28px, 5vw, 72px); display: flex; flex-direction: column; gap: clamp(18px, 2.4vw, 32px); }
.vb-tc-hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: clamp(24px, 4vw, 64px); align-items: center; }
.vb-tc-hero__text { display: flex; flex-direction: column; gap: clamp(14px, 1.6vw, 22px); min-width: 0; }
.vb-tc-h1 { font-family: var(--font-display); font-weight: 200; font-size: clamp(32px, 3.7vw, 74px); line-height: 1; letter-spacing: .01em; text-transform: uppercase; text-wrap: balance; color: var(--vb-ink); }
.vb-tc-h1 span { font-family: var(--font-brand); font-weight: 400; color: var(--vb-red); letter-spacing: 0; white-space: nowrap; }
.vb-tc-lead { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; color: var(--vb-ink-2); max-width: 560px; }
.vb-tc-stats { display: flex; flex-wrap: wrap; gap: 8px; }
.vb-tc-stats > span { min-height: 36px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: var(--r-pill); background: #fff; font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.vb-tc-stats b { font-family: var(--font-brand); font-weight: 700; font-size: 16px; letter-spacing: 0; color: var(--vb-red); }
.vb-tc-hero__side { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; min-width: 0; }

/* 3D-карусель с кубком (только ≥1100) */
.vb-cup { display: none; }
@media (min-width: 1100px) {
  .vb-tc-hero__side { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .vb-cup { display: block; position: relative; width: 100%; max-width: 680px; aspect-ratio: 1 / .8; justify-self: center; container-type: inline-size; perspective: 1300px; }
}
.vb-cup__shadow { position: absolute; border-radius: 50%; pointer-events: none; }
.vb-cup__shadow--a { left: 22%; right: 22%; bottom: 6%; height: 9%; background: radial-gradient(closest-side, rgba(26,26,26,.32), transparent); }
.vb-cup__shadow--b { left: 10%; right: 10%; bottom: 2%; height: 12%; background: radial-gradient(closest-side, rgba(110,10,10,.22), transparent); }
/* Общая 3D-сцена: логотип-хаб в центре, красные диски орбитируют вокруг */
.vb-cup__scene {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: translateY(4cqw) rotateX(-12deg);
}
.vb-cup__hub {
  position: absolute; left: 50%; top: 50%; width: 31cqw; height: 31cqw;
  margin: -15.5cqw 0 0 -15.5cqw; transform: translateZ(2cqw); transform-style: preserve-3d;
  pointer-events: none;
}
.vb-cup__badge {
  position: absolute; inset: 0; border-radius: 50%; background: #fff;
  border: .8cqw solid var(--vb-term-ring);
  box-shadow: 0 2cqw 6cqw -2cqw rgba(26,26,26,.4), inset 0 -1cqw 2cqw rgba(26,26,26,.06);
  display: flex; align-items: center; justify-content: center;
}
.vb-cup__badge img { width: 78%; height: auto; display: block; }
.vb-cup__stand {
  position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; margin-top: -.8cqw;
}
.vb-cup__bowl { width: 13.5cqw; height: 2.2cqw; border-radius: 0 0 5.5cqw 5.5cqw; background: linear-gradient(180deg, var(--vb-gold-deep), var(--vb-gold-soft) 45%, var(--vb-gold-deep)); box-shadow: 0 .5cqw .8cqw rgba(0,0,0,.2); }
.vb-cup__stem { width: 3.8cqw; height: 6cqw; background: linear-gradient(90deg, var(--vb-gold-dark), var(--vb-gold-soft) 45%, var(--vb-gold) 60%, var(--vb-gold-dark)); }
.vb-cup__step { width: 9cqw; height: 1.55cqw; border-radius: .8cqw .8cqw 0 0; background: linear-gradient(90deg, var(--vb-gold-dark), var(--vb-gold-soft) 45%, var(--vb-gold-deep)); }
.vb-cup__foot { width: 16.5cqw; height: 2.9cqw; border-radius: .7cqw; background: linear-gradient(90deg, var(--vb-gold-deep), var(--vb-gold-soft) 45%, var(--vb-gold-deep)); box-shadow: inset 0 -.4cqw 0 rgba(0,0,0,.12); }
.vb-cup__base {
  width: 22cqw; height: 4.1cqw; margin-top: .3cqw; border-radius: .9cqw; background: linear-gradient(180deg, var(--vb-graphite), var(--vb-ink)); border-top: .45cqw solid var(--vb-gold);
  box-shadow: 0 1.6cqw 2.6cqw -1.2cqw rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.4cqw; letter-spacing: .22em; text-transform: uppercase; color: var(--vb-gold); white-space: nowrap;
}
.vb-cup__ring { position: absolute; inset: 0; transform-style: preserve-3d; animation: vbSpin 34s linear infinite; }
@keyframes vbSpin { from { transform: rotateY(0deg); } to { transform: rotateY(-360deg); } }
.vb-cup__card { position: absolute; left: 50%; top: 50%; width: 25cqw; height: 25cqw; margin: -12.5cqw 0 0 -12.5cqw; transform-style: preserve-3d; transform: rotateY(calc(var(--i) * 45deg)) translateZ(36cqw); }
.vb-cup__face, .vb-cup__back {
  position: absolute; inset: 0; border-radius: 50%; border: .7cqw solid var(--vb-term-ring); -webkit-backface-visibility: hidden; backface-visibility: hidden;
  display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 3cqw 6cqw -3cqw rgba(110,10,10,.55);
}
.vb-cup__face { background: var(--vb-term-red); font-family: var(--font-brand); font-weight: 900; font-size: var(--fs); line-height: 1; }
.vb-cup__back { background: var(--vb-term-red-dark); transform: rotateY(180deg); }
.vb-cup__back img { width: 62%; height: auto; opacity: .9; }

/* Прогресс */
.vb-tc-progress { position: relative; overflow: hidden; background: #fff; border-radius: 26px; padding: clamp(20px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 14px; box-shadow: var(--sh-flat); }
.vb-tc-progress__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.vb-tc-progress__reset { min-height: 32px; padding: 0 4px; border: 0; background: none; font-size: 13px; color: var(--vb-ink-3); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.vb-tc-progress__reset[hidden] { display: none; }
.vb-tc-progress__n { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.vb-tc-progress__n b { font-family: var(--font-brand); font-weight: 900; font-size: clamp(36px, 3.6vw, 52px); line-height: 1; }
.vb-tc-progress__n span { font-family: var(--font-brand); font-weight: 700; font-size: 18px; color: var(--vb-ink-3); }
.vb-tc-progress__hint { font-size: 14px; line-height: 1.45; color: var(--vb-ink-3); }
.vb-tc-progress__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.vb-btn.vb-tc-progress__rand { flex: 1 1 160px; min-height: 48px; }
.vb-tc-favbtn, .vb-tc-favtb {
  min-height: 48px; padding: 0 18px; border-radius: var(--r-pill); border: 1.5px solid var(--vb-ink); background: #fff; color: var(--vb-ink);
  font-weight: 700; font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; transition: background .2s, color .2s;
}
.vb-tc-favbtn { flex: 1 1 160px; }
.vb-tc-favbtn > span:first-child, .vb-tc-favtb > span:first-child { color: var(--vb-gold); font-size: 18px; }
.vb-tc-favbtn[aria-pressed="true"], .vb-tc-favtb[aria-pressed="true"] { background: var(--vb-ink); color: #fff; }

/* ---------- 1.3 Липкая панель ---------- */
.vb-tc-toolbar {
  position: sticky; top: var(--vb-sticky-under-hdr, 72px); z-index: 40; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--vb-line); transition: top .35s ease, box-shadow .3s;
}
@media (min-width: 1100px) {
  .vb-tc-toolbar { top: 128px; }
  html.vb-hdr-compact:not(.vb-hdr-hover) .vb-tc-toolbar { top: 60px; }
}
html.vb-hdr-compact .vb-tc-toolbar { box-shadow: 0 1px 0 var(--vb-line), 0 10px 24px -18px rgba(26,26,26,.25); }
.vb-tc-toolbar__inner { padding-top: 12px; padding-bottom: 10px; display: flex; flex-direction: column; gap: 10px; }
.vb-tc-toolbar__row { display: flex; align-items: center; gap: 10px; }
.vb-tc-search { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 6px 0 18px; border-radius: var(--r-pill); background: var(--vb-paper); border: 1.5px solid transparent; transition: border-color .2s; }
.vb-tc-search:focus-within { border-color: var(--vb-ink); }
.vb-tc-search svg { flex: none; color: var(--vb-ink); }
.vb-tc-search input { flex: 1; min-width: 0; height: 48px; border: 0; outline: none; background: transparent; font-family: var(--font-body); font-size: 17px; color: var(--vb-ink); -webkit-appearance: none; appearance: none; }
.vb-tc-search input::-webkit-search-cancel-button { display: none; }
.vb-tc-search__clear { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 0; background: var(--vb-ink); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.vb-tc-search__clear[hidden] { display: none; }
.vb-tc-views { flex: none; display: flex; padding: 4px; border-radius: var(--r-pill); background: var(--vb-track); }
.vb-tc-views button { min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 0; background: transparent; color: var(--vb-ink-3); font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: background .25s, color .25s; }
.vb-tc-views button[aria-selected="true"] { background: #fff; color: var(--vb-ink); box-shadow: 0 1px 4px rgba(26,26,26,.1); }
.vb-tc-views--sm { padding: 3px; }
.vb-tc-views--sm button { min-height: 42px; padding: 0 13px; font-size: 11.5px; letter-spacing: .1em; }
.vb-tc-rand { flex: none; min-height: 52px; padding: 0 20px; border-radius: var(--r-pill); border: 1.5px solid var(--vb-line); background: #fff; color: var(--vb-ink); font-weight: 700; font-size: 15px; cursor: pointer; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.vb-tc-rand svg { color: var(--vb-gold-deep); }
.vb-tc-rand:hover { border-color: var(--vb-ink); }
.vb-tc-favtb { flex: none; min-height: 52px; min-width: 52px; padding: 0 14px; border-color: var(--vb-line); gap: 6px; }
.vb-tc-favtb[aria-pressed="true"] { border-color: var(--vb-ink); }
@media (min-width: 760px) { .vb-tc-favtb { padding: 0 20px; } }

.vb-tc-toolbar__m { display: flex; gap: 8px; align-items: stretch; }
.vb-tc-picker { flex: 1; min-width: 0; min-height: 48px; padding: 0 6px 0 16px; border-radius: var(--r-pill); border: 1.5px solid var(--vb-ink); background: #fff; color: var(--vb-ink); display: flex; align-items: center; gap: 8px; cursor: pointer; text-align: left; }
.vb-tc-picker__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.1; }
.vb-tc-picker__txt small { font-family: var(--font-display); font-weight: 600; font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--vb-gold-deep); }
.vb-tc-picker__txt b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vb-tc-picker__ic { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--vb-ink); color: var(--vb-gold); display: flex; align-items: center; justify-content: center; }

.vb-tc-chips {
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * clamp(16px, 5vw, 80px));
  padding: 0 clamp(16px, 5vw, 80px) 2px; scroll-padding: 0 clamp(16px, 5vw, 80px);
}
.vb-tc-chips::-webkit-scrollbar { display: none; }
.vb-tc-chip {
  flex: none; min-height: 44px; min-width: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--vb-line); background: #fff; color: var(--vb-ink);
  font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; cursor: pointer; text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: 8px; transition: background .25s, color .25s, border-color .25s;
}
.vb-tc-chip b { font-family: var(--font-brand); font-weight: 700; font-size: 13px; letter-spacing: 0; color: var(--vb-gold-deep); }
.vb-tc-chip:hover { color: var(--vb-ink); border-color: var(--vb-ink); }
.vb-tc-chip.is-on { background: var(--vb-ink); border-color: var(--vb-ink); color: #fff; }
.vb-tc-chip.is-on b { color: var(--vb-gold); }
.vb-tc-chip--letter { padding: 0; font-family: var(--font-brand); font-weight: 700; font-size: 16px; letter-spacing: 0; }

/* ---------- 1.4 Список ---------- */
.vb-tc-list { padding-bottom: clamp(56px, 8vw, 120px); }
.vb-tc-status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 20px; font-size: 15px; color: var(--vb-ink-2); }
.vb-tc-status[hidden], .vb-tc-status button[hidden] { display: none; }
.vb-tc-status button { min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--vb-line); background: #fff; font-size: 14px; cursor: pointer; }
.vb-tc-empty { margin-top: clamp(24px, 4vw, 48px); padding: clamp(28px, 5vw, 64px); border-radius: 30px; background: var(--vb-cream-paper); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.vb-tc-empty[hidden] { display: none; }
.vb-tc-empty__t { font-family: var(--font-display); font-weight: 200; font-size: clamp(26px, 3.4vw, 46px); line-height: 1.1; text-transform: uppercase; text-wrap: balance; }
.vb-tc-empty__p { font-size: 17px; line-height: 1.55; color: var(--vb-ink-2); max-width: 560px; }
.vb-tc-empty__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.vb-tc-empty__btns button { min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 1.5px solid var(--vb-ink); background: #fff; font-weight: 700; font-size: 15px; cursor: pointer; }
.vb-tc-empty__btns button:hover { background: var(--vb-ink); color: #fff; }
.vb-tc-view[hidden] { display: none; }

.vb-tsec { padding-top: clamp(32px, 4.4vw, 64px); }
.vb-tsec[hidden] { display: none; }
.vb-tsec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 32px; margin-bottom: clamp(16px, 2vw, 28px); padding-bottom: clamp(14px, 1.6vw, 20px); border-bottom: 1px solid var(--vb-line); }
.vb-tsec__title { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.vb-tsec__h2 { font-family: var(--font-display); font-weight: 200; font-size: clamp(28px, 3.6vw, 54px); line-height: 1.04; text-transform: uppercase; letter-spacing: normal; text-wrap: balance; color: var(--vb-ink); }
.vb-tsec__h2--letter { font-family: var(--font-brand); font-weight: 900; font-size: clamp(56px, 6vw, 96px); line-height: .85; color: var(--vb-red); text-transform: none; }
.vb-tsec__meta { display: flex; flex-direction: column; gap: 8px; min-width: min(100%, 280px); }
.vb-tsec__meta > span:first-child { display: flex; justify-content: space-between; gap: 16px; font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--vb-ink-3); white-space: nowrap; }
.vb-tsec__meta b { font-weight: 600; color: var(--vb-ink); }

.vb-tgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 760px) { .vb-tgrid { grid-template-columns: repeat(auto-fill, minmax(clamp(180px, 12.5vw, 232px), 1fr)); gap: clamp(14px, 1.4vw, 24px); } }
.vb-tl { position: relative; min-width: 0; }
.vb-tl[hidden] { display: none; }
.vb-tl__a { transition: transform .25s ease, box-shadow .25s ease; }
.vb-tl__a:hover { color: #fff; }
@media (hover: hover) and (pointer: fine) { .vb-tl__a:hover { transform: translateY(-4px); box-shadow: 0 20px 36px -16px rgba(164,15,15,.6); } }
.vb-tl__seen {
  position: absolute; top: 14%; left: 14%; z-index: 1; height: 26px; padding: 0 9px 0 6px; border-radius: var(--r-pill); background: var(--vb-gold); color: var(--vb-ink);
  display: flex; align-items: center; gap: 4px; font-family: var(--font-display); font-weight: 700; font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
}
.vb-tl__seen[hidden] { display: none; }
.vb-tl__fav { position: absolute; top: 4%; right: 4%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; padding: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .15s; }
.vb-tl__fav:active { transform: scale(.92); }
.vb-tl__fav > span { width: 30px; height: 30px; border-radius: 50%; background: rgba(0,0,0,.16); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.vb-tl__fav svg { fill: none; stroke: #fff; }
.vb-tl__fav[aria-pressed="true"] > span { background: rgba(255,255,255,.96); }
.vb-tl__fav[aria-pressed="true"] svg { fill: var(--vb-gold); stroke: var(--vb-gold-deep); }

/* Сворачивание длинных разделов — ссылки остаются в HTML */
.vb-tsec__more { display: none; justify-content: center; margin-top: clamp(18px, 2vw, 28px); }
.vb-tsec__more button { min-height: 52px; padding: 0 26px; border-radius: var(--r-pill); border: 1.5px solid var(--vb-ink); background: #fff; color: var(--vb-ink); font-family: var(--font-display); font-weight: 600; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; display: flex; align-items: center; gap: 10px; transition: background .2s, color .2s; }
.vb-tsec__more button span { color: var(--vb-gold-deep); }
.vb-tsec__more button:hover { background: var(--vb-ink); color: var(--vb-gold); }
@media (max-width: 759.98px) {
  .vb-tsec.is-long-m.is-collapsible .vb-tsec__more { display: flex; }
  .vb-tsec.is-long-m.is-collapsed .vb-tl:nth-child(n+13) { display: none; }
}
@media (min-width: 760px) {
  .vb-tsec.is-long-d.is-collapsible .vb-tsec__more { display: flex; }
  .vb-tsec.is-long-d.is-collapsed .vb-tl:nth-child(n+22) { display: none; }
}

/* ---------- Шторки ---------- */
.vb-tc-sheet { position: fixed; inset: 0; z-index: 100; background: rgba(15,12,8,.5); display: flex; align-items: flex-end; }
.vb-tc-sheet[hidden] { display: none; }
.vb-tc-sheet__panel { width: 100%; max-height: 86vh; display: flex; flex-direction: column; background: #fff; border-radius: 28px 28px 0 0; box-shadow: 0 -20px 50px rgba(0,0,0,.25); animation: vbTcSheet .22s ease-out; }
@keyframes vbTcSheet { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.vb-tc-sheet__head { flex: none; padding: 10px 16px 12px; border-bottom: 1px solid var(--vb-line); }
.vb-tc-sheet__grab { display: block; width: 40px; height: 4px; border-radius: var(--r-pill); background: var(--vb-line); margin: 0 auto 12px; }
.vb-tc-sheet__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-left: 4px; }
.vb-tc-sheet__bar > span { display: flex; flex-direction: column; gap: 4px; }
.vb-tc-sheet__bar small { font-size: 14px; color: var(--vb-ink-3); }
.vb-tc-sheet__body { overflow-y: auto; overscroll-behavior: contain; padding: 12px 16px calc(18px + env(safe-area-inset-bottom)); }
.vb-tc-prow { width: 100%; min-height: 60px; padding: 8px 14px 8px 16px; border-radius: 18px; border: 0; background: var(--vb-paper); color: var(--vb-ink); display: flex; align-items: center; gap: 14px; cursor: pointer; text-align: left; margin-bottom: 6px; }
.vb-tc-prow.is-on { background: var(--vb-gold-tint); }
.vb-tc-prow__n { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .1em; color: var(--vb-gold-deep); flex: none; }
.vb-tc-prow__t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 17px; line-height: 1.2; }
.vb-tc-prow__t i { display: block; height: 3px; border-radius: var(--r-pill); background: rgba(26,26,26,.08); overflow: hidden; }
.vb-tc-prow__t i span { display: block; height: 100%; background: var(--vb-gold); }
.vb-tc-prow__c { flex: none; min-width: 40px; height: 32px; padding: 0 10px; border-radius: var(--r-pill); background: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-brand); font-weight: 700; font-size: 15px; }
.vb-tc-letters { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 8px; }
.vb-tc-letter { aspect-ratio: 1 / 1; min-height: 58px; border-radius: 16px; border: 1px solid var(--vb-line); background: #fff; color: var(--vb-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; }
.vb-tc-letter b { font-family: var(--font-brand); font-weight: 900; font-size: 24px; line-height: 1; }
.vb-tc-letter small { font-size: 11px; opacity: .6; }
.vb-tc-letter.is-on { background: var(--vb-ink); border-color: var(--vb-ink); color: #fff; }

/* Случайный термин */
.vb-tc-sheet--spot { background: rgba(15,12,8,.55); }
.vb-tc-spot {
  width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto; background: #fff; border-radius: 28px 28px 0 0; box-shadow: 0 16px 40px rgba(26,26,26,.25);
  animation: vbTcSheet .22s ease-out; padding: clamp(18px, 3vw, 28px) clamp(18px, 3vw, 28px) calc(clamp(18px, 3vw, 28px) + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 16px;
}
@media (min-width: 760px) {
  .vb-tc-sheet--spot { align-items: center; justify-content: center; padding: 24px; }
  .vb-tc-spot { border-radius: 28px; max-height: calc(100vh - 48px); }
}
.vb-tc-spot .vb-tc-sheet__bar { padding-left: 0; }
.vb-tc-coin { position: relative; width: min(100%, 340px); align-self: center; perspective: 1200px; }
.vb-tc-coin__inner { position: relative; aspect-ratio: 1 / 1; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.2,.75,.2,1); }
.vb-tc-coin__face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; display: flex; align-items: center; justify-content: center; box-shadow: 0 24px 50px -20px rgba(110,10,10,.55); }
.vb-tc-coin__face[data-face="1"] { transform: rotateY(180deg); }
.vb-tc-coin__face.is-brand { background: var(--vb-term-red-dark); }
.vb-tc-coin__logo { position: static !important; width: 58% !important; height: auto !important; opacity: .92; object-fit: contain !important; }
.vb-tc-spot__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.vb-tc-spot__open { flex: 1 1 200px; min-height: 52px; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--vb-cta-blue), var(--vb-cta-purple)); color: #fff; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 16px; }
.vb-tc-spot__open:hover { color: #fff; filter: brightness(1.06); }
.vb-tc-spot__next { flex: 1 1 160px; min-height: 52px; border-radius: var(--r-pill); border: 1.5px solid var(--vb-ink); background: #fff; font-weight: 700; font-size: 16px; cursor: pointer; color: var(--vb-ink); }
.vb-tc-spot__next:hover { background: var(--vb-ink); color: #fff; }

/* =====================================================================
   СТРАНИЦА ТЕРМИНА
   ===================================================================== */
.vb-tm-hero { position: relative; overflow: hidden; background: var(--vb-cream-paper); }
.vb-tm-hero__ring { position: absolute; left: -220px; bottom: -260px; width: 620px; height: 620px; border-radius: 50%; border: 1px solid var(--vb-gold-ring); pointer-events: none; }
.vb-tm-hero__inner { position: relative; padding-top: clamp(18px, 3vw, 40px); padding-bottom: clamp(32px, 5vw, 80px); display: flex; flex-direction: column; gap: clamp(18px, 2.6vw, 36px); }
.vb-tm-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.vb-tm-hero__text { display: flex; flex-direction: column; gap: clamp(14px, 1.6vw, 22px); min-width: 0; order: 2; }
.vb-tm-hero__img { margin: 0; display: flex; justify-content: center; order: 1; }
@media (min-width: 760px) {
  .vb-tm-hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .vb-tm-hero__text { order: 1; }
  .vb-tm-hero__img { order: 2; }
}
.vb-tm-hero__labels { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.vb-tm-catchip { min-height: 32px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: var(--r-pill); background: #fff; color: var(--vb-ink); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; transition: background .2s, color .2s; }
.vb-tm-catchip:hover { background: var(--vb-ink); color: #fff; }
.vb-tm-h1 { font-family: var(--font-display); font-weight: 200; font-size: clamp(48px, 8vw, 132px); line-height: .95; letter-spacing: .01em; text-transform: uppercase; text-wrap: balance; overflow-wrap: anywhere; color: var(--vb-ink); }
.vb-tm-hero__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.vb-tm-fav, .vb-tm-copy { min-height: 48px; padding: 0 20px 0 16px; border-radius: var(--r-pill); border: 1.5px solid var(--vb-ink); background: #fff; color: var(--vb-ink); font-weight: 700; font-size: 15px; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: background .2s, color .2s, border-color .2s; }
.vb-tm-fav svg { fill: none; stroke: currentColor; }
.vb-tm-fav[aria-pressed="true"] { background: var(--vb-ink); color: #fff; }
.vb-tm-fav[aria-pressed="true"] svg { fill: var(--vb-gold); stroke: var(--vb-gold); }
.vb-tm-copy { border-color: var(--vb-line); }
.vb-tm-copy:hover { border-color: var(--vb-ink); }
.vb-tcard--hero { width: min(100%, 280px); border-width: clamp(6px, .7vw, 10px); box-shadow: 0 30px 60px -30px rgba(110,10,10,.55); }
@media (min-width: 760px) { .vb-tcard--hero { width: min(100%, 460px); } }

/* Тело */
.vb-tm-body { padding-top: clamp(32px, 5vw, 80px); padding-bottom: clamp(48px, 7vw, 112px); display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (min-width: 1100px) {
  .vb-tm-body { grid-template-columns: minmax(0, 1fr) 380px; }
  .vb-tm-aside { position: sticky; top: 84px; }
}
.vb-tm-article { min-width: 0; display: flex; flex-direction: column; gap: clamp(18px, 2vw, 26px); }

/* Текст термина из редактора: def → p → list → figure → видео */
.vb-tm-content { display: flex; flex-direction: column; gap: clamp(18px, 2vw, 26px); }
.vb-tm-content > * { margin: 0; }
.vb-tm-content p { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.65; color: var(--vb-ink-2); max-width: 760px; text-wrap: pretty; }
.vb-tm-content > p:first-child { font-family: var(--font-display); font-weight: 300; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.35; color: var(--vb-ink); max-width: 900px; }
.vb-tm-content > p:first-child strong { font-family: var(--font-brand); font-weight: 700; color: var(--vb-red); }
.vb-tm-content a { color: var(--vb-purple); text-decoration: underline; text-decoration-color: rgba(93,53,128,.35); text-underline-offset: 3px; }
.vb-tm-content a:hover { color: var(--vb-red); text-decoration-color: currentColor; }
.vb-tm-content ul, .vb-tm-content ol { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.vb-tm-content li { position: relative; padding-left: 20px; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; color: var(--vb-ink-2); }
.vb-tm-content ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--vb-gold); }
.vb-tm-content ol { counter-reset: li; }
.vb-tm-content ol li { counter-increment: li; padding-left: 28px; }
.vb-tm-content ol li::before { content: counter(li) "."; position: absolute; left: 0; font-family: var(--font-brand); font-weight: 700; color: var(--vb-gold-deep); }
.vb-tm-content h2, .vb-tm-content h3 { font-family: var(--font-brand); font-weight: 700; font-size: clamp(20px, 2vw, 26px); line-height: 1.2; text-transform: none; letter-spacing: normal; color: var(--vb-ink); }
/* Иллюстрация (схема, нотный пример) */
.vb-tm-content figure, .vb-tm-content .wp-block-image { display: flex; flex-direction: column; gap: 10px; max-width: 100%; }
.vb-tm-content figure img, .vb-tm-content > p > img { display: block; width: 100%; height: auto; border-radius: 22px; background: #fff; border: 1px solid var(--vb-line); padding: clamp(12px, 2vw, 24px); object-fit: contain; }
.vb-tm-content figcaption { font-size: 14px; color: var(--vb-ink-3); text-align: left; margin: 0; }
/* Видео, вставленное прямо в текст (iframe / блок «Встраивание») — 16:9 */
.vb-tm-content iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: clamp(18px, 2vw, 28px); background: var(--vb-panel-ink); }
.vb-tm-content .wp-block-embed__wrapper::before { display: none; }

/* Видео-фасад */
.vb-tm-video { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.vb-tm-video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: clamp(18px, 2vw, 28px); overflow: hidden; background: var(--vb-panel-ink); box-shadow: 0 24px 50px -28px rgba(26,26,26,.5); }
.vb-tm-video__frame img, .vb-tm-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; border: 0; }
.vb-tm-video__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: clamp(64px, 7vw, 96px); height: clamp(64px, 7vw, 96px); border-radius: 50%; border: 0;
  background: var(--vb-gold); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 12px 30px rgba(0,0,0,.35); transition: transform .2s ease;
}
.vb-tm-video__play svg { width: 34%; height: 34%; fill: var(--vb-ink); margin-left: 6%; }
.vb-tm-video__play:hover { transform: translate(-50%, -50%) scale(1.06); }
.vb-tm-video figcaption { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--vb-ink-3); }
.vb-tm-video figcaption .vb-tc-kicker { letter-spacing: .2em; }

/* Соседние термины */
.vb-tm-pager { margin-top: clamp(16px, 3vw, 40px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.vb-tm-pager a { min-height: 96px; padding: 18px 22px; border-radius: 22px; background: var(--vb-cream-paper); color: var(--vb-ink); text-decoration: none; display: flex; flex-direction: column; justify-content: center; gap: 6px; transition: background .25s ease, color .25s; }
.vb-tm-pager a.is-next { align-items: flex-end; text-align: right; }
.vb-tm-pager a:hover { background: var(--vb-ink); color: #fff; }
.vb-tm-pager small { font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--vb-gold-deep); }
.vb-tm-pager b { font-family: var(--font-brand); font-weight: 700; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.15; }

/* Боковая панель «Раздел» */
.vb-tm-aside { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.vb-tm-sec { border-radius: 26px; background: #fff; border: 1px solid var(--vb-line); padding: clamp(18px, 2vw, 26px); display: flex; flex-direction: column; gap: 14px; }
.vb-tm-sec__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.vb-tm-sec__top b { font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--vb-ink); }
.vb-tm-sec__title { font-family: var(--font-display); font-weight: 200; font-size: clamp(24px, 2vw, 30px); line-height: 1.1; text-transform: uppercase; color: var(--vb-ink); text-decoration: none; }
.vb-tm-sec__title:hover { color: var(--vb-red); }
.vb-tm-sec__cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.vb-tm-sec__cloud a { min-height: 40px; display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--vb-line); background: #fff; color: var(--vb-ink); text-decoration: none; font-size: 15px; }
.vb-tm-sec__cloud a:hover { border-color: var(--vb-ink); color: var(--vb-ink); }
.vb-tm-sec__cloud a.is-seen::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--vb-gold); }
.vb-tm-sec__cloud a.is-cur { background: var(--vb-red); border-color: var(--vb-red); color: #fff; font-weight: 700; }
.vb-tm-sec__cloud a.is-cur::before { background: var(--vb-gold-soft); }
.vb-tm-sec__all { min-height: 48px; margin-top: 4px; border-radius: var(--r-pill); border: 1.5px solid var(--vb-ink); color: var(--vb-ink); text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; transition: background .2s, color .2s; }
.vb-tm-sec__all span { color: var(--vb-gold-deep); }
.vb-tm-sec__all:hover { background: var(--vb-ink); color: var(--vb-gold); }
.vb-tm-share { min-height: 48px; border-radius: var(--r-pill); border: 1.5px solid var(--vb-line); background: #fff; color: var(--vb-ink); font-weight: 700; font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
.vb-tm-share[hidden] { display: none; }

/* Мобильная панель действий */
.vb-tm-bar { display: none; }
@media (max-width: 759.98px) {
  .vb-tm { padding-bottom: 84px; }
  .vb-tm-bar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 55; display: flex; align-items: center; gap: 6px; padding: 6px;
    border-radius: var(--r-pill); background: rgba(38,36,33,.9); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: 0 16px 36px rgba(20,16,10,.35); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  }
  .vb-tm-bar.is-hidden, .vb-menu-open .vb-tm-bar { transform: translateY(140%); }
}
.vb-tm-bar__nav { width: 48px; height: 48px; flex: none; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--vb-cream-paper); display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 20px; }
.vb-tm-bar__nav:hover { color: #fff; }
.vb-tm-bar__fav { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.vb-tm-bar__fav svg { width: 20px; height: 20px; fill: none; stroke: var(--vb-cream-paper); }
.vb-tm-bar__fav[aria-pressed="true"] { background: var(--vb-cream-paper); }
.vb-tm-bar__fav[aria-pressed="true"] svg { fill: var(--vb-gold); stroke: var(--vb-gold-deep); }
.vb-tm-bar__copy { flex: 1; min-width: 0; height: 48px; border-radius: var(--r-pill); border: 0; background: var(--vb-gold); color: var(--vb-ink); font-weight: 700; font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .vb-cup__ring { animation: none; }
  .vb-tc-coin__inner { transition: none; }
  .vb-tc-sheet__panel, .vb-tc-spot { animation: none; }
}

/* English name — низ тела термина (скрыт, если мета пуста) */
.vb-tm-en {
  margin: 0;
  max-width: 760px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  padding-top: 4px;
  border-top: 1px solid var(--vb-line);
}
.vb-tm-en .vb-tc-kicker { flex: none; }
.vb-tm-en__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.4;
  color: var(--vb-ink-2);
  letter-spacing: 0.01em;
}
