        /* Нейро-система - 10/10 инноваций */
        :root {
            --neuro-bg: #0a0a12;
            --neuro-surface: #121225;
            --neuro-primary: #00f3ff;
            --neuro-secondary: #9d4edd;
            --neuro-accent: #ff006e;
            --neuro-success: #00ff9d;
            --neuro-text: #e2e8ff;
            --neuro-glow: 0 0 20px currentColor;
            --neuro-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            scroll-snap-type: y mandatory;
            overflow-x: hidden;
        }

body {
    background:
        radial-gradient(circle at 30% 40%, rgba(0, 100, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(255, 0, 200, 0.3) 0%, transparent 50%),
        linear-gradient(45deg, #000000 0%, #111111 100%);
    color: #ffffff;
    font-family: 'Segoe UI', system-ui, sans-serif;
}


 span.icon {
    font-size: 50px;
}

        /* Нейро-градиенты фона */
        .neuro-bg-animation {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -2;
            background: 
                radial-gradient(circle at 20% 30%, rgba(0, 243, 255, 0.05) 0%, transparent 25%),
                radial-gradient(circle at 80% 70%, rgba(157, 78, 221, 0.05) 0%, transparent 25%),
                radial-gradient(circle at 40% 80%, rgba(255, 0, 110, 0.03) 0%, transparent 30%);
            animation: bgPulse 20s infinite alternate;
        }

        @keyframes bgPulse {
            0% { opacity: 0.7; }
            100% { opacity: 1; }
        }


        /* Инновационный хедер с нейро-меню */
        .neuro-header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 20px 40px;
            background: rgba(10, 10, 25, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(0, 243, 255, 0.2);
            z-index: 1000;
            transform: translateY(0);
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .neuro-header.hidden {
            transform: translateY(-100%);
        }

        .neuro-logo {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .logo-glow {
            width: 40px;
            height: 40px;
            background: linear-gradient(45deg, var(--neuro-primary), var(--neuro-secondary));
            border-radius: 10px;
            position: relative;
            animation: logoSpin 10s linear infinite;
        }

        @keyframes logoSpin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .logo-text {
            font-size: 1.8rem;
            font-weight: 800;
            background: linear-gradient(45deg, var(--neuro-primary), var(--neuro-secondary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            letter-spacing: 1px;
        }

        /* Инновационное нейро-меню */
        .neuro-nav {
            display: flex;
            gap: 30px;
            position: relative;
        }

        .neuro-nav-item {
            position: relative;
            padding: 10px 0;
            cursor: pointer;
            background: none;
            border: none;
            color: var(--neuro-text);
            font-size: 1rem;
            transition: all 0.3s;
        }

        .neuro-nav-item::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--neuro-primary);
            transition: width 0.3s;
        }

        .neuro-nav-item:hover::before {
            width: 100%;
        }

        .neuro-nav-item.active {
            color: var(--neuro-primary);
        }

        .neuro-nav-item.active::before {
            width: 100%;
            box-shadow: var(--neuro-glow);
        }

        .neuro-nav-indicator {
            position: absolute;
            bottom: 0;
            height: 2px;
            background: var(--neuro-primary);
            transition: all 0.3s;
            box-shadow: var(--neuro-glow);
        }

        /* Инновационный индикатор прогресса */
        .neuro-progress {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: rgba(0, 243, 255, 0.1);
            z-index: 1001;
        }

        .neuro-progress-bar {
            height: 100%;
            background: linear-gradient(90deg, var(--neuro-primary), var(--neuro-secondary));
            width: 0%;
            transition: width 0.1s;
            box-shadow: var(--neuro-glow);
        }

        /* Основной контент с инновационным скроллом */
        .neuro-main {
            position: relative;
            margin-top: 100px;
        }

        /* Нейро-секции с эффектом прилипания */
        .neuro-section {
            min-height: 100vh;
            padding: 120px 40px 80px;
            position: relative;
            scroll-snap-align: start;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transform: translateY(50px);
            transition: box-shadow 0.3s ease, background 0.3s ease;
    will-change: transform;
        }

        .neuro-section.active {
            opacity: 1;
            transform: translateY(0);
        }

        /* Инновационный контейнер для контента с 3D эффектом */
.neuro-content {
    width: 100%;
    position: relative;
    transform-style: preserve-3d;
    perspective: 2400px;
    padding: 120% 20%;
}

        /* Уникальные стили для каждого типа блоков с 3D эффектами */
/* Родительский контейнер, где лежат карточки */
.neuro-grid-container {
    perspective: 1000px; /* Чем меньше число, тем сильнее 3D эффект. 1000-1200px — золотая середина */
    transform-style: preserve-3d;
}

.neuro-card {
    /* Отключаем transition для transform, чтобы JS работал плавно */
    transition: box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0s; 
    will-change: transform;
    
    /* Для красоты */
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
    
    /* Блик (опционально, создается через градиент) */
    background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%); /* Пример фона */
    position: relative;
    overflow: hidden;
                padding: 50px;
            border-radius: 25px;
}
 
/* Эффект блика (Glare) */
.neuro-card::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.08) 0%, transparent 60%);
    opacity: 0;
    transform: translate(var(--glare-x, 0%), var(--glare-y, 0%));
    pointer-events: none;
    transition: opacity 0.3s;
}

