/* Хинди (деванагари, Noto Sans Devanagari — OFL): грузится только если на странице есть такие символы */
@font-face{font-family:"Nunito Sans";font-style:normal;font-weight:400;font-display:swap;src:url(../tb/fonts/nunito-sans-devanagari-400-normal.woff2) format("woff2");unicode-range:U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF}
@font-face{font-family:"Nunito Sans";font-style:normal;font-weight:600;font-display:swap;src:url(../tb/fonts/nunito-sans-devanagari-600-normal.woff2) format("woff2");unicode-range:U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF}
@font-face{font-family:"Nunito Sans";font-style:normal;font-weight:700;font-display:swap;src:url(../tb/fonts/nunito-sans-devanagari-700-normal.woff2) format("woff2");unicode-range:U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF}
@font-face{font-family:"Nunito Sans";font-style:normal;font-weight:800;font-display:swap;src:url(../tb/fonts/nunito-sans-devanagari-800-normal.woff2) format("woff2");unicode-range:U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF}
@font-face{font-family:"Russo One";font-style:normal;font-weight:400;font-display:swap;src:url(../tb/fonts/russo-one-devanagari-400-normal.woff2) format("woff2");unicode-range:U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF}
.tb-lang-hi{line-height:1.65}

/*!
 * Twitch Bots — стили сайта (тема chumak_pro) поверх общей дизайн-системы tb/tb.css.
 * Только токены --tb-*; цвета руками не пишем. Обе темы: тёмная (по умолчанию) и светлая.
 *
 * Содержание:
 *  1. База и утилиты        7. Платформы, услуги, почему мы, отзывы
 *  2. Шапка и меню          8. Блог: карточки, список, пагинация
 *  3. Мобильное меню        9. Статья и страницы (prose, сайдбар, оглавление)
 *  4. Hero                 10. CTA, 404, подвал, cookie
 *  5. Заголовки секций     11. wpDiscuz и комментарии
 *  6. Калькулятор, тарифы  12. Адаптив
 */

/* ============================================================ 1. База */
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--tb-header-h) + 16px)}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body.tb{min-height:100vh;display:flex;flex-direction:column}
.tb-main{flex:1 0 auto;outline:none}
/* Сброс с нулевой специфичностью — не перебивает .tb-prose из tb.css */
:where(.tb) :where(ul,ol){margin:0;padding:0}
:where(.tb) :where(p,h1,h2,h3,h4,h5,h6,figure,blockquote){margin:0}
.tb-chips{list-style:none}
.tb-chips>li{display:flex}
.tb button{font-family:inherit}
.tb-i{width:20px;height:20px;flex-shrink:0}
.tb-i--flip{transform:scaleX(-1)}
.tb-section{position:relative}
.tb-section+.tb-section{padding-top:24px}
@media (max-width:768px){.tb-section+.tb-section{padding-top:8px}}

/* Kicker-пилюля */
.tb-pill-kicker{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:var(--tb-r-pill);
  background:var(--tb-surface-2);color:var(--tb-highlight);font:800 13px/1.2 var(--tb-font);letter-spacing:.06em;text-transform:uppercase}
.tb-pill-kicker .tb-i{width:16px;height:16px}
.tb-pill-kicker .tb-dot{width:9px;height:9px}

/* Ссылка со стрелкой */
.tb-link-arrow{display:inline-flex;align-items:center;gap:8px;font-weight:800;color:var(--tb-text)!important;white-space:nowrap}
.tb-link-arrow .tb-i{width:18px;height:18px;transition:transform var(--tb-dur) var(--tb-ease)}
.tb-link-arrow:hover{color:var(--tb-link-hover)!important}
.tb-link-arrow:hover .tb-i{transform:translateX(3px)}

/* Мета-строка (дата · время · просмотры) */
.tb-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;font-size:14px;color:var(--tb-subtle)}
.tb-meta>span{display:inline-flex;align-items:center;gap:6px}
.tb-meta .tb-i{width:16px;height:16px}

/* Фон-«гроза» для первых экранов */
.tb-hero__bg{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:0}
.tb-hero__bg::before{content:"";position:absolute;width:880px;height:880px;right:-160px;top:-260px;border-radius:50%;background:var(--tb-glow);opacity:.75}
.tb-hero__bg::after{content:"";position:absolute;inset:0;
  background-image:radial-gradient(color-mix(in srgb,var(--tb-line) 70%,transparent) 1px,transparent 1.2px);background-size:28px 28px;
  -webkit-mask-image:radial-gradient(ellipse 70% 60% at 70% 30%,#000 10%,transparent 70%);mask-image:radial-gradient(ellipse 70% 60% at 70% 30%,#000 10%,transparent 70%);opacity:.55}

/* ============================================================ 2. Шапка */
/* Фон с blur — на псевдоэлементе: backdrop-filter на самой шапке сделал бы её
   контейнером для position:fixed, и мобильное меню-оверлей обрезалось бы по высоте шапки. */
.tb-header{position:sticky;top:0;z-index:60;height:var(--tb-header-h);border-bottom:1px solid var(--tb-line-soft);
  transition:box-shadow var(--tb-dur) var(--tb-ease)}
.tb-header::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--tb-bg);background:color-mix(in srgb,var(--tb-bg) 92%,transparent)}
@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
  .tb-header::before{background:color-mix(in srgb,var(--tb-bg) 78%,transparent);-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px)}
}
html.tb-menu-open .tb-header::before{background:var(--tb-bg)}
.tb-header.is-scrolled{box-shadow:0 12px 32px -22px var(--tb-overlay)}
.admin-bar .tb-header{top:32px}
@media (max-width:782px){.admin-bar .tb-header{top:46px}}
@media (max-width:600px){body.tb.admin-bar #wpadminbar{position:fixed}}
.tb-header__inner{height:100%;display:flex;align-items:center;gap:20px}
.tb-header__logo{flex-shrink:0}
.tb-header__logo .tb-logo{height:40px}
.tb-header__panel{flex:1 1 auto;min-width:0;display:flex;align-items:center}
.tb-header__mobile{display:none}
.tb-header__actions{display:flex;align-items:center;gap:10px;margin-left:auto;flex-shrink:0}
.tb-header__cta{--h:44px;padding:0 18px;font-size:15px}
.tb-burger{display:none}

/* Меню (десктоп) */
.tb-nav{flex:1 1 auto;min-width:0}
.tb-nav__list{list-style:none;display:flex;align-items:center;gap:2px;margin:0;padding:0}
.tb-nav__list>li{position:relative;display:flex;align-items:center}
.tb-nav__list>li>a,.tb-nav__trigger{position:relative;display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 10px;border-radius:10px;border:0;background:none;
  font:700 15px/1 var(--tb-font);color:var(--tb-muted)!important;white-space:nowrap;cursor:pointer;
  transition:color var(--tb-dur) var(--tb-ease),background-color var(--tb-dur) var(--tb-ease)}
.tb-nav__list>li>a:hover,.tb-nav__trigger:hover,.tb-nav__list>li.is-open>.tb-nav__trigger{color:var(--tb-text)!important;background:var(--tb-surface-2)}
.tb-nav__list>li.current-menu-item>a,.tb-nav__list>li.current-menu-ancestor>a,.tb-nav__list>li.current-menu-ancestor>.tb-nav__trigger{color:var(--tb-text)!important}
.tb-nav__list>li.current-menu-item>a::after,.tb-nav__list>li.current-menu-ancestor>a::after{content:"";position:absolute;left:10px;right:10px;bottom:3px;height:2px;border-radius:2px;background:var(--tb-accent)}
.tb-nav__trigger .tb-i,.tb-nav__toggle .tb-i{width:16px;height:16px;transition:transform var(--tb-dur) var(--tb-ease)}
.tb-nav__list>li.is-open>.tb-nav__trigger .tb-i,.tb-nav__list>li.is-open>.tb-nav__toggle .tb-i{transform:rotate(180deg)}
.tb-nav__toggle{display:inline-flex;align-items:center;justify-content:center;width:26px;height:40px;margin-left:-6px;border:0;background:none;color:var(--tb-muted);cursor:pointer;border-radius:8px}
.tb-nav__toggle:hover{color:var(--tb-text)}
.tb-nav .sub-menu{list-style:none;position:absolute;top:calc(100% + 10px);left:-6px;z-index:10;min-width:232px;margin:0;padding:8px;
  background:var(--tb-surface);border:1px solid var(--tb-line);border-radius:var(--tb-r-lg);box-shadow:var(--tb-shadow);
  opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity var(--tb-dur) var(--tb-ease),transform var(--tb-dur) var(--tb-ease),visibility 0s linear var(--tb-dur)}
.tb-nav .sub-menu::before{content:"";position:absolute;left:0;right:0;top:-12px;height:12px}
.tb-nav .sub-menu a{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:10px;font:700 15px/1.2 var(--tb-font);color:var(--tb-text)!important}
.tb-nav .sub-menu a:hover,.tb-nav .sub-menu .current-menu-item>a{background:var(--tb-surface-2)}
.tb-nav .sub-menu a::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--tb-violet);flex-shrink:0}
@media (min-width:1180px) and (hover:hover){
  .tb-nav__list>li:hover>.sub-menu{opacity:1;visibility:visible;transform:none;transition-delay:0s}
}
@media (min-width:1180px){
  .tb-nav__list>li.is-open>.sub-menu{opacity:1;visibility:visible;transform:none;transition-delay:0s}
}

