/* btc-obmen v6 (28.10.2026): смелее и чище — без обводок у блоков, плотные заливки вместо «стекла», цветные плитки, крупная типографика.
   Подключается последним (extra.php). Откат — убрать подключение bold.css. */

body.btco-design {
  --c-border: transparent;
  --c-border-2: transparent;
  --c-surface: #1a2240;
  --c-surface-2: #232c50;
  --shadow: none;
  --v6-card: #1a2240;
  --v6-card-2: #232c50;
  --v6-card-3: #2c3662;
  --v6-line: rgba(169, 155, 255, .3);
  --v6-violet: #6c5ce7;
  --v6-violet-dark: #4b3fd0;
  --v6-lav: #dde2ff;
  --v6-ink: #141a33;
}

/* ---------- линии и элементы, которые раньше рисовались цветом обводки ---------- */
body.btco-design .btco-stepper li::before { background: var(--v6-line); }
body.btco-design .btco-stepper__dot { border-color: transparent !important; background: var(--v6-card-3); }
body.btco-design .btco-timeline::before { background: repeating-linear-gradient(180deg, var(--v6-line) 0 6px, transparent 6px 12px); }
body.btco-design .btco-kyc-steps::before { background: repeating-linear-gradient(90deg, var(--v6-line) 0 6px, transparent 6px 12px); }
body.btco-design .breadcrumb .breadcrumb-item.active::before, body.btco-design .breadcrumb ul li:not(.first)::before { color: rgba(166, 174, 203, .5) !important; }
body.btco-design .btco-loader__steps li::before { border-color: var(--v6-line); }
body.btco-design .checkbox label::before { border: 0 !important; background: var(--v6-card-3) !important; }
body.btco-design .checkbox.checked label::before { background: var(--c-violet) !important; }
body.btco-design .nav-wrapper, body.btco-design .footer, body.btco-design .footer__grid, body.btco-design .btco-footer-bar { border: 0 !important; }
body.btco-design .btco-h__dots { display: none !important; }