.neuro-card:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.neuro-card:hover::after {
    opacity: 1;
}



        /* Нумерация блоков с инновационным дизайном */
        .neuro-card::after {
            counter-increment: neuro-block;
            content: '0' counter(neuro-block);
            position: absolute;
            top: 30px;
            right: 30px;
            font-size: 2.5rem;
            font-weight: 900;
            background: linear-gradient(45deg, var(--neuro-primary), var(--neuro-secondary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            opacity: 0.3;
        }

        /* Инновационный скролл-индикатор */
        .neuro-scroll-hint {
            position: fixed;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 100;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            opacity: 0.8;
            transition: opacity 0.3s;
        }

        .neuro-scroll-hint:hover {
            opacity: 1;
        }

        .scroll-text {
            font-size: 0.9rem;
            color: var(--neuro-primary);
            letter-spacing: 2px;
            text-transform: uppercase;
        }

        .scroll-animation {
            width: 30px;
            height: 50px;
            border: 2px solid var(--neuro-primary);
            border-radius: 15px;
            position: relative;
        }

        .scroll-animation::before {
            content: '';
            position: absolute;
            top: 10px;
            left: 50%;
            transform: translateX(-50%);
            width: 4px;
            height: 10px;
            background: var(--neuro-primary);
            border-radius: 2px;
            animation: scrollDown 2s infinite;
        }

        @keyframes scrollDown {
            0% { top: 10px; opacity: 1; }
            100% { top: 30px; opacity: 0; }
        }

        /* Инновационный нейро-пульс в углу */
        .neuro-pulse {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background: rgba(0, 243, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 100;
            transition: all 0.3s;
        }

        .neuro-pulse:hover {
            background: rgba(0, 243, 255, 0.2);
            transform: scale(1.1);
        }

        .neuro-pulse::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border: 2px solid var(--neuro-primary);
            border-radius: 50%;
            animation: pulseRing 2s infinite;
        }

        .pulse-core {
            width: 20px;
            height: 20px;
            background: var(--neuro-primary);
            border-radius: 50%;
            animation: pulseCore 2s infinite;
        }

        @keyframes pulseRing {
            0% { transform: scale(0.8); opacity: 1; }
            100% { transform: scale(1.5); opacity: 0; }
        }

        @keyframes pulseCore {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.2); }
        }

        /* Инновационная навигация по секциям */
        .neuro-dots {
            position: fixed;
            right: 30px;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            gap: 20px;
            z-index: 100;
        }

        .neuro-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
        }

        .neuro-dot:hover {
            background: var(--neuro-primary);
            transform: scale(1.5);
            box-shadow: var(--neuro-glow);
        }

        .neuro-dot.active {
            background: var(--neuro-primary);
            transform: scale(1.5);
            box-shadow: var(--neuro-glow);
        }

        .neuro-dot::after {
            content: attr(data-title);
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(10, 10, 25, 0.9);
            color: var(--neuro-primary);
            padding: 5px 15px;
            border-radius: 5px;
            font-size: 0.8rem;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s;
            border: 1px solid var(--neuro-primary);
        }

        .neuro-dot:hover::after {
            opacity: 1;
        }

        /* Стили контента */
        h1, h2, h3, h4 {
            color: var(--neuro-primary);
            margin-bottom: 25px;
            font-weight: 700;
            position: relative;
            padding-left: 20px;
        }

        h1::before, h2::before, h3::before {
            content: '⟩';
            position: absolute;
            left: 0;
            color: var(--neuro-secondary);
        }

        h1 { font-size: 3rem; }
        h2 { font-size: 2.2rem; }
        h3 { font-size: 1.8rem; }

        p {
            margin-bottom: 20px;
            font-size: 1.1rem;
            line-height: 1.8;
            color: rgba(226, 232, 255, 0.9);
        }

        strong {
            color: var(--neuro-primary);
            font-weight: 600;
        }

   /* --- 2. Основной стиль таблицы (Стекло) --- */
  /* --- СТИЛЬ ТАБЛИЦЫ --- */
  table {
    display: block;             /* Блочная модель для скролла */
    width: 100%;
    overflow-x: auto;           /* Горизонтальный скролл */
    -webkit-overflow-scrolling: touch; /* Инерционный скролл на iOS */
    
    border-collapse: separate; 
    border-spacing: 0;
    
    /* Эффект глубокого стекла */
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    
    /* Убираем лишние отступы снизу */
    margin-bottom: 20px;
  }

  /* --- Шапка (Thead) --- */
  thead th {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;           /* Супер-компактный шрифт заголовков */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 12px 16px;
    text-align: left;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    
    /* Липкая только шапка сверху, чтобы не терять контекст столбцов */
    position: sticky;
    top: 0;
    backdrop-filter: blur(10px);
    z-index: 10;
  }

  /* --- Ячейки (TD) --- */
  td {
    padding: 10px 16px;        /* Уменьшенные отступы для плотности */
    font-size: 13px;           /* Оптимальный размер для чтения цифр */
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s;
  }

  /* --- Первая колонка (Название модели) --- */
  td:first-child {
    font-weight: 600;
    color: #00f3ff;            /* Неоновый акцент для названия */
    font-size: 13px;
    /* Убрали position: sticky, теперь она скроллится вместе со всеми */
  }

  /* --- Последняя колонка (Цена) --- */
  td:last-child {
    font-weight: 500;
    color: #ae86ff;            /* Другой оттенок для цены */
    text-align: right;
  }
  th:last-child {
    text-align: right;
  }

  /* --- Интерактив --- */
  tbody tr:hover td {
    background: rgba(255, 255, 255, 0.08); /* Подсветка строки */
  }

  /* Убираем бордер у последней строки */
  tbody tr:last-child td {
    border-bottom: none;
  }

  /* --- Скроллбар (Тонкий и стильный) --- */
  table::-webkit-scrollbar {
    height: 4px;              /* Очень тонкий скроллбар */
  }

  table::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    margin: 0 10px;
  }

  table::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #00f3ff, #ae86ff); /* Градиентный ползунок */
    border-radius: 4px;
  }

  /* --- Медиа-запрос для смартфонов (еще плотнее) --- */
  @media (max-width: 600px) {
    td, th {
      padding: 10px 12px;     /* Еще меньше отступы по бокам */
    }
    
    td {
      font-size: 12px;        /* Чуть меньше шрифт данных */
    }
    
    thead th {
      font-size: 9px;         /* Мелкие заголовки */
    }
    
    /* Первая колонка чуть ярче, чтобы выделялась без фиксации */
    td:first-child {
      background: linear-gradient(90deg, rgba(0, 243, 255, 0.1), transparent);
    }
  }

        /* Инновационная форма */
        .neuro-form {
            background: rgba(0, 243, 255, 0.05);
            padding: 40px;
            border-radius: 20px;
            border: 2px solid rgba(0, 243, 255, 0.2);
            margin-top: 50px;
        }

        .neuro-input {
            width: 100%;
            padding: 20px;
            background: rgba(0, 0, 0, 0.3);
            border: 2px solid rgba(0, 243, 255, 0.3);
            border-radius: 10px;
            color: var(--neuro-text);
            font-size: 1.1rem;
            margin-bottom: 20px;
            transition: all 0.3s;
        }

        .neuro-input:focus {
            outline: none;
            border-color: var(--neuro-primary);
            box-shadow: var(--neuro-glow);
        }

        .neuro-btn {
            background: linear-gradient(45deg, var(--neuro-primary), var(--neuro-secondary));
            color: white;
            border: none;
            padding: 20px 40px;
            border-radius: 10px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }

        .neuro-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(0, 243, 255, 0.4);
        }

        .neuro-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }

        .neuro-btn:hover::before {
            width: 300px;
            height: 300px;
        }

        /* Адаптивность */
        @media (max-width: 768px) {
 
            .neuro-header {
                padding: 15px 20px;
            }

            .neuro-nav {
                gap: 15px;
                display: none;
            }

            .neuro-section {
                padding: 100px 20px 60px;
            }

            .neuro-card {
                padding: 20px;
            }

            h1 { font-size: 2.2rem; }
            h2 { font-size: 1.8rem; }
            h3 { font-size: 1.5rem; }

            .neuro-dots {
                right: 15px;
                gap: 15px;
            }
        }

        /* Эффект стриминга текста */
        .streaming-text {
            opacity: 0;
            transform: translateY(20px);
            animation: textStreamIn 0.8s forwards;
        }

        @keyframes textStreamIn {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .char-stream {
            display: inline-block;
            opacity: 0;
            animation: charAppear 0.05s forwards;
        }

        @keyframes charAppear {
            to { opacity: 1; }
        }

/* =========================================================
 * NEURO-CHAT: нижняя панель ввода + иконки медиа
 * ======================================================= */

/* Общий контейнер нижнего бара */
.wg28-chat-send-message.quizai {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: radial-gradient(circle at 50% -40px,
        rgba(0, 243, 255, 0.18) 0%,
        rgba(10, 10, 25, 0.96) 45%,
        rgba(10, 10, 25, 0.98) 100%);
    backdrop-filter: blur(18px);
    border-top: 1px solid rgba(0, 243, 255, 0.25);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.9);
    z-index: 50;
}