/* Переключатель языка */
.tb-lang{position:relative}
.tb-lang__btn{list-style:none;display:inline-flex;align-items:center;gap:6px;height:42px;padding:0 12px;border-radius:var(--tb-r);border:1px solid var(--tb-line);
  font:800 14px/1 var(--tb-font);color:var(--tb-text);cursor:pointer;user-select:none;transition:border-color var(--tb-dur) var(--tb-ease),background-color var(--tb-dur) var(--tb-ease)}
.tb-lang__btn::-webkit-details-marker{display:none}
.tb-lang__btn::marker{content:""}
.tb-lang__btn:hover,.tb-lang[open] .tb-lang__btn{border-color:var(--tb-violet);background:var(--tb-surface-2)}
.tb-lang__btn .tb-i{width:17px;height:17px;color:var(--tb-muted)}
.tb-lang__chev{width:15px!important;height:15px!important;transition:transform var(--tb-dur) var(--tb-ease)}
.tb-lang[open] .tb-lang__chev{transform:rotate(180deg)}
.tb-lang__list{list-style:none;position:absolute;right:0;top:calc(100% + 10px);z-index:20;min-width:196px;padding:8px;
  background:var(--tb-surface);border:1px solid var(--tb-line);border-radius:var(--tb-r-lg);box-shadow:var(--tb-shadow)}
.tb-lang__list a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 12px;border-radius:10px;font-weight:700;color:var(--tb-text)!important}
.tb-lang__list a:hover{background:var(--tb-surface-2)}
.tb-lang__list a.is-current{background:var(--tb-surface-2)}
.tb-lang__list a.is-current .tb-lang__code{background:var(--tb-accent);color:var(--tb-on-accent)}
.tb-lang__code{font:800 11px/1 var(--tb-font);letter-spacing:.06em;padding:5px 7px;border-radius:6px;background:var(--tb-bg-2);color:var(--tb-muted)}

/* ============================================================ 3. Мобильное меню (<1180px) */
@media (max-width:1179.98px){
  .tb-burger{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:var(--tb-r);border:1px solid var(--tb-line);
    background:transparent;color:var(--tb-text);cursor:pointer}
  .tb-burger:hover{background:var(--tb-surface-2);border-color:var(--tb-violet)}
  .tb-burger .tb-i{width:22px;height:22px}
  .tb-burger__close{display:none}
  .tb-burger[aria-expanded="true"] .tb-burger__open{display:none}
  .tb-burger[aria-expanded="true"] .tb-burger__close{display:block}
  .tb-lang{display:none}

  .tb-header__panel{position:fixed;left:0;right:0;top:var(--tb-header-h);bottom:0;z-index:59;display:flex;flex-direction:column;align-items:stretch;gap:24px;
    padding:12px 16px calc(24px + env(safe-area-inset-bottom));background:var(--tb-bg);overflow-y:auto;overscroll-behavior:contain;
    opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .2s var(--tb-ease),transform .2s var(--tb-ease),visibility 0s linear .2s}
  .admin-bar .tb-header__panel{top:calc(var(--tb-header-h) + 32px)}
  .tb-header__panel.is-open{opacity:1;visibility:visible;transform:none;transition-delay:0s}
  .tb-header__panel::before{content:"";position:fixed;right:-200px;bottom:-200px;width:520px;height:520px;border-radius:50%;background:var(--tb-glow);opacity:.5;pointer-events:none;z-index:-1}
  html.tb-menu-open,html.tb-menu-open body{overflow:hidden}

  .tb-nav,.tb-header__mobile{width:100%;max-width:640px}
  .tb-nav{flex:0 0 auto}
  .tb-nav__list{flex-direction:column;align-items:stretch;gap:0}
  .tb-nav__list>li{flex-wrap:wrap;border-bottom:1px solid var(--tb-line-soft)}
  .tb-nav__list>li>a,.tb-nav__trigger{flex:1 1 auto;height:58px;padding:0 4px;border-radius:0;font-size:19px;font-weight:800;color:var(--tb-text)!important;background:none!important;justify-content:flex-start}
  .tb-nav__trigger{justify-content:space-between;width:100%}
  .tb-nav__trigger .tb-i,.tb-nav__toggle .tb-i{width:20px;height:20px}
  .tb-nav__list>li.current-menu-item>a::after{left:4px;right:auto;width:24px;bottom:10px}
  .tb-nav__toggle{width:48px;height:58px;margin:0}
  .tb-nav .sub-menu{position:static;flex:1 0 100%;min-width:0;display:none;padding:0 0 12px 8px;margin:0;background:none;border:0;box-shadow:none;opacity:1;visibility:visible;transform:none;transition:none}
  .tb-nav .sub-menu::before{display:none}
  .tb-nav .sub-menu a{padding:12px 12px;font-size:17px;color:var(--tb-muted)!important}
  .tb-nav__list>li.is-open>.sub-menu{display:block}

  .tb-header__mobile{display:flex;flex-direction:column;gap:16px;margin-top:auto}
  .tb-mlang{display:flex;flex-wrap:wrap;gap:8px}
  .tb-mlang .tb-chip{height:42px;padding:0 16px}
}
@media (max-width:782px){.admin-bar .tb-header__panel{top:calc(var(--tb-header-h) + 46px)}}
@media (max-width:640px){
  .tb-header__inner{gap:12px}
  .tb-header__actions{gap:8px}
  .tb-header__logo .tb-logo{height:34px}
  .tb-header__cta{width:44px;padding:0}
  .tb-header__cta-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
}
@media (max-width:360px){.tb-header .tb-theme-toggle{display:none}}

