/* === Стили для панели статистики === */
#playerStats {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px;
    min-width: 200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.stat-label {
    color: #a0a0a0;
    font-size: 13px;
}

.stat-value {
    color: #00ff88;
    font-size: 14px;
    font-weight: 600;
}

/* === Стили для popup маршрутов === */
.route-popup {
    min-width: 150px;
}

.route-popup strong {
    color: #00ff88;
    font-size: 14px;
}

/* === Легенда маршрутов === */
#routesLegend {
    position: absolute;
    bottom: 80px;
    right: 20px;
    z-index: 1000;
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px;
    font-size: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.legend-item:last-child {
    margin-bottom: 0;
}

.legend-color {
    width: 20px;
    height: 3px;
    margin-right: 8px;
    border-radius: 2px;
}

.legend-label {
    color: #e0e0e0;
}