/* Когда идёт стрим – можно в JS добавить класс .is-streaming на панель */
.wg28-chat-send-message.quizai.is-streaming {
    background: linear-gradient(135deg,
        rgba(255, 0, 110, 0.15) 0%,
        rgba(10, 10, 25, 0.98) 40%,
        rgba(0, 243, 255, 0.25) 100%);
    box-shadow:
        0 -16px 50px rgba(255, 0, 110, 0.35),
        0 -10px 30px rgba(0, 243, 255, 0.35);
}

/* Обёртка формы */



#intentFormChat {
    width: 100%;
    position: absolute;
    bottom: 0;
    margin: 0 auto !important;
}

#textRow.textarea-chat.neuro-card.aiblock-trans {
    position: absolute;
    display: grid;
    align-items: center;
    gap: 6px;
    bottom: 5%;
    left: 25%;
    width: 50%;
    padding: 0;
    height: 70px;
}
    
textarea#intentInput.intentInputChat {
    width: 100%;
    height: 60px !important;
    padding: 6% 0 0 4%;
    float: left;
}


/* Контейнер ввода – как маленький neuro-card + aiblock-trans */
.wg28-chat-send-message.quizai .input-container-chat {
    position: relative;
}

/* Карточка вокруг textarea */
.wg28-chat-send-message.quizai .textarea-chat {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 18px;
    background: radial-gradient(circle at 10% 0,
        rgba(0, 243, 255, 0.18) 0%,
        rgba(0, 0, 0, 0.85) 45%,
        rgba(0, 0, 0, 0.95) 100%);
    border: 2px solid rgba(0, 243, 255, 0.35);
    box-shadow:
        inset 0 0 36px rgba(0, 243, 255, 0.16),
        0 18px 45px rgba(0, 0, 0, 0.85);
    overflow: hidden;
    transform-style: preserve-3d;
}

/* Бегущий блик, как в .aiblock-trans */
.wg28-chat-send-message.quizai .textarea-chat::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(0, 243, 255, 0.2),
        transparent);
    opacity: 0.7;
    pointer-events: none;
    animation: quantumTunnel 5s linear infinite;
}

/* Список подсказок (если используешь hints под textarea) */
.wg28-chat-send-message.quizai .suggestionsChat {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    margin-bottom: 8px;
    padding: 6px 10px;
    border-radius: 14px;
    background: rgba(10, 10, 25, 0.98);
    border: 1px solid rgba(0, 243, 255, 0.2);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.8);
    list-style: none;
    max-height: 220px;
    overflow-y: auto;
    font-size: 13px;
    color: rgba(226, 232, 255, 0.9);
}

/* Сам textarea – прозрачный, без рамок */
.intentInputChat,
.wg28-chat-send-message.quizai #intentInput {
    flex: 1 1 auto;
    min-height: 24px;
    max-height: 220px;
    padding: 4px 0;
    border: none;
    resize: none;
    background: transparent;
    color: var(--neuro-text);
    font-size: 14px;
    line-height: 1.5;
    font-family: inherit;
    outline: none;
}