/* ============================================================ 4. Hero */
.tb-hero{position:relative;padding:48px 0 56px;overflow:hidden}
.tb-hero>.tb-container,.tb-page-hero>.tb-container,.tb-404>.tb-container{position:relative;z-index:1}
.tb-hero__grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:40px;align-items:center}
.tb-hero__content{display:flex;flex-direction:column;gap:22px;min-width:0}
.tb-hero__title{font-family:var(--tb-font-display);font-weight:400;margin:0;line-height:1.06;color:var(--tb-text)}
.tb-hero__title-main{display:block;font-size:clamp(30px,3.5vw,50px)}
.tb-hero__title-sub{display:block;margin-top:.35em;font-size:clamp(20px,2.05vw,30px);line-height:1.2;color:var(--tb-muted)}
.tb-hero__lead{max-width:620px}
.tb-checks{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 22px;max-width:640px}
.tb-checks li{display:flex;gap:10px;align-items:flex-start;font-size:15px;font-weight:600;line-height:1.4;color:var(--tb-text)}
.tb-checks .tb-i{width:20px;height:20px;padding:3px;border-radius:50%;background:color-mix(in srgb,var(--tb-highlight) 18%,transparent);color:var(--tb-highlight);stroke-width:3;margin-top:-1px}
.tb-hero__cta{display:flex;flex-wrap:wrap;gap:12px}
.tb-hero__chips{display:flex;align-items:center;flex-wrap:wrap;gap:10px 12px}
.tb-hero__chips-label{font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--tb-subtle)}
.tb-hero__art{position:relative;min-height:470px;display:flex;align-items:center;justify-content:center}
.tb-hero__zeus{width:min(100%,500px)}
.tb-zeus picture{position:relative;z-index:1;display:block;width:100%}
.tb-hero__bolt{width:auto}
.tb-hero__bolt--1{height:190px;left:2%;top:4%;transform:rotate(-8deg)}
.tb-hero__bolt--2{height:108px;right:4%;bottom:10%;transform:rotate(18deg);opacity:.85}
.tb-float-card{position:absolute;z-index:2;display:flex;flex-direction:column;gap:4px;padding:14px 18px;border-radius:16px;
  background:color-mix(in srgb,var(--tb-surface) 92%,transparent);border:1px solid var(--tb-line);box-shadow:var(--tb-shadow)}
.tb-float-card--price{right:0;top:9%}
.tb-float-card--status{left:0;bottom:8%;gap:8px}
.tb-float-card__label{font-size:13px;font-weight:600;color:var(--tb-muted)}
.tb-float-card__value{font-family:var(--tb-font-display);font-size:22px;line-height:1.1;color:var(--tb-text)}
.tb-stats{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:44px;padding-top:28px;border-top:1px solid var(--tb-line-soft)}
.tb-stats li{display:flex;flex-direction:column;gap:4px}
.tb-stats__num{font-family:var(--tb-font-display);font-size:clamp(24px,2.4vw,34px);line-height:1.1;color:var(--tb-highlight)}
.tb-stats__label{font-size:14px;color:var(--tb-muted);font-weight:600}

/* Шапка внутренних страниц */
.tb-page-hero{position:relative;padding:36px 0 40px;overflow:hidden;border-bottom:1px solid var(--tb-line-soft)}
.tb-page-hero__grid{display:grid;grid-template-columns:minmax(0,1fr);gap:32px;align-items:center}
.tb-page-hero--art .tb-page-hero__grid{grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr)}
.tb-page-hero__content{display:flex;flex-direction:column;gap:18px;min-width:0;max-width:900px}
.tb-page-hero__title{font-family:var(--tb-font-display);font-weight:400;font-size:clamp(28px,3.6vw,48px);line-height:1.1;margin:0}
.tb-page-hero__art{position:relative;display:flex;justify-content:center}
.tb-page-hero__art .tb-zeus{width:min(100%,340px)}
.tb-page-hero__art .tb-hero__bolt--1{height:130px;left:6%;top:0}

/* Хлебные крошки */
.tb-crumbs ol{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;font-size:14px;color:var(--tb-subtle)}
.tb-crumbs li{display:inline-flex;align-items:center;gap:8px;min-width:0}
.tb-crumbs li+li::before{content:"/";color:var(--tb-line)}
.tb-crumbs a{color:var(--tb-muted)}
.tb-crumbs a:hover{color:var(--tb-link-hover)}
.tb-crumbs [aria-current] span{color:var(--tb-text);display:inline-block;max-width:52ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom}

/* ============================================================ 5. Заголовки секций */
.tb-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px 32px;flex-wrap:wrap;margin-bottom:32px}
.tb-head__text{display:flex;flex-direction:column;gap:10px;max-width:760px;min-width:0}
.tb-head__sub{font-size:18px;line-height:1.55;color:var(--tb-muted)}
.tb-head__aside{flex-shrink:0}

/* ============================================================ 6. Калькулятор и тарифы */
.tb-calc{display:grid;grid-template-columns:minmax(0,1fr) 380px;background:var(--tb-surface);border:1px solid var(--tb-line-soft);border-radius:var(--tb-r-xl);overflow:hidden;box-shadow:var(--tb-shadow)}
.tb-calc__controls{display:flex;flex-direction:column;gap:28px;padding:32px;min-width:0}
.tb-calc__step{display:flex;flex-direction:column;gap:12px}
.tb-calc__label{display:flex;align-items:center;gap:10px;font:800 15px/1.2 var(--tb-font);color:var(--tb-text)}
.tb-calc__n{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:var(--tb-surface-2);color:var(--tb-highlight);font:800 13px/1 var(--tb-font)}
.tb-calc .tb-chip{height:42px;padding:0 16px;font-size:15px}
.tb-calc .tb-seg>*{height:44px}
.tb-calc__summary{position:relative;display:flex;flex-direction:column;justify-content:center;gap:14px;padding:32px;background:var(--tb-bg-2);border-left:1px solid var(--tb-line-soft);overflow:hidden}
.tb-calc__glow{position:absolute;width:360px;height:360px;right:-140px;top:-160px;border-radius:50%;background:var(--tb-glow);pointer-events:none}
.tb-calc__summary>*:not(.tb-calc__glow){position:relative}
.tb-calc__result{display:flex;flex-direction:column;gap:6px}
.tb-calc__sum-label{font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--tb-subtle)}
.tb-calc__total{font-size:clamp(42px,4.4vw,58px);line-height:1;color:var(--tb-text)}
.tb-calc__cur{font-size:.55em;color:var(--tb-muted)}
.tb-calc__meta{font-size:15px;font-weight:600;color:var(--tb-muted)}
.tb-calc__save[hidden]{display:none}
.tb-calc__cta{margin-top:6px}
.tb-calc__note{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--tb-muted)}
.tb-calc__note .tb-i{width:16px;height:16px;color:var(--tb-highlight)}
.tb-calc__foot{margin-top:20px;text-align:center;font-size:14px;color:var(--tb-subtle)}

.tb-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px}
.tb-plan{position:relative;display:flex;flex-direction:column;gap:14px;padding:28px;border-radius:24px;background:var(--tb-surface);border:1px solid var(--tb-line-soft)}
.tb-plan.is-featured{background:var(--tb-surface-2);border:2px solid var(--tb-accent);padding:27px}
.tb-plan__head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.tb-plan__name{font:800 22px/1.2 var(--tb-font)!important;color:var(--tb-text)}
.tb-plan__meta{font-size:15px;color:var(--tb-muted)}
.tb-plan__price{font-size:46px;line-height:1;color:var(--tb-text)}
.tb-plan__cur{font-size:.55em;color:var(--tb-muted)}
.tb-plan__save{min-height:20px;margin-top:-6px;font-size:14px;font-weight:800;color:var(--tb-highlight)}
.tb-plan__save[data-empty]{visibility:hidden}
.tb-plan__list{list-style:none;display:flex;flex-direction:column;gap:10px;margin:4px 0 8px}
.tb-plan__list li{display:flex;align-items:center;gap:10px;font-size:15px;color:var(--tb-muted)}
.tb-plan__list .tb-i{width:18px;height:18px;color:var(--tb-highlight);stroke-width:2.6}
.tb-plan .tb-btn{margin-top:auto}

/* Как это работает + видео */
.tb-how__grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:56px;align-items:center}
.tb-how__text{display:flex;flex-direction:column;align-items:flex-start}
.tb-how__text .tb-head{margin-bottom:24px}
.tb-steps{list-style:none;display:flex;flex-direction:column;gap:18px;margin-bottom:28px}
.tb-step{display:flex;gap:16px;align-items:flex-start}
.tb-step__n{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex-shrink:0;border-radius:var(--tb-r);
  background:var(--tb-surface-2);border:1px solid var(--tb-line);font-family:var(--tb-font-display);font-size:20px;color:var(--tb-highlight)}
.tb-step__title{font-weight:800;font-size:18px;margin-bottom:2px}
.tb-step__text{color:var(--tb-muted);font-size:15px}

