/* ==========================================================================
   Fragly · главная · v5 «Пульт»
   Визуальный язык — сам интерфейс продукта: панели с глубиной, мягкий 3D за курсором.
   Оранжевый — только акцент (кнопки, важные цифры). Twitch-фиолетовый — для баллов канала.
   ========================================================================== */

.landing { --panel: #191919; --panel-2: #202020; --hair: rgba(255,255,255,.065); --tw: #9146FF; --tw-text: #B794FF; --soft: #C9C9C9; }
code { font-family: var(--f-mono); }
.anchor { position: absolute; top: -80px; }

.sec-h { font: 700 clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem)/1.08 var(--f-display); letter-spacing: -.04em; text-wrap: balance; }
.sec-h.big { font-size: clamp(1.875rem, 1.2rem + 2.4vw, 3.25rem); }
.ch-lead { font-size: clamp(1rem, .96rem + .2vw, 1.0625rem); line-height: 1.6; color: var(--muted); max-width: 60ch; text-wrap: pretty; }
.ch-lead code { font-size: .88em; color: var(--text); padding: 1px 6px; border-radius: 6px; background: var(--surface-2); }

.btn-ghost-strong { border-color: rgba(255,255,255,.14); color: var(--text); }
.btn-ghost-strong:hover { background: var(--hover); border-color: rgba(255,255,255,.24); }

/* ---------- Панель продукта: общая «плоть» всех макетов ---------- */
.pnl {
    position: relative; overflow: hidden; border-radius: 18px;
    background: linear-gradient(180deg, #1E1E1E 0%, #161616 100%);
    border: 1px solid rgba(255,255,255,.07);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 40px 80px -30px rgba(0,0,0,.85), 0 12px 24px -12px rgba(0,0,0,.6);
}
.pnl::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity 400ms var(--ease);
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.06), transparent 60%); }
.is-tilting .pnl::after, .pnl.is-tilting::after { opacity: 1; }
.pnl-bar { display: flex; align-items: center; gap: 8px; height: 40px; padding-inline: 14px; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 13px; font-weight: 600; color: var(--soft); }
.pnl-bar img { width: 16px; height: 16px; }
.pnl-sp { flex: 1; }
.muted-s { color: var(--muted); font-weight: 500; }

/* 3D: контейнер наклоняется, дочерние панели стоят на своей глубине (--z) */
.tilt, .deck-inner, .final-chips { transform-style: preserve-3d; }
.tilt { transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); will-change: transform; }
.tilt > .pnl, .deck-inner > .pnl { transform: translateZ(var(--z, 0px)); }
.tilt.pnl { --mx: 50%; --my: 0%; }