.intentInputChat::placeholder,
.wg28-chat-send-message.quizai #intentInput::placeholder {
    color: rgba(226, 232, 255, 0.5);
    font-size: 14px;
}

/* Блок кнопок справа от textarea */
.wg28-chat-send-message.quizai .textarea-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
}

.input-actions-bar2 {
    position: absolute;
        display: grid;
    align-items: center;
    gap: 6px;
right: 20%;
    bottom: 7%;
}
.textarea-actions {
    position: absolute;
    width: 100%;
    display: inline-block;
    align-items: center;
    gap: 0;
}

/* Общие настройки для обеих кнопок, чтобы центр совпадал */
#nextButtonChat,
#wg28-stop-stream {
    position: absolute;
    right: 3%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Send */
#nextButtonChat {
    width: 45px;
    height: 45px;
    border-radius: 100%;
    background: #00f4ff;
    color: #13131b;
    font-weight: bold;
    box-shadow: 0 6px 14px rgba(16, 163, 127, .35);
    transition: opacity .18s ease, transform .12s ease;
    cursor: pointer;
    /* убираем sticky, он сейчас лишний */
    /* position: sticky; */
}

/* Stop */
#wg28-stop-stream {
    width: 45px;      /* можно 45px, чтобы совсем не прыгало */
    height: 45px;
    border-radius: 999px;
    border: none;
    background: #d3455b;
    color: #fff;
    box-shadow: 0 6px 14px rgba(211, 69, 91, .35);
    z-index: 2;
}



#nextButtonChat:hover { background: #fff; }



   #textRow{position:relative}
        


        .wg28-bottom-reservoir{
          height:0; min-height:0;
          pointer-events:none;
          transition:height .18s ease, min-height .18s ease;
        }

/* =========================================================
 * NEURO-CHAT: кнопка отправки + стоп (красный бордер как aiblock-red)
 * ======================================================= */

.wg28-chat-send-message.quizai #nextButtonChat.aibut,
.wg28-chat-send-message.quizai #wg28-stop-stream {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    border: 2px solid rgba(255, 0, 110, 0.65); /* красный бордер */
    background: linear-gradient(145deg,
        rgba(255, 0, 110, 0.22) 0%,
        rgba(40, 0, 20, 0.95) 40%,
        rgba(15, 0, 10, 0.98) 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 18px 45px rgba(255, 0, 110, 0.35),
        inset 0 0 26px rgba(255, 0, 110, 0.25);
    cursor: pointer;
    transition: transform 0.18s ease-out,
                box-shadow 0.18s ease-out,
                background 0.18s ease-out;
}

/* "Нейронный взрыв" внутри кнопки */
.wg28-chat-send-message.quizai #nextButtonChat.aibut::before,
.wg28-chat-send-message.quizai #wg28-stop-stream::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle,
        rgba(255, 0, 110, 0.22) 0%,
        transparent 70%);
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.6;
    pointer-events: none;
    animation: neuroExplosion 4s infinite;
}

/* hover/active */
.wg28-chat-send-message.quizai #nextButtonChat.aibut:hover,
.wg28-chat-send-message.quizai #wg28-stop-stream:hover {
    transform: translateY(-1px) scale(1.03);
    box-shadow:
        0 22px 55px rgba(255, 0, 110, 0.5),
        inset 0 0 32px rgba(255, 0, 110, 0.4);
}

.wg28-chat-send-message.quizai #nextButtonChat.aibut:active,
.wg28-chat-send-message.quizai #wg28-stop-stream:active {
    transform: translateY(1px) scale(0.97);
    box-shadow:
        0 10px 30px rgba(255, 0, 110, 0.35),
        inset 0 0 22px rgba(255, 0, 110, 0.6);
}

/* Стоп-кнопка — чуть более «тревожная» */
.wg28-chat-send-message.quizai #wg28-stop-stream {
    background: linear-gradient(145deg,
        rgba(255, 80, 80, 0.26) 0%,
        rgba(60, 0, 0, 0.96) 45%,
        rgba(25, 0, 0, 0.98) 100%);
}

/* SVG внутри кнопок */
.wg28-chat-send-message.quizai #nextButtonChat svg,
.wg28-chat-send-message.quizai #wg28-stop-stream svg {
    display: block;
}

/* =========================================================
 * NEURO-CHAT: иконки фото + микрофон
 * ======================================================= */



/* Базовый стиль "тех" кнопки */
.tech-btn {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    border: 1px solid rgba(0, 243, 255, 0.55);
    background: radial-gradient(circle at 30% 0,
        rgba(0, 243, 255, 0.25) 0%,
        rgba(5, 8, 22, 0.95) 55%,
        rgba(0, 0, 0, 0.98) 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--neuro-primary);
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.85),
        0 0 22px rgba(0, 243, 255, 0.25);
    cursor: pointer;
    transition: transform 0.2s ease-out,
                box-shadow 0.2s ease-out,
                border-color 0.2s ease-out,
                background 0.2s ease-out;
}

.tech-btn i {
    font-size: 15px;
}

/* hover/active */
.tech-btn:hover {
    transform: translateY(-1px) scale(1.03);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.9),
        0 0 28px rgba(0, 243, 255, 0.4);
}

.tech-btn:active {
    transform: translateY(1px) scale(0.96);
}

/* Микрофон – активная запись (класс добавляет JS: .wg28-voice-recording) */
.tech-btn.wg28-voice-recording,
.tech-btn.voice-btn-trigger.wg28-voice-recording {
    border-color: rgba(255, 0, 110, 0.9);
    background: linear-gradient(145deg,
        rgba(255, 0, 110, 0.3) 0%,
        rgba(60, 0, 25, 0.96) 50%,
        rgba(10, 0, 10, 0.98) 100%);
    color: #fff;
    box-shadow:
        0 0 0 1px rgba(255, 0, 110, 0.8),
        0 0 28px rgba(255, 0, 110, 0.8),
        0 15px 40px rgba(0, 0, 0, 0.9);
    animation: neuroMicPulse 1.4s ease-in-out infinite;
}