.tb-video{position:relative;aspect-ratio:16/9;border-radius:var(--tb-r-lg);overflow:hidden;background:var(--tb-surface-2);border:1px solid var(--tb-line-soft);box-shadow:var(--tb-shadow)}
.tb-video__btn{position:absolute;inset:0;display:block;width:100%;height:100%;padding:0;border:0;background:none;cursor:pointer;color:inherit}
.tb-video__btn img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s var(--tb-ease)}
.tb-video__btn::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(10,8,32,.78))}
.tb-video__btn:hover img{transform:scale(1.03)}
.tb-video__play{position:absolute;left:50%;top:50%;z-index:1;width:76px;height:76px;margin:-38px 0 0 -38px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:var(--tb-accent);color:var(--tb-on-accent);box-shadow:0 0 0 10px color-mix(in srgb,var(--tb-accent) 22%,transparent);transition:transform var(--tb-dur) var(--tb-ease)}
.tb-video__play .tb-i{width:30px;height:30px;margin-left:4px}
.tb-video__btn:hover .tb-video__play{transform:scale(1.06)}
.tb-video__btn:focus-visible{outline:3px solid var(--tb-focus);outline-offset:-6px;border-radius:var(--tb-r-lg)}
.tb-video__poster{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  background:radial-gradient(90% 90% at 85% 0%,color-mix(in srgb,var(--tb-p-youtube) 35%,transparent),transparent 60%),radial-gradient(80% 90% at 0% 100%,color-mix(in srgb,var(--tb-violet-strong) 55%,transparent),transparent 70%),var(--tb-surface-2)}
.tb-video__poster .tb-bolt{position:absolute;height:70%;width:auto;right:8%;top:10%;opacity:.16;color:var(--tb-accent)}
.tb-video__yt{position:absolute;left:18px;top:16px;display:inline-flex;align-items:center;gap:7px;height:30px;padding:0 11px;border-radius:var(--tb-r-pill);background:var(--tb-bg);color:var(--tb-text);font:800 13px/1 var(--tb-font)}
.tb-video__caption{position:absolute;left:20px;right:20px;bottom:16px;z-index:1;text-align:left;font-weight:800;font-size:16px;color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.5)}
.tb-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.tb-prose .tb-video{margin-top:1.6em;margin-bottom:1.6em}