/* ---------- плотные заливки вместо полупрозрачных градиентов ---------- */
body.btco-design .btco-tile, body.btco-design .btco-tile--hero, body.btco-design .btco-ex-sum, body.btco-design .btco-kyc-hero,
body.btco-design .log_div_wrap, body.btco-design .reg_div_wrap, body.btco-design .lostpass_div_wrap, body.btco-design .lp_div_wrap, body.btco-design .rf_div_wrap,
body.btco-design .btco-h__form, body.btco-design .widget, body.btco-design .btco-toc, body.btco-design .news-block, body.btco-design .one_reviews_ins,
body.btco-design .sitemap_block, body.btco-design .btco-kyc-sec, body.btco-design .btco-kyc-panel, body.btco-design .btco-faq__item, body.btco-design .btco-method,
body.btco-design .btco-loader__box, body.btco-design .btco-modal__box, body.btco-design .single_news_wrap .news-block.single {
  background: var(--v6-card) !important; border: 0 !important; box-shadow: none !important;
}
body.btco-design .page_wrap, body.btco-design .xchange_div { background: var(--v6-card) !important; border: 0 !important; box-shadow: none !important; border-radius: 28px !important; }
body.btco-design.btco-exchange .xchange_div_col_give, body.btco-design.btco-exchange .xchange_div_col_get, body.btco-design .captcha_div.btco-cap,
body.btco-design .btco-promo__toggle, body.btco-design .btco-kyc-card, body.btco-design .btco-kyc-doc, body.btco-design.btco-exchange .warning_message ol li,
body.btco-design .btco-pay__steps > li, body.btco-design .btco-pay__timer, body.btco-design .btco-h__rate, body.btco-design .btco-hero__eyebrow,
body.btco-design .btco-chip, body.btco-design .btco-copy, body.btco-design .btco-modal__no, body.btco-design .cancel_paybutton, body.btco-design .user-bar__link.link-login {
  background: var(--v6-card-2) !important; border: 0 !important; box-shadow: none !important;
}
body.btco-design.btco-exchange .js_amount, body.btco-design .captcha_reload { background-color: var(--v6-card-3) !important; border: 0 !important; }
body.btco-design.btco-exchange .warning_message_ins { background: var(--v6-card) !important; border: 0 !important; border-radius: 28px !important; }
body.btco-design .btco-ex-addr { background: #262b5e !important; border: 0 !important; }
body.btco-design .btco-ex-sum dl > div, body.btco-design .btco-ex-sum__list, body.btco-design.btco-exchange .captcha_wrapper, body.btco-design .widget_reviews_line { border: 0 !important; }
body.btco-design .btco-ex-sum dl > div + div { margin-top: 2px; }
body.btco-design .btco-kyc-refuse li { border: 0 !important; }
body.btco-design .btco-phone { border: 0 !important; background: #0b1020; box-shadow: none; }
body.btco-design .btco-phone__card { background: var(--v6-violet) !important; }
body.btco-design .btco-tx { border: 0 !important; }
body.btco-design .btco-promo__toggle { padding: 10px 16px 10px 10px; }
body.btco-design .btco-promo__toggle:hover { background: var(--v6-card-3) !important; }

/* ---------- типографика: крупнее и плотнее ---------- */
body.btco-design .btco-h__title { font-size: clamp(46px, 6.4vw, 94px) !important; line-height: .94 !important; letter-spacing: -.035em !important; }
body.btco-design .btco-section-title { font-size: clamp(32px, 4.4vw, 58px) !important; letter-spacing: -.03em !important; line-height: 1.02 !important; }
body.btco-design .btco-kicker {
  display: inline-flex; align-items: center; padding: 6px 12px; margin-bottom: 12px; border-radius: 999px;
  background: var(--c-gold); color: #1a1407 !important; font-size: 12px; letter-spacing: .06em;
}
body.btco-design h1.main-title { font-size: clamp(36px, 4.8vw, 64px) !important; letter-spacing: -.03em; }
body.btco-design h1.main-title::before { width: 56px; height: 6px; border-radius: 6px; }

/* ---------- первый экран ---------- */
body.btco-design .btco-hero__eyebrow { padding: 8px 14px !important; border-radius: 999px !important; font-weight: 700; }
body.btco-design .btco-h__rate { border-radius: 20px !important; padding: 14px 20px !important; }
body.btco-design .btco-h__checks { gap: 8px !important; }
body.btco-design .btco-h__checks li { padding: 9px 14px 9px 38px !important; border-radius: 999px; background: var(--v6-card-2); font-size: 14px !important; }
body.btco-design .btco-h__checks li::before { left: 12px !important; }
body.btco-design .btco-h__form { position: relative; border-radius: 32px !important; padding: 26px 24px 20px !important; }
body.btco-design .btco-h__form::before {
  content: '24/7'; position: absolute; z-index: 3; top: -16px; right: 26px; padding: 8px 12px; border-radius: 14px;
  background: var(--c-gold); color: #1a1407; font: 800 15px/1 var(--font-head); transform: rotate(7deg);
  animation: btco-wiggle 4s ease-in-out infinite;
}
@keyframes btco-wiggle { 0%, 100% { transform: rotate(7deg); } 50% { transform: rotate(-3deg) translateY(-2px); } }

/* бегущая лента — наклонная фиолетовая полоса */
body.btco-design .btco-marquee {
  width: calc(100% + 48px); margin: 50px 0 0 -24px !important; border: 0 !important; transform: rotate(-1.6deg);
  background: var(--v6-violet) !important; -webkit-mask-image: none !important; mask-image: none !important;
}
body.btco-design .btco-marquee__track { padding: 16px 0 !important; gap: 40px !important; }
body.btco-design .btco-marquee__item em { color: #fff !important; font-weight: 700 !important; font-size: 15px !important; }
body.btco-design .btco-marquee__item img { width: 34px !important; height: 34px !important; border-radius: 10px !important; }

/* ---------- бенто: цветные плитки ---------- */
body.btco-design .btco-tile { border-radius: 28px !important; transition: transform .3s cubic-bezier(.2, .8, .2, 1), background-color .3s !important; }
body.btco-design .btco-tile:hover, html.btco-js body.btco-design .btco-tile.btco-reveal.is-in:hover { transform: translateY(-4px) rotate(-.4deg); }
body.btco-design .btco-tile--rate { background: var(--c-gold) !important; }
body.btco-design .btco-tile--rate h3, body.btco-design .btco-tile--rate .btco-tile__big { color: var(--v6-ink) !important; }
body.btco-design .btco-tile--rate p { color: rgba(20, 26, 51, .72) !important; }
body.btco-design .btco-tile--rate .btco-tile__big { font-size: clamp(26px, 2.4vw, 34px) !important; letter-spacing: -.02em; }
body.btco-design .btco-tile--methods { background: var(--v6-violet) !important; }
body.btco-design .btco-tile--methods h3 { color: #fff !important; }
body.btco-design .btco-tile--methods p { color: rgba(255, 255, 255, .85) !important; }
body.btco-design .btco-tile--support { background: var(--v6-lav) !important; }
body.btco-design .btco-tile--support h3 { color: var(--v6-ink) !important; }
body.btco-design .btco-tile--support p { color: rgba(20, 26, 51, .7) !important; }
body.btco-design .btco-tile--support .btco-tile__link { color: var(--v6-violet-dark) !important; font-weight: 800; }
body.btco-design .btco-tile--check { background: var(--v6-card-2) !important; }
body.btco-design .btco-tile__tag { padding: 6px 12px !important; }

/* ---------- способы оплаты ---------- */
body.btco-design .btco-method { border-radius: 22px !important; transition: transform .25s cubic-bezier(.2, .8, .2, 1), background-color .2s !important; }
body.btco-design .btco-method:hover { background: var(--v6-violet) !important; transform: translateY(-3px); }
body.btco-design .btco-method:hover .btco-method__limits, body.btco-design .btco-method:hover .btco-method__rate { color: rgba(255, 255, 255, .85) !important; }
body.btco-design .btco-method:hover .btco-method__go { color: var(--c-gold) !important; }
body.btco-design .btco-chip { border-radius: 999px !important; font-weight: 700; }
body.btco-design .btco-chip.is-active { background: var(--c-gold) !important; color: #1a1407 !important; }

/* ---------- вопросы ---------- */
body.btco-design .btco-faq__item { border-radius: 22px !important; transition: background-color .2s; }
body.btco-design .btco-faq__item:hover { background: var(--v6-card-2) !important; }
body.btco-design .btco-faq__item[open] { background: var(--v6-card-2) !important; }
body.btco-design .btco-faq__item summary::after { border: 0 !important; background: var(--v6-card-3); width: 30px !important; height: 30px !important; }
body.btco-design .btco-faq__item[open] summary::after { background: var(--c-gold); color: #1a1407 !important; }

/* ---------- кнопки: сочнее ---------- */
body.btco-design .xtl_submit, body.btco-design .xchange_submit, body.btco-design .btco-cta__btn, body.btco-design .btco-how__btn,
body.btco-design .btco-aside-cta__btn, body.btco-design .btco-kyc-cta__btn, body.btco-design .success_paybutton {
  border-radius: 18px !important; box-shadow: none !important; transition: transform .2s cubic-bezier(.2, .8, .2, 1), filter .2s !important;
}
body.btco-design .xtl_submit:hover, body.btco-design .xchange_submit:hover, body.btco-design .btco-how__btn:hover, body.btco-design .success_paybutton:hover { transform: translateY(-2px); filter: brightness(1.05); }
body.btco-design .user-bar__link.link-login:hover { background: var(--v6-card-3) !important; }
body.btco-design .footer__link.contacts-tg { background: var(--v6-violet) !important; border: 0 !important; }
body.btco-design .footer__link.contacts-tg:hover { background: var(--c-violet) !important; }

/* ---------- KYC и AML: цветные факты ---------- */
body.btco-design .btco-kyc-fact { border: 0 !important; }
body.btco-design .btco-kyc-fact:nth-child(1) { background: var(--c-gold) !important; }
body.btco-design .btco-kyc-fact:nth-child(2) { background: var(--v6-violet) !important; }
body.btco-design .btco-kyc-fact:nth-child(3) { background: var(--v6-lav) !important; }
body.btco-design .btco-kyc-fact:nth-child(1) b, body.btco-design .btco-kyc-fact:nth-child(3) b { color: var(--v6-ink) !important; }
body.btco-design .btco-kyc-fact:nth-child(1) span, body.btco-design .btco-kyc-fact:nth-child(3) span { color: rgba(20, 26, 51, .72) !important; }
body.btco-design .btco-kyc-fact:nth-child(2) b { color: #fff !important; }
body.btco-design .btco-kyc-fact:nth-child(2) span { color: rgba(255, 255, 255, .85) !important; }
body.btco-design .btco-kyc-card, body.btco-design .btco-kyc-doc, body.btco-design .btco-kyc-panel, body.btco-design .btco-kyc-sec, body.btco-design .btco-kyc-hero { border-radius: 28px !important; }

/* ---------- новости и пагинация ---------- */
body.btco-design .news-block { border-radius: 26px !important; }
body.btco-design .news-block:hover { background: var(--v6-card-2) !important; }
body.btco-design .pagenavi_ins > * { border: 0 !important; background: var(--v6-card) !important; }
body.btco-design .pagenavi_ins > a:hover { background: var(--v6-card-3) !important; }
body.btco-design .pagenavi_ins > .current { background: var(--c-violet) !important; }

/* ---------- страница заявки ---------- */
body.btco-design .btco-checkout__main, body.btco-design .btco-summary, body.btco-design .btco-help { border: 0 !important; box-shadow: none !important; border-radius: 28px !important; }
body.btco-design .btco-badge { border: 0 !important; }

@media (max-width: 600px) {
  body.btco-design .btco-h__form::before { top: -14px; right: 18px; font-size: 13px; }
  body.btco-design .btco-marquee { margin-top: 36px !important; }
}
@media (prefers-reduced-motion: reduce) {
  body.btco-design .btco-h__form::before { animation: none; }
}

/* ---------- живой курс на первом экране ---------- */
body.btco-design .btco-h__rate {
  position: relative; display: inline-grid !important; grid-template-columns: auto; grid-template-areas: "label" "value" "age";
  align-items: center !important; column-gap: 22px !important; row-gap: 2px !important; transition: background-color .4s;
}
body.btco-design .btco-h__rate-label { grid-area: label; }
body.btco-design .btco-h__rate b { grid-area: value; font-size: clamp(24px, 2.4vw, 32px) !important; line-height: 1.15; white-space: nowrap; }
body.btco-design .btco-h__rate-age { grid-area: age; }
body.btco-design .btco-h__rate b { transition: color .4s; }
body.btco-design .btco-rollnum { display: inline-flex; height: 1.1em; line-height: 1.1em; overflow: hidden; vertical-align: top; font-variant-numeric: tabular-nums; }
body.btco-design .btco-roll { display: inline-block; height: 1.1em; overflow: hidden; }
body.btco-design .btco-roll__s { display: block; line-height: 1.1em; transition: transform .9s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
body.btco-design .btco-roll__sep { display: inline-block; width: .26em; }
body.btco-design .btco-h__rate.is-up { background: rgba(61, 220, 151, .16) !important; }
body.btco-design .btco-h__rate.is-down { background: rgba(255, 107, 107, .16) !important; }
body.btco-design .btco-h__rate.is-up b { color: #3ddc97 !important; }
body.btco-design .btco-h__rate.is-down b { color: #ff8f8f !important; }
body.btco-design .btco-rate__delta {
  position: absolute; top: -13px; right: 16px; padding: 4px 10px; border-radius: 999px; font: 800 12px/1.2 var(--font-head);
  opacity: 0; transform: translateY(6px) scale(.9); transition: opacity .3s, transform .35s cubic-bezier(.2, .9, .3, 1.4); pointer-events: none;
}
body.btco-design .btco-rate__delta.is-show { opacity: 1; transform: none; }
body.btco-design .is-up .btco-rate__delta { background: #3ddc97; color: #06261a; }
body.btco-design .is-down .btco-rate__delta { background: #ff6b6b; color: #2a0909; }
body.btco-design .btco-rate__agetxt { font-variant-numeric: tabular-nums; }

/* остатки контуров: обёртка поля адреса и плашка «операция автоматическая» */
body.btco-design .btco-ex-addr .xchange_curs_line, body.btco-design .btco-ex-addr .xchange_curs_line_ins, body.btco-design .btco-ex-addr .xchange_curs_input {
  background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important;
}
body.btco-design .notice_message_ins { border: 0 !important; background: var(--v6-card-2) !important; box-shadow: none !important; }

/* ---------- анимации: переходы между страницами ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: btco-vt-out .2s ease both; }
  ::view-transition-new(root) { animation: btco-vt-in .45s cubic-bezier(.2, .8, .2, 1) both; }
  body.btco-design .nav-wrapper { view-transition-name: btco-head; }
  html.btco-pagein body.btco-design main.main { animation: btco-vt-in .45s cubic-bezier(.2, .8, .2, 1) both; }
  body.btco-design:not(.home) .breadcrumb { animation: btco-up .5s cubic-bezier(.2, .8, .2, 1) both; }
  body.btco-design:not(.home) h1.main-title { animation: btco-up .6s .06s cubic-bezier(.2, .8, .2, 1) both; }
  body.btco-design .btco-ex-steps { animation: btco-up .6s .12s cubic-bezier(.2, .8, .2, 1) both; }
}
@keyframes btco-vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes btco-vt-in { from { opacity: 0; transform: translateY(14px); } }

/* вопросы: высоту анимирует design.js, здесь — значок и текст */
body.btco-design .btco-faq__item { overflow: hidden; }
body.btco-design .btco-faq__item p { transition: opacity .25s; }
body.btco-design .btco-faq__item.is-closing p { opacity: 0; }
body.btco-design .btco-faq__item.is-closing summary::after { transform: translateY(-50%) rotate(0) !important; background: var(--v6-card-3) !important; color: var(--c-gold) !important; }

/* мобильное меню */
@media (prefers-reduced-motion: no-preference) {
  body.btco-design.menu-open .main-menu { animation: btco-menu-in .32s cubic-bezier(.2, .8, .2, 1) both; }
  body.btco-design.menu-open .main-menu .menu-item { animation: btco-up .42s cubic-bezier(.2, .8, .2, 1) both; }
  body.btco-design.menu-open .main-menu .menu-item:nth-child(2) { animation-delay: .04s; }
  body.btco-design.menu-open .main-menu .menu-item:nth-child(3) { animation-delay: .08s; }
  body.btco-design.menu-open .main-menu .menu-item:nth-child(4) { animation-delay: .12s; }
  body.btco-design.menu-open .main-menu .menu-item:nth-child(5) { animation-delay: .16s; }
  body.btco-design.menu-open .main-menu .menu-item:nth-child(n+6) { animation-delay: .2s; }
}
@keyframes btco-menu-in { from { opacity: 0; transform: translateY(-10px) scale(.98); } }

/* ---------- заголовки темы: межстрочный интервал в долях, а не в пикселях (иначе крупный текст режется) ---------- */
body.btco-design h1, body.btco-design h2, body.btco-design h3, body.btco-design .h2-title, body.btco-design .h4-title { line-height: 1.12 !important; }

/* ---------- главная: отзывы ---------- */
body.btco-design.home .reviews .section_ins::before, body.btco-design.home .reviews .section_ins::after,
body.btco-design.home .reviews .section_content_wrapper::before, body.btco-design.home .reviews .section_content_wrapper::after { display: none !important; }
body.btco-design.home .reviews .section_ins { background: transparent !important; border: 0 !important; box-shadow: none !important; }
body.btco-design.home .reviews .section_content_wrapper, body.btco-design.home .reviews .swiper {
  background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important;
}
body.btco-design.home .reviews .section__title {
  display: grid !important; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "kicker kicker" "title buttons";
  align-items: end; gap: 6px 24px; margin: 0 0 24px !important; height: auto !important;
}
body.btco-design.home .reviews .section__title .btco-kicker { grid-area: kicker; justify-self: start; margin: 0 0 4px; }
body.btco-design.home .reviews .section__title .h2-title { grid-area: title; }
body.btco-design.home .reviews .section__title .section-buttons { grid-area: buttons; }
body.btco-design.home .reviews .h2-title { margin: 0 !important; font-size: clamp(32px, 4.4vw, 58px) !important; line-height: 1.02 !important; letter-spacing: -.03em !important; height: auto !important; }
body.btco-design.home .reviews .section-buttons { display: flex !important; align-items: center; gap: 10px; margin: 0 !important; position: static !important; }
body.btco-design.home .reviews .reviews-button-navigation { display: flex; gap: 8px; }
body.btco-design.home .reviews .reviews-button-nav {
  position: static !important; width: 46px !important; height: 46px !important; margin: 0 !important; border-radius: 50% !important;
  background-color: var(--v6-card-2) !important; transition: background-color .2s, transform .2s;
}
body.btco-design.home .reviews .reviews-button-nav:hover { background-color: var(--v6-card-3) !important; transform: translateY(-2px); }
body.btco-design.home .reviews .swiper-button-lock, body.btco-design.home .reviews .swiper-button-disabled.swiper-button-lock { display: none !important; }
body.btco-design.home .reviews .btn-reviews {
  display: inline-flex !important; align-items: center; gap: 8px; height: 46px; padding: 0 20px !important; border-radius: 14px !important; border: 0 !important;
  background: var(--v6-violet) !important; color: #fff !important; font: 800 15px var(--font-head) !important; text-decoration: none !important; transition: transform .2s, background-color .2s;
}
body.btco-design.home .reviews .btn-reviews:hover { transform: translateY(-2px); background: var(--c-violet) !important; }
body.btco-design.home .reviews .btn-reviews::after, body.btco-design.home .reviews .btn-reviews::before { filter: brightness(10); }

body.btco-design.home .reviews .feedback {
  position: relative; display: flex !important; flex-direction: column; gap: 18px; min-height: 210px; height: auto !important;
  padding: 26px 24px 22px !important; border-radius: 26px !important; border: 0 !important; background: var(--v6-card) !important; transition: transform .25s cubic-bezier(.2, .8, .2, 1), background-color .2s;
}
body.btco-design.home .reviews .feedback:hover { transform: translateY(-4px); background: var(--v6-card-2) !important; }
body.btco-design.home .reviews .feedback::before {
  content: '“'; display: block; height: 34px; margin-bottom: -6px; font: 800 72px/1 var(--font-head); color: var(--c-gold);
}
body.btco-design.home .reviews .feedback__text { flex: 1; color: #fff !important; font: 700 19px/1.4 var(--font-head) !important; letter-spacing: -.01em; }
body.btco-design.home .reviews .feedback__title { display: grid !important; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; margin: 0 !important; }
body.btco-design.home .reviews .btco-ava {
  grid-row: 1 / span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--v6-violet); color: #fff; font: 800 17px var(--font-head); text-transform: uppercase;
}
body.btco-design.home .reviews .feedback:nth-child(3n+2) .btco-ava { background: var(--c-gold); color: #1a1407; }
body.btco-design.home .reviews .feedback:nth-child(3n+3) .btco-ava { background: var(--v6-lav); color: var(--v6-ink); }
body.btco-design.home .reviews .feedback__name { display: block; color: #fff !important; font: 800 16px var(--font-head) !important; }
body.btco-design.home .reviews .feedback .time { display: block; color: var(--c-muted) !important; font-size: 13px !important; }
body.btco-design.home .reviews .card-divider { display: none !important; }

/* ---------- главная: текст «Обмен рублей на Bitcoin» ---------- */
body.btco-design.home .hometext-wrapper, body.btco-design.home .hometext-wrapper_ins { background: transparent !important; border: 0 !important; box-shadow: none !important; }
body.btco-design.home .hometext-wrapper_ins { padding: 34px 36px !important; border-radius: 28px !important; background: var(--v6-card) !important; }
body.btco-design.home .hometext-wrapper__title, body.btco-design.home .hometext-wrapper_ins h2, body.btco-design.home .hometext-wrapper_ins h3 {
  margin: 0 0 16px !important; font: 800 clamp(26px, 3vw, 38px)/1.1 var(--font-head) !important; letter-spacing: -.02em; color: #fff;
}
body.btco-design.home .hometext-wrapper__text { columns: 2 320px; column-gap: 44px; }
body.btco-design.home .hometext-wrapper__text h1, body.btco-design.home .hometext-wrapper__text h2, body.btco-design.home .hometext-wrapper__text h3, body.btco-design.home .hometext-wrapper__title { column-span: all; }
body.btco-design.home .hometext-wrapper__text p { break-inside: avoid; margin: 0 0 14px !important; color: #cfd4ea !important; line-height: 1.7; }
@media (max-width: 640px) {
  body.btco-design.home .hometext-wrapper_ins { padding: 22px !important; }
  body.btco-design.home .reviews .section__title { grid-template-columns: 1fr; grid-template-areas: "kicker" "title" "buttons"; align-items: start; }
  body.btco-design.home .reviews .section__title .section-buttons { justify-self: start; }
}

/* ---------- формы входа, регистрации, отзыва: без вложенной рамки, поля на всю ширину ---------- */
body.btco-design .log_div, body.btco-design .log_div_ins, body.btco-design .reg_div, body.btco-design .reg_div_ins,
body.btco-design .lostpass_div, body.btco-design .lostpass_div_ins, body.btco-design .rf_div, body.btco-design .rf_div_ins {
  background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important;
}
body.btco-design .rf_div_ins { width: 100% !important; max-width: none !important; float: none !important; display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
body.btco-design .rf_div_ins > * { grid-column: 1 / -1; }
body.btco-design .rf_div_ins > .field_name_name, body.btco-design .rf_div_ins > .field_name_email { grid-column: auto; }
body.btco-design .rf_div_wrap [class*="_subm"], body.btco-design .rf_div_wrap .rf_line:last-child { width: 100% !important; max-width: none !important; float: none !important; }
body.btco-design .rf_div_wrap input[type="submit"] { width: 100% !important; max-width: none !important; }
body.btco-design .captcha_div.btco-cap { margin: 4px 0 16px !important; }
@media (max-width: 640px) { body.btco-design .rf_div_ins { grid-template-columns: 1fr; } body.btco-design .rf_div_ins > .field_name_name, body.btco-design .rf_div_ins > .field_name_email { grid-column: 1 / -1; } }

/* ---------- страница «Отзывы»: карточки как на главной ---------- */
body.btco-design .one_reviews_ins {
  display: grid !important; grid-template-columns: 42px minmax(0, 1fr); grid-template-areas: "q q" "text text" "ava name" "ava date";
  column-gap: 12px; row-gap: 2px; align-content: start; padding: 24px !important; border-radius: 26px !important;
}
body.btco-design .one_reviews_ins::before { content: '“'; grid-area: q; height: 34px; margin-bottom: -4px; font: 800 72px/1 var(--font-head); color: var(--c-gold); }
body.btco-design .one_reviews_text { grid-area: text; margin: 0 0 16px !important; }
body.btco-design .one_reviews_text p { margin: 0 !important; color: #fff !important; font: 700 19px/1.4 var(--font-head) !important; }
body.btco-design .one_reviews_name { grid-area: name; align-self: end; }
body.btco-design .one_reviews_name span { font: 800 16px var(--font-head) !important; }
body.btco-design .one_reviews_date { grid-area: date; align-self: start; font-size: 13px !important; }
body.btco-design .one_reviews_ins .btco-ava {
  grid-area: ava; align-self: center; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--v6-violet); color: #fff; font: 800 17px var(--font-head); text-transform: uppercase;
}
body.btco-design .one_reviews:nth-child(3n+2) .btco-ava { background: var(--c-gold); color: #1a1407; }
body.btco-design .one_reviews:nth-child(3n+3) .btco-ava { background: var(--v6-lav); color: var(--v6-ink); }

/* ---------- главная: проверяемые факты вместо отзывов, пока отзывов меньше 6 ---------- */
body.btco-design.home.btco-few-reviews .homepage_wrap > .reviews { display: none !important; }
body.btco-design.home .homepage_wrap > .btco-facts { order: 6; }
body.btco-design .btco-facts { padding-top: 64px; }
body.btco-design .btco-facts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
body.btco-design .btco-fact {
  display: flex; flex-direction: column; gap: 12px; min-height: 190px; padding: 24px; border-radius: 28px; background: var(--v6-card);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
body.btco-design .btco-fact:hover, html.btco-js body.btco-design .btco-fact.btco-reveal.is-in:hover { transform: translateY(-4px) rotate(-.4deg); }
body.btco-design .btco-fact b { font: 800 clamp(30px, 3vw, 44px)/1 var(--font-head); letter-spacing: -.03em; color: #fff; }
body.btco-design .btco-fact span { margin-top: auto; color: var(--c-muted); font-size: 15px; line-height: 1.5; }
body.btco-design .btco-fact--gold { background: var(--c-gold); }
body.btco-design .btco-fact--gold b { color: var(--v6-ink); }
body.btco-design .btco-fact--gold span { color: rgba(20, 26, 51, .72); }
body.btco-design .btco-fact--violet { background: var(--v6-violet); }
body.btco-design .btco-fact--violet span { color: rgba(255, 255, 255, .85); }
body.btco-design .btco-fact--lav { background: var(--v6-lav); }
body.btco-design .btco-fact--lav b { color: var(--v6-ink); }
body.btco-design .btco-fact--lav span { color: rgba(20, 26, 51, .7); }
@media (max-width: 991px) { body.btco-design .btco-facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { body.btco-design .btco-facts__grid { grid-template-columns: 1fr; } body.btco-design .btco-fact { min-height: 0; } }

/* ---------- страница заявки: «Как прошёл обмен?» с формой отзыва ---------- */
body.btco-design .btco-review { margin: 18px 0 6px; padding: 22px; border-radius: 24px; background: #262b5e; }
body.btco-design .btco-review__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
body.btco-design .btco-review__head img { width: 52px; height: 52px; flex: none; }
body.btco-design .btco-review__head b { display: block; font: 800 20px/1.2 var(--font-head); color: #fff; }
body.btco-design .btco-review__head span { display: block; margin-top: 2px; color: var(--c-muted); font-size: 14px; line-height: 1.45; }
body.btco-design .btco-review .rf_div_wrap { max-width: none !important; margin: 0 !important; padding: 0 !important; background: transparent !important; box-shadow: none !important; border-radius: 0 !important; }
body.btco-design .btco-review .rf_div_title { display: none !important; }
body.btco-design .btco-review .captcha_div.btco-cap { background: rgba(255, 255, 255, .06) !important; }

/* ---------- P1 (28.10): доступность способов, запасной способ, изменённая сумма ---------- */
/* серые способы в списках PE (метка по отказам bitb00, design.js availPolish) */
body.btco-design .select_js_ulli.btco-na .select_ico { filter: grayscale(1); opacity: .5; }
body.btco-design .select_js_ulli.btco-na .select_txt { color: rgba(238, 241, 251, .55) !important; }
body.btco-design .btco-na__t {
  display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; vertical-align: 1px;
  background: var(--v6-card-3); color: rgba(238, 241, 251, .75); font: 700 11px/1.5 var(--font-body); letter-spacing: .02em;
}
body.btco-design .select_js_title .btco-na__t { display: none; }
/* карточки способов на главной */
body.btco-design .btco-method.is-na { background: var(--v6-card) !important; }
body.btco-design .btco-method.is-na .btco-method__logo { filter: grayscale(1); opacity: .55; }
body.btco-design .btco-method.is-na .btco-method__name, body.btco-design .btco-method.is-na .btco-method__rate { opacity: .6; }
/* пометка — отдельной строкой под текстом: в колонке «Обменять →» она сжимала лимиты */
body.btco-design .btco-method.is-na { grid-template-columns: 52px 1fr; grid-template-areas: "logo name" "logo limits" "logo rate" "logo na"; }
body.btco-design .btco-method__na {
  grid-area: na; justify-self: start; margin-top: 6px; padding: 4px 11px; border-radius: 999px; white-space: nowrap;
  background: var(--v6-card-3); color: rgba(238, 241, 251, .8); font: 700 12px/1.3 var(--font-body);
}
@media (max-width: 600px) { body.btco-design .btco-method.is-na { grid-template-columns: 44px 1fr; } }
body.btco-design .btco-method.is-na:hover { background: var(--v6-card-2) !important; transform: none; }
/* кнопки «оплатить другим способом» под ошибкой формы */
body.btco-design .btco-alt { margin-top: 14px; }
body.btco-design .btco-alt__t { display: block; margin-bottom: 8px; font-weight: 700; }
body.btco-design .btco-alt__list { display: flex; flex-wrap: wrap; gap: 8px; }
body.btco-design .btco-alt__btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; text-decoration: none !important;
  background: var(--c-gold); color: #1a1407 !important; font: 800 14px/1.2 var(--font-body);
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), filter .2s;
}
body.btco-design .btco-alt__btn::after { content: "→"; transition: transform .2s; }
body.btco-design .btco-alt__btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
body.btco-design .btco-alt__btn:hover::after { transform: translateX(3px); }
/* сумма изменена на несколько рублей (повтор после «спам-дубля» bitb00) */
body.btco-design .btco-pay__shift {
  margin-top: 8px; padding: 10px 14px; border-radius: 14px; background: rgba(245, 197, 66, .14);
  color: #ffe7a3; font-size: 14px; line-height: 1.45; font-weight: 600;
}
/* подвал: 8 ссылок на документы (28.10) — две колонки вместо длинного столбца */
@media (min-width: 768px) {
  body.btco-design .footer__menu { display: grid !important; grid-template-columns: repeat(2, minmax(0, auto)); grid-template-rows: repeat(4, auto); grid-auto-flow: column; column-gap: 36px; row-gap: 0; }
}

/* ---------- этап 4 аудита (28.10): форма главной, закреплённая кнопка, оглавление на мобильном ---------- */
/* одно поле «Вы получите» (после комиссии сети) вместо двух полей BTC */
body.btco-design .btco-h__form .xtl_right_col.btco-get1 .xtl_input_wrap { display: none !important; }
body.btco-design .btco-get1__label { margin: 10px 0 6px; color: var(--c-muted); font: 700 12px/1.2 var(--font-body); letter-spacing: .06em; text-transform: uppercase; }
body.btco-design .btco-h__form .xtl_right_col.btco-get1 .xtl_commis_wrap { margin-top: 0 !important; }
body.btco-design .btco-h__form .xtl_right_col.btco-get1 .xtl_commis_text { color: var(--c-muted) !important; font-size: 12px !important; }
/* закреплённая кнопка «Купить Bitcoin» на мобильном (справа место под кнопку чата) */
.btco-mcta { display: none; }
@media (max-width: 767px) {
  body.btco-design .btco-mcta {
    display: flex; position: fixed; z-index: 900; left: 14px; right: 84px; bottom: 14px; height: 52px; align-items: center; justify-content: center;
    border-radius: 16px; background: var(--c-gold); color: #1a1407 !important; font: 800 16px/1 var(--font-body); text-decoration: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .3s;
  }
  body.btco-design .btco-mcta.is-hidden, body.btco-design .btco-mcta.is-foot { transform: translateY(160%); opacity: 0; pointer-events: none; }
}
/* оглавление длинных документов на мобильном — сворачиваемое, над текстом */
body.btco-design .btco-toc--m { position: static; margin: 0 0 18px; padding: 14px 18px; border-radius: 18px; background: var(--v6-card-2); }
body.btco-design .btco-toc--m > summary { cursor: pointer; font: 800 15px/1.3 var(--font-head); color: #fff; list-style: none; }
body.btco-design .btco-toc--m > summary::-webkit-details-marker { display: none; }
body.btco-design .btco-toc--m > summary::after { content: "+"; float: right; color: var(--c-gold); font-size: 18px; line-height: 1; }
body.btco-design .btco-toc--m[open] > summary::after { content: "−"; }
body.btco-design .btco-toc--m ol { margin: 10px 0 0; padding-left: 20px; max-height: none; }
body.btco-design .btco-toc--m li { margin: 0 0 6px; font-size: 14px; }
body.btco-design .btco-toc.btco-toc--m { display: block !important; }
/* JivoSite в виде плашки внизу (узкие окна) — кнопку «Купить Bitcoin» поднимаем над ней */
@media (max-width: 767px) { body.btco-design.btco-jivo-bar .btco-mcta { bottom: 64px; right: 14px; } }

/* ---------- продажа BTC: выбор банка для СБП (форма обмена) ---------- */
body.btco-design .btco-bank { margin-top: 16px; }
body.btco-design .btco-bank__label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--c-text); }
body.btco-design .btco-bank__in { position: relative; }
body.btco-design .btco-bank__q { width: 100% !important; height: 58px !important; padding: 0 16px !important; border-radius: 14px !important; border: 2px solid transparent !important;
  background: var(--c-input) !important; color: var(--c-input-text) !important; font-size: 16px !important; font-weight: 600 !important; box-shadow: none !important; }
body.btco-design .btco-bank__q:focus { outline: none; background: #fff !important; border-color: var(--c-violet) !important; }
body.btco-design .btco-bank__q:disabled { opacity: .6; cursor: not-allowed; }
body.btco-design .btco-bank.is-ok .btco-bank__q { border-color: var(--c-success) !important; }
body.btco-design .btco-bank.is-bad .btco-bank__q { border-color: var(--c-danger) !important; }
body.btco-design .btco-bank__list { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; max-height: 290px; overflow: auto;
  border-radius: 14px; background: #1b1f48; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
body.btco-design .btco-bank__list[hidden] { display: none; }
body.btco-design .btco-bank__list li { margin: 0; padding: 11px 12px; border-radius: 10px; cursor: pointer; color: #fff; font-size: 15px; line-height: 1.3; }
body.btco-design .btco-bank__list li:hover, body.btco-design .btco-bank__list li:focus { background: #343a85; outline: none; }
body.btco-design .btco-bank__list li.is-empty { color: var(--c-muted); cursor: default; background: transparent; }
body.btco-design .btco-bank__hint { margin-top: 8px; font-size: 13px; line-height: 1.4; color: var(--c-muted); }
body.btco-design .btco-bank.is-bad .btco-bank__hint { color: #ff9b9b; }

/* ---------- переключатель «Купить / Продать» (главная и форма обмена) ---------- */
body.btco-design .btco-mode { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 18px; border-radius: 14px; background: #171a3d; }
body.btco-design .btco-mode a { padding: 10px 20px; border-radius: 10px; font-size: 15px; font-weight: 700; line-height: 1.2; color: #b9bde6; text-decoration: none; transition: background-color .2s, color .2s; }
body.btco-design .btco-mode a:hover { color: #fff; }
body.btco-design .btco-mode a.is-active { background: #eeb865; color: #1a1407; }
body.btco-design .btco-mode--home { display: flex; margin: 0 0 14px; }
body.btco-design .btco-mode--home a { flex: 1; text-align: center; }
@media (max-width: 600px) { body.btco-design .btco-mode { display: flex; } body.btco-design .btco-mode a { flex: 1; text-align: center; padding: 10px 8px; font-size: 14px; } }