@keyframes neuroMicPulse {
    0%   { transform: scale(1);   box-shadow: 0 0 0 0 rgba(255, 0, 110, 0.6); }
    70%  { transform: scale(1.04); box-shadow: 0 0 0 10px rgba(255, 0, 110, 0); }
    100% { transform: scale(1);   box-shadow: 0 0 0 0 rgba(255, 0, 110, 0); }
}

/* Фото – чуть более спокойный */
#wg28-image-upload.tech-btn {
    border-color: rgba(0, 243, 255, 0.9);
}

/* =========================================================
 * NEURO-CHAT: быстрые кнопки с эмодзи (fast-requests)
 * ======================================================= */

        /* БЫСТРЫЕ КНОПКИ - Версия 1 (Компактные чипы) */
         .fast-requests {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 12px;
            margin-bottom: 40px;
        }

         .click-fast-request {
            background: rgba(21, 21, 21, 0.8);
            border: 1px solid rgba(0, 255, 234, 0.1);
            border-radius: 12px;
            padding: 12px 15px;
            color: var(--neon-text-secondary);
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
            text-align: center;
            min-height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 1.3;
        }

         .click-fast-request::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent, 
                rgba(0, 255, 234, 0.1), 
                transparent);
            transition: left 0.5s;
        }

         .click-fast-request:hover::before {
            left: 100%;
        }

         .click-fast-request:hover {
            border-color: var(--neon-primary);
            color: var(--neon-primary);
            transform: translateY(-3px);
            box-shadow: 0 5px 20px rgba(0, 255, 234, 0.2);
        }

         .click-fast-request.active {
            background: rgba(0, 255, 234, 0.1);
            border-color: var(--neon-primary);
            color: var(--neon-primary);
            box-shadow: var(--neon-glow-primary);
        }

        /* ТАБЛИЦА для Интерфейса 1 (Компактная для смартфонов) */
         .table-container {
            border-radius: 15px;
            border: 1px solid rgba(0, 255, 234, 0.2);
            background: rgba(21, 21, 21, 0.8);
            backdrop-filter: blur(10px);
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

         table {
            width: 100%;
            min-width: 600px;
            border-collapse: collapse;
        }

         thead {
            background: linear-gradient(90deg, 
                rgba(0, 255, 234, 0.1), 
                rgba(157, 0, 255, 0.1));
            backdrop-filter: blur(20px);
        }

         th {
            padding: 15px 12px;
            text-align: left;
            color: var(--neon-primary);
            font-weight: 700;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            border-bottom: 2px solid var(--neon-primary);
            white-space: nowrap;
        }

         td {
            padding: 14px 12px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            color: var(--neon-text-secondary);
            font-size: 0.85rem;
            line-height: 1.4;
        }

         tr:hover {
            background: rgba(0, 255, 234, 0.05);
        }



/* Небольшая адаптивность для мобилок */
@media (max-width: 768px) {
    .wg28-chat-send-message.quizai {
        padding: 8px 10px calc(10px + env(safe-area-inset-bottom));
    }

    .wg28-chat-send-message.quizai .textarea-chat {
        padding: 10px 12px;
        border-radius: 16px;
    }

    .fast-requests.quizai {
        gap: 6px;
    }

    .click-fast-request.quizai {
        font-size: 50%;
        padding: 7px 12px 7px 10px;
    }
}
/* ===========================================
 * NEURO-УГЛЫ В СТИЛЕ .aiblock-green
 * ========================================= */

/* Большая нейро-карточка инпута */
.wg28-chat-send-message.quizai .textarea-chat {
    /* форма рамки как у aiblock-green, но чуть меньше шаг */
    clip-path: polygon(
        0% 16px, 16px 0%,
        calc(100% - 16px) 0%, 100% 16px,
        100% calc(100% - 16px), calc(100% - 16px) 100%,
        16px 100%, 0% calc(100% - 16px)
    );
}

/* Быстрые запросы (чипсы с эмодзи) */
.fast-requests.quizai .click-fast-request.quizai {
    clip-path: polygon(
        0% 10px, 10px 0%,
        calc(100% - 10px) 0%, 100% 10px,
        100% calc(100% - 10px), calc(100% - 10px) 100%,
        10px 100%, 0% calc(100% - 10px)
    );
}

/* Маленькие тех-кнопки (фото/микрофон) */
.input-actions-bar2 .tech-btn {
    clip-path: polygon(
        0% 7px, 7px 0%,
        calc(100% - 7px) 0%, 100% 7px,
        100% calc(100% - 7px), calc(100% - 7px) 100%,
        7px 100%, 0% calc(100% - 7px)
    );
}

/* =========================================================
 * NEURO-CHAT: вертикальный "ИИ-слайдер" по блокам #gentext
 * ======================================================= */

/* Окно чата — именно оно должно скроллиться */
.wg28-chat-window.quizai {
    overflow-y: auto;
    overflow-x: hidden;
}

/* Контейнер чата со скроллом */
.wg28-chat-window.quizai {
    /* Включаем вертикальный snap */
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

/* Каждый neuro-card (#gentext) — отдельный слайд */
.wg28-chat-window.quizai .wg28-row-message.quizai #gentext.neuro-card {
    /* центр блока в видимой области */
    scroll-snap-align: center;

    /* "запас" под хедер и под нижнюю панель */
    scroll-margin-top: 72px;
    scroll-margin-bottom: 140px;

    /* чтобы блок занимал почти всю высоту окна */
    min-height: calc(100vh - 230px);
}

/* Подсветка подписи для ролей */
 
.wg28-row-message.quizai[role="user"] .wg28-chat-who-write.quizai {
    color: rgba(0, 255, 157, 0.85); /* пользователь – зелёный */
    text-align: right;
}

/* Юзер-слайд: секция без внешних отступов */
.neuro-section.userchat {
  padding: 0 !important;
}

/* Контент юзера: половина ширины, прижат к левому краю */
.neuro-content.userchat {
  position: relative;
  width: 50%;
  left: 0;
  padding: 0 !important;
}

/* Карточка юзера внутри чата */
.wg28-chat-window.quizai .wg28-row-message.quizai #gentext.neuro-card.userchat {
  min-height: calc(70vh - 260px);
  padding: 15% 5% 5% 5%;
}
@media (max-width: 550px) {
  /* На мобилке слайд юзера шире */
  .neuro-content.userchat {
    width: 80%;
  }

  .wg28-chat-window.quizai .wg28-row-message.quizai #gentext.neuro-card.userchat {
    min-height: calc(70vh - 220px);
    padding: 18% 6% 6% 6%;
  }
}