/* ============================================================ 7. Платформы, услуги, почему мы, отзывы */
.tb-platforms{list-style:none;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.tb-pcard{--pc:var(--tb-p-other);--pc-ink:#fff;position:relative;display:flex;flex-direction:column;gap:12px;height:100%;min-height:196px;padding:22px;border-radius:var(--tb-r-lg);
  background:var(--tb-surface);border:1px solid var(--tb-line-soft);color:var(--tb-text)!important;overflow:hidden;
  transition:border-color var(--tb-dur) var(--tb-ease),transform var(--tb-dur) var(--tb-ease)}
.tb-pcard::before{content:"";position:absolute;right:-60px;top:-60px;width:160px;height:160px;border-radius:50%;background:var(--pc);opacity:.12;filter:blur(8px);transition:opacity var(--tb-dur) var(--tb-ease)}
.tb-pcard:hover{border-color:var(--pc);transform:translateY(-3px)}
.tb-pcard:hover::before{opacity:.26}
.tb-pcard--twitch{--pc:var(--tb-p-twitch)}
.tb-pcard--youtube{--pc:var(--tb-p-youtube)}
.tb-pcard--kick{--pc:var(--tb-p-kick);--pc-ink:#0B0B12}
.tb-pcard--trovo{--pc:var(--tb-p-trovo);--pc-ink:#0B0B12}
.tb-pcard--vk{--pc:var(--tb-p-vk)}
.tb-pcard--telegram{--pc:var(--tb-p-telegram)}
.tb-pcard__icon{position:relative;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:var(--pc);color:var(--pc-ink)}
.tb-pcard__icon .tb-i{width:22px;height:22px}
.tb-pcard__name{position:relative;font-weight:800;font-size:19px;line-height:1.2}
.tb-pcard__desc{position:relative;font-size:14px;line-height:1.45;color:var(--tb-muted)}
.tb-pcard__more{position:relative;margin-top:auto;display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:800;color:var(--tb-text)}
.tb-pcard__more .tb-i{width:16px;height:16px;transition:transform var(--tb-dur) var(--tb-ease)}
.tb-pcard:hover .tb-pcard__more .tb-i{transform:translateX(3px)}
.tb-more{display:flex;align-items:center;flex-wrap:wrap;gap:10px 12px;margin-top:20px}
.tb-more__label{font-size:14px;font-weight:800;color:var(--tb-subtle)}

.tb-services__grid{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.tb-service{display:flex;gap:16px;align-items:flex-start;padding:22px;border-radius:var(--tb-r-lg);background:var(--tb-surface);border:1px solid var(--tb-line-soft)}
.tb-service__title{font:800 17px/1.3 var(--tb-font)!important;margin-bottom:6px!important}
.tb-service__text{font-size:15px;color:var(--tb-muted)}
.tb-services__prose,.tb-why__prose{margin-top:40px}

.tb-why__grid{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.tb-why__card{display:flex;flex-direction:column;gap:12px}
.tb-why__card .tb-card__title{margin:0}
.tb-bonus{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:28px;margin-top:20px;padding:28px 36px;border-radius:var(--tb-r-xl);overflow:hidden;
  background:linear-gradient(115deg,var(--tb-violet-strong) 0%,color-mix(in srgb,var(--tb-violet-strong) 70%,var(--tb-bg)) 100%);color:var(--tb-on-violet)}
.tb-bonus__bolt{height:240px;width:auto;right:18%;top:-40px;opacity:.14;color:var(--tb-on-violet)}
.tb-bonus__icon{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:72px;height:72px;border-radius:20px;background:color-mix(in srgb,var(--tb-on-violet) 14%,transparent);font:800 11px/1 var(--tb-font);letter-spacing:.1em}
.tb-bonus__icon .tb-i{width:28px;height:28px}
.tb-bonus__text{position:relative;display:flex;flex-direction:column;gap:6px}
.tb-bonus__title{font:800 22px/1.25 var(--tb-font)!important;color:var(--tb-on-violet)!important}
.tb-bonus__desc{font-size:16px;line-height:1.5;opacity:.92}
.tb-bonus__desc b{color:var(--tb-accent)}
.tb-bonus__perc{position:relative;font-family:var(--tb-font-display);font-size:clamp(48px,6vw,84px);line-height:1;color:var(--tb-accent);text-shadow:0 6px 30px rgba(10,6,40,.35)}

.tb-reviews__grid{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.tb-review{display:flex;flex-direction:column;gap:16px;padding:26px;border-radius:var(--tb-r-lg);background:var(--tb-surface);border:1px solid var(--tb-line-soft)}
.tb-review__stars{display:flex;gap:3px;color:var(--tb-accent)}
.tb-review__stars .tb-i{width:18px;height:18px}
.tb-review__stars .is-off{color:var(--tb-line)}
.tb-review__text{margin:0;font-size:16px;line-height:1.6;color:var(--tb-text)}
.tb-review__text p{margin:0}
.tb-review__author{display:flex;align-items:center;gap:12px;margin-top:auto;padding-top:14px;border-top:1px solid var(--tb-line-soft)}
.tb-review__author>span:last-child{display:flex;flex-direction:column;gap:2px}
.tb-review__avatar{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:var(--tb-surface-2);color:var(--tb-highlight);font-family:var(--tb-font-display);font-size:18px}
.tb-review__name{font-weight:800}
.tb-review__date{font-size:13px;color:var(--tb-subtle)}

/* ============================================================ 8. Блог */
.tb-posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 24px}
.tb-post-card{display:flex;flex-direction:column;gap:16px;min-width:0}
.tb-post-card__media{position:relative;display:block;aspect-ratio:16/10;border-radius:var(--tb-r-lg);overflow:hidden;border:1px solid var(--tb-line-soft);background:var(--tb-surface-2)}
.tb-post-card__media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s var(--tb-ease)}
.tb-post-card:hover .tb-post-card__media img{transform:scale(1.03)}
.tb-post-card__body{display:flex;flex-direction:column;gap:10px;min-width:0}
.tb-post-card__title{font:800 20px/1.3 var(--tb-font)!important;margin:0}
.tb-post-card__title a{color:var(--tb-text)}
.tb-post-card__title a:hover{color:var(--tb-link-hover)}
.tb-post-card__excerpt{font-size:15px;line-height:1.55;color:var(--tb-muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

/* Обложка-заглушка (нет картинки) */
.tb-cover{--cv:var(--tb-violet-strong)}
.tb-cover--twitch{--cv:var(--tb-p-twitch)}.tb-cover--youtube{--cv:var(--tb-p-youtube)}.tb-cover--kick{--cv:var(--tb-p-kick)}.tb-cover--trovo{--cv:var(--tb-p-trovo)}
.tb-cover--telegram{--cv:var(--tb-p-telegram)}.tb-cover--tiktok{--cv:var(--tb-p-tiktok)}.tb-cover--instagram{--cv:var(--tb-p-instagram)}.tb-cover--vk{--cv:var(--tb-p-vk)}
.tb-cover__art{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  background:radial-gradient(120% 90% at 85% 10%,color-mix(in srgb,var(--cv) 45%,transparent),transparent 60%),radial-gradient(90% 80% at 10% 100%,color-mix(in srgb,var(--tb-violet-strong) 40%,transparent),transparent 70%),var(--tb-surface-2)}
.tb-cover__art .tb-bolt{position:relative;height:46%;width:auto;color:var(--tb-accent);opacity:.9;filter:drop-shadow(0 10px 24px rgba(10,6,40,.35))}
.tb-cover--kick,.tb-cover--trovo{--cv-ink:#0B0B12}
.tb-cover__art--icon{background:radial-gradient(110% 90% at 80% 0%,color-mix(in srgb,var(--cv) 62%,transparent),transparent 62%),radial-gradient(90% 80% at 0% 100%,color-mix(in srgb,var(--tb-violet-strong) 45%,transparent),transparent 70%),var(--tb-surface-2)}
.tb-cover__art--icon .tb-bolt{position:absolute;right:7%;top:12%;height:70%;opacity:.16;filter:none}
.tb-cover__icon{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;width:clamp(56px,24%,104px);aspect-ratio:1;border-radius:28%;
  background:var(--cv);color:var(--cv-ink,#fff);box-shadow:0 18px 42px color-mix(in srgb,var(--cv) 45%,transparent),inset 0 1px 0 rgba(255,255,255,.25);transition:transform .5s var(--tb-ease)}
.tb-cover__icon .tb-i{width:50%;height:50%}
.tb-post-card:hover .tb-cover__icon{transform:scale(1.06) rotate(-3deg)}
@media (prefers-reduced-motion:reduce){.tb-post-card:hover .tb-cover__icon{transform:none}}
.tb-cover__tag{position:absolute;left:14px;bottom:14px;z-index:1;display:inline-flex;align-items:center;gap:7px;height:30px;padding:0 11px;border-radius:var(--tb-r-pill);
  background:var(--tb-bg);color:var(--tb-text);font:800 13px/1 var(--tb-font)}

.tb-listing{padding-top:40px;padding-bottom:72px}
.tb-posts--archive .tb-post-card--featured{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:32px;align-items:center;
  padding:16px;border-radius:var(--tb-r-xl);background:var(--tb-surface);border:1px solid var(--tb-line-soft)}
.tb-post-card--featured .tb-post-card__title{font-family:var(--tb-font-display)!important;font-weight:400!important;font-size:clamp(24px,2.4vw,34px)!important;line-height:1.15!important}
.tb-post-card--featured .tb-post-card__body{gap:14px;padding-right:16px}
.tb-post-card--featured .tb-post-card__excerpt{font-size:17px;-webkit-line-clamp:4}
.tb-empty{text-align:center;color:var(--tb-muted)}

.tb-pagination{margin-top:48px}
.tb-pagination .nav-links,.tb-pagination--inner{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.tb-pagination .page-numbers,.tb-pagination--inner>a,.tb-pagination--inner>span{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0 12px;border-radius:var(--tb-r);
  border:1px solid var(--tb-line);color:var(--tb-text)!important;font-weight:800}
.tb-pagination a.page-numbers:hover{border-color:var(--tb-violet);background:var(--tb-surface-2)}
.tb-pagination .page-numbers.current{background:var(--tb-accent);border-color:var(--tb-accent);color:var(--tb-on-accent)!important}
.tb-pagination .page-numbers.dots{border-color:transparent}
.tb-pagination .tb-i{width:18px;height:18px}
.tb-pagination .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}

/* ============================================================ 9. Статья и страницы */
.tb-article-wrap{max-width:1400px;padding-top:32px;padding-bottom:80px}
.tb-article-layout{display:grid;grid-template-columns:210px minmax(0,760px) 300px;gap:44px;justify-content:center;align-items:start}
.tb-article{min-width:0}
.tb-article__head{display:flex;flex-direction:column;gap:18px;margin-bottom:28px}
.tb-article__title{font-family:var(--tb-font-display);font-weight:400;font-size:clamp(28px,3.4vw,46px);line-height:1.1;margin:0}
.tb-cover-figure{margin:0 0 32px;border-radius:24px;overflow:hidden;border:1px solid var(--tb-line-soft);background:var(--tb-surface-2)}
.tb-cover-figure img{display:block;width:100%;height:auto}
.tb-sticky{position:sticky;top:calc(var(--tb-header-h) + 24px);display:flex;flex-direction:column;gap:24px}
.admin-bar .tb-sticky{top:calc(var(--tb-header-h) + 56px)}

.tb-toc-col{min-width:0;align-self:stretch}
.tb-toc{position:sticky;top:calc(var(--tb-header-h) + 24px);padding-top:8px;max-height:calc(100vh - var(--tb-header-h) - 48px);overflow-y:auto}
.tb-toc__title{display:flex;align-items:center;gap:8px;margin-bottom:12px!important;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--tb-subtle)}
.tb-toc__title .tb-i{width:16px;height:16px}
.tb-toc__list{list-style:none;display:flex;flex-direction:column}
.tb-toc__list a{display:block;padding:8px 0 8px 14px;border-left:2px solid var(--tb-line);font-size:14px;line-height:1.4;font-weight:600;color:var(--tb-muted)}
.tb-toc__list a:hover{color:var(--tb-text)}
.tb-toc__list .is-sub a{padding-left:28px;font-size:13px;font-weight:600}
.tb-toc__list a.is-active{border-left-color:var(--tb-accent);color:var(--tb-text);font-weight:800}
.tb-toc-mobile{display:none;margin:0 0 28px;border:1px solid var(--tb-line-soft);border-radius:var(--tb-r-lg);background:var(--tb-surface)}
.tb-toc-mobile summary{list-style:none;display:flex;align-items:center;gap:10px;padding:16px 18px;font-weight:800;cursor:pointer}
.tb-toc-mobile summary::-webkit-details-marker{display:none}
.tb-toc-mobile summary .tb-i{width:18px;height:18px;color:var(--tb-highlight)}
.tb-toc-mobile__chev{margin-left:auto;color:var(--tb-muted)!important;transition:transform var(--tb-dur) var(--tb-ease)}
.tb-toc-mobile[open] .tb-toc-mobile__chev{transform:rotate(180deg)}
.tb-toc-mobile .tb-toc__list{padding:0 18px 16px}

/* Врезка в статье */
.tb-inline-cta{display:flex;align-items:center;gap:20px 24px;margin:2em 0!important;padding:22px 26px;border-radius:24px;background:var(--tb-surface);border:1px solid var(--tb-accent)}
.tb-inline-cta__text{flex:1 1 auto;display:flex;flex-direction:column;gap:4px}
.tb-inline-cta__title{font-weight:800;font-size:18px;color:var(--tb-text)!important}
.tb-inline-cta__desc{font-size:15px;color:var(--tb-muted)!important;line-height:1.5}
.tb-inline-cta .tb-btn{flex-shrink:0;text-decoration:none!important}

/* Сайдбар */
.tb-order-card{display:flex;flex-direction:column;gap:14px;padding:24px;border-radius:24px}
.tb-order-card__kicker{font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--tb-subtle)}
.tb-order-card__title{font-weight:800;font-size:18px;line-height:1.35}
.tb-order-card__result{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-size:14px;color:var(--tb-muted)}
.tb-order-card__price{font-size:24px;color:var(--tb-text)}
.tb-order-card__note{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--tb-subtle)}
.tb-order-card__note .tb-i{width:15px;height:15px;color:var(--tb-highlight)}
.tb-read-also__title,.tb-aside-list__title{margin-bottom:4px!important;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--tb-subtle)}
.tb-read-also ul,.tb-aside-list ul{list-style:none}
.tb-read-also a{display:flex;flex-direction:column;gap:6px;padding:16px 0;border-top:1px solid var(--tb-line-soft);color:var(--tb-text)}
.tb-read-also a:hover .tb-read-also__name{color:var(--tb-link-hover)}
.tb-read-also__tag{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--tb-subtle)}
.tb-read-also__name{font-size:15px;font-weight:700;line-height:1.4;transition:color var(--tb-dur) var(--tb-ease)}
.tb-aside-list a{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid var(--tb-line-soft);font-weight:700;color:var(--tb-text)}
.tb-aside-list a .tb-i{width:16px;height:16px;margin-left:auto;color:var(--tb-subtle);transition:transform var(--tb-dur) var(--tb-ease)}
.tb-aside-list a:hover .tb-i{transform:translateX(3px);color:var(--tb-highlight)}

/* Страница */
.tb-page{padding-top:40px;padding-bottom:72px}
.tb-page__layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:56px;align-items:start}
.tb-page__layout--single{grid-template-columns:minmax(0,820px);justify-content:center}
.tb-page__main{min-width:0}
.tb-support-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px 18px;align-items:start;margin-top:32px}
.tb-support-card__title{font:800 20px/1.3 var(--tb-font)!important;margin-bottom:6px!important}
.tb-support-card__btns{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px}
.tb-pay-card{margin:32px auto 0;max-width:420px}
.tb-pay-card h3{font:800 20px/1.3 var(--tb-font);margin-bottom:16px}

/* Prose: дополнения к tb.css для контента из редактора WordPress */
.tb-prose--narrow{max-width:760px;margin-left:auto;margin-right:auto}
.tb-prose>:first-child{margin-top:0}
.tb-prose h2,.tb-prose h3,.tb-prose h4{scroll-margin-top:calc(var(--tb-header-h) + 20px)}
.tb-prose h3[align],.tb-prose h2[align],.tb-prose p[align]{text-align:left}
.tb-prose figure{margin-left:0;margin-right:0}
.tb-prose .wp-block-image{margin-top:1.6em;margin-bottom:1.6em}
.tb-prose .wp-block-image img{border-radius:var(--tb-r-lg)}
.tb-prose figcaption{margin-top:10px;font-size:14px;color:var(--tb-subtle);text-align:center}
.tb-prose .wp-block-gallery figure{margin:0}
.tb-prose .wp-block-gallery img{border-radius:var(--tb-r)}
.tb-prose .wp-block-quote,.tb-prose blockquote{font-size:17px}
.tb-prose .wp-block-quote p{color:inherit}
.tb-prose table{margin-top:1.4em;border-radius:var(--tb-r);overflow:hidden}
.tb-prose th{background:var(--tb-surface-2);font-weight:800}
.tb-prose td,.tb-prose th{vertical-align:top}
.tb-prose strong,.tb-prose b{color:var(--tb-text);font-weight:800}
.tb-prose ol li::marker{color:var(--tb-highlight);font-weight:800}
.tb-prose a.btn,.tb-prose .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:52px;padding:0 26px;border-radius:var(--tb-r);
  background:var(--tb-accent);color:var(--tb-on-accent)!important;font:800 16px/1 var(--tb-font);text-decoration:none!important;box-shadow:0 8px 22px rgba(255,210,63,.18);
  transition:background-color var(--tb-dur) var(--tb-ease)}
.tb-prose a.btn:hover{background:var(--tb-accent-hover)}
.tb-prose div[style*="text-align:center"],.tb-prose div[style*="text-align: center"]{margin-top:1.6em}
.tb-prose .soc_links{padding:18px 20px;border-radius:var(--tb-r-lg);background:var(--tb-surface);border:1px solid var(--tb-line-soft);font-weight:700}
.tb-prose iframe{max-width:100%;border:0;border-radius:var(--tb-r-lg)}
.tb-prose .alignleft{float:left;margin:0 1.2em 1em 0}
.tb-prose .alignright{float:right;margin:0 0 1em 1.2em}
.tb-prose .aligncenter{margin-left:auto;margin-right:auto}
.tb-prose::after{content:"";display:table;clear:both}
.tb-seo .tb-prose{font-size:17px}

/* ============================================================ 10. CTA, 404, подвал, cookie */
.tb-cta{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px 40px;padding:48px 52px;border-radius:var(--tb-r-xl);overflow:hidden;
  background:radial-gradient(70% 140% at 100% 0%,color-mix(in srgb,var(--tb-violet-strong) 45%,transparent),transparent 60%),var(--tb-surface);border:1px solid var(--tb-line)}
.tb-cta__text{position:relative;display:flex;flex-direction:column;gap:12px;max-width:680px}
.tb-cta__btns{position:relative;display:flex;flex-wrap:wrap;gap:12px}
.tb-cta__bolt--1{height:220px;width:auto;right:26%;top:-50px;opacity:.12}
.tb-cta__bolt--2{height:110px;width:auto;right:3%;bottom:-24px;opacity:.2;transform:rotate(16deg)}

.tb-404{position:relative;padding:64px 0 96px;overflow:hidden}
.tb-404__grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:48px;align-items:center}
.tb-404__art{position:relative;display:flex;justify-content:center}
.tb-404__art .tb-zeus{width:min(100%,440px)}
.tb-404__text{display:flex;flex-direction:column;gap:18px;align-items:flex-start}
.tb-404__code{font-family:var(--tb-font-display);font-size:clamp(88px,12vw,168px);line-height:.9;color:transparent;
  -webkit-text-stroke:2px var(--tb-highlight);background:linear-gradient(180deg,color-mix(in srgb,var(--tb-highlight) 35%,transparent),transparent 85%);-webkit-background-clip:text;background-clip:text}
