/* ТАБЫ ХАРАКТЕРИСТИК (МЫШЬ, ЭКРАН, РУКИ) */
.cs-tabs-container { background: #ffffff !important; border: 1px solid #e2e8f0 !important; border-radius: 8px !important; overflow: hidden !important; margin-bottom: 20px !important; width: 100% !important; }
.cs-tabs-header { 
    display: flex !important; 
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    background: #f8fafc !important; 
    border-bottom: 1px solid #e2e8f0 !important;
    width: 100% !important;
    padding: 0 !important; margin: 0 !important;
}
.cs-tab-link {
    flex: 1 1 0% !important;
    display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important;
    padding: 14px 4px !important; background: transparent !important; border: 2px solid transparent !important;
    color: #4a5568 !important; cursor: pointer !important; font-weight: 500 !important; font-size: 13.5px !important;
    white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; transition: all 0.15s ease-in-out !important;
}
.cs-tab-link.active { color: #e67e22 !important; background: #ffffff !important; border: 2px solid #e67e22 !important; border-radius: 6px !important; font-weight: 600 !important; margin: 4px !important; }
.cs-tab-icon { width: 16px !important; height: 16px !important; flex-shrink: 0 !important; display: inline-block !important; }
.cs-tab-pane { padding: 20px !important; background: #ffffff !important; width: 100% !important; }

/* ТАБЛИЦЫ СТРОК ДАННЫХ */
.cs-settings-list, .cs-meta-table { display: flex !important; flex-direction: column !important; padding: 0 !important; margin: 0 !important; }
.cs-setting-row, .cs-meta-row { display: flex !important; flex-direction: row !important; justify-content: space-between !important; align-items: center !important; padding: 12px 0 !important; border-bottom: 1px solid #edf2f7 !important; font-size: 14px !important; width: 100% !important; }
.cs-setting-row:last-child, .cs-meta-row:last-child { border-bottom: none !important; }
.cs-setting-row span, .cs-meta-row span { color: #718096 !important; }
.cs-setting-row strong, .cs-meta-row strong { color: #2d3748 !important; font-weight: 600 !important; }

/* ЗАГОЛОВКИ И ДЕКОРАТИВНЫЕ СЛОВА */
.cs-block-title { display: flex !important; align-items: center !important; gap: 8px !important; font-size: 18px !important; color: #1a202c !important; font-weight: 700 !important; margin: 0 0 15px 0 !important; }
.cs-sub-block-title { font-size: 18px !important; color: #1a202c !important; font-weight: 700 !important; margin: 0 0 4px 0 !important; }
.title-ico-orange { width: 18px !important; height: 18px !important; color: #e67e22 !important; display: inline-block !important; }
.cs-title-sub-wrap { margin-bottom: 20px !important; }
.cs-title-descr-text { font-size: 13px !important; color: #718096 !important; margin-top: 4px !important; }

/* СЕТКА ИГРОКОВ КОМАНДЫ */
.cs-teammates-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important; gap: 15px !important; width: 100% !important; }
.cs-teammate-card { background: #f8fafc !important; border: 1px solid #e2e8f0 !important; border-radius: 6px !important; padding: 15px 10px !important; text-align: center !important; text-decoration: none !important; display: flex !important; flex-direction: column !important; align-items: center !important; }
.cs-teammate-card:hover { border-color: #e67e22 !important; }
.cs-tm-avatar { width: 70px !important; height: 70px !important; border-radius: 50% !important; overflow: hidden !important; background: #e2e8f0 !important; margin: 0 auto 10px auto !important; }
.cs-tm-avatar img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.cs-tm-nick { font-size: 14px !important; color: #1a202c !important; font-weight: 600 !important; }

/* ДВУХКОЛОНОЧНЫЙ НИЖНИЙ БЛОК */
.cs-flex-row-block { display: flex !important; flex-direction: row !important; gap: 20px !important; margin-bottom: 20px !important; width: 100% !important; }
.cs-flex-col-50 { flex: 1 !important; min-width: 0 !important; }

/* СХОЖИЕ НАСТРОЙКИ */
.cs-related-players-list { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 12px !important; width: 100% !important; }
.cs-related-player-item { background: #ffffff !important; border: 1px solid #e2e8f0 !important; border-radius: 6px !important; padding: 12px 8px !important; text-align: center !important; text-decoration: none !important; display: flex !important; flex-direction: column !important; align-items: center !important; }
.cs-related-player-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.04) !important; border-color: #cbd5e0 !important; }
.cs-rel-img-wrap { width: 60px !important; height: 60px !important; border-radius: 6px !important; overflow: hidden !important; background: #f8fafc !important; margin-bottom: 8px !important; }
.cs-rel-img-wrap img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.cs-rel-name { font-size: 13.5px !important; color: #4a5568 !important; font-weight: 500 !important; }

/* FAQ АККОРДЕОН */
.cs-faq-wrapper { display: flex !important; flex-direction: column !important; gap: 10px !important; width: 100% !important; }
.cs-faq-item { border: 1px solid #e2e8f0 !important; border-radius: 6px !important; overflow: hidden !important; width: 100% !important; }
.cs-faq-head { display: flex !important; align-items: center !important; padding: 14px 15px !important; background: #f8fafc !important; cursor: pointer !important; width: 100% !important; }
.cs-faq-icon { width: 20px !important; height: 20px !important; background: #e2e8f0 !important; border-radius: 50% !important; display: flex !important; align-items: center !important; justify-content: center !important; font-size: 11px !important; font-weight: 700 !important; color: #718096 !important; margin-right: 12px !important; flex-shrink: 0 !important; }
.cs-faq-head h4 { margin: 0 !important; font-size: 14px !important; color: #2d3748 !important; font-weight: 600 !important; flex: 1 !important; text-align: left !important; }
.cs-faq-plus { font-size: 16px !important; color: #a0aec0 !important; transition: transform 0.2s !important; flex-shrink: 0 !important; }
.cs-faq-body { display: none !important; padding: 15px !important; background: #ffffff !important; font-size: 13.5px !important; color: #4a5568 !important; border-top: 1px solid #e2e8f0 !important; line-height: 1.5 !important; text-align: left !important; }
.cs-faq-item.open .cs-faq-body { display: block !important; }
.cs-faq-item.open .cs-faq-plus { transform: rotate(45deg) !important; color: #e67e22 !important; }

/* БЛОК СКАЧИВАНИЯ КФГ И СЕТКА ГАЙДОВ */
.text-center-block { text-align: center !important; padding: 30px 40px !important; }
.cs-download-main-title { font-size: 22px !important; color: #1a202c !important; margin: 0 0 12px 0 !important; font-weight: 700 !important; }
.cs-guides-layout-grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 20px !important; width: 100% !important; }
.cs-guide-card-item { background: #ffffff !important; display: flex !important; flex-direction: column !important; width: 100% !important; }
.cs-g-thumb { width: 100% !important; height: 145px !important; border-radius: 6px !important; overflow: hidden !important; background: #edf2f7 !important; margin-bottom: 12px !important; }
.cs-g-thumb img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.cs-g-date { font-size: 12px !important; color: #a0aec0 !important; margin-bottom: 6px !important; text-align: left !important; }
.cs-g-name { font-size: 15px !important; margin: 0 0 8px 0 !important; font-weight: 700 !important; text-align: left !important; }
.cs-g-name a { color: #1a202c !important; text-decoration: none !important; }
.cs-g-name a:hover { color: #e67e22 !important; }
.cs-g-excerpt { font-size: 13px !important; color: #718096 !important; line-height: 1.5 !important; margin: 0 !important; text-align: left !important; }

/* ТЕКСТОВЫЕ КОНСОЛИ */
.code-console { background: #f8fafc !important; border: 1px solid #e2e8f0 !important; padding: 12px !important; border-radius: 6px !important; font-family: 'JetBrains Mono', monospace !important; font-size: 12px !important; color: #2d3748 !important; overflow-x: auto !important; white-space: nowrap !important; width: 100% !important; box-sizing: border-box !important; display: block !important; }
.cs-copy-action-btn { background: #e67e22 !important; color: #ffffff !important; border: none !important; padding: 0 15px !important; font-weight: 600 !important; border-radius: 6px !important; cursor: pointer !important; font-size: 13px !important; }
.player-social-links { display: flex !important; gap: 8px !important; margin-top: 12px !important; flex-wrap: wrap !important; }
.social-ico { display: flex !important; align-items: center !important; justify-content: center !important; width: 36px !important; height: 36px !important; background: #f8fafc !important; color: #4a5568 !important; border-radius: 6px !important; border: 1px solid #e2e8f0 !important; text-decoration: none !important; }
.social-ico:hover { background: #e67e22 !important; color: #ffffff !important; }

/* Дополнительные фиксы элементов экшенов */
.cs-action-header-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 12px !important;
    width: 100% !important;
}

.aim-page-item-title {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1a202c !important;
}

.code-console-btn {
    color: #718096 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: color 0.15s ease !important;
}
.code-console-btn:hover {
    color: #e67e22 !important;
}

.bg-crosshair-box {
    position: relative !important; 
    width: 100% !important; 
    height: 160px !important;
    background: url('https://sammy-codes.com') center/cover no-repeat !important;
    border-radius: 6px !important; 
    border: 1px solid #e2e8f0 !important; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important;
}

.cs-crosshair-center-dot { 
    position: relative !important; 
    width: 0 !important; 
    height: 0 !important; 
}

.slider-arrow-prev, .slider-arrow-next { position: absolute !important; color: #fff !important; cursor: pointer !important; background: rgba(0,0,0,0.5) !important; width: 32px !important; height: 32px !important; display: flex !important; align-items: center !important; justify-content: center !important; border-radius: 50% !important; border: 1px solid rgba(255,255,255,0.2) !important; }
.slider-arrow-prev { left: 12px !important; } .slider-arrow-next { right: 12px !important; }

/* ФИКС ДЛЯ СВЕЖИХ ЭЛЕМЕНТОВ ДЕЙСТВИЙ (ПРИЦЕЛ, ЗАПУСК, КНОПКА) */
.cs-action-header-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 12px !important;
    width: 100% !important;
}

.aim-page-item-title {
    font-size: 14.5px !important;
    font-weight: 600 !important;
    color: #1a202c !important;
}

.code-console-btn {
    color: #718096 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    transition: color 0.15s ease !important;
}
.code-console-btn:hover {
    color: #e67e22 !important;
}

.bg-crosshair-box {
    position: relative !important; 
    width: 100% !important; 
    height: 150px !important;
    /* ИСПРАВЛЕНО: Убрали url(...) !important, чтобы дать дорогу JavaScript */
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-color: #444444 !important;
    border-radius: 6px !important; 
    border: 1px solid #e2e8f0 !important; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important;
}
.cs-crosshair-center-dot { 
    position: relative !important; 
    width: 4px !important; 
    height: 4px !important; 
    background: #00ff00 !important; 
    border-radius: 50% !important; 
}
.slider-arrow-prev, .slider-arrow-next { 
    position: absolute !important; 
    color: #fff !important; 
    cursor: pointer !important; 
    background: rgba(0,0,0,0.5) !important; 
    width: 32px !important; 
    height: 32px !important; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important; 
    border-radius: 50% !important; 
    border: 1px solid rgba(255,255,255,0.2) !important; 
    transition: background 0.2s !important; 
    z-index: 5 !important; /* Добавили, чтобы стрелочки всегда были кликабельны поверх картинок */
}
.slider-arrow-prev:hover, .slider-arrow-next:hover { 
    background: rgba(230, 126, 34, 0.8) !important; 
}
.slider-arrow-prev { left: 12px !important; } 
.slider-arrow-next { right: 12px !important; }

/* ПРЕМИАЛЬНАЯ ОРАНЖЕВАЯ КНОПКА СКАЧИВАНИЯ */
.cs-prime-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 15px 20px !important;
    background: linear-gradient(135deg, #ff9f43 0%, #e67e22 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.25) !important;
    transition: all 0.2s ease-in-out !important;
    cursor: pointer !important;
}
.cs-prime-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4) !important;
    background: linear-gradient(135deg, #ffa84c 0%, #d35400 100%) !important;
}
.cs-prime-btn:active {
    transform: translateY(1px) !important;
}
/* =========================================================================
   ФИКС: СТИЛИЗАЦИЯ САЙДБАРА И ЕГО ВИДЖЕТОВ (В СТИЛЕ ВАШЕГО САЙТА)
   ========================================================================= */
.cs-widget-title { 
    font-size: 14px !important; 
    color: #1a202c !important; 
    font-weight: 700 !important; 
    margin: 0 0 15px 0 !important; 
    text-transform: uppercase !important; 
    letter-spacing: 0.5px !important; 
}

/* Состав команды в сайдбаре */
.cs-sidebar-teammates-list { 
    display: flex !important; 
    flex-direction: column !important; 
    gap: 12px !important; 
}
.cs-sidebar-tm-item { 
    display: flex !important; 
    align-items: center !important; 
    gap: 12px !important; 
    text-decoration: none !important; 
    padding: 6px !important; 
    border-radius: 6px !important; 
    transition: background 0.15s ease-in-out !important; 
}
.cs-sidebar-tm-item:hover { 
    background: #f8fafc !important; 
}
.cs-s-avatar { 
    width: 44px !important; 
    height: 44px !important; 
    border-radius: 50% !important; 
    overflow: hidden !important; 
    background: #e2e8f0 !important; 
    flex-shrink: 0 !important; 
}
.cs-s-avatar img { 
    width: 100% !important; 
    height: 100% !important; 
    object-fit: cover !important; 
}
.cs-s-name { 
    font-size: 14px !important; 
    color: #1a202c !important; 
    font-weight: 600 !important; 
}

/* Рекомендуемые кфг в сайдбаре */
.cs-sidebar-related-list { 
    display: flex !important; 
    flex-direction: column !important; 
    gap: 10px !important; 
}
.cs-sidebar-rel-item { 
    display: flex !important; 
    align-items: center !important; 
    gap: 12px !important; 
    text-decoration: none !important; 
    padding: 8px !important; 
    border: 1px solid #edf2f7 !important; 
    border-radius: 6px !important; 
    transition: all 0.15s ease-in-out !important; 
}
.cs-sidebar-rel-item:hover { 
    border-color: #e67e22 !important; /* Оранжевый фокус при наведении */
    background: #f8fafc !important; 
}
.cs-s-rel-thumb { 
    width: 40px !important; 
    height: 40px !important; 
    border-radius: 6px !important; 
    overflow: hidden !important; 
    background: #e2e8f0 !important; 
    flex-shrink: 0 !important; 
}
.cs-s-rel-thumb img { 
    width: 100% !important; 
    height: 100% !important; 
    object-fit: cover !important; 
}
.cs-s-rel-info { 
    flex: 1 !important; 
    display: flex !important; 
    flex-direction: column !important; 
    min-width: 0 !important; 
}
.cs-s-rel-name { 
    font-size: 13.5px !important; 
    color: #1a202c !important; 
    font-weight: 600 !important; 
}
.cs-s-rel-meta { 
    font-size: 11.5px !important; 
    color: #718096 !important; 
    margin-top: 2px !important; 
}
.cs-s-rel-arrow { 
    width: 14px !important; 
    height: 14px !important; 
    color: #a0aec0 !important; 
    flex-shrink: 0 !important; 
}

/* МЯГКИЙ ВИЗУАЛЬНЫЙ СТИЛЬ ДЛЯ ДЕМО-ВЕРСИИ ВИДЖЕТОВ */
.demo-widget-badge {
    border: 1px dashed rgba(230, 126, 34, 0.4) !important;
    background: #ffffff !important;
}

/* Плашка с названием текущей карты на превью прицела */
.cs-map-slider-badge {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    background: rgba(15, 23, 42, 0.75) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    font-family: 'JetBrains Mono', monospace !important;
    letter-spacing: 0.5px !important;
    z-index: 2 !important;
}


/* =========================================================================
   ИСПРАВЛЕНО: НАТИВНЫЙ МАСШТАБИРУЕМЫЙ СЛОЙ ОРУЖИЯ 16:9 (КАК НА CS-CONFIG)
   ========================================================================= */
.cs-viewmodel-layout {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
    align-items: center !important;
    width: 100% !important;
}

/* Окно-маска, которая обрезает всё лишнее снаружи */
.c-widget-player-preview-frame {
    position: relative !important;
    width: 250px !important;
    height: 140px !important; /* Пропорция 16:9 */
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}

/* Внутренний контейнер, имеющий честные 1920х1080, но уменьшенный в ~7.6 раз */
.c-widget-player-preview-frame .preview-wrapper {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 1920px !important;
    height: 1080px !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    transform: scale(0.1302) !important; /* Ровно 250px / 1920px */
    transform-origin: top left !important;
}

/* Прозрачный слой оружия, идеально растянутый на весь виртуальный экран */
.c-widget-player-preview-weapon {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: right bottom !important;
    background-repeat: no-repeat !important;
    transition: transform 0.08s ease-out !important;
    pointer-events: none !important;
    z-index: 3 !important;
}

/* Сетка ползунков */
.cs-vm-sliders-grid { flex: 1 !important; display: flex !important; flex-direction: column !important; gap: 12px !important; }
.cs-vm-slider-item { display: flex !important; flex-direction: column !important; width: 100% !important; }
.cs-vm-label-row { display: flex !important; justify-content: space-between !important; font-size: 13px !important; margin-bottom: 4px !important; }
.cs-vm-label-row span { color: #718096 !important; font-family: 'JetBrains Mono', monospace !important; }
.cs-vm-label-row strong { color: #e67e22 !important; }

.cs-vm-slider-item input[type="range"] { -webkit-appearance: none !important; width: 100% !important; height: 5px !important; background: #edf2f7 !important; border-radius: 3px !important; outline: none !important; }
.cs-vm-slider-item input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none !important; width: 15px !important; height: 15px !important; background: #e67e22 !important; border-radius: 50% !important; cursor: pointer !important; transition: transform 0.1s !important; }
.cs-vm-slider-item input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2) !important; }

@media (max-width: 600px) {
    .cs-viewmodel-layout { flex-direction: column !important; align-items: center !important; }
    .c-widget-player-preview-frame { width: 100% !important; height: 160px !important; }
    /* Пересчитываем масштаб под мобильную ширину */
    .c-widget-player-preview-frame .preview-wrapper { transform: scale(0.18) !important; }
}

/* =========================================================================
   10. СТИЛИЗАЦИЯ ДИНАМИЧЕСКОГО CSS ПРИЦЕЛА ПО ЦЕНТРУ КАРТЫ
   ========================================================================= */
.cs-dynamic-crosshair-wrapper {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 100px !important;
    height: 100px !important;
    pointer-events: none !important;
    z-index: 10 !important;
}

.cs-ch-dot {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    border-radius: 1px !important;
    box-shadow: 0 0 1px #000000 !important;
}

.cs-ch-line {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    box-shadow: 0 0 1px #000000 !important;
}
