.hero-chart-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-bottom: 4px;
}

.hero-chart-name {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--bs-body-color);
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    /* Скрываем все колонки кроме первой на мобильных */
    #heroes_data thead {
        display: none;
    }
    
    #heroes_data tbody td {
        display: none;
    }
    
    #heroes_data tbody td:first-child {
        display: table-cell !important;
        width: 100% !important;
        padding: 12px 15px !important;
    }
    
    /* Стили для мобильного отображения */
    .mobile-row {
        cursor: pointer;
    }
    
    .mobile-row.table-active {
        background-color: rgba(0, 123, 255, 0.05);
    }
    
    .mobile-details {
        background: var(--bg-meta-mobile-more);
        border-radius: 0 0 8px 8px;
        margin-top: -8px;
    }
    
    .mobile-stat-item {
        transition: background-color 0.2s ease;
    }
    
    .mobile-stat-item:hover {
        background-color: #e9ecef;
    }
    
    .mobile-arrow {
        transition: transform 0.3s ease;
    }
    
    .mobile-row.table-active .mobile-arrow {
        transform: rotate(90deg);
    }
    
    .dataTables_length {
        display: none !important;
    }    
}

@media (min-width: 768px) {
    /* На десктопе показываем нормальную таблицу */
    .mobile-details {
        display: none !important;
    }
    
    .mobile-arrow {
        display: none !important;
    }
    
    #heroes_data tbody td {
        display: table-cell !important;
    }
    
    #heroes_data thead {
        display: table-header-group !important;
    }
    
    .mobile-row td:first-child {
        width: 200px !important;
        padding: 8px !important;
    }
}

.chart-hero-image {
    position: absolute;
    bottom: 20px;
    text-align: center;
    width: 80px;
    transform: translateX(-50%);
    pointer-events: none;
}

.chart-hero-image img {
    display: block;
    margin: 0 auto 4px;
}

.win-rate-change {
    font-size: 11px;
}

.pick-rate-change {
    font-size: 11px;
}

/* Apex цвета */

.apexcharts-canvas {
    color: var(--bs-body-color) !important;
}

.apexcharts-text {
    fill: var(--bs-body-color) !important;
}

.apexcharts-gridline {
    stroke: var(--bs-border-color) !important;
}

.apexcharts-grid-row {
    fill: var(--bs-apex-bg) !important;
}

.apexcharts-tooltip {
    font-size: 12px !important;
    padding-top: 0.8rem;
    background: var(--bs-body-bg) !important;
    color: var(--bs-body-color) !important;
    border-color: var(--bs-border-color) !important;
}

.apexcharts-tooltip-series-group {
    padding: 4px 0 !important;
}

.apexcharts-tooltip-title {
    font-weight: 600 !important;
    font-size: 13px !important;    
    background: var(--bs-tertiary-bg) !important;
    color: var(--bs-heading-color) !important;
    border-color: var(--bs-border-color) !important;
}