.tb-404__title{font-size:clamp(30px,4vw,52px)}
.tb-404__chips{margin-top:8px}

.tb-footer{position:relative;margin-top:24px;padding:64px 0 32px;background:var(--tb-bg-2);border-top:1px solid var(--tb-line-soft)}
.tb-footer__top{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr));gap:40px}
.tb-footer__brand{display:flex;flex-direction:column;align-items:flex-start;gap:18px}
.tb-footer__tagline{max-width:320px;color:var(--tb-muted);font-size:15px}
.tb-footer__title{margin-bottom:14px!important;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--tb-subtle)}
.tb-footer__col ul{list-style:none;display:flex;flex-direction:column;gap:10px}
.tb-footer__col a{color:var(--tb-muted);font-weight:600;font-size:15px}
.tb-footer__col a:hover{color:var(--tb-link-hover)}
.tb-footer__bottom{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px 40px;margin-top:48px;padding-top:24px;border-top:1px solid var(--tb-line-soft)}
.tb-footer__copy{font-weight:800;color:var(--tb-muted);font-size:14px}
.tb-footer__note{max-width:720px;font-size:13px;line-height:1.55;color:var(--tb-subtle)}

.tb-cookie{position:fixed;left:16px;right:16px;bottom:16px;z-index:70;display:flex;align-items:center;gap:16px 24px;max-width:920px;margin:0 auto;padding:16px 20px;
  border-radius:var(--tb-r-lg);background:var(--tb-surface);border:1px solid var(--tb-line);box-shadow:var(--tb-shadow);
  opacity:0;transform:translateY(16px);transition:opacity .3s var(--tb-ease),transform .3s var(--tb-ease)}