/* ---------------------------------------------------------
 * Блок с фото клиента: .wg28-chat-photo-preview
 * ------------------------------------------------------ */

.wg28-chat-photo-preview {
    position: relative;
    margin-top: 10px;
    border-radius: 18px;
    overflow: hidden;
    background: radial-gradient(circle at 0 0,
        rgba(0, 243, 255, 0.14) 0%,
        rgba(0, 0, 0, 0.92) 45%,
        rgba(0, 0, 0, 1) 100%);
    border: 1px solid rgba(0, 243, 255, 0.30);
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.75),
        0 0 50px rgba(0, 243, 255, 0.25);
}

/* На сообщении "Вы" подсветка зелёным */
.wg28-row-message.quizai[role="user"] .wg28-chat-photo-preview {
    border-color: rgba(0, 255, 157, 0.40);
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.75),
        0 0 50px rgba(0, 255, 157, 0.25);
}

/* Надпись "Фото отправлено, подбираю решение…" */
.wg28-chat-photo-note {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(226, 232, 255, 0.9);
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(0, 243, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Картинка клиента */
.wg28-chat-photo-preview img {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 16px;
    transform: translateZ(0);
}



/* === Общий блок хедера =================================== */

.wg28-chat-status.quizai {
    width: 100%;
    display: flex
;
    align-items: center;
    gap: 12px;
    padding: 10px 0 0 0;
    color: var(--neuro-text, #e2e8ff);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    position: absolute;
    top: 2%;
    left: 28%;
    z-index: 999;
}

/* Делаем два отдельный "капсуля": слева лого+статус, справа корзина */
.wg28-chat-status-container.quizai {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background:
    radial-gradient(circle at top left, rgba(0, 255, 157, 0.16), transparent 55%),
    radial-gradient(circle at bottom right, rgba(0, 243, 255, 0.14), transparent 60%),
    linear-gradient(135deg, rgba(7, 12, 22, 0.96), rgba(9, 10, 22, 0.98));
  border: 1px solid rgba(0, 255, 157, 0.28);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.85),
    0 0 32px rgba(0, 255, 157, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* При активном стриме можно усиливать glow */
.wg28-chat-status.quizai.is-streaming .wg28-chat-status-container.quizai {
  border-color: rgba(0, 255, 157, 0.75);
  box-shadow:
    0 14px 50px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(0, 255, 157, 0.35);
}

/* === Левая часть: логотип-манометр + текст ================= */

.wg28-chat-image.quizai {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 0%, rgba(0, 255, 157, 0.4), rgba(10, 10, 20, 1));
  box-shadow:
    0 0 18px rgba(0, 255, 157, 0.75),
    0 0 32px rgba(0, 243, 255, 0.45);
  position: relative;
  overflow: hidden;
}

/* Лёгкое вращение манометра (SVG-лого) */
.wg28-chat-img.quizai {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.6));
  transform-origin: 50% 50%;
  animation: gauge-spin-slow 26s linear infinite;
}

.wg28-chat-image.quizai:hover .wg28-chat-img.quizai {
  animation-duration: 12s;
  transform: scale(1.05);
}

/* При стриме ускоряем вращение — как будто давление растёт :) */
.wg28-chat-status.quizai.is-streaming .wg28-chat-img.quizai {
  animation-duration: 10s;
}

/* Имя и подпись */
.wg28-chat-person.quizai {
  display: flex;
  align-items: center;
}

.wg28-chat-name.quizai {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wg28-chat-fullname.quizai {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.wg28-chat-first-name.quizai {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f5f5ff;
}

.wg28-chat-spec.quizai span {
  font-size: 11px;
  opacity: 0.7;
  color: #a3b5ff;
}

/* Статус "Онлайн" */
.wg28-chat-status-spec.quizai {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  opacity: 0.85;
}

.wg28-chat-online.quizai {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wg28-chat-online.quizai > div:first-child {
  font-weight: 500;
  color: #8bffcd;
}

/* Зелёная точка "онлайн" с пульсацией */
.wg28-chat-ball-green.quizai {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #00ff9d;
  box-shadow: 0 0 14px rgba(0, 255, 157, 0.9);
  animation: online-pulse 1.8s ease-out infinite;
}

/* При стриме точка может чуть сильнее светиться */
.wg28-chat-status.quizai.is-streaming .wg28-chat-ball-green.quizai {
  box-shadow: 0 0 18px rgba(0, 255, 157, 1);
}

/* === Корзина справа: отдельный неон-контейнер ============== */

.cart-button {
    top: 8%;
    right: 3%;
    display: flex
;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 44px;
    border-radius: 999px;
    background: radial-gradient(circle at 10% 0%, rgba(0, 243, 255, 0.22), transparent 55%), radial-gradient(circle at 90% 100%, rgba(157, 78, 221, 0.22), transparent 55%), linear-gradient(135deg, rgba(11, 16, 34, 0.98), rgba(5, 7, 18, 0.98));
    border: 1px solid rgba(0, 243, 255, 0.45);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.9), 0 0 26px rgba(0, 243, 255, 0.32);
    color: #e2e8ff;
    cursor: pointer;
    position: relative;
    transition: transform 0.18s 
ease-out, box-shadow 0.2s 
ease-out, background 0.22s 
ease-out, border-color 0.22s 
ease-out;
    z-index: 99999;
}

.cart-button svg {
  display: block;
}

/* Hover / Active */
.cart-button:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.95),
    0 0 32px rgba(0, 243, 255, 0.4);
}

.cart-button:active {
  transform: translateY(1px) scale(0.97);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.85),
    0 0 18px rgba(0, 243, 255, 0.26);
}

