/* =====================================================================
   home-live.css — «живые» витрины главной вместо скриншотов (18.11.2026)
   Мини-дашборд канала (.hl-sc) и три витрины каталогов (.hl-mini).
   Размеры — от ширины блока (cqw), поэтому одинаково аккуратно на ПК и телефоне.
   Анимации только transform/opacity/stroke (дёшево), работают лишь пока блок на экране.
   ===================================================================== */

/* ---------- общий хост витрины «Аналитика» ---------- */
.analytics-showcase.hl-host { display: flex; flex-direction: column; padding: 10px; gap: 0; }
.hl-sc {
    position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0;
    container-type: inline-size; font-family: Inter, system-ui, -apple-system, sans-serif; color: #0f172a;
}
.hl-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hl-live {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px;
    background: rgba(255,255,255,.9); border: 1px solid rgba(15,23,42,.07); box-shadow: 0 5px 14px rgba(15,23,42,.07);
    font-size: clamp(8.5px, 2.1cqw, 11px); font-weight: 700; white-space: nowrap;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hl-live i { width: 6px; height: 6px; border-radius: 50%; background: #26e696; box-shadow: 0 0 0 2.5px rgba(38,230,150,.22), 0 0 8px rgba(38,230,150,.75); animation: hlPulse 1.8s ease-in-out infinite; }
.hl-dots { display: inline-flex; gap: 5px; }
.hl-dot { position: relative; width: 18px; height: 5px; padding: 0; border: 0; border-radius: 99px; background: rgba(15,23,42,.1); cursor: pointer; overflow: hidden; }
.hl-dot.on { width: 30px; background: rgba(20,165,255,.18); }
.hl-dot i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #14a5ff, #18d2a8); border-radius: inherit; }
.hl-dot.on i { transform: scaleX(1); }
.hl-js .hl-sc .hl-dot.on i { transform: scaleX(0); animation: hlProg var(--rot, 6.5s) linear forwards; animation-play-state: paused; }
.hl-js .hl-sc.hl-run:not(.hl-hover) .hl-dot.on i { animation-play-state: running; }

/* ---------- сцена со слайдами (все слайды в одной клетке сетки — высота не прыгает) ---------- */
.hl-stage { flex: 1; display: grid; min-height: 0; }
.hl-slide {
    grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; gap: 8px; min-width: 0;
    opacity: 0; visibility: hidden; transform: translateY(8px) scale(.99);
    transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1), visibility 0s linear .5s;
}
.hl-slide.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.hl-card {
    position: relative; min-width: 0; background: #fff; border: 1px solid #e8eef6; border-radius: 13px;
    box-shadow: 0 10px 24px rgba(15,23,42,.07); padding: clamp(9px, 2.6cqw, 14px); color: inherit; text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
a.hl-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(16,185,129,.16); border-color: rgba(24,210,168,.35); }
.hl-main { grid-column: 1 / -1; display: flex; flex-direction: column; gap: clamp(5px, 1.5cqw, 9px); box-shadow: 0 14px 30px rgba(16,185,129,.13); }

.hl-ch { display: flex; align-items: center; gap: 9px; min-width: 0; }
.hl-ava { width: clamp(28px, 7.5cqw, 38px); height: clamp(28px, 7.5cqw, 38px); border-radius: 50%; object-fit: cover; flex-shrink: 0; background: #e0f2fe; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px rgba(24,210,168,.45); }
.hl-ava-l { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 13px; background: linear-gradient(135deg, #14a5ff, #18d2a8); }
.hl-ch-t { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.hl-ch-t b { font-size: clamp(11px, 3cqw, 14px); font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.01em; }
.hl-ch-t small { font-size: clamp(8.5px, 2.2cqw, 11px); color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-rate { display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px; border-radius: 99px; background: linear-gradient(135deg, #fff7ed, #fef3c7); color: #b45309; font-size: clamp(9px, 2.3cqw, 11.5px); font-weight: 800; flex-shrink: 0; }
.hl-rate svg { width: 11px; height: 11px; fill: #f59e0b; }

.hl-kpi { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.hl-lbl { font-size: clamp(8px, 2cqw, 10.5px); font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .04em; }
.hl-kpi .hl-lbl:first-child { width: 100%; }
.hl-big { font-size: clamp(19px, 6cqw, 30px); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.hl-per { text-transform: none; letter-spacing: 0; font-weight: 600; }
.hl-delta { font-size: clamp(9px, 2.3cqw, 11.5px); font-weight: 800; padding: 2px 7px; border-radius: 99px; font-variant-numeric: tabular-nums; }
.hl-delta.up { color: #047857; background: rgba(16,185,129,.12); }
.hl-delta.dn { color: #b91c1c; background: rgba(239,68,68,.1); }

.hl-plot { position: relative; flex: 1; min-height: clamp(70px, 22cqw, 150px); margin: 0 -2px; }
.hl-plot .hl-chart, .hl-spark .hl-chart { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hl-grid { stroke: #eef2f7; stroke-width: 1; vector-effect: non-scaling-stroke; }
.hl-pt { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #fff; border: 2.5px solid var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent); }

.hl-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; }
.hl-stats > span { display: flex; flex-direction: column; gap: 1px; padding: 6px 8px; border-radius: 9px; background: #f8fafc; border: 1px solid #eef2f7; min-width: 0; }
.hl-stats > span > small { font-size: clamp(7.5px, 1.9cqw, 9.5px); color: #94a3b8; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.hl-stats > span > b { font-size: clamp(10.5px, 2.9cqw, 14px); font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hl-g { color: #059669; } .hl-v { color: #7c3aed; } .hl-up { color: #059669; } .hl-dn { color: #dc2626; }

.hl-tile { display: flex; flex-direction: column; gap: 5px; }
.hl-tile-h { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.hl-tile-h b { font-size: clamp(12px, 3.4cqw, 17px); font-weight: 800; font-variant-numeric: tabular-nums; }
.hl-tile .hl-lbl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-bars, .hl-spark { width: 100%; height: clamp(34px, 11cqw, 64px); display: block; }
.hl-spark { position: relative; }
.hl-bar.up { fill: #18d2a8; }
.hl-bar.dn { fill: #f87171; }
.hl-sub { font-size: clamp(8px, 2cqw, 10px); color: #64748b; font-weight: 600; }
.hl-sub .hl-cnt { color: #0f172a; font-weight: 800; }

/* ---------- анимации дашборда (только если работает скрипт — без него всё видно сразу) ---------- */
.hl-js .hl-sc .hl-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.hl-js .hl-sc .hl-area, .hl-js .hl-sc .hl-pt { opacity: 0; }
.hl-js .hl-sc .hl-bar { transform: scaleY(0); transform-box: fill-box; }
.hl-js .hl-sc .hl-bar.up { transform-origin: 50% 100%; }
.hl-js .hl-sc .hl-bar.dn { transform-origin: 50% 0; }
.hl-js .hl-sc.hl-in .on .hl-line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s cubic-bezier(.25,.8,.25,1) .15s; }
.hl-js .hl-sc.hl-in .on .hl-area { opacity: 1; transition: opacity .9s ease .7s; }
.hl-js .hl-sc.hl-in .on .hl-pt { opacity: 1; transition: opacity .4s ease 1.5s; }
.hl-js .hl-sc.hl-in.hl-run .on .hl-pt { animation: hlPing 2.2s ease-out 1.8s infinite; }
.hl-js .hl-sc.hl-in .on .hl-bar { transform: none; transition: transform .55s cubic-bezier(.2,.9,.3,1.2) calc(var(--d) + .25s); }

/* ---------- витрины каталогов (вместо скриншотов в карточках) ---------- */
.cat-card-image:has(.hl-box) { background: linear-gradient(160deg, #f8fbff 0%, #f1fbf7 100%); }
.hl-box { width: 100%; height: 100%; container-type: inline-size; }
.hl-mini {
    width: 100%; height: 100%; box-sizing: border-box; padding: 4.2cqw 4.2cqw 3.4cqw; display: flex; flex-direction: column; gap: 2.4cqw;
    overflow: hidden; font-family: Inter, system-ui, -apple-system, sans-serif; color: #0f172a; position: relative;
}
.hl-mini > * { min-width: 0; }
.hl-win { display: flex; align-items: center; gap: 1.3cqw; flex-shrink: 0; }
.hl-win i { width: 2.1cqw; height: 2.1cqw; border-radius: 50%; background: #fca5a5; }
.hl-win i:nth-child(2) { background: #fcd34d; } .hl-win i:nth-child(3) { background: #86efac; }
.hl-win span { margin-left: 1.5cqw; flex: 1; padding: .9cqw 3cqw; border-radius: 99px; background: #fff; border: 1px solid #e8eef6; color: #64748b; font-size: 2.9cqw; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* каталог */
.hl-thead, .hl-row { display: grid; grid-template-columns: 5% 1fr 15% 19% 20%; align-items: center; gap: 1.5cqw; }
.hl-thead { padding: 1.4cqw 2.4cqw; border-radius: 2.4cqw; background: linear-gradient(90deg, #0f766e, #0e7490); color: #e6fffb; font-size: 2.6cqw; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; flex-shrink: 0; }
.hl-thead span:nth-child(n+3), .hl-row > span:nth-child(n+3) { text-align: right; }
.hl-rows { position: relative; flex: 1; display: grid; grid-template-rows: repeat(var(--n), 1fr); min-height: 0; }
.hl-row { position: relative; z-index: 1; padding: 0 2.4cqw; border-bottom: 1px solid #eef2f7; font-size: 3cqw; font-variant-numeric: tabular-nums; }
.hl-row:last-child { border-bottom: 0; }
.hl-n { color: #94a3b8; font-weight: 800; }
.hl-rc { display: flex; align-items: center; gap: 1.8cqw; min-width: 0; }
.hl-rc b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-ava-s { width: 6.4cqw; height: 6.4cqw; box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px rgba(24,210,168,.4); font-size: 3cqw; }
.hl-rs { font-weight: 700; }
.hl-re { display: flex; align-items: center; justify-content: flex-end; gap: 1.2cqw; font-weight: 800; color: #059669; }
.hl-re em { width: 6cqw; height: 1.2cqw; border-radius: 99px; background: linear-gradient(90deg, #26e696 var(--w), #e2e8f0 var(--w)); transform-origin: left; }
.hl-rp { font-weight: 800; white-space: nowrap; }
.hl-scan { position: absolute; left: 0; right: 0; top: 0; height: calc(100% / var(--n)); border-radius: 2.4cqw; background: linear-gradient(90deg, rgba(20,165,255,.10), rgba(24,210,168,.16)); box-shadow: inset 0 0 0 1px rgba(24,210,168,.35); opacity: 0; }

/* скидки */
.hl-note { font-size: 2.8cqw; color: #64748b; font-weight: 600; text-align: center; }
.hl-tk { flex: 1; display: flex; align-items: center; gap: 2.4cqw; padding: 0 3cqw; border-radius: 3cqw; background: #fff; border: 1px solid #f1e7d8; box-shadow: 0 2cqw 4cqw rgba(15,23,42,.05); min-height: 0; position: relative; }
.hl-tk::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1cqw; border-radius: 0 99px 99px 0; background: linear-gradient(#f59e0b, #ef4444); }
.hl-mdisc .hl-ava { width: 8.6cqw; height: 8.6cqw; }
.hl-tk-t { flex: 1; display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.hl-tk-t b { font-size: 3.3cqw; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-tk-t small { font-size: 2.6cqw; color: #94a3b8; font-weight: 600; }
.hl-tk-p { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; font-variant-numeric: tabular-nums; }
.hl-old { position: relative; font-size: 2.6cqw; color: #94a3b8; text-decoration: none; white-space: nowrap; }
.hl-old::after { content: ""; position: absolute; left: -4%; right: -4%; top: 52%; height: 1.5px; background: #ef4444; border-radius: 2px; transform-origin: left; }
.hl-new { font-size: 3.6cqw; font-weight: 800; color: #047857; white-space: nowrap; }
.hl-badge { flex-shrink: 0; padding: 1cqw 2.2cqw; border-radius: 99px; background: linear-gradient(135deg, #f97316, #ef4444); color: #fff; font-size: 3cqw; font-weight: 800; box-shadow: 0 1.5cqw 3cqw rgba(239,68,68,.3); font-variant-numeric: tabular-nums; }

/* опт: «канал + канал + канал → итог» */
.hl-wh-top { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; flex-shrink: 0; }
.hl-wh-name { display: flex; align-items: center; gap: 1.6cqw; min-width: 0; }
.hl-wh-name svg { width: 4.4cqw; height: 4.4cqw; flex-shrink: 0; fill: none; stroke: #7e22ce; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hl-wh-name b { font-size: 3.3cqw; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-wh-top small { flex-shrink: 0; padding: .8cqw 2cqw; border-radius: 99px; background: rgba(168,85,247,.1); color: #7e22ce; font-size: 2.5cqw; font-weight: 800; white-space: nowrap; }
.hl-wh-sum { flex: 1; display: flex; align-items: stretch; justify-content: center; gap: 1.4cqw; min-height: 0; }
.hl-wh-ch {
    flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3cqw;
    padding: 2.2cqw 1.2cqw 1.6cqw; border-radius: 3cqw; background: #fff; border: 1px solid #ede4fb; box-shadow: 0 2cqw 4cqw rgba(126,34,206,.07);
    color: inherit; text-decoration: none; text-align: center; transition: transform .25s ease, box-shadow .25s ease;
}
.hl-wh-ch > * { flex-shrink: 0; }
.hl-wh-ch:hover { transform: translateY(-.8cqw); box-shadow: 0 3cqw 6cqw rgba(126,34,206,.14); }
.hl-wh-ch b { max-width: 100%; margin-top: .4cqw; font-size: 2.7cqw; font-weight: 800; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-wh-ch small { font-size: 2.6cqw; font-weight: 800; color: #7e22ce; font-variant-numeric: tabular-nums; }
.hl-wh-plus { align-self: center; flex-shrink: 0; width: 5cqw; height: 5cqw; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #6366f1); color: #fff; font-style: normal; font-weight: 800; font-size: 3.6cqw; line-height: 1; box-shadow: 0 1.2cqw 2.6cqw rgba(99,102,241,.35); }
.hl-wh-arrow { display: flex; align-items: center; gap: 1.6cqw; flex-shrink: 0; }
.hl-wh-arrow i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, #d8c7f5, transparent); }
.hl-wh-arrow svg { width: 4.2cqw; height: 4.2cqw; fill: none; stroke: #8b5cf6; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.hl-wh-res { display: flex; align-items: center; gap: 2.6cqw; padding: 2.2cqw 3cqw; border-radius: 3cqw; flex-shrink: 0;
    background: linear-gradient(135deg, #faf5ff, #eef2ff); border: 1px solid #e4d7fb; }
.hl-wh-k { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.hl-wh-k small { font-size: 2.3cqw; color: #94a3b8; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.hl-wh-k b { font-size: 3.8cqw; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hl-wh-save b { color: #047857; }
.hl-wh-pr { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.hl-wh-pr .hl-new { font-size: 4cqw; }
.hl-mwh .hl-badge { background: linear-gradient(135deg, #a855f7, #6366f1); box-shadow: 0 1.5cqw 3cqw rgba(99,102,241,.3); }
.hl-wh-btn { display: block; text-decoration: none; position: relative; overflow: hidden; flex-shrink: 0; text-align: center; padding: 2cqw; border-radius: 2.6cqw; background: linear-gradient(135deg, #10b981, #0ea5e9); color: #fff; font-size: 3cqw; font-weight: 800; }
.hl-wh-btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); opacity: 0; }
.hl-row, .hl-tk { color: inherit; text-decoration: none; }
.hl-row:hover .hl-rc b, .hl-tk:hover .hl-tk-t b { color: #0284c7; }
.hl-left { font-style: normal; color: #ea580c; font-weight: 800; }

/* старое правило главной «.cat-card-image img» (растянуть скриншот) не должно трогать аватарки витрин */
.hl-box img.hl-ava { padding: 0; border-radius: 50%; max-width: none; object-fit: cover; }
.hl-box .hl-ava-s { width: 6.4cqw; height: 6.4cqw; }
.hl-box .hl-mdisc .hl-ava { width: 8.6cqw; height: 8.6cqw; }
.hl-box .hl-wh-ch .hl-ava { width: 6.6cqw; height: 6.6cqw; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(168,85,247,.45); }

/* ---------- анимации витрин ---------- */
.hl-js .hl-mini .hl-row, .hl-js .hl-mini .hl-tk, .hl-js .hl-mini .hl-wh-ch { opacity: 0; transform: translateY(2.4cqw); }
.hl-js .hl-mini .hl-wh-plus { opacity: 0; transform: scale(.3) rotate(-90deg); }
.hl-js .hl-mini .hl-wh-arrow, .hl-js .hl-mini .hl-wh-res { opacity: 0; transform: translateY(-1.5cqw); }
.hl-js .hl-mini .hl-re em, .hl-js .hl-mini .hl-old::after { transform: scaleX(0); }
.hl-js .hl-mini .hl-new { opacity: 0; transform: translateY(1.5cqw); }
.hl-js .hl-mini .hl-badge { opacity: 0; transform: scale(.4) rotate(-12deg); }
.hl-js .hl-mini.hl-in .hl-row, .hl-js .hl-mini.hl-in .hl-tk, .hl-js .hl-mini.hl-in .hl-wh-ch {
    opacity: 1; transform: none; transition: opacity .5s ease var(--d, 0ms), transform .6s cubic-bezier(.2,.8,.2,1) var(--d, 0ms);
}
.hl-js .hl-mini.hl-in .hl-wh-plus { opacity: 1; transform: none; transition: opacity .3s ease var(--d), transform .5s cubic-bezier(.2,1.5,.4,1) var(--d); }
.hl-js .hl-mini.hl-in .hl-wh-arrow { opacity: 1; transform: none; transition: opacity .4s ease .75s, transform .5s ease .75s; }
.hl-js .hl-mini.hl-in .hl-wh-res { opacity: 1; transform: none; transition: opacity .5s ease .95s, transform .6s cubic-bezier(.2,.8,.2,1) .95s; }
.hl-js .hl-mini.hl-in .hl-re em { transform: none; transition: transform .8s cubic-bezier(.2,.8,.2,1) .6s; }
.hl-js .hl-mini.hl-in .hl-old::after { transform: none; transition: transform .45s ease calc(var(--d, 0ms) + .7s); }
.hl-js .hl-mini.hl-in .hl-tk .hl-old::after { transition-delay: calc(var(--d) + .7s); }
.hl-js .hl-mini.hl-in .hl-new { opacity: 1; transform: none; transition: opacity .4s ease 1.05s, transform .5s cubic-bezier(.2,.9,.3,1.3) 1.05s; }
.hl-js .hl-mini.hl-in .hl-tk .hl-new { transition-delay: calc(var(--d) + 1.05s); }
.hl-js .hl-mini.hl-in .hl-badge { opacity: 1; transform: none; transition: opacity .3s ease 1.3s, transform .5s cubic-bezier(.2,1.4,.4,1) 1.3s; }
.hl-js .hl-mini.hl-in .hl-tk .hl-badge { transition-delay: calc(var(--d) + 1.3s); }
.hl-mini.hl-run .hl-scan { animation: hlScan 10s cubic-bezier(.65,0,.35,1) 1.2s infinite; }
.hl-mini.hl-run .hl-badge { animation: hlBadge 2.8s ease-in-out 2.4s infinite; }
.hl-mini.hl-run .hl-wh-arrow svg { animation: hlBob 2s ease-in-out 1.4s infinite; }
.hl-mini.hl-run .hl-wh-btn::after { animation: hlShine 3.6s ease-in-out 1.6s infinite; }

@keyframes hlPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.82); } }
@keyframes hlProg { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hlPing { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 45%, transparent); } 70%, 100% { box-shadow: 0 0 0 10px transparent; } }
@keyframes hlScan {
    0%, 2% { opacity: 0; transform: translateY(0); } 6%, 16% { opacity: 1; transform: translateY(0); }
    22%, 36% { opacity: 1; transform: translateY(100%); } 42%, 56% { opacity: 1; transform: translateY(200%); }
    62%, 76% { opacity: 1; transform: translateY(300%); } 82%, 94% { opacity: 1; transform: translateY(400%); } 100% { opacity: 0; transform: translateY(400%); }
}
@keyframes hlBadge { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.12) rotate(-3deg); } 90% { transform: scale(.98); } }
@keyframes hlBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(.8cqw); } }
@keyframes hlShine { 0%, 60% { left: -40%; opacity: 0; } 65% { opacity: 1; } 95%, 100% { left: 120%; opacity: 0; } }

/* анимации на паузе, когда блок не на экране */
.hl-mini:not(.hl-run) *, .hl-sc:not(.hl-run) .hl-live i { animation-play-state: paused !important; }

/* ---------- телефон ---------- */
@media (max-width: 992px) {
    .analytics-showcase.hl-host { padding: 8px; }
    .hl-sc { gap: 7px; }
    .hl-slide { gap: 7px; }
    .hl-card { border-radius: 11px; }
    .hl-plot { min-height: 30cqw; }
}

/* ---------- кто просит меньше движения — без анимаций, сразу итог ---------- */
@media (prefers-reduced-motion: reduce) {
    .hl-sc *, .hl-mini * { animation: none !important; transition: none !important; }
    .hl-js .hl-sc .hl-line { stroke-dashoffset: 0; } .hl-js .hl-sc .hl-area, .hl-js .hl-sc .hl-pt { opacity: 1; } .hl-js .hl-sc .hl-bar { transform: none; }
    .hl-js .hl-mini .hl-row, .hl-js .hl-mini .hl-tk, .hl-js .hl-mini .hl-wh-ch, .hl-js .hl-mini .hl-wh-plus, .hl-js .hl-mini .hl-wh-arrow, .hl-js .hl-mini .hl-wh-res, .hl-js .hl-mini .hl-new, .hl-js .hl-mini .hl-badge { opacity: 1; transform: none; }
    .hl-js .hl-mini .hl-re em, .hl-js .hl-mini .hl-old::after { transform: none; }
}

/* =====================================================================
   «Инструменты продвижения» — мини-иллюстрации в тёмных карточках (18.11.2026, v2)
   шапка экрана (где окажется канал + цена в токенах) и сцена с анимацией
   ===================================================================== */
.promo-card { position: relative; }
.hl-pv-link { position: absolute; inset: 0; z-index: 5; border-radius: inherit; }
.promo-card:has(.hl-pv-link) { cursor: pointer; }
.hl-pv { width: 100%; aspect-ratio: 16 / 10.4; height: auto; margin-bottom: 14px; border-radius: 12px; overflow: hidden; position: relative;
    background: radial-gradient(120% 90% at 0% 0%, rgba(38,230,150,.16), transparent 60%), radial-gradient(90% 80% at 100% 100%, rgba(20,165,255,.14), transparent 60%), rgba(4,20,30,.4);
    border: 1px solid rgba(255,255,255,.12); transition: border-color .25s ease, box-shadow .25s ease; }
.promo-card:hover .hl-pv { border-color: rgba(38,230,150,.55); box-shadow: 0 0 0 1px rgba(38,230,150,.25), 0 10px 30px rgba(38,230,150,.18); }
.hl-pvi { position: absolute; inset: 0; padding: 3.6cqw 4cqw 4cqw; display: flex; flex-direction: column; gap: 3cqw; font-family: Inter, system-ui, -apple-system, sans-serif; color: #e2e8f0; }
.hl-pv-bar { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; flex-shrink: 0; }
.hl-pv-ctx { display: inline-flex; align-items: center; gap: 1.4cqw; padding: 1cqw 2.6cqw 1cqw 1.8cqw; border-radius: 99px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
    font-size: 3.2cqw; font-weight: 700; color: #cbd5e1; white-space: nowrap; }
.hl-pv-ctx svg { width: 3.8cqw; height: 3.8cqw; fill: none; stroke: #5eead4; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hl-pv-tok { display: inline-flex; align-items: center; gap: 1cqw; padding: 1cqw 2.6cqw; border-radius: 99px; background: rgba(38,230,150,.14); border: 1px solid rgba(38,230,150,.35);
    font-size: 3.2cqw; font-weight: 800; color: #5eead4; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hl-pv-tok i { font-style: normal; font-size: .9em; }
.hl-pv-body { position: relative; flex: 1; min-height: 0; }
.hl-pvi .hl-ava { width: 6.6cqw; height: 6.6cqw; border-radius: 50%; object-fit: cover; padding: 0; flex-shrink: 0; box-shadow: 0 0 0 1.5px rgba(255,255,255,.25); font-size: 3cqw; }
.hl-pme { display: inline-flex; align-items: center; justify-content: center; color: #04231b; font-weight: 900; background: linear-gradient(135deg, #26e696, #7dd3fc); box-shadow: 0 0 0 1.5px rgba(255,255,255,.6), 0 0 4cqw rgba(38,230,150,.65) !important; }
.hl-sk { display: block; height: 2cqw; border-radius: 99px; background: rgba(255,255,255,.16); }
.hl-pv-cta { position: absolute; right: 3.4cqw; bottom: 3.4cqw; z-index: 3; display: inline-flex; align-items: center; gap: 1.4cqw; padding: 2cqw 4.2cqw;
    border-radius: 3.2cqw; background: linear-gradient(90deg, #26e696, #18d2a8); color: #fff; font-size: 3.5cqw; font-weight: 700; white-space: nowrap;
    box-shadow: 0 2.4cqw 5.6cqw rgba(38,230,150,.32); opacity: 0; transform: translateY(2.5cqw);
    transition: opacity .25s ease, transform .3s cubic-bezier(.2,.9,.3,1.3), filter .2s ease; }
.promo-card:hover .hl-pv-cta { filter: brightness(1.06); }
.promo-card:hover .hl-pv-cta { opacity: 1; transform: none; }

/* 1 — топ каталога */
.hl-pl { display: flex; flex-direction: column; gap: 1.8cqw; }
.hl-pr { height: 9.6cqw; display: flex; align-items: center; gap: 2cqw; padding: 0 2.6cqw; border-radius: 2.6cqw; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); box-sizing: border-box; }
.hl-pn { font-style: normal; width: 3cqw; font-size: 3cqw; font-weight: 800; color: rgba(255,255,255,.4); text-align: center; flex-shrink: 0; }
.hl-pr b { flex: 1; min-width: 0; font-size: 3.5cqw; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-pr small { font-size: 3cqw; font-weight: 700; color: #94a3b8; font-variant-numeric: tabular-nums; }
.hl-pr-me { position: absolute; left: 0; right: 0; top: 0; z-index: 2; background: linear-gradient(90deg, rgba(38,230,150,.3), rgba(125,211,252,.18)); border-color: rgba(38,230,150,.75); box-shadow: 0 0 5cqw rgba(38,230,150,.35); }
.hl-pr-me .hl-pn { color: #5eead4; }
.hl-pr-me b { color: #fff; }
.hl-topb { font-style: normal; font-size: 2.8cqw; font-weight: 900; padding: .8cqw 2.2cqw; border-radius: 99px; background: #26e696; color: #04231b; }
.hl-js .hl-pv1:not(.hl-in) .hl-pr-me { opacity: 0; }
.hl-pv1.hl-run .hl-pl { animation: hlPushDown 7s cubic-bezier(.65,0,.35,1) infinite; }
.hl-pv1.hl-run .hl-pr-me { animation: hlRiseTop 7s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes hlPushDown { 0%, 14% { transform: translateY(0); opacity: 1; } 24% { opacity: .45; } 34% { transform: translateY(11.4cqw); opacity: .7; } 44%, 86% { transform: translateY(11.4cqw); opacity: 1; } 100% { transform: translateY(0); opacity: 1; } }
@keyframes hlRiseTop { 0% { opacity: 0; transform: translateY(34.2cqw); } 10%, 13% { opacity: 1; transform: translateY(34.2cqw) scale(1); } 24% { transform: translateY(17cqw) scale(1.05); } 34%, 86% { opacity: 1; transform: translateY(0) scale(1); } 96%, 100% { opacity: 0; transform: translateY(0); } }

/* 2 — слайдер */
.hl-pv2 .hl-pv-body { display: flex; flex-direction: column; justify-content: center; gap: 2.6cqw; overflow: hidden; border-radius: 3cqw;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.hl-track { display: flex; gap: 2.6cqw; width: max-content; padding-left: 2cqw; }
.hl-sl { width: 23cqw; height: 30cqw; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2cqw; padding: 2cqw 1.6cqw;
    border-radius: 3.2cqw; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); box-sizing: border-box; }
.hl-sl .hl-ava { width: 9cqw; height: 9cqw; }
.hl-sl b { max-width: 100%; font-size: 2.9cqw; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-sl small { font-size: 2.6cqw; font-weight: 700; color: #94a3b8; }
.hl-sl em { width: 76%; height: 3.6cqw; border-radius: 99px; background: linear-gradient(90deg, #10b981, #0ea5e9); opacity: .85; }
.hl-sl-me { background: linear-gradient(160deg, rgba(38,230,150,.32), rgba(125,211,252,.16)); border-color: rgba(38,230,150,.8); box-shadow: 0 0 5cqw rgba(38,230,150,.35); }
.hl-sl-me b { color: #fff; } .hl-sl-me small { color: #fcd34d; letter-spacing: .1em; }
.hl-sl-dots { display: flex; justify-content: center; gap: 1.2cqw; }
.hl-sl-dots i { width: 1.6cqw; height: 1.6cqw; border-radius: 99px; background: rgba(255,255,255,.25); }
.hl-sl-dots i.on { width: 5cqw; background: #26e696; }
.hl-pv2.hl-run .hl-track { animation: hlMarquee 16s linear infinite; }
@keyframes hlMarquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 1.3cqw)); } }

/* 3 — скидка */
.hl-pv3 .hl-pv-body { display: flex; flex-direction: column; justify-content: center; gap: 2.2cqw; }
.hl-tag { width: 100%; display: flex; align-items: center; gap: 2.2cqw; padding: 2.6cqw 3cqw; border-radius: 3.4cqw; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); position: relative; box-sizing: border-box; }
.hl-tag-me::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1.1cqw; border-radius: 0 99px 99px 0; background: linear-gradient(#f59e0b, #ef4444); }
.hl-tag-me { border-color: rgba(251,146,60,.45); background: linear-gradient(90deg, rgba(251,146,60,.16), rgba(255,255,255,.06)); }
.hl-tag-dim { opacity: .55; transform: scale(.96); }
.hl-tag-t { flex: 1; display: flex; flex-direction: column; gap: .6cqw; min-width: 0; }
.hl-tag-t b { font-size: 3.5cqw; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-tag-t small { font-size: 2.8cqw; font-weight: 700; color: #94a3b8; font-variant-numeric: tabular-nums; }
.hl-tag-me .hl-tag-t small { color: #fdba74; }
.hl-tag-p { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.hl-tag-p b { font-size: 3.6cqw; font-weight: 800; color: #e2e8f0; white-space: nowrap; }
.hl-pv3 .hl-old { font-size: 3cqw; color: rgba(255,255,255,.55); }
.hl-pv3 .hl-new { font-size: 4.4cqw; font-weight: 900; color: #5eead4; }
.hl-pv3 .hl-badge { font-size: 3.2cqw; padding: 1cqw 2.2cqw; }
.hl-pv3.hl-run .hl-old::after { animation: hlStrike 5s ease infinite; }
.hl-pv3.hl-run .hl-new { animation: hlDrop 5s cubic-bezier(.2,.9,.3,1.3) infinite; }
.hl-pv3.hl-run .hl-badge { animation: hlSwing 5s cubic-bezier(.2,1.4,.4,1) infinite; }
@keyframes hlStrike { 0%, 8% { transform: scaleX(0); } 22%, 90% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes hlDrop { 0%, 22% { opacity: 0; transform: translateY(-3cqw); } 34%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes hlSwing { 0%, 34% { opacity: 0; transform: scale(.4) rotate(-14deg); } 44% { opacity: 1; transform: scale(1.1) rotate(4deg); } 50%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }

/* 4 — опт */
.hl-pv4 .hl-pv-body { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3cqw; }
.hl-pk { display: flex; align-items: center; justify-content: center; gap: 1.6cqw; width: 100%; }
.hl-pk-a { display: flex; flex-direction: column; align-items: center; gap: 1cqw; width: 24cqw; min-width: 0; }
.hl-pk-a .hl-ava { width: 12cqw; height: 12cqw; box-shadow: 0 0 0 2px rgba(255,255,255,.7), 0 2cqw 5cqw rgba(0,0,0,.35); }
.hl-pk-a b { max-width: 100%; font-size: 2.9cqw; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-pk-plus { flex-shrink: 0; width: 4.6cqw; height: 4.6cqw; margin-bottom: 4cqw; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #6366f1); color: #fff; font-style: normal; font-weight: 800; font-size: 3.4cqw; box-shadow: 0 1cqw 2.6cqw rgba(99,102,241,.45); }
.hl-pk-box { display: inline-flex; align-items: center; gap: 1.6cqw; padding: 1.6cqw 3.4cqw; border-radius: 99px; background: linear-gradient(135deg, #a855f7, #6366f1);
    color: #fff; font-size: 3.5cqw; font-weight: 800; white-space: nowrap; box-shadow: 0 2cqw 5cqw rgba(99,102,241,.45); }
.hl-pk-box svg { width: 4cqw; height: 4cqw; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hl-pk-box em { font-style: normal; padding: .4cqw 1.6cqw; border-radius: 99px; background: rgba(255,255,255,.22); }
.hl-pk-box small { font-size: 3cqw; font-weight: 700; opacity: .85; padding-left: 1.6cqw; border-left: 1px solid rgba(255,255,255,.35); }
.hl-pv4.hl-run .hl-pk-a0 { animation: hlJoinL 6s cubic-bezier(.65,0,.35,1) infinite; }
.hl-pv4.hl-run .hl-pk-a2 { animation: hlJoinR 6s cubic-bezier(.65,0,.35,1) infinite; }
.hl-pv4.hl-run .hl-pk-plus { animation: hlPlus 6s cubic-bezier(.2,1.5,.4,1) infinite; }
.hl-pv4.hl-run .hl-pk-box { animation: hlPackIn 6s cubic-bezier(.2,1.3,.4,1) infinite; }
@keyframes hlJoinL { 0%, 10% { transform: translateX(-6cqw); opacity: .5; } 30%, 88% { transform: none; opacity: 1; } 100% { transform: translateX(-6cqw); opacity: .5; } }
@keyframes hlJoinR { 0%, 10% { transform: translateX(6cqw); opacity: .5; } 30%, 88% { transform: none; opacity: 1; } 100% { transform: translateX(6cqw); opacity: .5; } }
@keyframes hlPlus { 0%, 24% { transform: scale(0) rotate(-90deg); } 34%, 88% { transform: none; } 100% { transform: scale(0); } }
@keyframes hlPackIn { 0%, 38% { opacity: 0; transform: translateY(3cqw) scale(.7); } 50%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }

/* курсор-«мультик»: нажимает на «Ваш канал» / на цену */
.hl-cur { position: absolute; left: 0; top: 0; z-index: 4; width: 6cqw; height: 6cqw; opacity: 0; pointer-events: none; }
.hl-cur svg { width: 100%; height: 100%; fill: #fff; stroke: #0f172a; stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 1cqw 1.6cqw rgba(0,0,0,.45)); }
.hl-cur::after { content: ""; position: absolute; left: -1.4cqw; top: -1.4cqw; width: 3cqw; height: 3cqw; border-radius: 50%; border: 2px solid #26e696; opacity: 0; }
.hl-pv1.hl-run .hl-cur { animation: hlCur1 7s cubic-bezier(.65,0,.35,1) infinite; }
.hl-pv1.hl-run .hl-cur::after { animation: hlClick1 7s ease-out infinite; }
.hl-pv3.hl-run .hl-cur { animation: hlCur3 5s cubic-bezier(.65,0,.35,1) infinite; }
.hl-pv3.hl-run .hl-cur::after { animation: hlClick3 5s ease-out infinite; }
@keyframes hlCur1 { 0% { opacity: 0; transform: translate(84cqw, 46cqw); } 6% { opacity: 1; transform: translate(62cqw, 37cqw); } 10% { transform: translate(62cqw, 37cqw) scale(.82); } 13% { transform: translate(62cqw, 37cqw) scale(1); }
    34% { opacity: 1; transform: translate(62cqw, 3cqw); } 44%, 100% { opacity: 0; transform: translate(80cqw, -3cqw); } }
@keyframes hlClick1 { 0%, 9% { opacity: 0; transform: scale(.4); } 10% { opacity: 1; transform: scale(.6); } 18%, 100% { opacity: 0; transform: scale(2.4); } }
@keyframes hlCur3 { 0% { opacity: 0; transform: translate(84cqw, 40cqw); } 8% { opacity: 1; transform: translate(62cqw, 9cqw); } 13% { transform: translate(62cqw, 9cqw) scale(.82); } 16% { transform: translate(62cqw, 9cqw) scale(1); }
    30% { opacity: 1; transform: translate(66cqw, 14cqw); } 40%, 100% { opacity: 0; transform: translate(84cqw, 40cqw); } }
@keyframes hlClick3 { 0%, 12% { opacity: 0; transform: scale(.4); } 13% { opacity: 1; transform: scale(.6); } 21%, 100% { opacity: 0; transform: scale(2.4); } }

/* телефон: карточки продвижения по одной в ряд — иллюстрации крупные, названия видны */
@media (max-width: 640px) { .promo-grid:has(.hl-pv) { grid-template-columns: 1fr !important; } }
/* без мыши (телефон, планшет): «Подключить →» видна всегда — под неё снизу оставляем место, чтобы не налезала на картинку */
@media (hover: none), (max-width: 640px) {
    .hl-pv { aspect-ratio: 16 / 12.6; }
    .hl-pvi { padding-bottom: 12cqw; }
    .hl-pv-cta { opacity: 1; transform: none; }
}
.hl-pvi:not(.hl-run) * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
    .hl-pvi * { animation: none !important; } .hl-cur { display: none; }
    .hl-js .hl-pv1 .hl-pr-me { opacity: 1; } .hl-pv1 .hl-pl { transform: translateY(11.4cqw); }
}

/* телефон: текст карточек продвижения крупнее и в одном ритме с иллюстрацией */
@media (max-width: 640px) {
    .promo-grid:has(.hl-pv) { gap: 12px !important; }
    .promo-grid:has(.hl-pv) .promo-card { padding: 16px !important; border-radius: 16px !important; }
    .promo-grid:has(.hl-pv) .promo-num { font-size: 22px !important; margin-bottom: 6px !important; }
    .promo-grid:has(.hl-pv) .promo-card-title { font-size: 15px !important; margin-bottom: 6px !important; }
    .promo-grid:has(.hl-pv) .promo-card-desc { font-size: 13px !important; line-height: 1.55 !important; }
}
/* широкая иллюстрация (телефон в одну колонку): мелкие подписи чуть крупнее, крупные — чуть сдержаннее */
@container (min-width: 290px) {
    .hl-pv-ctx, .hl-pv-tok { font-size: 3.6cqw; }
    .hl-pr small, .hl-sl small, .hl-tag-t small { font-size: 3.3cqw; }
    .hl-pr b, .hl-tag-t b { font-size: 3.6cqw; }
    .hl-sl b, .hl-pk-a b { font-size: 3.2cqw; }
    .hl-pv-cta { font-size: 3.7cqw; }
}

/* =====================================================================
   18.11.2026 — улучшения главной: строка доверия, тарифы, телефоны-превью
   ===================================================================== */

/* строка доверия (живые цифры) */
.hl-trust { display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; flex-wrap: wrap; margin: 0 0 18px; padding: 12px 16px;
    border-radius: 16px; background: linear-gradient(120deg, rgba(20,165,255,.06), rgba(24,210,168,.08)); border: 1px solid rgba(20,165,255,.16); font-family: Inter, system-ui, sans-serif; }
.hl-trust-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: #0f766e; white-space: nowrap; }
.hl-trust-live i { width: 7px; height: 7px; border-radius: 50%; background: #26e696; box-shadow: 0 0 0 3px rgba(38,230,150,.2), 0 0 8px rgba(38,230,150,.7); animation: hlPulse 1.8s ease-in-out infinite; }
.hl-trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hl-trust-i { display: flex; align-items: center; gap: 9px; min-width: 0; }
.hl-trust-ic { width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #14a5ff, #18d2a8); box-shadow: 0 4px 10px rgba(20,165,255,.25); }
.hl-trust-ic svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hl-trust-i > span:last-child { display: flex; flex-direction: column; line-height: 1.15; }
.hl-trust-i b { font-size: 16px; font-weight: 800; color: #0f172a; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hl-trust-i small { font-size: 11px; font-weight: 600; color: #64748b; }
.hl-trust:not(.hl-run) .hl-trust-live i { animation-play-state: paused; }
@media (max-width: 760px) {
    .hl-trust { padding: 11px 12px; gap: 10px; border-radius: 14px; }
    .hl-trust-live { width: 100%; justify-content: center; font-size: 11px; }
    .hl-trust-row { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .hl-trust-i { flex-direction: column; text-align: center; gap: 5px; }
    .hl-trust-i > span:last-child { align-items: center; }
    .hl-trust-ic { width: 26px; height: 26px; border-radius: 8px; }
    .hl-trust-i b { font-size: 14.5px; }
    .hl-trust-i small { font-size: 10px; line-height: 1.25; }
}

/* тарифы: кнопка «Начать бесплатно» на светлой карточке, выгода, лента «Лучшая цена», оплата */
.tariff-basic .tariff-btn.btn-banner-outline { background: #fff !important; color: #0f766e !important; border: 1.5px solid rgba(15,118,110,.35) !important; box-shadow: 0 6px 16px rgba(15,23,42,.06); }
.tariff-basic .tariff-btn.btn-banner-outline:hover { background: #f0fdfa !important; border-color: rgba(15,118,110,.6) !important; }
.ix-tval { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 700; line-height: 1.3; }
.tariff-business .ix-tval { background: rgba(245,158,11,.12); color: #b45309; }
.tariff-premium .ix-tval { background: rgba(168,85,247,.12); color: #7e22ce; }
.ix-ribbon-best { background: linear-gradient(90deg, #a855f7, #7e22ce) !important; }
.ix-tpay { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 9px; font-size: 11px; font-weight: 600; color: #94a3b8; }
.ix-tpay svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) { .ix-tval { font-size: 10.5px; } .ix-tpay { font-size: 10.5px; } }

/* телефоны-превью «Своя посадочная страница»: размытие при наведении ровно по скруглению экрана (и в Safari) */
.phone-screen { isolation: isolate; -webkit-mask-image: -webkit-radial-gradient(white, black); transform: translateZ(0); }
.phone-screen-overlay { border-radius: inherit !important; }

/* 18.11.2026: телефон — «Посмотреть полностью» в мини-телефонах не помещается: круглая кнопка с иконкой */
@media (max-width: 992px) {
    .phone-overlay-btn { font-size: 0 !important; gap: 0 !important; width: 42px; height: 42px; padding: 0 !important; justify-content: center; border-radius: 50% !important;
        background: linear-gradient(135deg, #26e696, #18d2a8) !important; box-shadow: 0 6px 16px rgba(38,230,150,.45) !important; }
    .phone-overlay-btn svg { width: 18px !important; height: 18px !important; color: #fff; }
}

/* 18.11.2026 (2): мини-телефоны — компактная кнопка с подписью «Открыть» вместо пустого квадрата */
.po-short { display: none; }
@media (max-width: 992px) {
    .phone-overlay-btn { font-size: 11px !important; gap: 5px !important; width: auto !important; height: auto !important; padding: 7px 12px !important; border-radius: 99px !important; color: #fff !important; }
    .phone-overlay-btn svg { width: 13px !important; height: 13px !important; }
    .po-full { display: none; } .po-short { display: inline; }
}