.tb-cookie[hidden]{display:none}
.tb-cookie.is-visible{opacity:1;transform:none}
.tb-cookie__text{font-size:13px;line-height:1.5;color:var(--tb-muted)}
.tb-cookie__text[hidden]{display:none}
.tb-cookie__text a{text-decoration:underline}
.tb-cookie .tb-btn{flex-shrink:0}

/* ============================================================ 11. wpDiscuz и комментарии */
.tb-comments{margin-top:56px;padding-top:40px;border-top:1px solid var(--tb-line-soft)}
.tb-comments__title{font-family:var(--tb-font-display)!important;font-weight:400!important;font-size:28px!important;margin-bottom:20px!important}
.tb-comments__list{list-style:none;display:flex;flex-direction:column;gap:16px}
.tb-comments__list .comment-body{padding:18px 20px;border-radius:var(--tb-r-lg);background:var(--tb-surface);border:1px solid var(--tb-line-soft)}
.tb-comments__list .children{list-style:none;margin:16px 0 0 24px}
.tb-comments .avatar{border-radius:50%;vertical-align:middle;margin-right:8px}
.tb-comment-form input[type=text],.tb-comment-form input[type=email],.tb-comment-form input[type=url],.tb-comment-form textarea{width:100%;padding:12px 16px;border-radius:var(--tb-r);border:1.5px solid var(--tb-line);background:var(--tb-input-bg);color:var(--tb-text);font:600 16px/1.4 var(--tb-font)}
.tb-comment-form label{display:block;margin-bottom:6px;font-size:14px;font-weight:700;color:var(--tb-muted)}

/* wpDiscuz: его светлую тему перекрашиваем токенами */
#wpdcom,#wpdcom textarea,#wpdcom input,#wpdcom button,#wpdcom .wpd-comment-text,#wpdcom .ql-editor{font-family:var(--tb-font)!important}
#wpdcom{max-width:none!important;background:transparent!important;color:var(--tb-text)!important}
#wpdcom .wpd-thread-head,#wpdcom .wpd-thread-info,#wpdcom .wpd-comment-author,#wpdcom .wpd-comment-text,#wpdcom .wpd-comment-text p,#wpdcom .wpd-thread-filter,#wpdcom .wpd-thread-filter *{color:var(--tb-text)!important}
#wpdcom .wpd-thread-head{border-bottom:2px solid var(--tb-line)!important}
#wpdcom .wpd-thread-info{border-bottom-color:var(--tb-accent)!important}
#wpdcom .wpd-comment-date,#wpdcom .wpd-comment-date *,#wpdcom .wpd-comment-footer,#wpdcom .wpd-comment-footer *,#wpdcom .wpd-vote-result{color:var(--tb-subtle)!important}
#wpdcom .wpd-form-wrap,#wpdcom .wpd_comm_form,#wpdcom .wpd-comment .wpd-comment-wrap,#wpdcom .wpd-second-button{background:transparent!important}
#wpdcom .wpd-comment .wpd-comment-right{background:var(--tb-surface)!important;border:1px solid var(--tb-line-soft)!important;border-radius:var(--tb-r-lg)!important;padding:14px 18px!important}
#wpdcom .wpd-form .wpdiscuz-textarea-wrap,#wpdcom .ql-container,#wpdcom .ql-editor,#wpdcom textarea,#wpdcom input[type=text],#wpdcom input[type=email],#wpdcom input[type=url]{
  background:var(--tb-input-bg)!important;color:var(--tb-text)!important;border-color:var(--tb-line)!important;border-radius:var(--tb-r)!important}
#wpdcom .ql-editor.ql-blank::before,#wpdcom ::placeholder{color:var(--tb-subtle)!important}
#wpdcom .ql-toolbar{background:var(--tb-surface-2)!important;border-color:var(--tb-line)!important;border-radius:var(--tb-r) var(--tb-r) 0 0!important}
#wpdcom .ql-toolbar .ql-stroke{stroke:var(--tb-muted)!important}
#wpdcom .ql-toolbar .ql-fill{fill:var(--tb-muted)!important}
#wpdcom .wpd-prim-button,#wpdcom input[type=submit].wc_comm_submit{background:var(--tb-accent)!important;color:var(--tb-on-accent)!important;border:0!important;border-radius:var(--tb-r)!important;font-weight:800!important;box-shadow:none!important}
#wpdcom .wpd-prim-button:hover{background:var(--tb-accent-hover)!important}
#wpdcom .wpd-sec-button,#wpdcom .wpd-thread-filter .wpdf-sorting,#wpdcom .wpd-login a,#wpdcom a{color:var(--tb-link)!important}
#wpdcom .wpd-comment-label,#wpdcom .wpd-blog-guest span,#wpdcom .wpd-blog-user span{background:var(--tb-surface-2)!important;color:var(--tb-muted)!important;border-color:var(--tb-line)!important}
#wpdcom .wpdiscuz-subscribe-bar,#wpdcom .wpd-form-foot{background:transparent!important;color:var(--tb-muted)!important}
#wpdcom svg:not([fill=none]){fill:currentColor}
#comments.comments-area{margin-top:48px}