/* При стриме корзина может чуть "дышать" — как намёк, что можно сразу кинуть товар */
.wg28-chat-status.quizai.is-streaming .cart-button {
  animation: cart-pulse-stream 2.2s ease-in-out infinite;
}

/* Счётчик товаров */
.cart-count {
  position: absolute;
  top: 4px;
  right: 8px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff006e, #ffb703);
  color: #0a0a12;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 12px rgba(255, 0, 110, 0.9),
    0 0 20px rgba(255, 183, 3, 0.7);
}

/* === Анимации =============================================== */

@keyframes gauge-spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes online-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.9);
  }
  50% {
    transform: scale(1.35);
    opacity: 0.7;
    box-shadow: 0 0 18px rgba(0, 255, 157, 1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.8);
  }
}

@keyframes cart-pulse-stream {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow:
      0 12px 32px rgba(0, 0, 0, 0.9),
      0 0 26px rgba(0, 243, 255, 0.32);
  }
  50% {
    transform: translateY(-1px) scale(1.03);
    box-shadow:
      0 16px 40px rgba(0, 0, 0, 0.95),
      0 0 36px rgba(0, 243, 255, 0.5);
  }
}


/* Индикатор нейро-обработки для Линии мысли */
/* Индикатор Линии мысли внутри карточки */
.neuro-card .neuro-processing {
    position: absolute;
    top: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(0, 255, 234, 0.10);
    border: 1px solid rgba(0, 255, 234, 0.35);
    border-radius: 999px;
    z-index: 5;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 0.9rem;
}

.neuro-card .neuro-processing #wg28StepText {
    color: #ffffff;
    white-space: nowrap;
}

.neuro-card .neuro-processing .dots {
    display: flex;
    gap: 4px;
}

.neuro-card .neuro-processing .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon-primary, #00ffea);
    animation: neuroDots 1.4s infinite ease-in-out;
}

.neuro-card .neuro-processing .dot:nth-child(1) { animation-delay: -0.32s; }
.neuro-card .neuro-processing .dot:nth-child(2) { animation-delay: -0.16s; }
.neuro-card .neuro-processing .dot:nth-child(3) { animation-delay: 0s; }

@keyframes neuroDots {
    0%, 80%, 100% { transform: scale(0.5); opacity: 0.3; }
    40%          { transform: scale(1);   opacity: 1;   }
}

/* Контент скелетона */
.neuro-card .slide-content {
    position: relative;
    padding: 60px 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Заголовок */
.neuro-card .skeleton-title {
    height: 70px;
    width: 60%;
    background: linear-gradient(90deg,
        rgba(0, 255, 234, 0.10) 25%,
        rgba(0, 255, 234, 0.20) 50%,
        rgba(0, 255, 234, 0.10) 75%);
    background-size: 200% 100%;
    border-radius: 15px;
    animation: skeletonFlow 3s infinite linear;
}

/* Текст */
.neuro-card .skeleton-text {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.neuro-card .skeleton-line {
    height: 20px;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.05) 25%,
        rgba(255, 255, 255, 0.10) 50%,
        rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    border-radius: 10px;
    animation: skeletonFlow 3s infinite linear;
}

.neuro-card .skeleton-line:nth-child(1) { width: 95%; animation-delay: 0.2s; }
.neuro-card .skeleton-line:nth-child(2) { width: 90%; animation-delay: 0.4s; }
.neuro-card .skeleton-line:nth-child(3) { width: 85%; animation-delay: 0.6s; }
.neuro-card .skeleton-line:nth-child(4) { width: 80%; animation-delay: 0.8s; }
.neuro-card .skeleton-line:nth-child(5) { width: 75%; animation-delay: 1.0s; }

@keyframes skeletonFlow {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* "Картинка" */
.neuro-card .skeleton-image {
    height: 220px;
    border-radius: 20px;
    background: linear-gradient(90deg,
        rgba(157, 0, 255, 0.1) 25%,
        rgba(157, 0, 255, 0.2) 50%,
        rgba(157, 0, 255, 0.1) 75%);
    background-size: 200% 100%;
    animation: skeletonFlow 3s infinite linear reverse;
}
section.neuro-section.active.neuro-section-thinking {
    
   display: block !important;
}




        /* Инновационный список */
        .neuro-list {
            list-style: none;
            padding: 0;
            margin: 30px 0;
        }

        .neuro-list li {
            padding: 20px;
            margin-bottom: 15px;
            background: rgba(0, 243, 255, 0.05);
            border-left: 4px solid var(--neuro-primary);
            border-radius: 0 10px 10px 0;
            position: relative;
            transition: all 0.3s;
                color: #dfdfdf;
        }

        .neuro-list li:hover {
            background: rgba(0, 243, 255, 0.1);
 
        }

        .neuro-list li::before {
            content: '⇾';
            position: absolute;
            left: 10px;
            color: var(--neuro-primary);
            font-weight: bold;
        }



/* === Адаптация под смартфоны ================================ */

@media (max-width: 768px) {
    #gentext h1 {
    font-size: 2.2rem;
    line-height: 36px;
}
            .product-list li {
width: 100%;
    padding: 10%;
}
  .wg28-chat-status.quizai {
    gap: 8px;
    padding: 8px 0 6px;
  }

  .wg28-chat-status-container.quizai {
    padding: 8px 10px;
    gap: 8px;
  }

  .wg28-chat-image.quizai {
    width: 34px;
    height: 34px;
  }

  .wg28-chat-img.quizai {
    width: 22px;
    height: 22px;
  }

  .wg28-chat-first-name.quizai {
    font-size: 12px;
  }

  .wg28-chat-spec.quizai span {
    display: none; /* на мобиле можно скрыть длинную подпись */
  }

  .wg28-chat-online.quizai > div:first-child {
    display: none; /* оставляем только зелёную точку */
  }

  .cart-button {
    height: 40px;
    min-width: 46px;
    padding: 0 10px;
  }

  .cart-count {
    top: 2px;
    right: 6px;
    min-width: 16px;
    height: 16px;
    font-size: 10px;
  }
}










/* Совсем узкие экраны */
@media (max-width: 480px) {


}












 
@media (max-width: 1200px) {
        .tech-btn {
    width: 35px;
    height: 35px;
}
    .fast-requests {
                grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
            }
    .wg28-chat-window.quizai .wg28-row-message.quizai #gentext.neuro-card {
        scroll-margin-top: 60px;
        scroll-margin-bottom: calc(150px + env(safe-area-inset-bottom));
        min-height: calc(100vh - 260px);
    }
    #textRow.textarea-chat.neuro-card.aiblock-trans {
    width: 90%;
    margin: 0 5% 0 5%;
        left: 0;
}
.textarea-actions {
    margin: 0 3% 0 0;
}
    .input-actions-bar2 {
    right: 3%;
    bottom: 7%;
}
}

