/* ============================================================
   css/index.css
   Стили платформы TGRank (Главная страница)
   Приведено к единой структуре на 12 колонок с Индексом Влияния (ИВ)
   ============================================================ */

/* --- БАЗОВЫЕ СТИЛИ И ПЕРЕМЕННЫЕ --- */
*, *::before, *::after { box-sizing: border-box; }

:root { 
    --bg: #f4f6fa; 
    --card: #ffffff; 
    --sidebar-bg: #091324; 
    --border: #e8ecf3; 
    --blue: #0099ff; 
    --blue-hover: #007acc;
    --blue-soft: rgba(0, 153, 255, 0.08); 
    --text: #1e293b; 
    --muted: #64748b; 
    --green: #10b981;
    --green-soft: rgba(16, 185, 129, 0.1);
    --orange: #f59e0b;
    --orange-soft: rgba(245, 158, 11, 0.1);
    --red: #ef4444;
}

body { 
    font-family: 'Inter', sans-serif; 
    background: var(--bg); 
    color: var(--text); 
    margin: 0; 
    padding: 0; 
    padding-top: 58.5px; 
    font-size: 11.5px; 
    -webkit-font-smoothing: antialiased; 
}

/* --- ШАПКА САЙТА (Десктоп) --- */
.white-header {
    position: fixed; top: 0; left: 0; width: 100%; height: 58.5px; 
    background: linear-gradient(90deg, #043673 0%, #025870 35%, #058d79 70%, #0ca86a 100%);
    border-bottom: 1px solid rgba(255,255,255,0.12); padding: 0 27px; display: flex;
    justify-content: space-between; align-items: center; z-index: 1000;
    box-shadow: 0 3.5px 18px rgba(0,0,0,0.1); box-sizing: border-box;
    overflow: visible;
}

.white-header::before {
    content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 306px;
    background-image: 
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="30" viewBox="0 0 60 30" opacity="0.15"><circle cx="10" cy="10" r="1.5" fill="%23ffffff"/><circle cx="25" cy="10" r="1.5" fill="%23ffffff"/><circle cx="40" cy="10" r="1.5" fill="%23ffffff"/><circle cx="10" cy="22" r="1.5" fill="%23ffffff"/><circle cx="25" cy="22" r="1.5" fill="%23ffffff"/><circle cx="40" cy="22" r="1.5" fill="%23ffffff"/></svg>'),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="85" viewBox="0 0 300 85" fill="none" opacity="0.12"><path d="M0 65 Q40 70 80 50 T180 55 T300 30" stroke="%23ffffff" stroke-width="2" fill="none"/><path d="M0 75 Q50 60 110 65 T210 40 T300 20" stroke="%23ffffff" stroke-width="1.5" fill="none"/></svg>');
    background-position: 18px 13.5px, left bottom; background-repeat: no-repeat; pointer-events: none; z-index: 1;
}

.white-header::after {
    content: ''; position: absolute; right: 0; top: 0; height: 100%; width: 288px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="320" height="85" viewBox="0 0 320 85" fill="none" opacity="0.2"><path d="M160 20 L220 35 L260 15 L290 50 L220 35 M220 35 L200 70 L290 50" stroke="%2326e696" stroke-width="1" stroke-dasharray="2 2"/><circle cx="160" cy="20" r="4" fill="%2326e696"/><circle cx="220" cy="35" r="5" fill="%2326e696"/><circle cx="260" cy="15" r="4" fill="%2326e696"/><circle cx="290" cy="50" r="6" fill="%2326e696"/><circle cx="200" cy="70" r="4" fill="%2326e696"/><path d="M285 47 L296 50 L290 54 Z" fill="%23ffffff"/></svg>');
    background-position: right center; background-repeat: no-repeat; pointer-events: none; z-index: 1;
}