/* ---------- мелочи интерфейса ---------- */
.sw { width: 34px; height: 20px; border-radius: 999px; background: #2C303B; position: relative; flex-shrink: 0; }
.sw i { position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform var(--dur); }
.sw.is-on { background: var(--accent); } .sw.is-on i { transform: translateX(14px); }
.pts { width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; background: radial-gradient(circle at 50% 50%, transparent 4px, var(--tw) 4.5px 7px, transparent 7.5px), rgba(145,70,255,.18); }
.mod { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 6px; border-radius: 4px; background: #00AD03; color: #fff; font: 800 10px/1 var(--f-body); font-style: normal; vertical-align: 1px; }
.wave { display: inline-flex; align-items: center; gap: 3px; height: 26px; }
.wave i { width: 3px; height: 35%; border-radius: 2px; background: #59607A; }
.wave i:nth-child(3n) { height: 75%; } .wave i:nth-child(4n+1) { height: 55%; } .wave i:nth-child(5n) { height: 95%; }
.wave.is-on i, .pnl-tts .wave i { background: var(--accent-text); }
@media (prefers-reduced-motion: no-preference) {
    .wave.is-on i, .pnl-tts .wave i { animation: wv 900ms ease-in-out infinite; }
    .wave i:nth-child(2n) { animation-delay: -300ms; } .wave i:nth-child(3n) { animation-delay: -600ms; } .wave i:nth-child(5n) { animation-delay: -150ms; }
}
@keyframes wv { 50% { transform: scaleY(.35); } }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px rgba(255,59,78,.18); }

/* чат в стиле Twitch (герой и бот) */
.hm { font-size: 13.5px; line-height: 1.45; overflow-wrap: anywhere; color: #E6E8EE; }
.hm b { font-weight: 700; margin-right: 5px; }
.hm .fb { font-size: 15px; margin-right: 6px; }
.hm .tw-badge { display: inline-block; width: 18px; height: 18px; margin-right: 5px; vertical-align: -4px; border-radius: 3px; flex-shrink: 0; }
.hm b::after { content: ':'; color: #E6E8EE; font-weight: 400; }
.hm .u1 { color: #7DD3FC; } .hm .u2 { color: #FCA5A5; } .hm .u3 { color: #86EFAC; } .hm .bot { color: var(--tw-text); } .hm .me { color: #FDBA74; }
.hm.is-pts { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; background: rgba(145,70,255,.12); color: var(--soft); }
.hm.is-pts b::after { content: none; }
.hm.in { animation: msgIn 360ms var(--ease) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.typing .dots { display: inline-flex; gap: 3px; vertical-align: middle; }
.typing .dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: dt 900ms ease-in-out infinite; }
.typing .dots i:nth-child(2) { animation-delay: 150ms; } .typing .dots i:nth-child(3) { animation-delay: 300ms; }
@keyframes dt { 50% { opacity: .25; transform: translateY(-2px); } }

/* ==========================================================================
   ГЕРОЙ
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding: var(--sp-9) 0 var(--sp-10); isolation: isolate; }
.hero-bg { position: absolute; inset: -40px; z-index: -1; pointer-events: none; transition: transform 80ms linear;
    background:
        radial-gradient(560px 420px at 74% 42%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
        radial-gradient(520px 380px at 90% 78%, rgba(145,70,255,.13), transparent 70%),
        radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.4px) 0 0 / 28px 28px;
    -webkit-mask-image: radial-gradient(70% 80% at 70% 45%, #000 30%, transparent 85%); mask-image: radial-gradient(70% 80% at 70% 45%, #000 30%, transparent 85%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: var(--sp-8); align-items: center; min-height: 600px; }
.hero-copy { display: grid; gap: var(--sp-5); justify-items: start; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: var(--t-sm); font-weight: 600; color: var(--soft); }
.hero-h { font: 700 clamp(2.5rem, 1.3rem + 3.9vw, 4.6rem)/1 var(--f-display); letter-spacing: -.05em; text-wrap: balance; max-width: 11ch; }
.hero-lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.6; color: var(--soft); max-width: 44ch; text-wrap: pretty; }
.hero-auth { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-2); }
.hero-who { align-self: center; color: var(--muted); }
/* три факта всегда в один ряд: не хватает места (английские подписи длиннее) — подпись переносится внутри своей колонки,
   а не уезжает третьим пунктом под первый */
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: var(--sp-4) var(--sp-7); margin-top: var(--sp-4); }
.hero-facts li { display: grid; gap: 2px; align-content: start; }
.hero-facts li span { text-wrap: balance; }
@media (max-width: 1280px) { .hero-facts { column-gap: var(--sp-6); } }
.hero-facts b { font-weight: 700; font-size: 15px; }
.hero-facts span { font-size: 13px; color: var(--muted); }

/* колода панелей */
.deck { position: relative; height: 560px; perspective: 1600px; }
.deck-inner { position: absolute; inset: 0; transform: rotateX(calc(5deg + var(--rx, 0deg))) rotateY(calc(-12deg + var(--ry, 0deg))); }
.deck .pnl { position: absolute; }
.pnl-status { right: 0; top: 0; width: 292px; }
.st-list { display: grid; gap: 2px; padding: 8px; }
.st-list li { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; }
.st-list li:nth-child(odd) { background: rgba(255,255,255,.02); }
.st-list i { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.st-list i.ok { background: var(--ok); box-shadow: 0 0 0 4px rgba(74,222,128,.13); }
.st-list i.live { background: var(--live); box-shadow: 0 0 0 4px rgba(255,59,78,.15); }
.st-list span { display: grid; line-height: 1.3; } .st-list b { font-size: 13.5px; } .st-list small { font-size: 12px; color: var(--muted); }
.pnl-chat { left: 0; top: 84px; width: 322px; height: 350px; }
.tiny-live { height: 18px; padding-inline: 6px; border-radius: 4px; background: var(--live); color: #fff; font-size: 10px; font-weight: 800; display: inline-flex; align-items: center; }
.hchat { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; height: calc(100% - 40px); padding: 12px 14px; overflow: hidden;
    -webkit-mask-image: linear-gradient(transparent, #000 22%); mask-image: linear-gradient(transparent, #000 22%); }
.pnl-tts { right: 0; top: 300px; width: 300px; padding: 16px; display: grid; gap: 10px; }
.tts-head { display: flex; align-items: center; gap: 10px; }
.tts-head span:last-child { display: grid; line-height: 1.25; } .tts-head b { font-size: 14px; } .tts-head small { font-size: 12px; color: var(--tw-text); }
.tts-msg { font-size: 16px; line-height: 1.4; font-weight: 500; }
.tts-play { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tts-voice { height: 26px; padding-inline: 10px; display: inline-flex; align-items: center; border-radius: 999px; background: rgba(255,255,255,.07); font-size: 12px; font-weight: 600; color: var(--soft); }
.pnl-sp { left: 28px; top: 452px; width: 380px; height: 112px; background: none; border: 0; box-shadow: none; overflow: visible; }
.pnl-sp::after { content: none; }
.pnl-sp iframe { width: 100%; height: 100%; border: 0; background: transparent; color-scheme: normal; pointer-events: none; }

@media (max-width: 1100px) {
    .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: var(--sp-7); }
    .hero-h { max-width: 13ch; }
    .deck { height: 540px; max-width: 640px; width: 100%; justify-self: center; }
    .deck-inner { transform: rotateX(4deg) rotateY(-6deg); }
}
@media (max-width: 640px) {
    .hero { padding-top: var(--sp-7); }
    .hero-auth { width: 100%; } .hero-auth .btn { flex: 1 1 100%; }
    .hero-facts { gap: var(--sp-3) var(--sp-5); }
    .deck { height: 430px; perspective: none; }
    .deck-inner { transform: none; }
    .pnl-status, .pnl-sp { display: none; }
    .pnl-chat { left: 0; right: 0; top: 0; width: auto; height: 330px; }
    .pnl-tts { right: 0; left: 18%; top: 262px; width: auto; }
}
@media (max-width: 400px) {
    .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hero-facts li:last-child { grid-column: 1 / -1; } /* узкий телефон: два факта рядом, третий целой строкой */
}

/* ==========================================================================
   ЗАЧЕМ: три обещания, без карточек
   ========================================================================== */
.why { padding-block: var(--sp-7) var(--sp-10); }
.why-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-8); }
.why-list li { display: grid; gap: var(--sp-2); align-content: start; }
.why-list b { font: 600 clamp(1.125rem, 1rem + .5vw, 1.375rem)/1.25 var(--f-display); letter-spacing: -.03em; }
.why-list b::before { content: ''; display: block; width: 28px; height: 3px; border-radius: 2px; margin-bottom: var(--sp-4); background: var(--accent); }
.why-list span { color: var(--muted); max-width: 34ch; }
@media (max-width: 860px) { .why-list { grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); } }

/* ==========================================================================
   ТУР ПО ВОЗМОЖНОСТЯМ: липкое оглавление + главы
   ========================================================================== */
.tour-grid { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: var(--sp-9); align-items: start; }
.tour-nav { position: sticky; top: 112px; display: grid; gap: 2px; padding-top: var(--sp-2); }
.tour-nav a { position: relative; display: flex; align-items: center; gap: 10px; height: 42px; padding-inline: 14px; border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--muted); transition: color var(--dur), background-color var(--dur); }
.tour-nav a svg { width: 18px; height: 18px; flex-shrink: 0; }
.tour-nav a span { display: inline-flex; }
.tour-nav a:hover { color: var(--text); }
.tour-nav a[aria-current] { color: var(--text); background: var(--panel-2); }
.tour-nav a[aria-current] svg { color: var(--accent-text); }
@media (max-width: 1100px) {
    .tour-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .tour-nav { top: 84px; z-index: 20; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 10px var(--gutter);
        background: rgba(12,13,17,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--hair); }
    .tour-nav::-webkit-scrollbar { display: none; }
    .tour-nav a { flex-shrink: 0; height: 36px; font-size: 14px; border: 1px solid var(--hair); }
}
.ch { position: relative; padding-block: var(--sp-6) var(--sp-11); scroll-margin-top: 96px; }
@media (max-width: 1100px) { .ch { scroll-margin-top: 150px; padding-top: var(--sp-9); } }
.ch-head { display: grid; gap: var(--sp-3); max-width: 680px; margin-bottom: var(--sp-7); }
.ch-h { font: 700 clamp(1.75rem, 1.2rem + 2.1vw, 2.875rem)/1.06 var(--f-display); letter-spacing: -.045em; text-wrap: balance; }

/* ---------- Чат-бот: песочница (живой чат) + кнопки команд + «как это настроено» ---------- */
.bot-stage { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--sp-5); align-items: start; }
.bot-win { display: flex; flex-direction: column; height: 500px; }
.bot-win .tc-log { min-height: 0; }
.bot-win .pnl-bar .rec { width: 8px; height: 8px; border-radius: 50%; background: #FF4D5E; box-shadow: 0 0 0 4px rgba(255,77,94,.15); }
.bot-side { display: grid; gap: var(--sp-4); align-content: start; }
.bcmds { display: flex; flex-wrap: wrap; gap: 8px; }
.bcmd { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding-inline: 12px; border-radius: 10px; background: var(--surface-3); border: 1px solid rgba(255,255,255,.06); color: var(--text); transition: background-color var(--dur), color var(--dur), border-color var(--dur); }
.bcmd code { font-size: 13px; }
.bcmd code i { font-style: italic; color: var(--muted); } /* *пример* — заглушка, а не настоящий текст */
.bcmd:hover { background: #2A2F3C; }
.bcmd.is-on { background: color-mix(in srgb, var(--accent) 16%, transparent); border-color: color-mix(in srgb, var(--accent) 35%, transparent); color: var(--accent-text); }
.bot-cfg { padding: 18px; display: grid; gap: 10px; min-height: 170px; align-content: start; }
.bot-cfg::before { content: 'Так это настроено в кабинете'; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.06); }
.lang-en .bot-cfg::before { content: 'How it is set up in the dashboard'; }
.cfg-k { font-size: 12px; font-weight: 700; color: var(--muted); }
.cfg-name { font-size: 14px; color: var(--accent-text); }
.cfg-body { font-size: 12.5px; line-height: 1.75; color: #DCDCDC; overflow-wrap: anywhere; }
.cfg-body .var { padding: 1px 4px; border-radius: 4px; background: rgba(255,181,71,.12); color: var(--ember); }
.cfg-meta { padding-top: 10px; border-top: 1px solid rgba(255,255,255,.06); font-size: 12px; color: var(--muted); }
.ch-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3) var(--sp-7); margin-top: var(--sp-8); max-width: 900px; }
.ch-points li { position: relative; padding-left: 18px; color: var(--muted); line-height: 1.55; }
.ch-points li::before { content: ''; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: #525252; }
.ch-points b { color: var(--text); font-weight: 650; }
@media (max-width: 960px) {
    .bot-stage { grid-template-columns: minmax(0, 1fr); }
    .bot-win { height: 440px; }
    .ch-points { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Озвучка ---------- */
.tts-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-7); align-items: start; }
/* пульт едет рядом с примерами голосов, пока их листаешь — без пустой колонки */
@media (min-width: 961px) { .tts-stage > .dk { position: sticky; top: 96px; } }
@media (max-width: 960px) { .tts-stage { grid-template-columns: minmax(0, 1fr); } }
/* мини-пульт озвучки (док-панель OBS) — копия настоящего tts-dock.html */
.dk-body { display: grid; gap: 12px; padding: 14px; }
.dk-top { display: flex; align-items: center; gap: 10px; }
.dk-st { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.dk-st i { width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74,222,128,.16); flex-shrink: 0; }
.dk.is-off .dk-st i { background: #F87171; box-shadow: none; }
.dk-pw { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding-inline: 12px; border-radius: 999px; border: 1.5px solid rgba(248,113,113,.7); color: #F87171; font-size: 12.5px; font-weight: 700; white-space: nowrap; background: none; cursor: pointer; transition: background-color var(--dur), color var(--dur), border-color var(--dur); }
.dk-pw:hover { background: rgba(248,113,113,.1); }
.dk-pw[aria-pressed="false"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent, #111); }
.dk-now { display: grid; gap: 10px; padding: 12px; border-radius: 12px; background: var(--panel-2); border: 1px solid rgba(255,255,255,.05); transition: opacity var(--dur); }
.dk-h { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dk-h em { font-style: normal; padding: 0 7px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--text); letter-spacing: 0; }
.dk-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.dk-eq i { width: 3px; border-radius: 1px; background: var(--accent-text, var(--accent)); animation: dkEq .9s ease-in-out infinite; }
.dk-eq i:nth-child(2) { animation-delay: -.3s; } .dk-eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes dkEq { 0%, 100% { height: 3px; } 50% { height: 11px; } }
.dk.is-paused .dk-eq i, .dk.is-off .dk-eq i { animation: none; height: 3px; }
.dk-now p { font-size: 15px; line-height: 1.45; font-weight: 500; min-height: 44px; overflow-wrap: anywhere; } .dk-now p b, .dk-q b { color: var(--accent-text, var(--accent)); margin-right: 6px; font-weight: 700; }
.dk-row { display: flex; gap: 8px; }
.dk-b { flex: 1; height: 34px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: var(--text); cursor: pointer; transition: background-color var(--dur), filter var(--dur); }
.dk-b:hover { background: rgba(255,255,255,.1); }
.dk-pause { background: #FBBF24; border-color: #FBBF24; color: #111; } .dk-pause:hover { background: #FBBF24; filter: brightness(1.06); }
.dk.is-paused .dk-pause { background: var(--accent); border-color: var(--accent); }
.dk.is-off .dk-now, .dk.is-off .dk-q, .dk.is-off .dk-say { opacity: .45; pointer-events: none; }
.dk-q { display: grid; gap: 4px; }
.dk-q ol { display: grid; }
.dk-q li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.06); font-size: 14px; line-height: 1.45; }
.dk-q li:first-child { border-top: 0; }
.dk-q li > span { flex: 1; min-width: 0; overflow-wrap: anywhere; color: var(--soft); }
.dk-x { flex-shrink: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; border: 0; background: none; color: var(--muted); cursor: pointer; }
.dk-x:hover { background: rgba(255,255,255,.08); color: #F87171; }
.dk-empty { color: var(--muted); font-size: 13px; }
.dk-say { display: flex; gap: 8px; }
.dk-in { flex: 1; min-width: 0; height: 34px; padding: 0 12px; border-radius: 10px; background: var(--panel-2); border: 1px solid rgba(255,255,255,.12); color: var(--text); font: inherit; font-size: 13.5px; }
.dk-in::placeholder { color: var(--muted); }
.dk-go { flex: 0 0 auto; padding-inline: 14px; background: var(--accent); border-color: var(--accent); color: var(--on-accent, #111); }
.dk-go:hover { background: var(--accent); filter: brightness(1.08); }
@media (prefers-reduced-motion: reduce) { .dk-eq i { animation: none; height: 6px; } }
.voices-h { font-size: var(--t-sm); font-weight: 600; color: var(--soft); margin-bottom: var(--sp-3); }
.voice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 420px) { .voice-grid { grid-template-columns: minmax(0, 1fr); } }
.vc { display: flex; align-items: center; gap: 12px; padding: 12px; text-align: left; border-radius: 14px; background: var(--panel); border: 1px solid rgba(255,255,255,.05); transition: background-color var(--dur), border-color var(--dur), transform 160ms var(--ease); }
.vc:hover { background: var(--panel-2); transform: translateY(-1px); }
.vc[aria-checked="true"] { background: var(--panel-2); border-color: rgba(255,255,255,.16); }
.vc-av { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; font: 700 16px/1 var(--f-display); color: #fff; }
.vc-av[data-v="arena"]  { background: linear-gradient(140deg, #FF9F1A, #B4430C); }
.vc-av[data-v="chaos"]  { background: linear-gradient(140deg, #E14BFF, #5B2DD6); }
.vc-av[data-v="drama"]  { background: linear-gradient(140deg, #7A2E1C, #2B0F0C); }
.vc-av[data-v="toon"]   { background: linear-gradient(140deg, #FFD84A, #E86A9B); color: #1A1020; }
.vc-av[data-v="tale"]   { background: linear-gradient(140deg, #5B8DEF, #23366B); }
.vc-av[data-v="robo"]   { background: linear-gradient(140deg, #8C97AD, #2F3645); }
.vc-av[data-v="coach"]  { background: linear-gradient(140deg, #FF5A5A, #7A1520); }
.vc-av[data-v="shadow"] { background: linear-gradient(140deg, #2CCFE0, #102B3A); }
.vc-src { flex-shrink: 0; height: 20px; padding-inline: 7px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 10.5px; font-weight: 700; background: rgba(255,255,255,.07); color: var(--soft); }
.vc-t { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.vc-t b { font-size: 14px; } .vc-t small { font-size: 12px; color: var(--muted); }
.vc-play { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--text); transition: background-color var(--dur); }
.vc[aria-checked="true"] .vc-play { background: var(--accent); color: var(--on-accent); }
.voices-note { margin-top: var(--sp-4); font-size: 12.5px; line-height: 1.55; color: var(--muted); max-width: 52ch; }
.ch-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: var(--sp-4) var(--sp-5); margin-top: var(--sp-8); align-items: start; }
.ch-specs dt { font-size: 12px; color: var(--muted); font-weight: 600; } .ch-specs dd { font-size: 14px; font-weight: 600; }

/* ---------- Виджеты и OBS ---------- */
.shelf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(3, auto); gap: var(--sp-5); }
.wd { margin: 0; display: grid; gap: 10px; align-content: start; }
.wd[data-w="chat"] { grid-row: span 3; grid-template-rows: 1fr auto; }
.wd-glass { position: relative; height: 150px; border-radius: 18px; overflow: hidden;
    background: radial-gradient(120% 120% at 0% 0%, #1D2130, #131313 70%); border: 1px solid rgba(255,255,255,.07);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 30px 60px -30px rgba(0,0,0,.8); }
.wd[data-w="chat"] .wd-glass { height: auto; min-height: 420px; }
.wd-glass::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 400ms var(--ease); background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.07), transparent 60%); }
.wd.is-tilting .wd-glass::after { opacity: 1; }
.wd-glass iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; color-scheme: normal; pointer-events: none; }
.wd figcaption { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding-left: 4px; }
.wd figcaption b { font-size: 15px; } .wd figcaption span { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .shelf { grid-template-columns: minmax(0, 1fr); } .wd[data-w="chat"] { grid-row: auto; } .wd[data-w="chat"] .wd-glass { min-height: 340px; } }
.obs { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: var(--sp-8); align-items: center; margin-top: var(--sp-10); }
@media (max-width: 900px) { .obs { grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); } }
.obs-copy h3 { font: 700 clamp(1.25rem, 1.1rem + .6vw, 1.625rem)/1.2 var(--f-display); letter-spacing: -.035em; margin-bottom: var(--sp-5); }
.obs-steps { display: grid; gap: var(--sp-4); counter-reset: s; }
.obs-steps li { counter-increment: s; display: flex; align-items: center; gap: 14px; color: var(--soft); }
.obs-steps li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: var(--panel-2); font-weight: 700; font-size: 13px; color: var(--text); }
.obs-dlg { background: linear-gradient(180deg, #272727, #1F1F1F); max-width: 520px; }
.dlg-x { width: 12px; height: 12px; background: linear-gradient(45deg, transparent 45%, #919191 45% 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, #919191 45% 55%, transparent 55%); }
.dlg-body { display: grid; gap: 14px; padding: 18px; }
.dlg-body label { display: grid; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.dlg-in { height: 34px; display: flex; align-items: center; padding-inline: 10px; border-radius: 6px; background: #131313; border: 1px solid rgba(255,255,255,.08); font-size: 13px; color: var(--text); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dlg-in.mono { font-family: var(--f-mono); font-size: 12.5px; }
.dlg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dlg-check { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--soft); }
.dlg-check i { width: 16px; height: 16px; border-radius: 4px; background: #E6E8EE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23101216' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 10.5 3.2 3.2L15 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.dlg-foot { display: flex; justify-content: flex-end; gap: 8px; padding-top: 6px; }
.dlg-btn { height: 30px; padding-inline: 16px; display: inline-flex; align-items: center; border-radius: 6px; background: #2C303B; font-size: 13px; font-weight: 600; }
.dlg-btn.is-pri { background: #E6E8EE; color: #131313; }

/* ---------- Автоматизация: «когда → тогда» ---------- */
.flows { display: grid; gap: var(--sp-4); }
.flow { display: flex; align-items: stretch; }
.fl-step { position: relative; flex: 1; min-width: 0; display: grid; gap: 4px; align-content: start; padding: 16px 18px; border-radius: 16px; background: var(--panel); border: 1px solid rgba(255,255,255,.06); box-shadow: 0 20px 40px -24px rgba(0,0,0,.8); }
.fl-step + .fl-step { margin-left: 34px; }
.fl-step + .fl-step::before { content: ''; position: absolute; left: -34px; top: 50%; width: 34px; height: 2px; background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.22)); }
.fl-step + .fl-step::after { content: ''; position: absolute; left: -7px; top: calc(50% - 4px); width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 2px solid #525252; }
.fl-k { font-size: 12px; font-weight: 700; color: var(--muted); }
.fl-step.is-when { background: linear-gradient(180deg, rgba(145,70,255,.14), rgba(145,70,255,.05)); border-color: rgba(145,70,255,.25); }
.fl-step.is-when .fl-k { color: var(--tw-text); }
.fl-step:not(.is-when) .fl-k { color: var(--accent-text); }
.fl-step:last-child:not(:nth-child(2)) .fl-k { color: var(--muted); }
.fl-step b { font-size: 15px; font-weight: 700; line-height: 1.35; }
.fl-step b code { font-size: .88em; color: var(--accent-text); }
.fl-step small { font-size: 12.5px; color: var(--muted); }
@media (max-width: 760px) {
    .flow { flex-direction: column; }
    .fl-step + .fl-step { margin: 26px 0 0; }
    .fl-step + .fl-step::before { left: 28px; top: -26px; width: 2px; height: 26px; background: rgba(255,255,255,.14); }
    .fl-step + .fl-step::after { left: 24px; top: -17px; }
}
.rules-mini { margin-top: var(--sp-7); max-width: 900px; }
.rules-mini li { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: var(--sp-5); padding-block: 14px; border-bottom: 1px solid var(--hair); }
.rules-mini li span:first-child { font-weight: 650; }
.rules-mini li span:last-child { color: var(--muted); }
.rules-mini code { font-size: .88em; color: var(--accent-text); }
@media (max-width: 560px) { .rules-mini li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* ---------- Аналитика ---------- */
.ana-body { display: grid; gap: var(--sp-6); padding: var(--sp-6); }
@media (max-width: 640px) { .ana-body { padding: var(--sp-4); gap: var(--sp-5); } }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.05); }
.seg i { font-style: normal; height: 24px; padding-inline: 10px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 12px; color: var(--muted); }
.seg i.is-on { background: var(--text); color: var(--bg); }
.ana-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-5); }
@media (max-width: 760px) { .ana-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ana-kpis div { display: grid; gap: 2px; }
.ana-kpis small { font-size: 12.5px; color: var(--muted); }
.ana-kpis b { font: 700 clamp(1.375rem, 1rem + 1.2vw, 2rem)/1.1 var(--f-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ana-kpis em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--ok); }
.ana-chart svg { display: block; width: 100%; height: 180px; overflow: visible; }
.ana-chart .gl { stroke: rgba(255,255,255,.06); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ana-chart .ln { fill: none; stroke: var(--accent-text); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.ana-chart .pt { fill: #fff; stroke: var(--accent); stroke-width: 3; vector-effect: non-scaling-stroke; }
.ana-x { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--muted); }
.ana-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--sp-7); }
@media (max-width: 640px) { .ana-cols { grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); } .ana-kpis { gap: var(--sp-3); } }
.ana-cols small { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: var(--sp-3); }
.meters { display: grid; gap: 10px; }
.meters li { display: grid; grid-template-columns: 64px minmax(0, 1fr) 36px; gap: 12px; align-items: center; font-size: 13px; }
.meters code { color: var(--text); font-size: 12.5px; }
.meters .m { height: 8px; border-radius: 4px; background: rgba(255,255,255,.06); overflow: hidden; }
.meters .m i { display: block; height: 100%; width: var(--w); border-radius: 4px; background: #888888; }
.meters li:first-child .m i { background: var(--accent); }
.meters .v { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.counts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
.counts li { display: grid; font-size: 13px; color: var(--muted); }
.counts b { font: 700 1.5rem/1.1 var(--f-display); letter-spacing: -.04em; color: var(--text); }
.ana-foot { font-size: 12px; color: var(--muted); justify-self: end; }

/* ==========================================================================
   ИНТЕГРАЦИИ, СТРИМЕРЫ
   ========================================================================== */
.ints { padding-block: var(--sp-8) var(--sp-10); }
.int-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--sp-6); margin-top: var(--sp-7); }
.int-list li { display: grid; gap: 2px; padding-block: var(--sp-4); border-top: 1px solid var(--hair); }
.int-list b { font-size: 17px; font-weight: 700; } .int-list span { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .int-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.streamers-s { padding-bottom: var(--sp-11); }
.sr-head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; margin-bottom: var(--sp-5); }
.live-count { display: inline-flex; align-items: center; gap: var(--sp-2); height: 30px; padding-inline: 12px; border-radius: var(--r-pill); background: rgba(255,59,78,.08); color: #FCA5A5; font-size: var(--t-xs); font-weight: 700; }
.live-count i { width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
@media (prefers-reduced-motion: no-preference) { .live-count.is-live i { animation: blink 1.4s ease-in-out infinite; } }
@keyframes blink { 50% { opacity: .3; } }
/* без эфиров — офлайн-каналы сеткой на всю ширину; есть эфиры — слева крупные карточки трансляций, справа колонка «Сейчас не в эфире» */
.streamers { display: grid; gap: var(--sp-3); align-items: start; }
.sr-off { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--sp-3); align-content: start; }
.streamers.has-live { grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); }
.sr-live { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: var(--sp-3); }
.has-live .sr-off { grid-template-columns: minmax(0, 1fr); gap: var(--sp-2); }
.has-live .sr-off .streamer { padding: 12px 14px; gap: var(--sp-3); }
.has-live .sr-off .st-ava img, .has-live .sr-off .st-ph { width: 40px; height: 40px; }
.sr-off-h { font-size: var(--t-micro); font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); padding: 2px 2px 4px; }
@media (max-width: 900px) { .streamers.has-live { grid-template-columns: minmax(0, 1fr); } }
.streamer { position: relative; display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-4); border-radius: 16px; background: var(--panel); overflow: hidden; isolation: isolate; transition: background-color var(--dur); }
.streamer:hover { background: var(--panel-2); }
.streamer:focus-visible { box-shadow: var(--ring); }
/* в эфире — большая карточка: превью трансляции 16:9 и строка с каналом под ним, шириной в две колонки */
.streamer.is-live { flex-direction: column; align-items: stretch; gap: 0; padding: 0; background: var(--panel); box-shadow: inset 0 0 0 1px rgba(255,59,78,.22); }
.st-prev { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0C0C0C; }
.st-prev img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.streamer.is-live:hover .st-prev img { transform: scale(1.03); }
.st-prev::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.55)); pointer-events: none; }
.st-prev .st-badge { position: absolute; left: 12px; top: 12px; z-index: 1; }
.st-views { position: absolute; left: 12px; bottom: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.8); }
.st-views svg { width: 14px; height: 14px; color: #FF6B78; }
.st-row { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-4); }
.streamer.is-live .st-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: var(--soft); }
.st-ava img, .st-ph { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--surface-2); border: 2px solid #2A2F3C; font: 700 1.25rem/1 var(--f-display); color: var(--muted); }
.streamer.is-live .st-ava img, .streamer.is-live .st-ph { border-color: var(--live); }
.streamer:not(.is-live) .st-ava img { filter: grayscale(.6); }
.st-who { flex: 1; min-width: 0; display: grid; gap: 2px; }
.st-name { display: flex; align-items: center; gap: var(--sp-2); font-weight: 700; }
.st-name img { width: 18px; height: 13px; border-radius: 2px; object-fit: cover; }
.st-meta { display: flex; flex-wrap: wrap; gap: 2px var(--sp-3); font-size: var(--t-xs); font-weight: 600; color: var(--muted); }
.st-meta span { display: inline-flex; align-items: center; gap: 5px; } .st-meta svg { width: 14px; height: 14px; }
.st-meta .v { color: #FCA5A5; }
.st-title { font-size: var(--t-xs); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-badge { align-self: flex-start; height: 20px; padding-inline: 6px; border-radius: 4px; display: inline-flex; align-items: center; font-size: 10px; font-weight: 800; letter-spacing: .05em; }
.st-badge.live { background: var(--live); color: #fff; } .st-badge.off { background: var(--surface-2); color: var(--muted); }

/* ==========================================================================
   CS2 / FACEIT: отдельная спокойная полоса
   ========================================================================== */
.cs2 { position: relative; padding-block: var(--sp-11); background: radial-gradient(50% 30% at 85% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%), linear-gradient(180deg, #110F10, #0E0E0E); border-top: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); border-bottom: 1px solid var(--hair); }
.cs2-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--sp-5) var(--sp-9); align-items: end; margin-bottom: var(--sp-8); }
@media (max-width: 1000px) { .cs2-head { grid-template-columns: minmax(0, 1fr); } }
.cs2-title { display: grid; gap: var(--sp-4); justify-items: start; }
.cs2-mode { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 8px; border-radius: var(--r-pill); background: var(--accent-soft); font-size: var(--t-sm); font-weight: 650; color: var(--accent-text); }
.cs2-mode img { border-radius: 4px; }
.cs2-match { padding: var(--sp-3); border-radius: 22px; background: var(--panel); }
.cs2-match-top { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; padding: var(--sp-3) var(--sp-3) var(--sp-4); }
.cs2-match-top .t-sm { max-width: 56ch; }
.stage-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; padding: var(--sp-4) var(--sp-3) var(--sp-2); }
.dots { display: flex; gap: var(--sp-2); align-items: center; }
.dots i { width: 8px; height: 8px; border-radius: var(--r-pill); background: #2E323D; transition: width var(--dur) var(--ease), background-color var(--dur); }
.dots i.is-on { width: 24px; background: var(--text); }
.cs2-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-8); }
.cs2-grid + .cs2-match { margin-top: var(--sp-10); }
@media (max-width: 1000px) { .cs2-grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-9); } }
.cs2-col { display: grid; gap: var(--sp-4); align-content: start; min-width: 0; }
.sn-box { border-radius: 18px; background: var(--panel); padding: var(--sp-2); }
.sn-box .card-foot { padding: var(--sp-3) var(--sp-2) var(--sp-1); }
.wstack { display: grid; gap: var(--sp-3); }
.cs2-wide { display: grid; gap: var(--sp-5); margin-bottom: var(--sp-9); }
.cs2-wide-top { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; }
.cs2-wide-top .t-sm { max-width: 60ch; }
.wrow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .wrow { grid-template-columns: minmax(0, 1fr); } }
.lm-prev { height: 260px; }
.wfig { margin: 0; display: grid; gap: 6px; }
.wfig .preview { height: 128px; }
.wfig figcaption { font-size: var(--t-xs); font-weight: 600; color: var(--muted); }

/* ==========================================================================
   ТАРИФЫ, FAQ
   ========================================================================== */
.pricing { padding-block: var(--sp-11); }
.pr-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-5); flex-wrap: wrap; margin-bottom: var(--sp-7); }
.pr-head > div:first-child { display: grid; gap: var(--sp-3); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
@media (max-width: 760px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { display: grid; gap: var(--sp-3); align-content: start; padding: var(--sp-7); border-radius: 24px; background: var(--panel); }
@media (max-width: 640px) { .plan { padding: var(--sp-5); } }
.plan.is-pop { background: radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%), var(--panel-2); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.plan-n { font: 700 1.25rem var(--f-display); letter-spacing: -.03em; }
.plan .pop { height: 26px; padding-inline: 10px; display: inline-flex; align-items: center; border-radius: var(--r-pill); background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent-text); font-size: var(--t-xs); font-weight: 700; }
.plan-price { font: 700 clamp(2.25rem, 1.8rem + 1.5vw, 3rem)/1 var(--f-display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; margin-top: var(--sp-2); }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 12px; }
/* старая цена: тонко зачёркнута над уровнем текущей, без «распродажных» плашек */
.plan-was { order: -1; flex-basis: 100%; display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; font: 600 1.0625rem/1 var(--f-body); letter-spacing: 0; color: var(--muted); text-decoration: none; }
.plan-was del { text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: rgba(255,255,255,.55); }
.plan-was em { font-style: normal; font-size: var(--t-xs); font-weight: 700; color: #DDD5FF; padding: 3px 8px; border-radius: 999px; background: rgba(201,190,255,.12); }
.plan-price span { font: 600 var(--t-body) var(--f-body); letter-spacing: 0; color: var(--muted); margin-left: 8px; }
.lv-old, .lv-note { font-size: var(--t-sm); color: var(--muted); min-height: 1.4em; }
.lv-old { text-decoration: line-through; }
.plan .btn { margin-block: var(--sp-2) var(--sp-3); }
.plan ul { display: grid; gap: var(--sp-3); font-size: var(--t-sm); color: var(--soft); }
.plan li { display: flex; gap: var(--sp-2); } .plan li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--ok); margin-top: 1px; }
.cmp-wrap { margin-top: var(--sp-4); border-radius: 18px; background: var(--panel); overflow: hidden; }
.cmp-wrap summary { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); min-height: 60px; padding: var(--sp-3) var(--sp-5); cursor: pointer; list-style: none; font-weight: 700; }
.cmp-wrap summary::-webkit-details-marker { display: none; }
.cmp-wrap summary:hover { background: var(--panel-2); }
.cmp-wrap summary:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
.cmp-wrap .faq-ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--muted); transition: transform var(--dur) var(--ease); }
.cmp-wrap .faq-ic svg { width: 14px; height: 14px; }
.cmp-wrap[open] .faq-ic { transform: rotate(45deg); }
.lv-cmp { padding: 0 var(--sp-5) var(--sp-3); overflow-x: auto; }
.lv-cmp table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); min-width: 540px; }
.lv-cmp th, .lv-cmp td { padding: var(--sp-3) var(--sp-2); border-bottom: 1px solid var(--hair); text-align: center; }
.lv-cmp tbody th { text-align: left; color: var(--muted); font-weight: 500; }
.lv-cmp thead th { font-size: var(--t-xs); font-weight: 800; }
.lv-cmp thead th:first-child { text-align: left; color: var(--muted); }
.lv-cmp tr:last-child th, .lv-cmp tr:last-child td { border-bottom: 0; }
.lv-cmp td.on { background: rgba(255,255,255,.025); }

.faq-s { padding-block: var(--sp-10); }
.faq-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: var(--sp-8); align-items: start; }
.faq-split > div:first-child { display: grid; gap: var(--sp-3); }
@media (max-width: 900px) { .faq-split { grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); } }
.landing .faq { background: var(--panel); border: 0; }
.landing .faq summary:hover { background: var(--panel-2); }

/* ==========================================================================
   ФИНАЛ: команды висят на разной глубине вокруг заголовка
   ========================================================================== */
.final { padding-block: var(--sp-11) var(--sp-12); }
.final-in { position: relative; display: grid; justify-items: center; gap: var(--sp-5); text-align: center; padding-block: var(--sp-9); perspective: 1200px; }
.final-in::before { content: ''; position: absolute; inset: 10% 20%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 18%, transparent), transparent); filter: blur(20px); }
.final-chips { position: absolute; inset: 0; pointer-events: none; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.final-chips span { position: absolute; left: var(--x); top: var(--y); transform: translateZ(var(--z)); padding: 10px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--soft);
    background: linear-gradient(180deg, #202020, #171717); border: 1px solid rgba(255,255,255,.07); box-shadow: 0 20px 40px -18px rgba(0,0,0,.9); }
.final-chips code { color: var(--accent-text); font-size: 13px; }
@media (max-width: 860px) { .final-chips { display: none; } }
.final-h { font: 700 clamp(2.125rem, 1.2rem + 3.6vw, 4.25rem)/1.02 var(--f-display); letter-spacing: -.05em; text-wrap: balance; max-width: 14ch; }
@media (max-width: 640px) { .final-in .btn { width: 100%; } }

/* ==========================================================================
   v5.1 · избирательные эффекты и атмосфера
   ========================================================================== */
/* атмосфера: одна мягкая подсветка на всю страницу, цвет — от раздела на экране */
.atm { position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(50% 45% at 88% 8%, color-mix(in srgb, var(--c-accent) 9%, transparent), transparent 70%),
                radial-gradient(45% 40% at 6% 96%, color-mix(in srgb, var(--c-alt) 6%, transparent), transparent 70%);
    transition: --c-accent 900ms var(--ease), --c-alt 900ms var(--ease); }
@media (prefers-reduced-motion: reduce) { .atm { transition: none; } }
/* жидкая подсветка в оглавлении */
.tour-nav { position: sticky; }
.tour-nav a { z-index: 1; }
.tour-nav a[aria-current] { background: transparent; }
.tour-pill { position: absolute; left: 0; top: 0; z-index: 0; opacity: 0; border-radius: 12px; pointer-events: none;
    background: color-mix(in srgb, var(--c-accent) 14%, var(--panel-2)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-accent) 28%, transparent);
    transition: transform 520ms cubic-bezier(.3,1.35,.45,1), width 380ms var(--ease), height 380ms var(--ease), opacity 200ms, --c-accent 600ms var(--ease); }
@media (prefers-reduced-motion: reduce) { .tour-pill { transition: opacity 1ms; } }
@media (max-width: 1100px) { .tour-nav a[aria-current] { border-color: transparent; } }
/* магнитные кнопки */
.is-magnetic { transform: translate(var(--mgx, 0px), var(--mgy, 0px)); transition: transform 260ms var(--ease), background-color var(--dur), border-color var(--dur); }
/* вторая сторона виджета */
.wd-glass { perspective: 1200px; }
.wd-glass::after { content: none; }
.wd-flip { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 700ms cubic-bezier(.2,.8,.2,1); }
.wd.is-flipped .wd-flip { transform: rotateY(180deg); }
.wd-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: inherit; }
.wd-back { transform: rotateY(180deg); display: grid; align-content: center; gap: 10px; padding: 20px;
    background: radial-gradient(90% 90% at 100% 0%, var(--accent-soft), transparent 70%), linear-gradient(180deg, #1E1E1E, #161616); }
.wb-k { font-size: 12px; font-weight: 700; color: var(--accent-text); }
.wb-url { font-size: 12.5px; color: var(--text); padding: 8px 10px; border-radius: 8px; background: #101010; overflow-wrap: anywhere; }
.wb-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); } .wb-row b { color: var(--text); font-weight: 600; }
.wd figcaption { align-items: center; }
.wd-turn { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding-inline: 10px; border-radius: 999px; background: rgba(255,255,255,.06); font-size: 12px; font-weight: 600; color: var(--soft); transition: background-color var(--dur), color var(--dur); }
.wd-turn svg { width: 14px; height: 14px; }
.wd-turn:hover, .wd-turn[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent-text); }
@media (prefers-reduced-motion: reduce) { .wd-flip { transition: none; } }
/* жар под курсором в CS2 */
.cs2-match { position: relative; isolation: isolate; overflow: hidden; }
.cs2-match::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 400ms var(--ease);
    background: radial-gradient(280px circle at var(--hx, 50%) var(--hy, 50%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); }
.cs2-match.is-hot::before { opacity: 1; }
/* контекстный акцент в главах главной */
.ch[data-ctx] .ch-h { text-wrap: balance; }
.wd[data-ctx] .wd-glass { box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 30px 60px -30px rgba(0,0,0,.8), 0 0 0 1px color-mix(in srgb, var(--accent) 10%, transparent); }
.ana-chart { color: var(--accent-text); }

/* ==========================================================================
   v6 · визуальный язык главной: «студия эфира»
   Почти чёрный графит, глубина — от света, а не от сеток и точек. Бренд на главной — белый «эфирный» свет:
   белые кнопки, лиловый и бирюзовый — только как рассеянный свет. Оранжевый Fragly остаётся там, где CS2 и FACEIT.
   Без декоративных кругов и сеток: глубина — от света, типографики и самих панелей продукта.
   ========================================================================== */
.landing { --bg: #090909; --panel: #121212; --panel-2: #181818; --hair: rgba(255,255,255,.06); background: var(--bg); }
.landing[data-ctx="brand"], .landing [data-ctx="brand"], .landing .site-header { --c-accent: #F4F4F6; --c-hi: #FFFFFF; --c-text: #C9BEFF; --c-on: #09090B; --c-alt: #7C5CFF; }
.landing .btn-primary { box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 10px 30px -12px rgba(255,255,255,.35); }
.landing .btn-primary:hover { background: #fff; box-shadow: 0 1px 0 #fff inset, 0 14px 34px -12px rgba(200,190,255,.55); }
/* общий свет страницы: лиловый сверху справа, бирюзовый слева; цвет раздела подмешивается очень слабо */
.landing .atm { background:
    radial-gradient(42% 38% at 82% 6%, rgba(124,92,255,.13), transparent 70%),
    radial-gradient(38% 34% at 4% 62%, rgba(34,211,238,.06), transparent 70%),
    radial-gradient(40% 30% at 92% 92%, color-mix(in srgb, var(--c-accent) 5%, transparent), transparent 70%); }
.landing .atm::after { content: ''; position: absolute; inset: 0; opacity: .045; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22160%22%20height%3D%22160%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%22.85%22%20numOctaves%3D%222%22%20stitchTiles%3D%22stitch%22/%3E%3CfeColorMatrix%20values%3D%220%200%200%200%201%200%200%200%200%201%200%200%200%200%201%200%200%200%20.5%200%22/%3E%3C/filter%3E%3Crect%20width%3D%22160%22%20height%3D%22160%22%20filter%3D%22url%28%23n%29%22%20opacity%3D%22.5%22/%3E%3C/svg%3E"); mix-blend-mode: overlay; }
/* первый экран: только мягкий студийный свет за пультом */
.landing .hero-bg { background:
    radial-gradient(560px 430px at 74% 44%, rgba(124,92,255,.28), transparent 70%),
    radial-gradient(420px 320px at 88% 76%, rgba(34,211,238,.10), transparent 70%);
    -webkit-mask-image: radial-gradient(75% 85% at 72% 45%, #000 35%, transparent 88%); mask-image: radial-gradient(75% 85% at 72% 45%, #000 35%, transparent 88%); }
.landing .hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.08) 30%, rgba(255,255,255,.08) 70%, transparent); }
.landing .hero-h { letter-spacing: -.055em; }
/* три обещания: короткая линия цвета своего раздела (бот — лиловый, зрители — бирюзовый, эфир — белый) */
.landing .why-list li:nth-child(1) b::before { background: var(--tone-twitch); }
.landing .why-list li:nth-child(2) b::before { background: #22D3EE; }
.landing .why-list li:nth-child(3) b::before { background: #F4F4F6; }
/* превью на главной: не «шахматка», а сцена — глубокий графит с верхним бликом */
.landing .preview, .landing .wd-glass { background: radial-gradient(120% 90% at 50% 0%, #1C1C1C, #0D0D0D 70%); border: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 60px -34px rgba(0,0,0,.9); }
.landing .preview::after { box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.landing .pnl { background: linear-gradient(180deg, #191919 0%, #121212 100%); }
/* пример трека в первом экране — сам виджет, без панели-подложки под ним (лишняя «задняя плашка») */
.landing .deck .pnl.pnl-sp { background: none; }
/* тарифы: выделение Premium — тонкая линия света сверху, без оранжевого свечения */
.landing .plan { background: var(--panel); }
.landing .plan.is-pop { position: relative; background: linear-gradient(180deg, #181818, #121212 60%); box-shadow: inset 0 0 0 1px rgba(201,190,255,.14); }
.landing .plan.is-pop::before { content: ''; position: absolute; left: 24px; right: 24px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, #C9BEFF, #FF7A45, transparent); }
.landing .plan .pop { background: rgba(201,190,255,.12); color: #DDD5FF; }
/* финальный экран: тот же студийный свет, что и в начале — страница закольцована */
.landing .final-in::before { background: radial-gradient(closest-side, rgba(124,92,255,.22), rgba(34,211,238,.06) 60%, transparent); }
.landing .final-chips span { background: rgba(20,20,26,.8); }
/* CS2-раздел остаётся оранжевым — это его контекст */
/* «20+ виджетов»: три сильнейших — карточка рейтинга крупнее, компактный и полароид рядом */
.landing .wrow { align-items: end; }
.landing .wrow .wfig .preview { height: 230px; }
@media (max-width: 900px) { .landing .wrow { grid-template-columns: minmax(0, 1fr); } .landing .wrow .wfig .preview { height: 200px; } }
.landing .sw.is-on { background: var(--tone-twitch); }
/* бейдж голоса в карточке озвучки: две строки, никогда не вылезает из панели */
.tts-play { min-width: 0; }
.tts-voice { height: auto; min-width: 0; flex: 0 1 auto; display: grid; gap: 1px; padding: 5px 10px; border-radius: 10px; line-height: 1.2; }
.tts-voice b { font-size: 12px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tts-voice small { font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.tts-play .wave { flex-shrink: 0; }
@media (min-width: 901px) { .landing .wrow { grid-template-columns: 1.3fr 1fr 1.15fr; } }

/* ---- Аналитика на главной (пример): онлайн эфира, воронка, теплокарта, топ команд ---- */
.ana-card { display: grid; gap: var(--sp-3); }
.ana-ct { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.ana-ct small, .ana-cols3 small { display: block; font-size: 12.5px; color: var(--muted); }
.ana-cols3 small { margin-bottom: var(--sp-3); }
.ana-lg { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.ana-lg i { display: inline-block; width: 14px; height: 0; border-top: 2.5px solid var(--accent-text); margin-left: 8px; } .ana-lg i.l2 { border-top: 1.5px dashed rgba(255,255,255,.4); }
.ana-plot { position: relative; }
.ana-chart .avg { stroke: rgba(255,255,255,.32); stroke-width: 1.5; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.ana-plot .pk { position: absolute; transform: translate(-50%, -100%); display: grid; justify-items: center; gap: 1px; padding-bottom: 10px; font-size: 11.5px; color: var(--muted); white-space: nowrap; pointer-events: none; }
.ana-plot .pk b { font: 700 15px/1 var(--f-display); color: var(--text); }
.ana-plot .pk i { position: absolute; bottom: -5px; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--accent); }
.ana-cols3 { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-6); }
@media (max-width: 900px) { .ana-cols3 { grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); } }
.ana-fn { display: grid; gap: 12px; }
.ana-fn li { display: grid; grid-template-columns: minmax(0, 1fr) 40px; gap: 4px 10px; align-items: center; }
.ana-fn .ft { grid-column: 1 / -1; display: flex; gap: 8px; align-items: baseline; font-size: 13px; color: var(--muted); } .ana-fn .ft b { font: 700 1.05rem/1 var(--f-display); color: var(--text); font-variant-numeric: tabular-nums; }
.ana-fn .ana-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.06); overflow: hidden; } .ana-fn .ana-bar i { display: block; height: 100%; width: var(--w); border-radius: 4px; background: var(--accent); }
.ana-fn li + li .ana-bar i { background: color-mix(in srgb, var(--accent) 60%, #888888); }
.ana-fn em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.ana-heat { display: grid; grid-template-columns: 22px repeat(12, minmax(0, 1fr)); gap: 3px; align-items: center; }
.ana-heat .hd { font-size: 10.5px; color: var(--muted); }
.ana-heat i { aspect-ratio: 1.5; border-radius: 3px; background: color-mix(in srgb, var(--accent) calc(var(--v) * 100%), rgba(255,255,255,.05)); }
.ana-hx { display: flex; justify-content: space-between; margin: 6px 0 0 25px; font-size: 10.5px; color: var(--muted); }
.counts4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); padding-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,.06); }
@media (max-width: 760px) { .counts4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.counts4 li { display: grid; gap: 2px; font-size: 13px; color: var(--muted); } .counts4 b { font: 700 1.5rem/1.1 var(--f-display); letter-spacing: -.04em; color: var(--text); }

/* ---- Примеры голосов: карточки с формой волны ---- */
.vs-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .vs-list { grid-template-columns: minmax(0, 1fr); } }
.vs { display: grid; grid-template-rows: auto 1fr auto; gap: 8px; padding: 14px 14px 12px; border-radius: 14px; background: var(--panel); border: 1px solid rgba(255,255,255,.07); transition: border-color .2s, background .2s; }
.vs.is-on { border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: var(--panel-2); }
.vs-h { display: grid; gap: 2px; } .vs-h b { font-size: 14px; color: var(--accent-text, var(--text)); }
.vs:last-child:nth-child(odd) { grid-column: 1 / -1; }
.vs-src { font-size: 10.5px; font-weight: 600; letter-spacing: .02em; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vs-src a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); text-underline-offset: 2px; }
.vs-src a:hover { color: var(--text); text-decoration-color: currentColor; }
.vs-q { font-size: 12.5px; line-height: 1.45; color: var(--soft, var(--muted)); }
.vs-p { display: flex; align-items: center; gap: 10px; }
.vs-btn { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; border: 0; cursor: pointer; background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent-text, #fff); transition: transform .15s; }
.vs-btn:hover { transform: scale(1.06); } .vs.is-on .vs-btn { background: var(--accent); color: var(--on-accent, #fff); }
.vs-wave { flex: 1; display: flex; align-items: center; gap: 2px; height: 26px; min-width: 0; }
.vs-wave i { flex: 1; height: var(--h); min-height: 3px; border-radius: 2px; background: rgba(255,255,255,.22); transition: background .15s; }
.vs-wave i.on { background: var(--accent); }
.vs-t { font: 600 11px/1 var(--f-mono, monospace); color: var(--muted); width: 30px; text-align: right; font-variant-numeric: tabular-nums; }

/* ---- Стыки больших частей (Twitch → FACEIT, переход к тарифам): заголовок проявляется из размытия,
        сверху — мягкая размытая полоса света цвета следующей части. Остальные заголовки не размываются ---- */
.blur-in { --bp: 0; filter: blur(calc((1 - var(--bp)) * 12px)); opacity: calc(.2 + var(--bp) * .8); transform: translateY(calc((1 - var(--bp)) * 18px)); will-change: filter, opacity, transform; }
[data-seam] { position: relative; isolation: isolate; --sp: 0; }
.seam-glow { position: absolute; left: 0; right: 0; top: -140px; height: 300px; z-index: -1; pointer-events: none; opacity: calc(.25 + var(--sp) * .75);
    -webkit-mask-image: linear-gradient(transparent, #000 35%, #000 60%, transparent); mask-image: linear-gradient(transparent, #000 35%, #000 60%, transparent); }
.seam-glow::before { content: ''; position: absolute; inset: 60px -10%; border-radius: 50%; filter: blur(60px); transform: scaleX(calc(.6 + var(--sp) * .4)); }
[data-seam="faceit"] .seam-glow::before { background: linear-gradient(90deg, rgba(124,92,255,.22), rgba(255,122,69,.30) 55%, rgba(255,85,0,.18)); }
[data-seam="pricing"] .seam-glow::before { background: linear-gradient(90deg, rgba(255,122,69,.16), rgba(201,190,255,.22) 50%, rgba(34,211,238,.12)); }
/* тонкая «линия горизонта» по шву: из размытия собирается в чёткую по мере прокрутки */
.seam-glow::after { content: ''; position: absolute; left: 8%; right: 8%; top: 140px; height: 1px; filter: blur(calc((1 - var(--sp)) * 6px));
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.18) 30%, rgba(255,255,255,.18) 70%, transparent); }
@media (prefers-reduced-motion: reduce) { .seam-glow { opacity: 1; } .seam-glow::before { transform: none; } .seam-glow::after { filter: none; } }

/* ---- Оповещения бота (фоллоу, рейд, саб): синие и курсивом, остальные сообщения бота — обычные ---- */
.hm.is-me span, .hm.is-me .bot { color: #3A9BFF; }
.hm.is-me span { font-style: italic; }
.hm.is-me b::after { content: none; }
.tc-m.is-me .tc-t { color: #3A9BFF; font-style: italic; }
/* ---- Эмоуты 7TV в чатах главной: слово → стикер ---- */
.e7 { display: inline-block; height: 1.75em; width: auto; max-width: 5em; vertical-align: middle; margin: -.3em .08em -.2em; object-fit: contain; }
.hm .e7 { height: 1.6em; }

/* ---- Живая линия онлайна в панели статуса ---- */
.st-live { flex: 0 0 84px; height: 30px; margin-left: auto; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%); mask-image: linear-gradient(90deg, transparent, #000 25%); }
.st-live svg { display: block; width: 100%; height: 100%; overflow: visible; }
.st-list small#hero-viewers { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---- График эфира: перекрестие, точка и подсказка при наведении ---- */
.ana-plot { cursor: crosshair; }
.ana-plot .xh { stroke: rgba(255,255,255,.28); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .15s; }
.ana-plot .xdot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--accent); opacity: 0; pointer-events: none; transition: opacity .15s; }
.ana-plot .xtip { position: absolute; transform: translate(-50%, calc(-100% - 14px)); display: grid; gap: 1px; padding: 6px 10px; border-radius: 10px; background: #1F1F1F; border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 12px 30px -10px rgba(0,0,0,.8); font-size: 12px; color: var(--muted); white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s; }
.ana-plot .xtip b { font: 700 15px/1.1 var(--f-display); color: var(--text); } .ana-plot .xtip small { font-size: 11px; }
.ana-plot.is-x .xh, .ana-plot.is-x .xdot, .ana-plot.is-x .xtip { opacity: 1; }
.ana-plot.is-x .pk { opacity: .25; }
.ana-plot .pk { transition: opacity .4s; }
.ana.fx-pre .pk, .ana.pk-wait .pk, .ana.fx-pre .ana-heat i, .ana.fx-pre .ana-bar i, .ana.fx-pre .m i { opacity: 0; }

/* ---- Всё в одном: сетка возможностей ---- */
.feat { padding-block: var(--sp-8) var(--sp-10); }
.feat .sec-h { margin-bottom: var(--sp-6); }
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.07); }
.feat-grid li { display: grid; gap: 6px; align-content: start; padding: var(--sp-6) var(--sp-5); border-bottom: 1px solid rgba(255,255,255,.07); border-right: 1px solid rgba(255,255,255,.07); transition: background .25s; }
.feat-grid li:nth-child(3n) { border-right: 0; }
.feat-grid li:hover { background: rgba(255,255,255,.02); }
.feat-grid .fi { color: var(--accent-text, #C4B5FD); margin-bottom: 8px; } .feat-grid .fi svg { width: 22px; height: 22px; }
.feat-grid b { font: 600 1.02rem/1.3 var(--f-display); letter-spacing: -.02em; }
.feat-grid span:not(.fi) { font-size: 13.5px; line-height: 1.55; color: var(--muted); }
@media (max-width: 900px) { .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .feat-grid li:nth-child(3n) { border-right: 1px solid rgba(255,255,255,.07); } .feat-grid li:nth-child(2n) { border-right: 0; } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: minmax(0, 1fr); } .feat-grid li { border-right: 0 !important; padding-inline: 0; } }

/* ---- Песочница: живой чат (в блоке «Чат-бот») ---- */
/* новые сообщения внизу, а старые можно пролистать вверх: прижимаем к низу через margin-top:auto у первого сообщения
   (align-content:end уводил переполнение за верхний край, и до него нельзя было долистать) */
.tc-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 12px 16px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
.tc-log > :first-child { margin-top: auto; }
.tc-m { font-size: 13.5px; line-height: 1.5; animation: tcIn .3s ease both; } .tc-m b { font-weight: 700; }
.tc-m.is-old { animation: none; }
.tc-m.is-del .tc-t i { color: var(--muted); }
@keyframes tcIn { from { opacity: 0; transform: translateY(6px); } }
.tc-b { display: inline-block; margin-right: 6px; padding: 1px 5px; border-radius: 4px; font: 800 9.5px/1.5 var(--f-body); letter-spacing: .04em; vertical-align: 1px; color: #0C0C0C; }
.tc-mod { background: #22C55E; } .tc-bot { background: #8B5CF6; color: #fff; } .tc-vip { background: #EC4899; color: #fff; } .tc-you { background: #414141; color: #fff; }
.tc-in { display: flex; gap: 8px; padding: 12px; border-top: 1px solid rgba(255,255,255,.07); }
.tc-in input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.1); background: #0D0D0D; color: var(--text); font: inherit; font-size: 14px; outline: none; transition: border-color .2s; }
.tc-in input:focus { border-color: var(--accent-line, rgba(169,112,255,.6)); }
.tc-in button { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 0; background: var(--accent, #8B5CF6); color: #fff; cursor: pointer; } .tc-in button svg { width: 18px; height: 18px; }

/* ==========================================================================
   v7 · Аналитика на главной — свежий дашборд в одном оттенке (--hue).
   Плитки со спарклайнами, плавная кривая с мягким свечением, тонкая сплошная сетка,
   подписи цветом текста (не данных), точки с кольцом цвета фона, перекрестие с подсказкой.
   ========================================================================== */
.ana { --hue: #9C8CFF; --hue-2: #6D5BFF; --surf: #141414; }
.ana .ana-body { gap: var(--sp-5); }
/* плитки показателей */
.ana .ana-kpis { gap: 12px; }
.ana .kpi { position: relative; display: grid; gap: 6px; padding: 14px 16px 0; border-radius: 14px; overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.008)); border: 1px solid rgba(255,255,255,.06); }
.ana .kpi small { font-size: 12.5px; color: var(--muted); }
.ana .kpi-v { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.ana .kpi-v b { font: 700 clamp(1.375rem, 1rem + 1vw, 1.875rem)/1.05 var(--f-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ana .kpi-v em { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; color: #7EE7A8; background: rgba(74,222,128,.1); }
.ana .spark { display: block; width: calc(100% + 32px); height: 38px; margin: 2px -16px 0; color: var(--hue); }
.ana .spark .sl { fill: none; stroke: currentColor; stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.ana .spark .sw { fill: currentColor; opacity: .12; }
/* главный график */
.ana .ana-main { gap: var(--sp-4); padding: 18px 18px 14px; border-radius: 16px; border: 1px solid rgba(255,255,255,.06);
    background: radial-gradient(90% 120% at 0% 0%, color-mix(in srgb, var(--hue) 9%, transparent), transparent 60%), rgba(255,255,255,.015); }
.ana .ana-ct { align-items: flex-end; }
.ana .ana-head { display: grid; gap: 4px; }
.ana .ana-head small { font-size: 12.5px; color: var(--muted); }
.ana .ana-head b { font: 700 clamp(1.75rem, 1.2rem + 1.4vw, 2.375rem)/1 var(--f-display); letter-spacing: -.045em; }
.ana .ana-head em { font: 500 13px/1 var(--f-body); letter-spacing: 0; font-style: normal; color: var(--muted); }
.ana .ana-lg { gap: 0; }
.ana .ana-lg i { width: 16px; margin: 0 6px 0 14px; }
.ana .ana-lg i.l1 { border-top: 2px solid var(--hue); margin-left: 0; }
.ana .ana-lg i.l2 { border-top: 1.5px dashed rgba(255,255,255,.4); }
.ana .ana-chart { display: grid; grid-template-columns: 30px minmax(0, 1fr); color: var(--hue); }
.ana .ana-chart svg { height: 220px; }
.ana .ana-y { position: relative; }
.ana .ana-y span { position: absolute; right: 8px; transform: translateY(-50%); font: 500 10.5px/1 var(--f-mono, monospace); color: var(--muted); font-variant-numeric: tabular-nums; }
.ana .ana-x { grid-column: 2; font: 500 11px var(--f-mono, monospace); }
.ana .ana-chart .gl { stroke: rgba(255,255,255,.05); stroke-width: 1; }
.ana .ana-chart .gl.base { stroke: rgba(255,255,255,.14); }
.ana .ana-chart .ln { stroke: currentColor; stroke-width: 2; }
.ana .ana-chart .glow { fill: none; stroke: currentColor; stroke-width: 6; opacity: .35; vector-effect: non-scaling-stroke; }
.ana .ana-chart .avg { stroke: rgba(255,255,255,.3); stroke-width: 1; stroke-dasharray: 4 5; }
.ana .avg-l { position: absolute; right: 0; transform: translateY(calc(-100% - 4px)); font-size: 11px; color: var(--muted); pointer-events: none; transition: opacity .4s; }
/* пик рейда: точка с кольцом цвета фона + выноска */
.ana .ana-plot .pk { position: absolute; width: 0; height: 0; padding: 0; transform: none; display: block; }
.ana .pk i, .ana .ana-end i { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--hue); box-shadow: 0 0 0 2px var(--surf); }
.ana .pk i { bottom: auto; box-shadow: 0 0 0 2px var(--surf), 0 0 0 6px color-mix(in srgb, var(--hue) 22%, transparent); }
.ana .pk-l { position: absolute; left: 0; bottom: 18px; transform: translateX(-50%); display: grid; justify-items: center; gap: 2px; padding: 6px 10px; border-radius: 10px;
    background: rgba(22,22,30,.92); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 10px 24px -12px rgba(0,0,0,.8); font-size: 11px; color: var(--muted); white-space: nowrap; }
.ana .pk-l b { font: 700 15px/1 var(--f-display); color: var(--text); }
.ana .pk-l::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 12px; background: rgba(255,255,255,.22); }
/* последняя точка — «сейчас», мягко пульсирует */
.ana .ana-end { position: absolute; width: 0; height: 0; pointer-events: none; transition: opacity .4s; }
.ana .ana-end i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--hue); opacity: 0; }
@media (prefers-reduced-motion: no-preference) { .ana .ana-end i::after { animation: endPulse 2.4s ease-out infinite; } }
@keyframes endPulse { 0% { opacity: .7; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.6); } }
/* перекрестие и подсказка */
.ana .ana-plot .xh { stroke: rgba(255,255,255,.22); stroke-dasharray: none; }
.ana .ana-plot .xdot { background: var(--hue); box-shadow: 0 0 0 2px var(--surf), 0 0 0 7px color-mix(in srgb, var(--hue) 20%, transparent); }
.ana .ana-plot .xtip { min-width: 112px; padding: 8px 12px; border-radius: 12px; background: rgba(24,24,32,.96); }
.ana .ana-plot .xtip b { font-size: 18px; }
.ana .xtip .up { font-size: 11px; color: #7EE7A8; } .ana .xtip .dn { font-size: 11px; color: #FCA5A5; }
.ana.fx-pre .ana-end, .ana.pk-wait .ana-end, .ana.fx-pre .avg-l { opacity: 0; }
.ana .ana-plot.is-x .ana-end { opacity: .3; }
/* нижние плитки */
.ana .ana-cols3 { gap: 12px; }
.ana .ana-tile { padding: 16px; border-radius: 14px; background: rgba(255,255,255,.018); border: 1px solid rgba(255,255,255,.06); }
.ana .ana-fn { gap: 14px; }
.ana .ana-fn li { grid-template-columns: minmax(0, 1fr); gap: 7px; }
.ana .ana-fn .ft span { font-size: 12.5px; }
.ana .ana-fn .ft em { margin-left: auto; padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.06); font-size: 11.5px; font-weight: 700; color: var(--text); text-align: right; }
.ana .ana-fn .ana-bar { height: 10px; border-radius: 5px; background: rgba(255,255,255,.05); }
.ana .ana-fn .ana-bar i { border-radius: 5px; background: linear-gradient(90deg, var(--hue-2), var(--hue)); }
.ana .ana-fn li + li .ana-bar i { background: linear-gradient(90deg, var(--hue-2), var(--hue)); opacity: .72; }
.ana .ana-fn li + li + li .ana-bar i { opacity: .5; }
.ana .ana-heat i { border-radius: 4px; background: color-mix(in srgb, var(--hue) calc(var(--v) * 100%), rgba(255,255,255,.04)); }
.ana .ana-scale { display: flex; align-items: center; gap: 3px; margin-top: 10px; font-size: 10.5px; color: var(--muted); }
.ana .ana-scale span:first-child { margin-right: 4px; } .ana .ana-scale span:last-child { margin-left: 4px; }
.ana .ana-scale i { width: 14px; height: 8px; border-radius: 2px; background: color-mix(in srgb, var(--hue) var(--k), rgba(255,255,255,.04)); }
.ana .ana-scale i:nth-of-type(1) { --k: 8%; } .ana .ana-scale i:nth-of-type(2) { --k: 30%; } .ana .ana-scale i:nth-of-type(3) { --k: 55%; } .ana .ana-scale i:nth-of-type(4) { --k: 80%; } .ana .ana-scale i:nth-of-type(5) { --k: 100%; }
.ana .meters { gap: 12px; }
.ana .meters li { grid-template-columns: 56px minmax(0, 1fr) 34px; }
.ana .meters .m { height: 10px; border-radius: 5px; background: rgba(255,255,255,.05); }
.ana .meters .m i { border-radius: 5px; background: color-mix(in srgb, var(--hue) 45%, #4D4D4D); }
.ana .meters li:first-child .m i { background: linear-gradient(90deg, var(--hue-2), var(--hue)); }
.ana .meters .v { color: var(--text); font-weight: 600; }
.ana .counts4 { gap: 12px; padding-top: 0; border-top: 0; }
.ana .counts4 li { padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.018); border: 1px solid rgba(255,255,255,.06); }

/* ==========================================================================
   v7 · главная в духе velgardi.ru
   Графит #111 и штриховка фона (site.css, .bg-tex), Inter 900 капсом с мягким белым свечением, оранжевая плашка
   со свечением на ключевом слове, подписи капсом с широкой разрядкой, карточки с бликом, оранжевой полоской
   снизу и 3D-наклоном за курсором (landing.js). Лиловый и бирюзовый свет убраны — акцент один.
   ========================================================================== */
.landing { --bg: #111111; --panel: #181818; --panel-2: #1E1E1E; --hair: rgba(255,255,255,.08); --soft: #C9C9C9; }
.landing[data-ctx], .landing [data-ctx], .landing .site-header { --c-accent: var(--tone-cs2); --c-hi: var(--tone-cs2-hi); --c-text: var(--tone-cs2-text); --c-on: var(--tone-cs2-on); --c-alt: #FFB547; }
.landing .btn-primary { box-shadow: none; }
.landing .btn-primary:hover { background: var(--accent-hi); box-shadow: 0 0 24px rgba(255,69,0,.5); }
/* свет: едва заметное тёплое свечение вместо цветных пятен; шум убран — фактуру даёт штриховка */
.landing .atm { background: radial-gradient(40% 34% at 86% 4%, rgba(255,69,0,.07), transparent 70%), radial-gradient(36% 30% at 4% 70%, rgba(255,255,255,.025), transparent 70%); }
.landing .atm::after { content: none; }
.landing .hero-bg { background: radial-gradient(520px 420px at 74% 46%, rgba(255,69,0,.13), transparent 70%); }
.landing .final-in::before { background: radial-gradient(closest-side, rgba(255,69,0,.16), transparent); }

/* ---------- типографика ---------- */
.hero-kicker, .sr-off-h, .voices-h, .cs2-mode { text-transform: uppercase; letter-spacing: .3em; font-weight: 400; font-size: 12.5px; color: rgba(255,255,255,.6); }
.hero-h { font-weight: 900; text-transform: uppercase; font-size: clamp(2.5rem, 1rem + 4.2vw, 4.9rem); line-height: .92; letter-spacing: -.05em; max-width: none; text-shadow: 0 0 5px rgba(255,255,255,.2); }
.landing .hero-h { letter-spacing: -.05em; }
/* ключевое слово на оранжевой плашке, которая «дышит» светом */
.hl { position: relative; display: inline-block; z-index: 0; padding-inline: .06em; margin-left: .02em; }
.hl::after { content: ''; position: absolute; inset: -.03em -.07em -.07em; z-index: -1; background: var(--accent); box-shadow: 0 0 15px rgba(255,69,0,.9); }
@media (prefers-reduced-motion: no-preference) { .hl::after { animation: hlPulse 2s ease-in-out infinite; } }
@keyframes hlPulse { 50% { background: #FF6A1A; box-shadow: 0 0 25px rgba(255,69,0,1); } }
.sec-h, .ch-h { font-weight: 800; letter-spacing: -.04em; }
.sec-h.big, .final-h { font-weight: 900; text-transform: uppercase; letter-spacing: -.045em; line-height: .95; text-shadow: 0 0 5px rgba(255,255,255,.15); }
.ana .kpi-v b, .ana .ana-head b, .plan-price { font-weight: 800; }
/* линия-разделитель с «//» посередине, как внизу у velgardi */
.hero::after { content: ''; position: absolute; left: 50%; bottom: 34px; width: min(var(--container), calc(100% - var(--gutter) * 2)); height: 1px; translate: -50% 0; background: rgba(255,255,255,.22); }
.hero::before { content: '//'; position: absolute; left: 50%; bottom: 12px; translate: -50% 0; color: rgba(255,255,255,.6); font: 300 17px/1 var(--f-body); letter-spacing: .05em; pointer-events: none; }
.landing .hero::after { left: 50%; right: auto; bottom: 34px; background: rgba(255,255,255,.22); }

/* ---------- карточки: как project-card у velgardi ---------- */
.feat-grid { gap: 16px; border-top: 0; }
.feat-grid li, .feat-grid li:nth-child(3n), .feat-grid li:nth-child(2n) { border: 1px solid var(--card-line); }
.int-list { gap: 16px; }
.int-list li { padding: 18px 20px; border-top: 1px solid var(--card-line); }
@media (max-width: 560px) { .feat-grid li { border-right: 1px solid var(--card-line) !important; padding-inline: var(--sp-5); } }
.vcard { position: relative; overflow: hidden; isolation: isolate; border-radius: 8px; background: var(--card-bg); border: 1px solid var(--card-line); box-shadow: var(--card-shadow);
    transform: perspective(1000px) rotateX(var(--trx, 0deg)) rotateY(var(--try, 0deg)) translateY(var(--lift, 0px)) scale(var(--sc, 1));
    transition: transform .4s cubic-bezier(.175,.885,.32,1.275), background-color .3s, border-color .3s, box-shadow .3s; }
.vcard.is-tilt { transition: transform .12s linear, background-color .3s, border-color .3s, box-shadow .3s; }
/* блик пробегает слева направо и оранжевая полоска вырастает снизу */
.vcard::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent); transform: translateX(-100%); transition: transform .7s; }
.vcard::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s ease; }
@media (hover: hover) {
    .vcard:hover { --lift: -6px; --sc: 1.02; background: rgba(40,40,40,.92); border-color: rgba(255,255,255,.25); box-shadow: 0 12px 35px rgba(0,0,0,.65); }
    .vcard:hover::before { transform: translateX(100%); }
    .vcard:hover::after { transform: scaleX(1); transform-origin: left; }
    .vcard:hover b, .vcard:hover .st-name { color: var(--accent-text); }
}
.vcard b, .vcard .st-name { transition: color .3s ease; }
.vcard:active { --lift: 2px; --sc: .98; }
@media (prefers-reduced-motion: reduce) { .vcard, .vcard::before, .vcard::after { transition: none; } }
.streamer.vcard { border-radius: 8px; }
.streamer.is-live.vcard { border-color: rgba(255,59,78,.35); }
.feat-grid li.vcard:hover { background: rgba(40,40,40,.92); }
/* панели продукта и тарифы — те же радиусы и линии, что у карточек */
.pnl { border-radius: 12px; border-color: rgba(255,255,255,.1); }
.plan { border-radius: 12px; border: 1px solid var(--card-line); }
.landing .plan.is-pop { background: linear-gradient(180deg, #1B1B1B, #141414 60%); box-shadow: inset 0 0 0 1px rgba(255,69,0,.35), 0 0 30px -10px rgba(255,69,0,.35); }
.landing .plan.is-pop::before { background: linear-gradient(90deg, transparent, #FF4500, #FFB547, transparent); }
.landing .plan .pop, .plan-was em { background: rgba(255,69,0,.14); color: #FF9A6B; }

/* ==========================================================================
   ТЕЛЕФОН (≤ 640 px): первый экран — герой с панелью целиком, дальше всё плотнее,
   длинные столбцы карточек (голоса, виджеты) — горизонтальные ленты с прокруткой пальцем
   ========================================================================== */
@media (max-width: 640px) {
    .hero { min-height: calc(100svh - 80px); padding: var(--sp-4) 0 var(--sp-6); display: flex; align-items: center; } /* 80 px — шапка сайта над героем */
    .hero > .container, .hero > .wrap { width: 100%; }
    .hero-grid { gap: var(--sp-5); }
    .hero-copy { gap: var(--sp-3); }
    .hero-h { font-size: clamp(2.05rem, 9.6vw, 2.6rem); max-width: none; }
    .hero-lead { font-size: 15px; line-height: 1.5; }
    .hero-auth { margin-top: var(--sp-1); }
    .hero-auth .btn-ghost-strong, .hero-facts { display: none; }
    .deck { height: 292px; }
    .pnl-chat { height: 236px; }
    .pnl-tts { top: 168px; left: 22%; padding: 12px; gap: 8px; }
    .pnl-tts .tts-msg { font-size: 14px; }
    /* разделы плотнее */
    .ch { padding-block: var(--sp-7) var(--sp-8); }
    .cs2, .pricing { padding-block: var(--sp-8); }
    .feat { padding-block: var(--sp-6) var(--sp-7); }
    .ch-points { margin-top: var(--sp-6); gap: var(--sp-2); }
    .cs2-wide { margin-bottom: var(--sp-7); } .cs2-grid { gap: var(--sp-7); } .cs2-grid + .cs2-match { margin-top: var(--sp-8); }
    .obs { margin-top: var(--sp-7); gap: var(--sp-5); }
    /* голоса — лента: по одной карточке на ~80 % ширины, листаются вбок */
    .vs-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-inline: calc(-1 * var(--gutter, 16px)); padding: 2px var(--gutter, 16px) 8px; scrollbar-width: none; }
    .vs-list::-webkit-scrollbar { display: none; }
    .vs-list > .vs { flex: 0 0 80%; scroll-snap-align: start; scroll-margin-left: var(--gutter, 16px); }
    .vs-q { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    /* виджеты OBS — тоже лента */
    .shelf { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(-1 * var(--gutter, 16px)); padding: 2px var(--gutter, 16px) 8px; scrollbar-width: none; }
    .shelf::-webkit-scrollbar { display: none; }
    .shelf > .wd { flex: 0 0 82%; scroll-snap-align: start; scroll-margin-left: var(--gutter, 16px); }
    .wd[data-w="chat"] .wd-glass { min-height: 0; height: 260px; }
    .wd-glass { height: 260px; }
}
