.match-search {
    max-width: 600px;
    margin: 0 auto;
}
.team-radiant {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
}
.team-dire {
    background: linear-gradient(135deg, #f44336 0%, #c62828 100%);
}
.hero-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
}
.hero-icon-sm {
    width: 32px;
    height: 32px;
    border-radius: 4px;
}
.item-icon {
    width: 54px;
    height: 40px;
    border-radius: 11px;
    background: #1e1e2f;
}
.item-icon-sm {
    width: 48px;
    height: 35px;
    border-radius: 9px;
}
.matches-minutes {
    background-color: var(--bg-matches-minutes) !important;
}
.ban-filter {
    filter: grayscale(100%);
}
.kda-badge {
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(0,0,0,0.2);
}
.player-row {
    transition: all 0.2s;
}
.player-row:hover {
    background: rgba(255,255,255,0.05);
}
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}
.networth-chart {
    min-height: 300px;
    margin-top: 20px;
}
.tooltip-icon {
    cursor: help;
    border-bottom: 1px dotted #aaa;
}
.gold-adv-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}
.gold-adv-positive {
    background: rgba(76, 175, 80, 0.2);
    color: #81c784;
}
.gold-adv-negative {
    background: rgba(244, 67, 54, 0.2);
    color: #e57373;
}
.stat-card {
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

/* Стили для блока "Кто кого убивал" */
.kill-matrix-row {
display: flex;
align-items: center;
padding: 8px;
border-bottom: 1px solid #2d2d44;
}

.kill-matrix-row:hover {
background: rgba(255,255,255,0.05);
}

.kill-badge {
display: inline-flex;
align-items: center;
background: rgba(0,0,0,0.3);
padding: 4px 8px;
border-radius: 16px;
margin: 2px;
}

.kill-count-high {
color: #ff6b6b;
font-weight: bold;
}

.kill-count-medium {
color: #ffd93d;
font-weight: bold;
}

.kill-count-low {
color: #6b9fff;
font-weight: bold;
}   

/* Стили для переключателей графиков */
#chartTypeSelector .btn {
border-radius: 20px;
padding: 4px 12px;
font-size: 0.85rem;
transition: all 0.2s;
}

#chartTypeSelector .btn i {
margin-right: 4px;
}

#chartTypeSelector .btn.active {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-color: transparent;
}

/* Стили для графика */
.networth-chart {
min-height: 350px;
width: 100%;
}

/* Стили для времени покупки предметов */
.item-time-badge {
position: absolute;
bottom: 0;
right: 0;
background: rgba(0, 0, 0, 0.75);
color: white;
padding: 1px 3px;
border-radius: 3px;
font-size: 0.55rem;
line-height: 1;
}

/* Стили для таблицы убийств */
.table-kill-matrix td {
padding: 0.25rem;
text-align: center;
vertical-align: middle;
}

.kill-count-high {
background: rgba(244, 67, 54, 0.3);
font-weight: bold;
}

.kill-count-medium {
background: rgba(255, 152, 0, 0.3);
}

/* Стили для способностей */
.ability-badge {
font-size: 0.7rem;
padding: 2px 6px;
margin: 1px;
}

/* Стили для ролей */
.lane-badge {
font-size: 0.65rem;
padding: 2px 6px;
border-radius: 12px;
}

@media (max-width: 767.98px) {
    .hero-icon-sm {
        width: 26px;
        height: 26px;
        border-radius: 4px;
    }
}

/* Apex цвета */
.apexcharts-canvas {
    color: var(--bs-body-color) !important;
}

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

.apexcharts-gridline {
    stroke: var(--apex-gridline-matches) !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;
}