/* Мобильная подстройка (iPhone / смартфоны) */
@media (max-width: 768px) {

    .neuro-card .neuro-processing #wg28StepText {
    font-size: 60%;
}
    #nm250-nav-root .brain-text {
        font-size: 60% !important;
        margin-top: -5% !important;
    }
    
            .neuro-list li {
font-size: 60%;
        }
    .fast-requests {
                grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
                gap: 10px;
            }
    .interface#interface1 .click-fast-request {
                font-size: 0.8rem;
                padding: 10px;
                min-height: 55px;
            }
    .interface-btn {
                min-width: 150px;
                padding: 10px 20px;
                font-size: 0.9rem;
            }
            
            /* Еще меньшие шрифты для смартфонов */
            .interface#interface1 th {
                font-size: 0.8rem;
                padding: 12px 10px;
            }
            
            .interface#interface1 td {
                font-size: 0.8rem;
                padding: 10px 8px;
            }
    .neuro-content {
    padding: 120% 2%;
}
    .wg28-chat-window.quizai .wg28-row-message.quizai #gentext.neuro-card {
        scroll-margin-top: 60px;
        scroll-margin-bottom: calc(150px + env(safe-area-inset-bottom));
        min-height: calc(100vh - 260px);
    }
    
        textarea#intentInput.intentInputChat {
        min-height: auto;
        padding: 5% 10% 5% 5%;
        margin: 0 0 0 8%;
    }
    .textarea-actions {
    right: 5%;
}
    #textRow.textarea-chat.neuro-card.aiblock-trans {
    width: 80%;
    margin: 0 5% -5% 2%;

}
        .wg28-chat textarea#intentInput {
        font-size: 12px !important;
        line-height: 16px;
    }
.input-actions-bar2 {
    right: 3%;
    bottom: 5%;
}
    #nextButtonChat {
    width: 40px;
    height: 40px;
}
    #wg28-stop-stream {
    width: 40px;
    height: 40px;
}
    h1, h2, h3, h4 {
    font-size: 130%;
}
    #nextButtonChat, #wg28-stop-stream {
    right: -6%;
}
}

/* Мобильная подстройка 544 (iPhone / смартфоны) */
@media (max-width: 544px) {
    /* Сбрасываем 3D у родительского контейнера */
    .neuro-content {
        perspective: none !important;
        transform-style: flat !important;
    }

    /* Жестко запрещаем трансформации самой карточке */
    .neuro-card {
        transform: none !important;
        transition: none !important; /* Отключаем дергания, если скрипт будет пытаться анимировать возврат */
    }
    
            h1, h2, h3, h4 {
        font-size: 100% !important;
    }

        .wg28-chat-window.quizai .wg28-row-message.quizai #gentext.neuro-card {
        scroll-margin-top: 160px;
    }
.wg28-chat-status.quizai {
    width: 75%;
    top: 1%;
    left: 5%;
}
 
  .wg28-chat-status.quizai {
    gap: 6px;
  }

  .wg28-chat-status-container.quizai {
    flex: 1 1 auto;
  }

  .wg28-chat-name.quizai {
    gap: 2px;
  }
    
     .interface#interface1 .fast-requests {
                grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            }
            
            .interface#interface1 .click-fast-request {
                font-size: 0.75rem;
                min-height: 50px;
            }
    
       .input-actions-bar2 {
        bottom: 5%;
        right: 5%;
    }

     .interface-switcher {
                flex-direction: column;
                align-items: center;
                gap: 8px;
            }
            
            .interface-btn {
                width: 100%;
                min-width: auto;
                justify-content: center;
            }
            
            /* Минимальные шрифты для таблиц */
            .interface#interface1 th,
            .interface#interface1 td {
                font-size: 0.75rem;
                padding: 8px 6px;
            }
            
            .interface#interface2 th,
            .interface#interface2 td {
                font-size: 0.8rem;
                padding: 10px 8px;
            }
            
            .notification {
                width: 90%;
                max-width: none;
            }
}