/* ============================================================ 12. Адаптив */
@media (max-width:1279.98px){
  .tb-article-layout{grid-template-columns:minmax(0,1fr) 300px;gap:40px}
  .tb-toc-col{display:none}
  .tb-toc-mobile:not([hidden]){display:block}
}
@media (max-width:1180px){
  .tb-platforms{grid-template-columns:repeat(3,minmax(0,1fr))}
  .tb-why__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1100px){
  .tb-calc{grid-template-columns:minmax(0,1fr) 330px}
  .tb-footer__top{grid-template-columns:repeat(3,minmax(0,1fr))}
  .tb-footer__brand{grid-column:1/-1}
}
@media (max-width:960px){
  .tb-hero{padding-top:28px}
  .tb-hero__grid{grid-template-columns:minmax(0,1fr);gap:8px}
  .tb-hero__art{order:-1;min-height:0;height:300px;margin-bottom:4px}
  .tb-hero__zeus{width:300px}
  .tb-hero__bolt--1{height:120px;left:10%}
  .tb-hero__bolt--2{height:70px;right:12%}
  .tb-float-card{padding:10px 14px}
  .tb-float-card--price{right:2%;top:6%}
  .tb-float-card--status{left:2%;bottom:4%}
  .tb-float-card__value{font-size:18px}
  .tb-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:32px}
  .tb-page-hero--art .tb-page-hero__grid{grid-template-columns:minmax(0,1fr)}
  .tb-page-hero__art{display:none}
  .tb-calc{grid-template-columns:minmax(0,1fr)}
  .tb-calc__summary{border-left:0;border-top:1px solid var(--tb-line-soft)}
  /* Тарифы на планшете/телефоне — горизонтальная лента с доводкой */
  .tb-plans{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(272px,44%);gap:14px;overflow-x:auto;overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;margin-left:-24px;margin-right:-24px;padding:4px 24px 12px;scroll-padding:0 24px;scrollbar-width:thin}
  .tb-plan{scroll-snap-align:start}
  .tb-how__grid{grid-template-columns:minmax(0,1fr);gap:32px}
  .tb-services__grid,.tb-reviews__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tb-posts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tb-posts--archive .tb-post-card--featured{grid-template-columns:minmax(0,1fr);gap:18px}
  .tb-post-card--featured .tb-post-card__body{padding:0 8px 8px}
  .tb-article-layout,.tb-page__layout{grid-template-columns:minmax(0,1fr)}
  .tb-article-aside .tb-sticky,.tb-page__aside .tb-sticky{position:static}
  .tb-article-aside,.tb-page__aside{max-width:560px}
  .tb-cta{grid-template-columns:minmax(0,1fr);padding:36px 32px}
  .tb-bonus{grid-template-columns:auto minmax(0,1fr);padding:26px}
  .tb-bonus__perc{grid-column:1/-1;font-size:56px}
  .tb-404__grid{grid-template-columns:minmax(0,1fr);gap:16px}
  .tb-404__art .tb-zeus{width:260px}
}
@media (max-width:640px){
  .tb-hero__art{height:240px;margin-top:8px}
  .tb-hero__zeus{width:240px}
  .tb-float-card--status{display:none}
  .tb-float-card--price{right:0;top:2%}
  .tb-checks{grid-template-columns:minmax(0,1fr)}
  .tb-hero__cta .tb-btn{flex:1 1 100%}
  .tb-hero__title-sub{font-size:19px}
  .tb-stats{gap:16px}
  .tb-head{margin-bottom:24px}
  .tb-head__sub{font-size:16px}
  .tb-calc__controls,.tb-calc__summary{padding:22px 18px}
  .tb-calc .tb-seg>*{min-width:0;padding:0 6px}
  .tb-calc .tb-seg[data-calc-control="viewers"]>*{flex:1 1 calc(33.333% - 4px)}
  .tb-calc .tb-seg--wide>*{font-size:14px}
  .tb-calc .tb-chip{padding:0 12px}
  .tb-plans{grid-auto-columns:84%;margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px;scroll-padding:0 16px}
  .tb-plan{padding:22px}
  .tb-plan.is-featured{padding:21px}
  .tb-platforms{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .tb-pcard{min-height:0;padding:18px;gap:10px}
  .tb-pcard__desc{font-size:13px}
  .tb-services__grid,.tb-reviews__grid,.tb-why__grid,.tb-posts{grid-template-columns:minmax(0,1fr)}
  .tb-service{padding:18px}
  .tb-bonus{grid-template-columns:minmax(0,1fr);gap:16px;padding:24px 20px}
  .tb-bonus__perc{font-size:48px}
  .tb-cta{padding:28px 20px}
  .tb-cta__btns .tb-btn{flex:1 1 100%}
  .tb-inline-cta{flex-direction:column;align-items:stretch;padding:20px}
  .tb-footer{padding-top:48px}
  .tb-footer__top{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 20px}
  .tb-cookie{flex-direction:column;align-items:stretch;left:12px;right:12px;bottom:12px}
  .tb-crumbs [aria-current] span{max-width:28ch}
  .tb-video__play{width:60px;height:60px;margin:-30px 0 0 -30px}
  .tb-prose{font-size:17px}
  .tb-prose table{display:block;overflow-x:auto;white-space:normal}
}
@media (max-width:400px){
  .tb-footer__top{grid-template-columns:minmax(0,1fr)}
}

/* ---------- закрытая площадка (Trovo) ---------- */
.tb-pcard--closed{opacity:.72;filter:saturate(.55)}
.tb-pcard--closed:hover{opacity:.9}
.tb-pcard__closed{margin-top:auto;display:inline-flex;align-self:flex-start;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:var(--tb-warning-bg);color:var(--tb-warning);font-size:12px;font-weight:800;letter-spacing:.02em}
.tb-closed-note{margin-bottom:28px}
.tb-aside-list__closed{font-size:11px;font-weight:800;color:var(--tb-warning);margin-left:4px}

/* ---------- баннер Telegram-канала ---------- */
.tb-tg-section{padding-top:8px;padding-bottom:8px}
.tb-tg{position:relative;overflow:hidden;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:28px;padding:32px 36px;border-radius:var(--tb-r-xl);
  color:var(--tb-text)!important;text-decoration:none!important;border:1px solid color-mix(in srgb,#27A7E7 45%,transparent);
  background:linear-gradient(120deg,color-mix(in srgb,#27A7E7 22%,var(--tb-surface)) 0%,var(--tb-surface) 55%,color-mix(in srgb,var(--tb-violet) 18%,var(--tb-surface)) 100%);
  box-shadow:var(--tb-shadow);transition:transform var(--tb-dur) var(--tb-ease),border-color var(--tb-dur) var(--tb-ease)}
.tb-tg:hover{transform:translateY(-3px);border-color:#27A7E7}
.tb-tg__glow{position:absolute;width:420px;height:420px;left:-120px;top:-180px;border-radius:50%;background:radial-gradient(closest-side,rgba(39,167,231,.45),transparent);pointer-events:none}
.tb-tg__plane{position:relative;width:88px;height:88px;border-radius:26px;display:flex;align-items:center;justify-content:center;background:#27A7E7;color:#fff;box-shadow:0 14px 34px rgba(39,167,231,.45)}
.tb-tg__plane svg{width:44px;height:44px;transform:translate(-2px,2px)}
.tb-fx .tb-tg__plane svg{animation:tb-plane 3.6s ease-in-out infinite}
@keyframes tb-plane{0%,100%{transform:translate(-2px,2px) rotate(0)}50%{transform:translate(4px,-5px) rotate(-6deg)}}
.tb-tg__body{position:relative;display:flex;flex-direction:column;gap:8px;min-width:0}
.tb-tg__title{font-family:var(--tb-font-display);font-size:clamp(22px,2.4vw,30px);line-height:1.15}
.tb-tg__text{color:var(--tb-muted);font-size:16px;line-height:1.5;max-width:640px}
.tb-tg__chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.tb-tg__chip{font-size:13px;font-weight:800;padding:5px 12px;border-radius:999px;background:color-mix(in srgb,#27A7E7 18%,transparent);color:var(--tb-text)}
.tb-tg__btn{position:relative}
@media (max-width:860px){.tb-tg{grid-template-columns:auto minmax(0,1fr);padding:24px}.tb-tg__btn{grid-column:1/-1;width:100%}.tb-tg__plane{width:64px;height:64px;border-radius:20px}.tb-tg__plane svg{width:32px;height:32px}}
@media (max-width:480px){.tb-tg{grid-template-columns:1fr}.tb-tg__plane{display:none}}

/* отступ между цифрами героя и калькулятором был ~130px — сокращаем */
.tb-hero{padding-bottom:28px}
.tb-hero+.tb-section{padding-top:36px}
@media (max-width:768px){.tb-hero+.tb-section{padding-top:24px}}

/* реквизиты ИП — внизу по центру */
.tb-footer__legal{margin:20px 0 0;text-align:center;font-size:13px;color:var(--tb-subtle)}

/* Бонус новым пользователям (акция включается в админке панели) */
.tb-gift-note{display:inline-flex;align-items:center;gap:8px;margin:14px 0 0;padding:7px 14px;border-radius:999px;font-weight:800;font-size:14px;line-height:1.3;
  color:var(--tb-text);background:color-mix(in srgb,var(--tb-accent) 16%,transparent);border:1px solid color-mix(in srgb,var(--tb-accent) 55%,transparent)}
.tb-gift-note .tb-i{width:18px;height:18px;flex:0 0 auto;color:var(--tb-accent)}
.tb-gift-chip{display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 14px;border-radius:999px;font-weight:800;font-size:13px;white-space:nowrap;text-decoration:none;
  color:var(--tb-text);background:color-mix(in srgb,var(--tb-accent) 16%,transparent);border:1px solid color-mix(in srgb,var(--tb-accent) 55%,transparent);transition:background .15s}
.tb-gift-chip:hover{background:color-mix(in srgb,var(--tb-accent) 28%,transparent);color:var(--tb-text)}
.tb-gift-chip .tb-i{width:17px;height:17px;color:var(--tb-accent)}
@media (max-width:1599px){.tb-gift-chip{display:none}} /* шапка тесная: на узких экранах подарок показывается в меню и под кнопками «Регистрация» */

/* ---------------------------------------------------- аудит дизайна 05.10 */
/* Телефон: ссылки подвала и «хлебных крошек» — зона касания не меньше ~40px (было 20px) */
@media (pointer:coarse),(max-width:767px){
  .tb-footer__col ul{gap:2px}
  .tb-footer__col a{display:inline-flex;align-items:center;min-height:40px}
  .tb-crumbs a{display:inline-flex;align-items:center;min-height:36px}
  .tb-head__aside .tb-link-arrow{min-height:40px}
}
/* «Три шага»: кнопка регистрации на телефоне — во всю ширину, как в первом экране */
@media (max-width:560px){.tb-how__text>.tb-btn{width:100%}}