.header-left-block { display: flex; align-items: center; z-index: 2; position: relative; }
.header-logo-png { height: 47px; width: auto; object-fit: contain; margin: 0 0 0 1px !important; filter: drop-shadow(0 2.5px 5.5px rgba(0,0,0,0.25)); display: block; }
.white-header-title { font-size: 29px; font-weight: 700; margin: 0 0 0 7px !important; color: #ffffff; display: flex; align-items: center; white-space: nowrap; gap: 0px; letter-spacing: -0.5px; filter: drop-shadow(0 2px 3.5px rgba(0,0,0,0.15)); }
.white-header-title b { color: #ffffff; font-weight: 700; }
.white-header-title .rank-text { color: #26e696; font-weight: 700; }
.header-desc { font-size: 11.5px; color: #ffffff !important; font-weight: 600; margin-left: 18px; margin-top: 2.5px; border-left: 1.5px solid rgba(255,255,255,0.4); padding-left: 18px; line-height: 1.2; max-width: 432px; opacity: 1 !important; filter: drop-shadow(0 2px 3.5px rgba(0,0,0,0.2)); }

.header-search { display: flex; justify-content: center; flex-grow: 1; margin-left: 20px; margin-right: 20px; z-index: 2; position: relative; max-width: 340px; }

.header-search-wrap {
    position: relative; width: 100%;
    display: flex; align-items: center;
}
.header-search-wrap svg {
    position: absolute;  top: 50%; transform: translateY(-50%);
    width: 14px; height: 14px; color: rgba(255,255,255,0.65);
    pointer-events: none; transition: color 0.2s ease;
}
.header-search input {
    width: 100%;
    padding: 9.5px 14px 9.5px 37px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 21.5px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 11.5px;
    transition: all 0.2s ease;
}
.header-search input::placeholder { color: rgba(255,255,255,0.6); }
.header-search input:focus {
    outline: none;
    background: rgba(255,255,255,0.18);
    border-color: rgba(38,230,150,0.55);
    box-shadow: 0 0 0 3px rgba(38,230,150,0.15);
}
.header-search input:focus ~ svg,
.header-search-wrap:focus-within svg { color: #26e696; }
.lang-switcher { position: relative; z-index: 20; margin-right: 11px; }
.lang-current {
    display: flex; align-items: center; gap: 5.5px;
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
    color: #ffffff; font-size: 11px; font-weight: 700; letter-spacing: 0.03em;
    padding: 8px 12.5px; border-radius: 18px; cursor: pointer; transition: all 0.15s;
}
.lang-current:hover { background: rgba(255,255,255,0.2); }
.lang-current svg { transition: transform 0.2s ease; opacity: 0.8; }
.lang-switcher.open .lang-current svg,
.lang-switcher:hover .lang-current svg { transform: rotate(180deg); }

.lang-dropdown {
    position: absolute; top: calc(100% + 7px); left: 50%; transform: translateX(-50%) translateY(-5.5px);
    background: #ffffff; border-radius: 11px; box-shadow: 0 11px 25px rgba(0,0,0,0.18);
    display: flex; flex-direction: column; min-width: 81px; padding: 5.5px;
    opacity: 0; visibility: hidden; transition: all 0.18s ease; overflow: hidden;
    z-index: 30;
}
.lang-switcher.open .lang-dropdown,
.lang-switcher:hover .lang-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.topbar-auth { z-index: 2; position: relative; }
.btn-login-top {
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.14);
    color: #ffffff; text-decoration: none; padding: 8px 18px; border-radius: 20px;
    font-size: 11.5px; font-weight: 600; transition: all 0.2s ease;
    border: 1px solid rgba(255,255,255,0.3); cursor: pointer; white-space: nowrap;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 2px 5.5px rgba(0,0,0,0.05);
}
.btn-login-top:hover {
    background: linear-gradient(90deg, #26e696, #18d2a8);
    border-color: transparent;
    color: #fff;
    transform: translateY(-1.5px);
    box-shadow: 0 9px 21px rgba(38,230,150,0.35);
}

/* --- ЦЕНТРАЛЬНАЯ ОБЛАСТЬ --- */
.main { padding: 9px 9px 36px; box-sizing: border-box; background: #f8fafc; }

/* ============================================================
   HERO BANNER — ЦЕЛЬНЫЙ БЛОК (не трогать частями!)
   ============================================================ */
.welcome-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    background: linear-gradient(120deg, #062c52 0%, #074a5e 45%, #0a7f68 100%);
    border-radius: 23.5px;
    padding: 34px 40px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(6,44,82,0.22);
    margin-bottom: 11px;
}

.welcome-banner .banner-decor-fx {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url('/uploads/banner-bg.svg');
    background-size: cover;
    background-position: center;
    mix-blend-mode: screen;
    opacity: 0.95;
}

.welcome-banner .banner-left {
    position: relative;
    z-index: 2;
    flex: 1 1 450px;
    max-width: 486px;
}

.banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(38,230,150,0.35);
    font-size: 10px;
    padding: 4.5px 11.5px;
    border-radius: 27px;
    margin-bottom: 16px;
}
.banner-badge .badge-number {
    background: linear-gradient(135deg, #26e696, #7dd3fc);
    color: #062c52;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 18px;
}
.banner-badge .badge-text { color: #ffffff; font-weight: 600; }

.banner-title { font-size: 24.5px; font-weight: 800; color: #ffffff; margin: 0 0 11px 0; letter-spacing: -0.02em; line-height: 1.15; }
.banner-title .rank-gradient {
    background: linear-gradient(90deg, #26e696, #7dd3fc);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

.banner-desc { font-size: 11.5px; color: rgba(255,255,255,0.78); margin: 0 0 16px 0; line-height: 1.6; max-width: 432px; }

.banner-actions { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; flex-wrap: wrap; }

.btn-banner-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    background: linear-gradient(90deg, #26e696, #18d2a8);
    color: #ffffff; font-size: 11px; font-weight: 700;
    padding: 11px 20px; border-radius: 12.5px; border: none;
    cursor: pointer; text-decoration: none;
    box-shadow: 0 9px 21.5px rgba(38,230,150,0.3);
    transition: all 0.2s;
}
.btn-banner-primary:hover { filter: brightness(1.06); transform: translateY(-2px); }

.btn-banner-outline {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    background: rgba(255,255,255,0.08); color: #ffffff; font-size: 11px; font-weight: 600;
    padding: 10px 20px; border-radius: 12.5px; border: 1px solid rgba(255,255,255,0.3);
    cursor: pointer; text-decoration: none; transition: all 0.2s;
}
.btn-banner-outline:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.5); }

.banner-trust { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,0.55); font-size: 10.5px; font-weight: 600; margin-bottom: 12.5px; }
.banner-trust img { height: 14.5px; filter: brightness(0) invert(1) opacity(0.85); }

.banner-features { display: flex; flex-wrap: wrap; gap: 12.5px; }
.feat-item { display: flex; align-items: center; gap: 6.5px; font-size: 10.5px; color: rgba(255,255,255,0.75); font-weight: 500; }
.feat-item svg { width: 12.5px; height: 12.5px; color: #26e696; flex-shrink: 0; }

/* Правая колонка баннера — иллюстрация со свечением и плавающей статистикой */
.banner-illustration-space {
    position: relative;
    z-index: 2;
    flex: 0 0 387px;
    height: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-img-slot {
    width: 100%;
    height: 100%;
    border: 1.5px dashed rgba(255,255,255,0.3);
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 14.5px;
    box-sizing: border-box;
}
.banner-img-slot .slot-placeholder-icon svg { width: 32.5px; height: 32.5px; }
.banner-img-slot .slot-placeholder-text { font-size: 11px; font-weight: 600; }

.banner-illustration-space .slot-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 14.5px;
    position: relative;
    z-index: 2;
    filter:
        drop-shadow(0 0 30px rgba(38,230,150,0.45))
        drop-shadow(0 0 54px rgba(20,165,255,0.28));
    animation: tabletFloat 5s ease-in-out infinite;
}

/* Пульсирующий ореол позади планшета */
.illustration-glow {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 92%;
    height: 92%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(38,230,150,0.35) 0%, rgba(20,165,255,0.18) 45%, transparent 72%);
    filter: blur(27px);
    z-index: 1;
    animation: glowPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes tabletFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}
@keyframes glowPulse {
    0%, 100% { opacity: 0.75; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}

/* Плавающие мини-плашки со статистикой вокруг иллюстрации */
.float-chip {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 6.5px;
    padding: 7px 11.5px;
    border-radius: 27px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.28);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 9px 21.5px rgba(4,20,40,0.28);
    animation: chipFloat 4.5s ease-in-out infinite;
}
.float-chip svg { flex-shrink: 0; color: #26e696; }
.float-chip .chip-dot {
    width: 6.5px; height: 6.5px; border-radius: 50%;
    background: #26e696;
    box-shadow: 0 0 0 2.5px rgba(38,230,150,0.25), 0 0 9px rgba(38,230,150,0.8);
    flex-shrink: 0;
    animation: dotPulse 1.8s ease-in-out infinite;
}

.chip-1 { top: 2%; left: -4%; animation-delay: 0s; }
.chip-2 { top: 14%; right: -8%; animation-delay: 0.6s; }
.chip-3 { bottom: 16%; right: -6%; animation-delay: 1.2s; }
.chip-4 { bottom: -2%; left: 6%; animation-delay: 1.8s; }

@keyframes chipFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}


/* --- SEO-ЛЕНТА ПОД ХИРО --- */
.seo-ribbon {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 11px;
    max-width: 774px;
    margin: -20px auto 23.5px auto;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14.5px;
    padding: 11px 20px;
    box-shadow: 0 12.5px 25px rgba(6, 44, 82, 0.12);
}
.seo-ribbon-icon {
    flex-shrink: 0;
    width: 27px; height: 27px;
    border-radius: 8px;
    background: linear-gradient(135deg, #14a5ff, #18d2a8);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3.5px 9px rgba(20,165,255,0.28);
}
.seo-ribbon-icon svg { width: 13.5px; height: 13.5px; color: #ffffff; }
.seo-ribbon-text {
    margin: 0;
    font-size: 11px;
    line-height: 1.55;
    color: #64748b;
    font-weight: 500;
}
.seo-ribbon-text b { color: #0f172a; font-weight: 800; }

@media (max-width: 992px) {
    .seo-ribbon {
        margin: -14.5px auto 16px auto;
        padding: 9px 12.5px;
        border-radius: 12.5px;
        gap: 8px;
        max-width: calc(100% - 18px);
    }
    .seo-ribbon-icon { width: 21.5px; height: 21.5px; border-radius: 6.5px; }
    .seo-ribbon-icon svg { width: 11px; height: 11px; }
    .seo-ribbon-text { font-size: 9.5px; }
}



/* ============================================================
   /HERO BANNER
   ============================================================ */

/* --- ЛИДЕРЫ ПЛАТФОРМЫ И СЛАЙДЕР --- */
.leaders-section {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 21.5px;
    align-items: stretch;
    background: linear-gradient(120deg, #062c52 0%, #074a5e 45%, #0a7f68 100%);
    border-radius: 20px;
    padding: 20px 20px 20px 38px;
    margin-bottom: 9px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12.5px 36px rgba(6, 44, 82, 0.18);
}
.leaders-section::before {
    content: ''; position: absolute; inset: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="600" height="400" viewBox="0 0 600 400"><circle cx="40" cy="40" r="1.6" fill="%23ffffff" opacity="0.18"/><circle cx="90" cy="70" r="1.6" fill="%23ffffff" opacity="0.14"/><circle cx="150" cy="30" r="1.6" fill="%23ffffff" opacity="0.16"/><path d="M0 340 Q120 300 260 330 T600 280" stroke="%2326e696" stroke-width="1.5" fill="none" opacity="0.22"/><path d="M0 370 Q140 330 300 355 T600 320" stroke="%23ffffff" stroke-width="1" fill="none" opacity="0.12"/></svg>');
    background-repeat: no-repeat; background-position: left bottom, right top; pointer-events: none;
}

.leaders-intro { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; color: #ffffff; }
.leaders-eyebrow { display: inline-flex; align-items: center; gap: 5.5px; align-self: flex-start; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); color: #ffffff; font-size: 10.5px; font-weight: 700; padding: 5.5px 12.5px; border-radius: 27px; margin-bottom: 14.5px; backdrop-filter: blur(2px); }
.leaders-title { font-size: 25px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 12.5px 0; color: #ffffff; }
.leaders-title .rank-gradient { background: linear-gradient(90deg, #26e696, #7dd3fc); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.leaders-desc { font-size: 12px; line-height: 1.6; color: rgba(255,255,255,0.85); max-width: 576px; margin: 0 0 16px 0; }

.leaders-keywords { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.leaders-keywords span { font-size: 10px; font-weight: 600; color: #d7fff0; background: rgba(38, 230, 150, 0.12); border: 1px solid rgba(38, 230, 150, 0.3); padding: 4.5px 11px; border-radius: 18px; white-space: nowrap; }
.leaders-cta { align-self: flex-start; box-shadow: 0 7px 18px rgba(0,0,0,0.2) !important; }

.leaders-slider { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: stretch; justify-content: center; min-width: 0; width: 100%; }
.leaders-slides-viewport { position: relative; width: 100%; min-height: 360px; }

.leader-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(7px); transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s; margin: 0 !important; }
.leader-slide.is-active { position: relative; opacity: 1; visibility: visible; transform: translateY(0); }

.leaders-dots { display: flex; gap: 6.5px; margin-top: 12.5px; }
.btn-see-all {
    font-size: 9.5px;
    font-weight: 700;
    color: #0369a1;
    text-decoration: none;
    background: rgba(20,165,255,0.08);
    border: 1px solid rgba(20,165,255,0.22);
    padding: 4.5px 11px;
    border-radius: 20px;
    white-space: nowrap;
    transition: all 0.15s ease;
    flex-shrink: 0;
}
.btn-see-all:hover {
    background: linear-gradient(90deg, #14a5ff, #18d2a8);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-1px);
}
.leaders-dot { width: 6.5px; height: 6.5px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: all 0.2s ease; }
.leaders-dot.active { width: 18px; border-radius: 3.5px; background: linear-gradient(90deg, #14a5ff, #18d2a8); }

/* --- ТОП ДОСКИ ДЛЯ СЛАЙДЕРА --- */
.top-boards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14.5px; margin-bottom: 9px; }
.board-card { background: #ffffff; border: 1px solid var(--border); border-radius: 12.5px; padding: 14.5px; box-shadow: 0 2px 7px rgba(0,0,0,0.01); }
.board-title { font-size: 11.5px; font-weight: 700; color: #0f172a; margin-bottom: 12.5px; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.board-title-text { display: flex; align-items: center; gap: 7px; min-width: 0; flex-shrink: 1; }
.board-title svg { width: 14.5px; height: 14.5px; color: #f59e0b; fill: currentColor; }
.board-card:nth-child(2) .board-title svg { color: #3b82f6; }
.board-card:nth-child(3) .board-title svg { color: #10b981; }

.board-item { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid #f8fafc; }
.board-item:last-child { border-bottom: none; padding-bottom: 0; }
.board-num { font-size: 10px; font-weight: 700; color: #94a3b8; width: 14.5px; text-align: center; }
.board-item .compact-rating-circle { width: 24px; height: 24px; font-size: 8.5px; }
.board-item:nth-child(1) .board-num { color: #eab308; }
.board-item:nth-child(2) .board-num { color: #f97316; }
.board-item:nth-child(3) .board-num { color: #38bdf8; }

.board-avatar { width: 25px; height: 25px; border-radius: 50%; object-fit: cover; border: 1px solid #f1f5f9; }
.board-name { font-size: 10px; font-weight: 500; flex-grow: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #334155; text-decoration: none; }
.board-name:hover { color: var(--blue); }
.board-val { font-size: 10px; font-weight: 700; color: #0f172a; padding: 2px 5.5px; border-radius: 3.5px; white-space: nowrap; }

/* --- ФИЛЬТРЫ КАТЕГОРИЙ И ПАГИНАЦИЯ --- */
.cat-filter-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 5.5px; margin: 5.5px auto 18px auto; max-width: 918px; padding: 0 9px; }
.cat-check-chip { display: inline-flex; align-items: center; gap: 4.5px; padding: 4.5px 10px 4.5px 5.5px; background: #ffffff; border: 1px solid #e8ecf3; border-radius: 16px; font-size: 9.5px; font-weight: 600; color: #64748b; cursor: pointer; user-select: none; transition: all 0.18s ease; white-space: nowrap; line-height: 1; }
.cat-check-chip:hover { border-color: #b9e6ff; background: #f5fbff; color: #0f172a; transform: translateY(-1px); box-shadow: 0 3px 7px rgba(0, 153, 255, 0.08); }
.cat-check-chip input[type="checkbox"] { display: none; }

.cat-check-chip .cat-check-box { width: 12.5px; height: 12.5px; border-radius: 4.5px; border: 1.5px solid #cbd5e1; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.18s ease; }
.cat-check-chip .cat-check-box svg { width: 8px; height: 8px; stroke: #ffffff; stroke-width: 3.5; fill: none; opacity: 0; transform: scale(0.6); transition: all 0.15s ease; }

.cat-check-chip input:checked ~ .cat-check-box { background: linear-gradient(135deg, #14a5ff, #18d2a8); border-color: transparent; }
.cat-check-chip input:checked ~ .cat-check-box svg { opacity: 1; transform: scale(1); }
.cat-check-chip input:checked ~ .cat-check-label { color: #0f172a; }
.cat-check-chip.active { border-color: transparent; background: linear-gradient(90deg, rgba(20,165,255,0.08), rgba(24,210,168,0.08)); box-shadow: 0 3px 9px rgba(20, 165, 255, 0.1); }

.table-pagination { display: flex; align-items: center; justify-content: center; gap: 12.5px; margin: 16px 0 34px 0; }
.empty-category-results { text-align: center; font-size: 11.5px; color: #94a3b8; padding: 20px 0 34px 0; }
.pg-btn { display: inline-flex; align-items: center; gap: 7px; background: linear-gradient(90deg, #14a5ff, #18d2a8); border: none; color: #ffffff; font-size: 11px; font-weight: 700; padding: 9px 18px; border-radius: 27px; cursor: pointer; transition: all 0.2s ease; box-shadow: 0 5.5px 14.5px rgba(24, 210, 168, 0.25); letter-spacing: 0.01em; }
.pg-btn:hover { transform: translateY(-2px); box-shadow: 0 7px 18px rgba(24, 210, 168, 0.35); filter: brightness(1.04); }
.pg-btn:active { transform: translateY(0); }
.pg-btn:disabled { background: #e2e8f0; color: #94a3b8; box-shadow: none; cursor: not-allowed; transform: none; }
.pg-btn svg { width: 11.5px; height: 11.5px; flex-shrink: 0; }

.pg-indicator { font-size: 11px; font-weight: 700; color: #64748b; min-width: 50px; text-align: center; background: #ffffff; border: 1px solid #e8ecf3; padding: 7px 11px; border-radius: 27px; }


/* ============================================================
   БЛОК АНАЛИТИКИ — переработанная версия
   ============================================================ */
.analytics-section {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32.5px 36px;
    margin-bottom: 9px;
    box-shadow: 0 3.5px 14.5px rgba(0,0,0,0.01);
}

.analytics-intro { max-width: 684px; margin: 0 auto 25px auto; text-align: center; }
.analytics-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: #0369a1;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0;
    margin-bottom: 12.5px;
}
.eyebrow-icon-dot {
    width: 20px; height: 20px;
    flex-shrink: 0;
    border-radius: 6.5px;
    background: linear-gradient(135deg, #14a5ff, #18d2a8);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3.5px 9px rgba(20,165,255,0.28);
}
.eyebrow-icon-dot svg { width: 11px; height: 11px; color: #ffffff; }

@media (max-width: 992px) {
    .analytics-eyebrow { font-size: 8.5px; gap: 6.5px; }
    .eyebrow-icon-dot { width: 16px; height: 16px; border-radius: 5.5px; }
    .eyebrow-icon-dot svg { width: 9px; height: 9px; }
}
.analytics-title { font-size: 20px; font-weight: 800; color: #0f172a; letter-spacing: -0.02em; margin: 0 0 9px 0; }
.analytics-desc { font-size: 11.5px; line-height: 1.6; color: #64748b; margin: 0 0 14.5px 0; }
.analytics-keywords { display: flex; flex-wrap: wrap; justify-content: center; gap: 6.5px; }
.analytics-keywords span { font-size: 9.5px; font-weight: 600; color: #0f766e; background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.22); padding: 3.5px 10px; border-radius: 18px; }

/* --- ДВУХКОЛОНОЧНОЕ ТЕЛО: КАРТОЧКИ (слева) + ВИТРИНА (справа), равная высота --- */
.analytics-body {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 23.5px;
    align-items: stretch;
}

.analytics-cards-col { display: flex; }

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 11px;
    width: 100%;
}

.an-card {
    display: flex;
    align-items: center;
    gap: 11px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 12.5px;
    padding: 11px 14.5px;
    transition: all 0.2s ease;
}
.an-card:hover { transform: translateY(-2px); box-shadow: 0 7px 16px rgba(15,23,42,0.07); border-color: #d5e9ff; }
.an-icon { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 3.5px 9px rgba(0,0,0,.08); }
.an-icon svg { width: 16px; height: 16px; }
.an-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.an-title { font-size: 11.5px; font-weight: 700; color: #0f172a; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.an-desc {
    font-size: 9.5px; line-height: 1.4; color: #64748b;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.an-card-highlight { background: linear-gradient(135deg, #f0fdfa 0%, #eff6ff 100%); border-color: rgba(24,210,168,0.3); }

/* --- ВИТРИНА СКРИНШОТОВ: чистая сетка, без абсолютного позиционирования и без обрезки --- */
.analytics-showcase {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "main main"
        "left right";
    gap: 11px;
    padding: 14.5px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 1px 1px, rgba(15,23,42,0.05) 1px, transparent 0) 0 0/14.5px 14.5px,
        linear-gradient(165deg, #fbfeff 0%, #f2fbf8 100%);
    border: 1px solid rgba(20,165,255,0.14);
}

.showcase-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(34px);
    pointer-events: none;
    z-index: 0;
}
.showcase-blob-1 {
    width: 180px; height: 180px; top: -36px; left: -45px;
    background: radial-gradient(circle, rgba(20,165,255,0.32) 0%, transparent 70%);
    animation: blobPulse1 6s ease-in-out infinite;
}
.showcase-blob-2 {
    width: 198px; height: 198px; bottom: -54px; right: -45px;
    background: radial-gradient(circle, rgba(38,230,150,0.3) 0%, transparent 70%);
    animation: blobPulse2 7s ease-in-out infinite;
}
@keyframes blobPulse1 {
    0%, 100% { transform: scale(1) translate(0,0); opacity: 0.8; }
    50% { transform: scale(1.15) translate(9px, 7px); opacity: 1; }
}
@keyframes blobPulse2 {
    0%, 100% { transform: scale(1) translate(0,0); opacity: 0.75; }
    50% { transform: scale(1.12) translate(-7px, -9px); opacity: 1; }
}

.showcase-orbit {
    position: absolute;
    top: 50%; left: 50%;
    width: 88%; height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.55;
    animation: orbitSpin 50s linear infinite;
    pointer-events: none;
}
@keyframes orbitSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.showcase-shot {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border: 1px solid #e8ecf3;
    border-radius: 11px;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 9px 20px rgba(15,23,42,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.showcase-shot:hover {
    transform: translateY(-4.5px);
    box-shadow: 0 16px 29px rgba(15,23,42,0.14);
}
.showcase-shot .slot-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.showcase-shot.shot-main {
    grid-area: main;
    aspect-ratio: 16 / 9;
    box-shadow: 0 12.5px 25px rgba(16,185,129,0.16);
}
.showcase-shot.shot-tail-left {
    grid-area: left;
    aspect-ratio: 4 / 3;
}
.showcase-shot.shot-tail-right {
    grid-area: right;
    aspect-ratio: 4 / 3;
}

.showcase-chip {
    position: absolute;
    top: 11px; left: 11px;
    z-index: 4;
    display: flex; align-items: center; gap: 5.5px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(5.5px);
    -webkit-backdrop-filter: blur(5.5px);
    border: 1px solid rgba(15,23,42,0.08);
    color: #0f172a;
    font-size: 9px; font-weight: 700;
    padding: 5.5px 10px;
    border-radius: 27px;
    box-shadow: 0 5.5px 14.5px rgba(15,23,42,0.08);
    white-space: nowrap;
    pointer-events: none;
}
.chip-dot-light {
    width: 5.5px; height: 5.5px; border-radius: 50%;
    background: #26e696;
    box-shadow: 0 0 0 2.5px rgba(38,230,150,0.2), 0 0 7px rgba(38,230,150,0.7);
    animation: dotPulse 1.8s ease-in-out infinite;
}

@media (max-width: 992px) {
    .analytics-section { padding: 18px 14.5px; border-radius: 14.5px; }
    .analytics-title { font-size: 16px; }
    .analytics-body { grid-template-columns: 1fr; gap: 16px; }
    .analytics-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 1fr); }
    .analytics-showcase { order: -1; padding: 11px; gap: 9px; }
    .showcase-shot.shot-main { aspect-ratio: 16 / 10; }
    .showcase-shot.shot-tail-left,
    .showcase-shot.shot-tail-right { aspect-ratio: 1 / 1; }
    .showcase-chip { font-size: 8px; padding: 4.5px 8px; top: 7px; left: 7px; }
}

/* --- ПЕРСОНАЛЬНЫЙ ЛЕНДИНГ --- */
.pland-section {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 29px;
    align-items: center;
    background: linear-gradient(120deg, #062c52 0%, #074a5e 45%, #0a7f68 100%);
    border-radius: 20px;
    padding: 32.5px 36px;
    margin-bottom: 9px;
    box-shadow: 0 12.5px 36px rgba(6, 44, 82, 0.18);
}
.pland-section::before {
    content: ''; position: absolute; inset: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="600" height="400" viewBox="0 0 600 400"><circle cx="40" cy="40" r="1.6" fill="%23ffffff" opacity="0.18"/><circle cx="90" cy="70" r="1.6" fill="%23ffffff" opacity="0.14"/><circle cx="150" cy="30" r="1.6" fill="%23ffffff" opacity="0.16"/><path d="M0 340 Q120 300 260 330 T600 280" stroke="%2326e696" stroke-width="1.5" fill="none" opacity="0.22"/></svg>');
    background-repeat: no-repeat; background-position: left bottom; pointer-events: none;
}

.pland-preview-col {
    position: relative; z-index: 2; order: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-width: 0;
    padding: 10px 0 20px;
}
.pland-text { position: relative; z-index: 2; order: 2; min-width: 0; }

.pland-eyebrow {
    display: inline-flex; align-items: center; gap: 5.5px;
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
    color: #ffffff; font-size: 10.5px; font-weight: 700;
    padding: 5.5px 12.5px; border-radius: 27px; margin-bottom: 14.5px;
}
.pland-title { font-size: 21.5px; font-weight: 800; color: #ffffff; letter-spacing: -0.02em; margin: 0 0 11px 0; line-height: 1.2; }
.pland-desc { font-size: 11.5px; line-height: 1.6; color: rgba(255,255,255,0.78); margin: 0 0 16px 0; }
.pland-list { list-style: none; margin: 0 0 21.5px 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pland-list li { font-size: 11px; color: rgba(255,255,255,0.85); font-weight: 500; display: flex; align-items: flex-start; gap: 7px; }
.pland-list code { background: rgba(255,255,255,0.12); padding: 1px 5.5px; border-radius: 4.5px; font-size: 10px; color: #7dfad1; font-family: monospace; }
.pland-check { color: #26e696; font-weight: 800; flex-shrink: 0; }

.pland-preview-slot {
    position: relative;
    flex: 0 1 240px;
    width: 100%;
    max-width: 240px;
    aspect-ratio: 10 / 19;
    border: 1.5px solid rgba(255,255,255,0.16);
    border-radius: 32px;
    background: #06121f;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 25px 50px -12px rgba(3,15,30,0.55), inset 0 1px 0 rgba(255,255,255,0.08);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

/* Чёлка телефона — лежит поверх экрана, не съедает место у картинки */
.pland-preview-slot::before {
    content: '';
    position: absolute;
    top: 12px; left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 5px;
    border-radius: 4px;
    background: rgba(255,255,255,0.35);
    z-index: 3;
    pointer-events: none;
}

.pland-preview-slot:hover {
    transform: translateY(-10px);
    box-shadow: 0 34px 64px -12px rgba(3,15,30,0.65), inset 0 1px 0 rgba(255,255,255,0.1);
}

.pland-preview-slot.slot-secondary { transform: translateY(26px); }
.pland-preview-slot.slot-secondary:hover { transform: translateY(16px); }

/* "Экран" — растянут строго на весь корпус телефона, без зазоров */
.phone-screen {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.phone-screen .slot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* Экран-заглушка (пока без скриншота) */
.phone-screen-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: rgba(255,255,255,0.55);
    background: linear-gradient(160deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
}

/* --- КАТАЛОГИ --- */
.catalogs-section {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32.5px 36px;
    margin-bottom: 9px;
    box-shadow: 0 3.5px 14.5px rgba(0,0,0,0.01);
}
.catalogs-intro { text-align: center; max-width: 612px; margin: 0 auto 23.5px auto; }
.catalogs-eyebrow {
    display: inline-flex; align-items: center; gap: 5.5px;
    background: linear-gradient(90deg, rgba(20,165,255,0.08), rgba(24,210,168,0.08));
    border: 1px solid rgba(24,210,168,0.25);
    color: #0f766e; font-size: 10.5px; font-weight: 700;
    padding: 5.5px 12.5px; border-radius: 27px; margin-bottom: 14.5px;
}
.catalogs-title { font-size: 23.5px; font-weight: 800; color: #0f172a; letter-spacing: -0.02em; margin: 0 0 9px 0; }
.catalogs-desc { font-size: 11.5px; color: #64748b; line-height: 1.6; margin: 0; }

.catalogs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 21.5px; }
.cat-card {
    border-radius: 16px; padding: 21.5px; background: #f8fafc; border: 1px solid var(--border);
    transition: all 0.2s ease; display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-3.5px); box-shadow: 0 12.5px 27px rgba(15,23,42,0.07); }
.cat-card-icon { width: 41.5px; height: 41.5px; border-radius: 11px; display: flex; align-items: center; justify-content: center; margin-bottom: 14.5px; box-shadow: 0 5.5px 14.5px rgba(0,0,0,0.12); }
.cat-card-icon svg { width: 20px; height: 20px; }
.cat-card-title { font-size: 13.5px; font-weight: 700; color: #0f172a; margin-bottom: 7px; }
.cat-card-desc { font-size: 11px; line-height: 1.6; color: #64748b; margin-bottom: 14.5px; flex-grow: 1; }
.cat-card-link { font-size: 11.5px; font-weight: 700; color: #0284c7; text-decoration: none; }
.cat-card-link:hover { text-decoration: underline; }
.cat-card-discount .cat-card-link { color: #b45309; }
.cat-card-wholesale .cat-card-link { color: #7e22ce; }

.cat-card-main { background: linear-gradient(150deg, #eff6ff 0%, #f8fafc 100%); border-color: rgba(20,165,255,0.2); }
.cat-card-discount { background: linear-gradient(150deg, #fffbeb 0%, #f8fafc 100%); border-color: rgba(245,158,11,0.2); }
.cat-card-wholesale { background: linear-gradient(150deg, #faf5ff 0%, #f8fafc 100%); border-color: rgba(168,85,247,0.2); }

.catalogs-preview-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14.5px; }
.catalogs-screenshot-slot {
    min-height: 198px; border: 1.5px dashed #cbd5e1; border-radius: 14.5px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: #f8fafc; color: #94a3b8; gap: 9px;
}

/* --- ПРОДВИЖЕНИЕ / УСЛУГИ --- */
.promo-section {
    background: linear-gradient(120deg, #062c52 0%, #074a5e 45%, #0a7f68 100%);
    border-radius: 20px;
    padding: 32.5px 36px;
    margin-bottom: 9px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12.5px 36px rgba(6, 44, 82, 0.18);
}
.promo-section::before {
    content: ''; position: absolute; inset: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="600" height="400" viewBox="0 0 600 400"><circle cx="40" cy="40" r="1.6" fill="%23ffffff" opacity="0.18"/><circle cx="90" cy="70" r="1.6" fill="%23ffffff" opacity="0.14"/><circle cx="150" cy="30" r="1.6" fill="%23ffffff" opacity="0.16"/></svg>');
    background-repeat: no-repeat; pointer-events: none;
}
.promo-intro { position: relative; z-index: 2; text-align: center; max-width: 612px; margin: 0 auto 25px auto; color: #fff; }
.promo-eyebrow { display: inline-flex; align-items: center; gap: 5.5px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); color: #fff; font-size: 10.5px; font-weight: 700; padding: 5.5px 12.5px; border-radius: 27px; margin-bottom: 14.5px; }
.promo-title { font-size: 23.5px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 9px 0; color: #fff; }
.promo-desc { font-size: 11.5px; color: rgba(255,255,255,0.8); line-height: 1.6; margin: 0; }

.promo-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12.5px; margin-bottom: 23.5px; }
.promo-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: 14.5px; padding: 18px; backdrop-filter: blur(3.5px); transition: all 0.2s ease; }
.promo-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-2.5px); }
.promo-num { font-size: 20px; font-weight: 800; background: linear-gradient(90deg, #26e696, #7dd3fc); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; margin-bottom: 9px; }
.promo-card-title { font-size: 12px; font-weight: 700; color: #fff; margin-bottom: 5.5px; }
.promo-card-desc { font-size: 10.5px; line-height: 1.55; color: rgba(255,255,255,0.75); }

.promo-cta-row { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 14.5px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: 14.5px; padding: 14.5px 20px; margin-bottom: 20px; flex-wrap: wrap; }
.promo-cta-text { font-size: 11.5px; color: rgba(255,255,255,0.85); line-height: 1.5; }
.promo-cta-text b { color: #fff; }

.promo-screenshot-slot {
    position: relative; z-index: 2;
    min-height: 216px; border: 1.5px dashed rgba(255,255,255,0.3); border-radius: 14.5px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.6); gap: 9px;
}

/* --- ОСНОВНАЯ ТАБЛИЦА КАТАЛОГА (СТРОГАЯ 12-КОЛОНОЧНАЯ СЕТКА) --- */
.table-section-title { margin-top: 27px; margin-bottom: 20px; display: flex; justify-content: center; align-items: center; position: relative; flex-wrap: wrap; }
.table-title-inner { text-align: center; width: 100%; }
.table-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #0369a1; font-size: 10px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 9px; }
.table-section-title h2 { margin: 0 0 5.5px 0; font-size: 20px; font-weight: 800; color: #0f172a; letter-spacing: -0.02em; }
.table-section-title p { margin: 0; font-size: 11.5px; color: #64748b; }
.table-section-title .filter-verified-wrap { position: absolute; right: 0; top: 2px; }

.table-responsive { width: 100%; overflow-x: auto; background: #ffffff; border: 1px solid var(--border); border-radius: 12.5px; padding: 9px 0; box-shadow: 0 3.5px 14.5px rgba(0,0,0,0.01); }

/* Фиксация минимальной базовой ширины под 12 колонок */
.table-responsive > .tbl-head, 
.table-responsive > .channels-list { 
    min-width: 918px; 
}

/* Идеальная сквозная сетка для шапки таблицы и её строк */
.tbl-head.grid-all, 
.grid-all { 
    display: grid; 
    grid-template-columns:31.5px 2.1fr 52px 70px 60px 46.5px 54px 125px 60.5px 53.5px 112px 72px; 
    align-items: center; 
    gap: 7px; 
    padding: 11px; 
}

.tbl-head { padding: 11px 14.5px; font-size: 9px; font-weight: 800; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.03em; border-bottom: 1px solid #f1f5f9; }
.tbl-head span { display: flex; align-items: center; justify-content: center; }
.tbl-head span:nth-child(2) { justify-content: flex-start; }

.channels-list { display: flex; flex-direction: column; }
.ch-wrapper { border-bottom: 1px solid #f8fafc; transition: all 0.2s ease; }
.ch-wrapper:last-child { border-bottom: none; }
.ch-wrapper:hover { background: #f8fafc; }
.ch-wrapper.is-open { background: #f1f5f9; }

.grid-all > div { display: flex; justify-content: center; align-items: center; }
.grid-all > div.ch-meta { justify-content: flex-start; } 
.grid-all > div.btn-write-wrap { justify-content: flex-end; }

.ch-row { cursor: pointer; user-select: none; font-size: 10.5px; color: #334155; }
.ch-num { font-size: 11px; color: #94a3b8; font-weight: 600; text-align: center; }

.ch-meta { display: flex; align-items: center; gap: 9px; min-width: 0; width: 100%; }
.ch-title { font-size: 10.5px; font-weight: 600; color: #0f172a; }

.btn-fav { display: inline-flex; align-items: center; background: transparent; border: none; color: #cbd5e1; cursor: pointer; padding: 2px; text-decoration: none; transition: all 0.15s; }
.btn-fav svg { width: 12.5px; height: 12.5px; fill: none; stroke: currentColor; stroke-width: 2; }
.btn-fav:hover { color: #eab308; transform: scale(1.1); }
.btn-fav.active { color: #eab308; } .btn-fav.active svg { fill: #eab308; }

.ch-user { font-size: 10.5px; color: #0099ff; text-decoration: none; font-weight: 500; }
.ch-user:hover { text-decoration: underline; }

.ch-subs { font-size: 10.5px; font-weight: 600; color: #0f172a; }

/* --- МЕТРИКИ, ПЛАШКИ И БЕЙДЖИ --- */
.iv-badge { background: #8b26fb; color: #ffffff; font-size: 7.5px; font-weight: 700; padding: 3.5px 7px; border-radius: 5.5px; border: 1px solid #e2e8f0; display: inline-block; white-space: nowrap; }
.pinned-badge { background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff; font-size: 8px; padding: 2px 5.5px; border-radius: 3.5px; font-weight: 800; display: inline-flex; align-items: center; gap: 3.5px; text-transform: uppercase; box-shadow: 0 2px 5.5px rgba(34, 197, 94, 0.3); }
.cat-pill { padding: 2.5px 9px; border-radius: 18px; font-size: 8px; font-weight: 700; display: inline-block; white-space: nowrap; }
.ch-badge { font-size: 9px; color: #475569; background: #f1f5f9; padding: 3.5px 7px; border-radius: 5.5px; display: inline-block; width: max-content; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 94.5px; font-weight: 500; }
.ch-cpm-badge { display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); color: #ffffff; font-weight: 700; font-size: 10.5px; padding: 3.5px 7px; border-radius: 5.5px; box-shadow: 0 2.5px 7px rgba(34, 197, 94, 0.25); white-space: nowrap; letter-spacing: 0.2px; }

/* Кружок рейтинга */
.compact-rating-circle { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 29px; height: 29px; border-radius: 50%; font-size: 9.5px; font-weight: 800; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); flex-shrink: 0; margin: 0 auto; letter-spacing: -0.3px; text-shadow: 0 1px 1px rgba(255,255,255,0.5); }
.compact-rating-circle:hover { transform: translateY(-2px) scale(1.04); }
.compact-rating-circle .crown-icon { position: absolute; top: -4.5px; right: -4.5px; font-size: 8px; line-height: 1; transition: all 0.25s ease; background: #ffffff; border-radius: 50%; padding: 1.5px; box-shadow: 0 2.5px 5.5px rgba(0,0,0,0.12); display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.9); }

/* Кнопка действия */
.btn-write { display: inline-flex; align-items: center; justify-content: center; gap: 3.5px; background: #ffffff; border: 1px solid #e2e8f0; color: #00bfa5; text-decoration: none; padding: 4.5px 6.5px; border-radius: 7px; font-size: 9px; font-weight: 600; transition: all 0.15s; box-shadow: 0 1px 2.5px rgba(0,0,0,0.02); }
.btn-write:hover { border-color: #00bfa5; background: #e6f9f6; }

/* Система голосования */
.row-voting-block { display: flex; align-items: center; gap: 3.5px; justify-content: center; width: 100%; }
.row-stars-row { display: flex; gap: 2px; }
.row-star-btn { width: 12.5px; height: 12.5px; cursor: pointer; color: #cbd5e1; transition: all 0.15s ease; position: relative; }
.row-star-btn svg { width: 100%; height: 100%; fill: currentColor; }
.row-star-btn:hover, .row-star-btn.selected { color: var(--star-color); transform: scale(1.2); }

.row-star-btn .tt { visibility: hidden; opacity: 0; background: #1e293b; color: #fff; text-align: center; padding: 3.5px 7px; border-radius: 5.5px; position: absolute; z-index: 100; bottom: 150%; left: 50%; transform: translateX(-50%); font-size: 9px; white-space: nowrap; transition: 0.15s; pointer-events: none; font-weight: 500; box-shadow: 0 3.5px 9px rgba(0,0,0,0.15); }
.row-star-btn .tt::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -3.5px; border-width: 3.5px; border-style: solid; border-color: #1e293b transparent transparent transparent; }
.row-star-btn:hover .tt { visibility: visible; opacity: 1; }

.row-btn-vote { background: #0099ff; border: none; color: #ffffff; padding: 3.5px 7px; border-radius: 5.5px; font-size: 10px; font-weight: 600; cursor: pointer; transition: 0.15s; white-space: nowrap; }
.row-btn-vote:disabled { opacity: 0.4; cursor: not-allowed; }

.row-vote-success { display: none; align-items: center; gap: 2.5px; color: #10b981; font-size: 10px; font-weight: 600; animation: fadeIn 0.2s ease; white-space: nowrap; }
.row-vote-success svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.5; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-2.5px); } to { opacity: 1; transform: translateY(0); } }

/* Развернутый блок деталей */
.ch-details { display: none; padding: 14.5px 18px; background: #f8fafc; border-top: 1px solid #f1f5f9; }
.details-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 21.5px; }
.details-info h4, .formats-block h4 { margin: 0 0 7px 0; font-size: 10px; text-transform: uppercase; color: #94a3b8; letter-spacing: 0.04em; }
.details-desc { font-size: 11px; line-height: 1.5; color: #475569; margin: 0; }

.formats-block { display: flex; flex-direction: column; gap: 5.5px; }
.format-row { display: flex; justify-content: space-between; align-items: center; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 7px; padding: 7px 11px; font-size: 11px; }
.format-label { font-weight: 500; color: #475569; }
.format-price { font-weight: 700; color: #0f172a; }

.empty-state { background: var(--card); border: 1px dashed var(--border); border-radius: 12.5px; padding: 36px 18px; text-align: center; max-width: 432px; margin: 18px auto; }
.empty-title { font-size: 12.5px; font-weight: 600; margin-bottom: 3.5px; }
.empty-text { font-size: 11px; color: var(--muted); margin-bottom: 14.5px; }

/* --- СТИЛИ ДЛЯ АВАТАРОК И ВЕРИФИКАЦИИ --- */
.ch-avatar-wrap { position: relative !important; display: inline-flex !important; width: 30.5px !important; height: 30.5px !important; flex-shrink: 0 !important; }
.ch-avatar-wrap .ch-avatar-img { width: 100% !important; height: 100% !important; border-radius: 50% !important; object-fit: cover !important; background: #f1f5f9 !important; border: 1.5px solid #cbd5e1 !important; box-sizing: border-box !important; }
.ch-avatar-wrap.verified .ch-avatar-img { border-color: var(--green) !important; }

.ch-avatar-wrap .avatar-table-badge { position: absolute !important; width: 11.5px !important; height: 11.5px !important; bottom: -2px !important; right: -2px !important; border: 1.5px solid #ffffff !important; border-radius: 50% !important; display: flex !important; align-items: center !important; justify-content: center !important; z-index: 3 !important; }
.ch-avatar-wrap.verified .avatar-table-badge { background-color: var(--green) !important; }
.ch-avatar-wrap.unverified .avatar-table-badge { background-color: #475569 !important; } 
.ch-avatar-wrap .avatar-table-badge svg { width: 6.5px !important; height: 6.5px !important; display: block !important; fill: none !important; stroke: #ffffff !important; stroke-width: 5 !important; }
.ch-avatar-wrap .avatar-table-badge .quest-mark { font-size: 7px !important; font-weight: 800 !important; color: #ffffff !important; line-height: 1 !important; font-family: 'Inter', sans-serif !important; }

/* Верификация аватарок в блоках Топ-5 */
.board-avatar-wrap { position: relative !important; display: inline-flex !important; width: 22px !important; height: 22px !important; flex-shrink: 0 !important; }
.board-avatar-wrap .board-avatar-img { width: 100% !important; height: 100% !important; border-radius: 50% !important; object-fit: cover !important; background: #f1f5f9 !important; border: 1.5px solid #cbd5e1 !important; box-sizing: border-box !important; }
.board-avatar-wrap.verified .board-avatar-img { border-color: var(--green) !important; }

.board-avatar-wrap .avatar-board-badge { position: absolute !important; width: 10px !important; height: 10px !important; bottom: -2px !important; right: -2px !important; border: 1.5px solid #ffffff !important; border-radius: 50% !important; display: flex !important; align-items: center !important; justify-content: center !important; z-index: 3 !important; }
.board-avatar-wrap.verified .avatar-board-badge { background-color: var(--green) !important; }
.board-avatar-wrap.unverified .avatar-board-badge { background-color: #475569 !important; }
.board-avatar-wrap .avatar-board-badge svg { width: 5.5px !important; height: 5.5px !important; display: block !important; fill: none !important; stroke: #ffffff !important; stroke-width: 5 !important; }
.board-avatar-wrap .avatar-board-badge .quest-mark { font-size: 6.5px !important; font-weight: 800 !important; color: #ffffff !important; line-height: 1 !important; font-family: 'Inter', sans-serif !important; }

/* Объединенная заглушка цены */
.ch-no-price-panel { grid-column: span 2 !important; background: #f1f5f9 !important; border: 1px solid #cbd5e1 !important; color: #64748b !important; font-size: 9.5px !important; font-weight: 500 !important; padding: 3.5px 9px !important; border-radius: 5.5px !important; text-align: center !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; white-space: nowrap !important; height: 21.5px !important; box-sizing: border-box !important; width: 100% !important; max-width: 106px !important; margin: 0 auto !important; }

/* Тарифные значки поверх аватарок */
.tariff-designer-badge { position: absolute; top: -5.5px; left: -5.5px; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; z-index: 10; filter: drop-shadow(0 1.5px 3.5px rgba(0, 0, 0, 0.15)); animation: badgeFloatIndex 3s ease-in-out infinite; }

/* Подсветка строк рекламных тарифов */
.ch-wrapper.js-channel-row.tariff-business-yellow { background: #fffdf5 !important; border-left: 4.5px solid #eab308 !important; }
.ch-wrapper.js-channel-row.tariff-business-yellow:hover { background: #fffbeb !important; }
.ch-wrapper.tariff-business-yellow .ch-title { color: #855306 !important; }

.ch-wrapper.js-channel-row.tariff-premium-purple { background: linear-gradient(90deg, #fbf7ff 0%, #ffffff 100%) !important; border-left: 4.5px solid #a855f7 !important; }
.ch-wrapper.js-channel-row.tariff-premium-purple:hover { background: linear-gradient(90deg, #f6edff 0%, #fbf7ff 100%) !important; }
.ch-wrapper.tariff-premium-purple .ch-title { color: #6b21a8 !important; }

/* Модальное окно авторизации */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(3.5px); display: flex; align-items: center; justify-content: center; z-index: 9999; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-card { background: #ffffff; border-radius: 14.5px; padding: 31.5px; width: 100%; max-width: 432px; position: relative; box-shadow: 0 22.5px 45px -11px rgba(0, 0, 0, 0.25); transform: translateY(-18px); transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); text-align: center; }
.modal-overlay.active .modal-card { transform: translateY(0); }
.modal-close { position: absolute; top: 14.5px; right: 14.5px; width: 25px; height: 25px; border-radius: 50%; background: #f1f5f9; border: none; color: #64748b; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.15s; }
.modal-close:hover { background: #e2e8f0; color: #0f172a; }
.modal-title { font-size: 18px; font-weight: 700; color: #0f172a; margin-bottom: 11px; }
.modal-text { font-size: 12px; color: #64748b; line-height: 1.5; margin-bottom: 21.5px; }
.btn-tg-modal { display: inline-flex; align-items: center; justify-content: center; background: #00a8e8; color: #ffffff; text-decoration: none; padding: 10px 21.5px; border-radius: 9px; font-size: 12px; font-weight: 600; transition: background 0.15s; width: 100%; box-shadow: 0 3.5px 11px rgba(0, 168, 232, 0.2); }
.btn-tg-modal:hover { background: #0093cc; }


/* --- ТАРИФЫ --- */
.tariffs-section {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32.5px 36px;
    margin-bottom: 9px;
    box-shadow: 0 3.5px 14.5px rgba(0,0,0,0.01);
}
.tariffs-intro { text-align: center; max-width: 612px; margin: 0 auto 27px auto; }
.tariffs-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    color: #0369a1; font-size: 10px; font-weight: 800;
    letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 12.5px;
}
.tariffs-title { font-size: 21.5px; font-weight: 800; color: #0f172a; letter-spacing: -0.02em; margin: 0 0 9px 0; }
.tariffs-desc { font-size: 11.5px; color: #64748b; line-height: 1.6; margin: 0; }

.tariffs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 21.5px; align-items: stretch; }

.tariff-card {
    position: relative;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 23.5px 21.5px;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}
.tariff-card:hover { transform: translateY(-3.5px); box-shadow: 0 14.5px 29px rgba(15,23,42,0.08); }

.tariff-card-head { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px dashed #e2e8f0; }
.tariff-name { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: #64748b; margin-bottom: 7px; }
.tariff-price { font-size: 25px; font-weight: 800; color: #0f172a; letter-spacing: -0.02em; }
.tariff-price span { font-size: 11.5px; font-weight: 600; color: #94a3b8; }

.tariff-features { list-style: none; margin: 0 0 20px 0; padding: 0; display: flex; flex-direction: column; gap: 9px; flex-grow: 1; }
.tariff-features li { font-size: 11px; color: #334155; font-weight: 500; display: flex; align-items: flex-start; gap: 7px; line-height: 1.4; }
.tf-check { color: #10b981; font-weight: 800; flex-shrink: 0; }

.tariff-btn { width: 100%; text-align: center; }

.tariff-basic .tariff-name { color: #475569; }

.tariff-business {
    background: linear-gradient(150deg, #fffbeb 0%, #f8fafc 100%);
    border-color: rgba(234,179,8,0.35);
    transform: scale(1.03);
    box-shadow: 0 12.5px 27px rgba(234,179,8,0.1);
}
.tariff-business:hover { transform: scale(1.03) translateY(-3.5px); }
.tariff-business .tariff-name { color: #b45309; }
.tariff-ribbon {
    position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(90deg, #f59e0b, #d97706);
    color: #fff; font-size: 9px; font-weight: 800; letter-spacing: 0.03em;
    padding: 4.5px 14.5px; border-radius: 18px; box-shadow: 0 5.5px 12.5px rgba(217,119,6,0.3);
    white-space: nowrap;
}

.tariff-premium { background: linear-gradient(150deg, #faf5ff 0%, #f8fafc 100%); border-color: rgba(168,85,247,0.3); }
.tariff-premium .tariff-name { color: #7e22ce; }
.tariff-btn-premium { background: linear-gradient(90deg, #a855f7, #7e22ce) !important; box-shadow: 0 9px 21.5px rgba(168,85,247,0.3) !important; }

.tokens-note {
    display: flex; align-items: center; gap: 12.5px;
    background: linear-gradient(90deg, rgba(20,165,255,0.06), rgba(24,210,168,0.06));
    border: 1px solid rgba(20,165,255,0.18);
    border-radius: 14.5px; padding: 14.5px 20px;
}
.tokens-note-icon {
    flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px;
    background: linear-gradient(135deg, #14a5ff, #18d2a8); color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3.5px 9px rgba(20,165,255,0.28);
}
.tokens-note-icon svg { width: 16px; height: 16px; }
.tokens-note-text { font-size: 11px; line-height: 1.55; color: #475569; }
.tokens-note-text b { color: #0f172a; }

@media (max-width: 992px) {
    .tariffs-section { padding: 18px 14.5px; border-radius: 14.5px; }
    .tariffs-title { font-size: 17px; }
    .tariffs-grid { grid-template-columns: 1fr; gap: 12.5px; }
    .tariff-business { transform: none; }
    .tariff-business:hover { transform: translateY(-3.5px); }
    .tokens-note { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* --- ОПЛАТА / КРИПТО --- */
.payments-section {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 27px;
    background: linear-gradient(120deg, #062c52 0%, #074a5e 45%, #0a7f68 100%);
    border-radius: 20px;
    padding: 30.5px 36px;
    margin-bottom: 9px;
    box-shadow: 0 12.5px 36px rgba(6, 44, 82, 0.18);
}
.payments-glow {
    position: absolute; top: -30%; right: -10%; width: 306px; height: 306px;
    background: radial-gradient(circle, rgba(38,230,150,0.25) 0%, transparent 70%);
    filter: blur(36px); pointer-events: none;
}

.payments-text { position: relative; z-index: 2; flex: 1 1 432px; max-width: 504px; }
.payments-eyebrow {
    display: inline-flex; align-items: center; gap: 5.5px;
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
    color: #fff; font-size: 10.5px; font-weight: 700;
    padding: 5.5px 12.5px; border-radius: 27px; margin-bottom: 14.5px;
}
.payments-title { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -0.02em; margin: 0 0 11px 0; line-height: 1.25; }
.payments-desc { font-size: 11px; color: rgba(255,255,255,0.78); line-height: 1.6; margin: 0 0 16px 0; }

.payments-badges { display: flex; flex-wrap: wrap; gap: 9px; }
.pay-badge { display: inline-flex; align-items: center; gap: 6.5px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); color: #fff; font-size: 10px; font-weight: 600; padding: 6.5px 11.5px; border-radius: 18px; }
.pay-dot { width: 5.5px; height: 5.5px; border-radius: 50%; background: #26e696; box-shadow: 0 0 7px rgba(38,230,150,0.8); }

.payments-visual {
    position: relative; z-index: 2;
    flex: 0 0 234px; height: 144px;
    display: flex; align-items: center; justify-content: center; gap: 20px;
}
.pay-coin {
    display: flex; flex-direction: column; align-items: center; gap: 5.5px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
    border-radius: 14.5px; padding: 12.5px 14.5px; backdrop-filter: blur(5.5px);
    animation: coinFloat 4s ease-in-out infinite;
}
.pay-coin svg { width: 30.5px; height: 30.5px; }
.pay-coin span { font-size: 9px; font-weight: 800; color: #fff; letter-spacing: 0.03em; }
.pay-coin-usd { animation-delay: 0.8s; }
@keyframes coinFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.pay-flow-line { display: none; }
.pay-wallet-icon {
    display: none;
}

@media (max-width: 992px) {
    .payments-section { flex-direction: column; align-items: flex-start; padding: 20px 16px; border-radius: 14.5px; }
    .payments-title { font-size: 16px; }
    .payments-visual { flex: none; width: 100%; height: auto; justify-content: center; padding-top: 5.5px; }
}


/* --- FAQ --- */
.faq-section {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32.5px 36px;
    margin-bottom: 9px;
    box-shadow: 0 3.5px 14.5px rgba(0,0,0,0.01);
}
.faq-intro { text-align: center; max-width: 576px; margin: 0 auto 25px auto; }
.faq-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    color: #0369a1; font-size: 10px; font-weight: 800;
    letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 12.5px;
}
.faq-title { font-size: 21.5px; font-weight: 800; color: #0f172a; letter-spacing: -0.02em; margin: 0 0 9px 0; }
.faq-desc { font-size: 11.5px; color: #64748b; line-height: 1.6; margin: 0; }

.faq-list { max-width: 702px; margin: 0 auto; display: flex; flex-direction: column; gap: 9px; }

.faq-item { background: #f8fafc; border: 1px solid var(--border); border-radius: 12.5px; overflow: hidden; transition: all 0.2s ease; }
.faq-item:hover { border-color: #d5e9ff; }

.faq-question {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12.5px;
    background: none; border: none; cursor: pointer; text-align: left;
    padding: 14.5px 18px; font-size: 11.5px; font-weight: 700; color: #0f172a;
    font-family: 'Inter', sans-serif;
}
.faq-arrow { flex-shrink: 0; color: #64748b; transition: transform 0.25s ease; width: 14.5px; height: 14.5px; }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: #14a5ff; }

.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 18px;
}
.faq-answer p { margin: 0 0 14.5px 0; font-size: 11.5px; line-height: 1.6; color: #64748b; }
.faq-item.open .faq-answer { max-height: 216px; }

@media (max-width: 992px) {
    .faq-section { padding: 18px 14.5px; border-radius: 14.5px; }
    .faq-title { font-size: 17px; }
    .faq-question { padding: 11.5px 14.5px; font-size: 11px; }
    .faq-answer { padding: 0 14.5px; }
}


/* --- FOOTER --- */
.site-footer {
    background: linear-gradient(120deg, #062c52 0%, #074a5e 45%, #0a7f68 100%);
    border-radius: 20px;
    padding: 36px 40px 20px;
    margin: 3.5px 9px 9px;
    color: rgba(255,255,255,0.75);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 27px;
    padding-bottom: 23.5px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-logo { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 11px; letter-spacing: -0.5px; }
.footer-logo b { color: #fff; }
.footer-logo .rank-text { color: #26e696; }

.footer-brand-desc { font-size: 11px; line-height: 1.6; color: rgba(255,255,255,0.65); max-width: 288px; margin: 0 0 14.5px 0; }

.footer-socials { display: flex; gap: 9px; }
.footer-social-icon {
    width: 30.5px; height: 30.5px; border-radius: 9px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
    color: #fff; display: flex; align-items: center; justify-content: center;
    text-decoration: none; transition: all 0.15s;
}
.footer-social-icon:hover { background: rgba(38,230,150,0.2); border-color: rgba(38,230,150,0.4); transform: translateY(-2px); }

.footer-col-title { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; margin-bottom: 12.5px; }
.footer-link { display: block; font-size: 11.5px; color: rgba(255,255,255,0.65); text-decoration: none; margin-bottom: 9px; transition: color 0.15s; }
.footer-link:hover { color: #26e696; }

.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 7px;
    padding-top: 16px;
    font-size: 10px; color: rgba(255,255,255,0.5);
}
.footer-bottom-note { color: rgba(255,255,255,0.4); }

@media (max-width: 992px) {
    .site-footer { padding: 23.5px 18px 16px; margin: 3.5px 5.5px 5.5px; border-radius: 14.5px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 18px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
}
/* === ЖИВОЙ ПОИСК В ШАПКЕ === */
.header-search-wrap { position: relative; }

.search-live-dropdown {
    position: fixed;
    z-index: 2000;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(15,23,42,0.06);
    box-shadow: 0 25px 50px rgba(6,44,82,0.28), 0 4px 14px rgba(0,0,0,0.08);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
    max-height: 420px;
    display: flex;
    flex-direction: column;
}
.search-live-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }

.search-results-list { overflow-y: auto; max-height: 360px; }
.search-results-list::-webkit-scrollbar { width: 6px; }
.search-results-list::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 10px; }

.search-result-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 14px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    transition: background .12s ease;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover,
.search-result-item.active {
    background: linear-gradient(90deg, rgba(20,165,255,0.08), rgba(24,210,168,0.08));
}

.sr-avatar-wrap { position: relative; width: 34px; height: 34px; flex-shrink: 0; }
.sr-avatar-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #f1f5f9; border: 1.5px solid #cbd5e1; box-sizing: border-box; display: block; }
.sr-avatar-wrap.verified .sr-avatar-img { border-color: var(--green); }
.sr-avatar-badge { position: absolute; width: 13px; height: 13px; bottom: -2px; right: -2px; border: 1.5px solid #fff; border-radius: 50%; background: #475569; display: flex; align-items: center; justify-content: center; font-size: 8px; font-weight: 800; color: #fff; }
.sr-avatar-wrap.verified .sr-avatar-badge { background: var(--green); }
.sr-avatar-badge svg { width: 7px; height: 7px; fill: none; stroke: #fff; stroke-width: 5; }

.sr-meta { min-width: 0; flex: 1 1 auto; }
.sr-title { font-size: 12px; font-weight: 700; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-sub { font-size: 10px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }

.sr-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; margin-left: 8px; }
.sr-subs { font-size: 10px; font-weight: 700; color: #334155; white-space: nowrap; }
.sr-rating { font-size: 9.5px; font-weight: 800; padding: 2px 7px; border-radius: 20px; white-space: nowrap; }

.search-footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    font-size: 10.5px;
    font-weight: 700;
    color: #0284c7;
    background: #f8fafc;
    cursor: pointer;
    border-top: 1px solid #f1f5f9;
    transition: background .12s ease;
    flex-shrink: 0;
}
.search-footer-link:hover { background: linear-gradient(90deg, rgba(20,165,255,0.08), rgba(24,210,168,0.08)); }

.search-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    padding: 28px 18px;
    color: #94a3b8;
    text-align: center;
    font-size: 11px;
}

@media (max-width: 992px) {
    .search-live-dropdown { max-height: 60vh; }
    .search-results-list { max-height: calc(60vh - 40px); }
}

/* ==========================================================================
   АДАПТИВ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ
   ========================================================================== */
@media (max-width: 992px) {
    body { padding-top: 58.5px !important; zoom: 0.8; } 

    /* Шапка в адаптивном режиме */
    .white-header { display: flex !important; flex-direction: row !important; height: 58.5px !important; padding: 0 9px !important; gap: 4.5px !important; }
    .white-header::before, .white-header::after { display: none !important; }
    .header-left-block { max-width: max-content !important; flex-direction: row !important; align-items: center !important; }
    .header-logo-png { display: block !important; height: 31.5px !important; }
    .white-header-title { font-size: 16px !important; margin-left: 4.5px !important; line-height: 1 !important; }
    
    .hide-mobile { display: block !important; font-size: 8px !important; line-height: 1.1 !important; margin-left: 7px !important; padding-left: 7px !important; max-width: 108px !important; white-space: normal !important; border-left: 1px solid rgba(255,255,255,0.4) !important; opacity: 0.9 !important; }

    .header-search { order: unset !important; margin: 0 4.5px !important; width: 99px !important; flex: 0 0 auto !important; }
    .header-search input { width: 100% !important; font-size: 8px !important; padding: 5.5px 5.5px 7px 21.5px !important; }
    
    .lang-switcher { margin-right: 3.5px !important; }
    .lang-current { font-size: 8px !important; padding: 5.5px 7px !important; }

    .topbar-auth { position: static !important; flex-shrink: 0 !important; }
    .btn-login-top { font-size: 8px !important; padding: 4.5px 6px !important; white-space: nowrap !important; }

    /* Баннер — вертикальная раскладка на мобиле */
    .main { padding: 9px !important; }
    .welcome-banner { flex-direction: column !important; align-items: stretch !important; padding: 20px 16px !important; gap: 21.5px !important; border-radius: 16px !important; }
    .welcome-banner .banner-left { max-width: 100% !important; flex: 1 1 auto !important; }
    .banner-title { font-size: 19px !important; }
    .banner-desc { font-size: 11px !important; max-width: 100% !important; }
    .banner-actions { gap: 7px !important; }
    .btn-banner-primary, .btn-banner-outline { padding: 9px 14.5px !important; font-size: 10px !important; }
    .banner-features { gap: 9px !important; }
    .feat-item { font-size: 9.5px !important; }

   .banner-illustration-space { flex: none !important; width: 100% !important; height: 198px !important; }
    .banner-img-slot { border-radius: 12.5px !important; }
    .banner-img-slot .slot-placeholder-icon svg { width: 23.5px !important; height: 23.5px !important; }
    .banner-img-slot .slot-placeholder-text { font-size: 9.5px !important; }

    .illustration-glow { width: 96% !important; height: 96% !important; }
    .float-chip { font-size: 8px !important; padding: 5.5px 8px !important; gap: 4.5px !important; }
    .float-chip svg { width: 9px !important; height: 9px !important; }
    .chip-1 { top: -4% !important; left: 0 !important; }
    .chip-2 { top: 10% !important; right: 0 !important; }
    .chip-3 { bottom: 12% !important; right: 2% !important; }
    .chip-4 { bottom: -6% !important; left: 4% !important; }

    /* Глобальная статистика */
    .global-stats { flex-wrap: wrap; gap: 9px !important; padding: 12.5px !important; }
    .stat-card { flex: 1 1 45%; padding: 5.5px !important; grid-template-columns: auto 1fr !important; }
    .stat-card::after { display: none; }
    .stat-sparkline { display: none !important; }
    .stat-icon { width: 21.5px !important; height: 21.5px !important; border-radius: 5.5px !important; }
    .stat-icon svg { width: 11px !important; height: 11px !important; }
    .stat-info span { font-size: 7px !important; margin-bottom: 2px !important; }
    .stat-info strong { font-size: 11.5px !important; }
    .stat-trend-meta { font-size: 7px !important; }

    /* Топ-доски */
    .top-boards { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 5.5px !important; flex-direction: row !important; }
    .board-card { width: 100% !important; padding: 7px !important; min-width: 0 !important; }
    .board-title { font-size: 9px !important; flex-wrap: wrap; gap: 3.5px; margin-bottom: 7px !important; flex-direction: row !important; align-items: center !important; justify-content: space-between !important; }
    .board-title-text { font-size: 8px !important; display: flex !important; align-items: center !important; gap: 3.5px !important; }
    .board-title svg { width: 11px !important; height: 11px !important; }
    .btn-see-all { font-size: 7px !important; padding: 2px 3.5px !important; }
    .board-item { gap: 3.5px !important; padding: 3.5px 0 !important; }
    .board-num { font-size: 8px !important; width: 11px !important; }
    .board-avatar-wrap { width: 16px !important; height: 16px !important; }
    .board-name { font-size: 6.5px !important; }
    .board-val { font-size: 8px !important; padding: 1px 2.5px !important; }

    /* Сохраняем ширину таблицы под горизонтальный скролл */
   .ch-wrapper { min-width: 918px !important; } 
   .tbl-head, .grid-all { padding: 9px !important; gap: 5.5px !important; }
   .ch-title { font-size: 8px; font-weight: 600; color: #0f172a; display: inline-flex; align-items: center; gap: 5.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
   .ch-user { font-size: 8px; color: #0099ff; text-decoration: none; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
   
   .compact-rating-circle { width: 23.5px; height: 23.5px; font-size: 8px; }
   .compact-rating-circle .crown-icon { top: -2.5px; right: -2.5px; font-size: 6.5px; padding: 1px; }
   .ch-cpm-badge { font-size: 8px; padding: 2px 3.5px; }
   .table-section-title { flex-wrap: wrap; gap: 9px; }
   .filter-verified-wrap { font-size: 9px !important; padding: 4.5px 9px !important; }
   .ch-no-price-panel { max-width: 90px !important; font-size: 8px !important; }
    .pland-section { grid-template-columns: 1fr; padding: 20px 16px; border-radius: 14.5px; gap: 16px; }
.pland-title { font-size: 17px; }
.pland-preview-col { order: -1; gap: 12px; padding: 6px 0 18px; }
.pland-preview-slot { flex: 0 1 132px; max-width: 132px; border-radius: 26px; padding: 11px 6px 8px; }
.pland-preview-slot.slot-secondary { transform: translateY(18px); }
.pland-preview-slot.slot-secondary:hover { transform: translateY(10px); }
.phone-screen { border-radius: 17px; }
.pland-preview-slot .slot-placeholder-icon { width: 30px; height: 30px; border-radius: 9px; }
.pland-preview-slot .slot-placeholder-icon svg { width: 14px; height: 14px; }
.pland-preview-slot .slot-placeholder-text { font-size: 8px; }
    
    .catalogs-section { padding: 18px 14.5px; border-radius: 14.5px; }
    .catalogs-title { font-size: 17px; }
    .catalogs-grid { grid-template-columns: 1fr; gap: 11px; }
    .catalogs-preview-row { grid-template-columns: 1fr; }
    
     .promo-section { padding: 20px 16px; border-radius: 14.5px; }
    .promo-title { font-size: 17px; }
    .promo-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
    .promo-cta-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 900px) {
    .ch-wrapper { min-width: 918px !important; }
    .cat-filter-row { gap: 3.5px; margin-bottom: 12.5px; }
    .cat-check-chip { font-size: 8px; padding: 3.5px 7px 3.5px 4.5px; }
    .cat-check-chip .cat-check-box { width: 11px; height: 11px; }

    .leaders-section { grid-template-columns: 1fr; padding: 20px 16px; gap: 14.5px; border-radius: 16px; }
    .leaders-title { font-size: 18px; }
    .leaders-desc { font-size: 11px; }
    .leaders-keywords span { font-size: 8.5px; padding: 3.5px 8px; }
    .leaders-slides-viewport { min-height: 234px; }
    .table-pagination { gap: 7px; margin-top: 11px; }
    .pg-btn { font-size: 9px; padding: 6px 11.5px; }
    .pg-indicator { font-size: 9px; padding: 5.5px 8px; min-width: 38px; }
}

@media (max-width: 600px) {
    .chip-3, .chip-4 { display: none !important; }
}